ty($current_page) && $current_page->post_status === 'publish') )){ return true; } foreach($page_list as $page_info){ $page_info_arr = explode(',', $page_info); $page_link = htpm_strip_host( isset($page_info_arr[1]) ? $page_info_arr[1] : '' ); if( $page_link && $page_link == $page_path ){ return true; } } } if($uri_type == 'post'){ $post_list = isset($rule['posts']) ? $rule['posts'] : array(); $current_page = get_page_by_path( basename($page_path), 'OBJECT', 'post' ); if(in_array('all_posts,all_posts', $post_list) && !empty($current_page) && $current_page->post_status === 'publish'){ return true; } foreach($post_list as $post_info){ $post_info_arr = explode(',', $post_info); $post_link = htpm_strip_host( isset($post_info_arr[1]) ? $post_info_arr[1] : '' ); if( $post_link && $post_link == $page_path ){ return true; } } } if($uri_type == 'page_post'){ $page_list = isset($rule['pages']) ? $rule['pages'] : array(); $post_list = isset($rule['posts']) ? $rule['posts'] : array(); $page_nd_post_list = array_merge($page_list, $post_list ); $current_page = ( $page_path !== '/' ) ? get_page_by_path( trim($page_path, '/'), 'OBJECT', 'page' ) : null; $current_post = get_page_by_path( basename($page_path), 'OBJECT', 'post' ); if(in_array('all_pages,all_pages', $page_nd_post_list) && ( $is_front_page || (!empty($current_page) && $current_page->post_status === 'publish') )){ return true; } elseif(in_array('all_posts,all_posts', $page_nd_post_list) && !empty($current_post) && $current_post->post_status === 'publish'){ return true; } foreach($page_nd_post_list as $post_info){ $post_info_arr = explode(',', $post_info); $post_link = htpm_strip_host( isset($post_info_arr[1]) ? $post_info_arr[1] : '' ); if( $post_link && $post_link == $page_path ){ return true; } } } if( $uri_type == 'custom' ){ $condition_list = !empty($rule['condition_list']) ? $rule['condition_list'] : array( 'name' => array(), 'value' => array() ); for( $i = 0; $i < count($condition_list['name']); $i++ ){ $name = $condition_list['name'][$i]; $item = explode(',', $condition_list['name'][$i] . ',' . ( isset($condition_list['value'][$i]) ? $condition_list['value'][$i] : '' )); $value = trim(isset($item[1]) ? $item[1] : '', '/'); if($name == 'uri_equals'){ if($current_page_slug == $value){ return true; } } if($name == 'uri_not_equals'){ if($value && $current_page_slug != $value){ return true; } } if($name == 'uri_contains'){ if($value && strpos( $current_page_url, $value )){ return true; } } if($name == 'uri_not_contains'){ if($value && !strpos( $current_page_url, $value )){ return true; } } } } return false; } /** * Strips protocol + domain from a stored "id,url" link, leaving just the * relative path. A page/post picked in the Select Pages/Posts dropdown is * stored with the domain it was configured on baked in — on a single site * that's always this site's own domain, but a rule configured once at * Network Admin level and inherited by every subsite would otherwise never * match, since each subsite has its own domain. Comparing paths only keeps * single-site matching identical (a site's own domain always matches itself) * while making the rule portable across a network's subsites. * * @param string $link * @return string */ function htpm_strip_host( $link ) { $link = str_replace( array( 'http://', 'https://' ), '', $link ); $link = trim( $link, '/' ); $slash_pos = strpos( $link, '/' ); $path = ( false === $slash_pos ) ? '' : trim( substr( $link, $slash_pos + 1 ), '/' ); // A WordPress install in a subdirectory (example.com/blog) carries that // directory in the stored link, but the current path this is compared // against is already measured relative to the site root — so drop the // same prefix here to keep both sides comparable. $base_path = trim( (string) wp_parse_url( get_bloginfo('url'), PHP_URL_PATH ), '/' ); if ( '' !== $base_path ) { if ( 0 === strpos( $path, $base_path . '/' ) ) { $path = trim( substr( $path, strlen( $base_path ) + 1 ), '/' ); } elseif ( $path === $base_path ) { $path = ''; } } return ( '' === $path ) ? '/' : $path; } function htpm_filter_plugins( $plugins ){ $remove_plugins = htpm_get_plugins_to_remove(); if ( empty( $remove_plugins ) ) { return $plugins; } return array_diff( $plugins, $remove_plugins ); } /** * Same rules as htpm_filter_plugins(), applied to the network-wide active * plugins list instead (keyed by plugin file => activation timestamp). * * @param array $plugins * @return array */ function htpm_filter_network_active_plugins( $plugins ){ $remove_plugins = htpm_get_plugins_to_remove(); if ( empty( $remove_plugins ) ) { return $plugins; } return array_diff_key( $plugins, array_flip( $remove_plugins ) ); } Corpo Docente – Etec Ferrucio Humberto Gazzetta
Filtro de Daltonismo

Corpo Docente

Adriana Custódio Jorge – Professora e Orientadora Educacional

Alexandre Réstio – Professor e Coordenador de Curso

Alexandre Rodrigues de Oliveira – Professor

Ana Cláudia da Cunha – Professora

Ana Cristina Souza Hatano – Professora

André de Amorim Ramalho dos Santos – Professor

Andrea Cristina Tegon Callegari – Professora

Andreia Francisca Vicente – Professora

Aparecido Rodrigues da Cruz – Professor

Bruna Cação Ribeiro – Professora

Bruno Zepelini – Professor

Camila Gushi da Silva Freitas – Professora

Camila Testa Spadaro – Professora

Carolina Smania Gayola – Professora

Celia Aparecida Barufaldi – Professora

Claudio Caetano de Camargo – Professor

Clóvis Adriano Vianna – Professor

Cristiano Julio Fonseca – Professor

Daiane Eleutério Pereira Montanhana – Professora

Diomar Boni Ribeiro – Professora

Douglas Luis da Silva – Professor

Edivalter José Molero – Professor

Eduardo Kulik – Professor

Elaine C. Bernardo Person – Professora

Elaine Cristina De Melo Ravaneda – Professora

Elaine Isa Fiorotto – Professora

Ellis Sandra de Souza Lima – Professora

Érica Fatima Inácio – Professora

Erica Fernanda da Cruz – Professora

Felipe Augusto Oliveira Costa – Professora

Felipe Gomes Assis – Professora

Fernanda Carla Garcia Jado – Professora

Gisele Battaglia Vicentin – Professora

Gislaine Fernanda Giubbina Araujo – Professora e Coordenadora Pedagógica

Glauco dos Santos de Pieri – Professora

Gustavo Della Gracia – Professor

Gustavo Fabris Rovaron – Professor

Gustavo Willian de Oliveira Pontes – Professor

Henrique Santana da Silva Neto – Professor

Joacir Florêncio – Professor

João Francisco Favoreto – Professor

Jaine Denadai Belotti – Professora

José Gomes da Silva Neto – Professor

Leopoldo de Mattos – Professor

Lucas Augusto Pereira – Professor

Lucas Serafim Parizotto – Professor e Coordenador de Curso

Luiz Messias dos Santos – Professor

Marcelo Alves dos Santos – Professor

Maria Vitória Ferreira – Professora

Mateus Henrique Servilha de Luca – Professor

Michel Luis Salomão Barros – Professor

Natalia B. Pissaia – Professora

Nathali Gomes – Professora e Coordenadora de Curso

Nilvo Aparecido Colucci – Professor

Paulo Augusto Rodrigues da Cruz – Professor

Rafael Gurtler Bekedorf – Professor

Rafael Teixeira Ribeiro – Professor

Ramon Santos da Costa – Professor

Reginaldo Andrade da Silva – Professor

Renata Santana Campagnolo – Professora

Ricardo Corrêa dos Santos – Professor

Roseli Mateus – Professora e Coordenadora de Curso

Samuel dos Santos – Professor

Tiago Brochado Pires – Professor

Vanessa Érica Della Negra Barbosa – Professora e Coordenadora de Curso

Vanessa Lemos de Toledo – Professora

Vicente de Paula Agostinho – Professor

Vitor Hugo Melo Araujo – Professor

Wagner Cicero dos Santos – Professor

Wilton Ruffato Wonrath – Professor