本文整理匯總了PHP中seo::seo_statistics方法的典型用法代碼示例。如果您正苦於以下問題:PHP seo::seo_statistics方法的具體用法?PHP seo::seo_statistics怎麽用?PHP seo::seo_statistics使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類seo
的用法示例。
在下文中一共展示了seo::seo_statistics方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: seo
$back_names[] = "cl_call5";
$back_names[] = "cl_call6";
$back_names[] = "cl_call7";
$seo = new seo();
$seo->mysqli = $this->mysqli;
$seo->request = $this->request;
$seo->user = $this->user;
$js_include[] = "js/seo.js";
$post_id = (int) $this->request['id'];
$string_out .= "\n<div id='action_buttons' class='divactionbuttons'>\n <button onclick=\"document.location.href ='seo§=new_post'\" ><img class='menu_img' src='/img/site/document_add.png'>Новый пост</button>\n <button onclick=\"document.location.href ='seo§=all_posts'\" ><img class='menu_img' src='/img/site/document-library.png'>Все посты</button>\n <button onclick=\"document.location.href ='seo§=tag_editor'\" ><img class='menu_img' src='/img/site/lightbulb.png'>Редактор Тегов</button>\n <button onclick=\"document.location.href ='seo§=seo_statistics'\" ><img class='menu_img' src='/img/site/statistics.png'>Статистика</button>\n</div>";
if ($this->request['sect'] == 'new_post') {
$js_include[] = "js/tinymce/tinymce.min.js";
$js_onload = 'init_mce();';
$out = $seo->edit_post_form();
}
if ($this->request['sect'] == 'all_posts' or !isset($this->request['sect'])) {
$out = $seo->show_all_posts();
}
if ($this->request['sect'] == 'edit_post' & (int) $this->request['id'] > 0) {
$out = $seo->edit_post_form($post_id);
$out .= $seo->edit_post_tag_form($post_id);
$js_include[] = "js/tinymce/tinymce.min.js";
$js_onload = 'init_mce();';
}
if ($this->request['sect'] == 'tag_editor') {
$out = $seo->tag_editor();
}
if ($this->request['sect'] == 'seo_statistics') {
$out = $seo->seo_statistics();
}
$string_out .= "\n <input type='hidden' id='main_ds' value='main_div' >\n<div class='bigblock id='bigblock'>\n<div class='bigblockcontent' id='bigblockcontent'>\n<div id='main_div'>\n" . $out . "\n</div>\n</div>\n</div>";