8889841chome/clixcotz/iec.clix.co.tz/wp-content/themes/bambini/framework/function/likes.php000064400000003254150524550050024520 0ustar00 'cmsmasters_like', 'post_status' => 'draft', 'post_parent' => $post_ID, 'name' => $ip_name )); $ipCheck = $ipPost->posts; if ( isset($_COOKIE['like-' . $post_ID]) || count($ipCheck) != 0 ) { $onclick = 'return false;'; $active = ' active'; } else { $onclick = 'cmsmastersLike(' . esc_attr($post_ID) . ', ' . $add_html . '); return false;'; $active = ''; } $counter = '' . '' . '' . esc_html($likes) . ' ' . $text . '' . '' . ''; } else { $counter = ''; } if ($show) { echo bambini_return_content($counter); } else { return $counter; } }