seo优化 1.9.6全功能版

  • J8_526023
    了解作者
  • 200.6KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-08 20:02
    上传日期
装再多的SEO,都低不过内容.丰富网站内容才是最重要!可是自己既不是写手,又不是作者.哪有那么好的文采.没关系.SEO插件来帮助您.你只要装了这个插件.你到其他网站和论坛复制帖子或者文章过来.全部都变成自己的原创.百度就会快速收录,从而提高收录,权重,排名和PR!
seo优化 1.9.6[增强版-全功能].rar
内容介绍
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: forum_viewthread.php 32592 2013-02-25 01:31:16Z zhangjie $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } require_once libfile('function/forumlist'); require_once libfile('function/discuzcode'); require_once libfile('function/post'); $thread = & $_G['forum_thread']; $forum = & $_G['forum']; if(!$_G['forum_thread'] || !$_G['forum']) { showmessage('thread_nonexistence'); } $page = max(1, $_G['page']); if($page === 1 && !empty($_G['setting']['antitheft']['allow']) && empty($_G['setting']['antitheft']['disable']['thread']) && empty($_G['forum']['noantitheft'])) { helper_antitheft::check($_G['forum_thread']['tid'], 'tid'); } if($_G['setting']['cachethreadlife'] && $_G['forum']['threadcaches'] && !$_G['uid'] && $page == 1 && !$_G['forum']['special'] && empty($_GET['do']) && !defined('IN_ARCHIVER') && !defined('IN_MOBILE')) { viewthread_loadcache(); } $threadtableids = !empty($_G['cache']['threadtableids']) ? $_G['cache']['threadtableids'] : array(); $threadtable_info = !empty($_G['cache']['threadtable_info']) ? $_G['cache']['threadtable_info'] : array(); $archiveid = $thread['threadtableid']; $thread['is_archived'] = $archiveid ? true : false; $thread['archiveid'] = $archiveid; $forum['threadtableid'] = $archiveid; $threadtable = $thread['threadtable']; $posttableid = $thread['posttableid']; $posttable = $thread['posttable']; $_G['action']['fid'] = $_G['fid']; $_G['action']['tid'] = $_G['tid']; if($_G['fid'] == $_G['setting']['followforumid'] && $_G['adminid'] != 1) { dheader("Location: home.php?mod=follow"); } $close_leftinfo = intval($_G['setting']['close_leftinfo']); if($_G['setting']['close_leftinfo_userctrl']) { if($_G['cookie']['close_leftinfo'] == 1) { $close_leftinfo = 1; } elseif($_G['cookie']['close_leftinfo'] == 2) { $close_leftinfo = 0; } } $_GET['authorid'] = !empty($_GET['authorid']) ? intval($_GET['authorid']) : 0; $_GET['ordertype'] = !empty($_GET['ordertype']) ? intval($_GET['ordertype']) : 0; $_GET['from'] = in_array($_GET['from'], array('preview', 'portal', 'album')) ? $_GET['from'] : ''; if($_GET['from'] == 'portal' && !$_G['setting']['portalstatus']) { $_GET['from'] = ''; } elseif($_GET['from'] == 'preview' && !$_G['inajax']) { $_GET['from'] = ''; } $fromuid = $_G['setting']['creditspolicy']['promotion_visit'] && $_G['uid'] ? '&amp;fromuid='.$_G['uid'] : ''; $feeduid = $_G['forum_thread']['authorid'] ? $_G['forum_thread']['authorid'] : 0; $feedpostnum = $_G['forum_thread']['replies'] > $_G['ppp'] ? $_G['ppp'] : ($_G['forum_thread']['replies'] ? $_G['forum_thread']['replies'] : 1); if(!empty($_GET['extra'])) { parse_str($_GET['extra'], $extra); $_GET['extra'] = array(); foreach($extra as $_k => $_v) { if(preg_match('/^\w+$/', $_k)) { if(!is_array($_v)) { $_GET['extra'][] = $_k.'='.rawurlencode($_v); } else { $_GET['extra'][] = http_build_query(array($_k => $_v)); } } } $_GET['extra'] = implode('&', $_GET['extra']); } $_G['forum_threadindex'] = ''; $skipaids = $aimgs = $_G['forum_posthtml'] = array(); $thread['subjectenc'] = rawurlencode($_G['forum_thread']['subject']); $thread['short_subject'] = cutstr($_G['forum_thread']['subject'], 52); $navigation = ''; if($_GET['from'] == 'portal') { $_G['setting']['ratelogon'] = 1; $navigation = ' <em>&rsaquo;</em> <a href="portal.php" rel='nofollow' onclick='return false;'>'.lang('core', 'portal').'</a>'; $navsubject = $_G['forum_thread']['subject']; $navtitle = $_G['forum_thread']['subject']; }elseif($_GET['from'] == 'preview') { $_G['setting']['ratelogon'] = 1; } elseif($_G['forum']['status'] == 3) { $_G['action']['action'] = 3; require_once libfile('function/group'); $status = groupperm($_G['forum'], $_G['uid']); if($status == 1) { showmessage('forum_group_status_off'); } elseif($status == 2) { showmessage('forum_group_noallowed', 'forum.php?mod=group&fid='.$_G['fid']); } elseif($status == 3) { showmessage('forum_group_moderated', 'forum.php?mod=group&fid='.$_G['fid']); } $nav = get_groupnav($_G['forum']); $navigation = ' <em>&rsaquo;</em> <a href="group.php" rel='nofollow' onclick='return false;'>'.$_G['setting']['navs'][3]['navname'].'</a> '.$nav['nav']; $upnavlink = 'forum.php?mod=forumdisplay&amp;fid='.$_G['fid'].($_GET['extra'] && !IS_ROBOT ? '&amp;'.$_GET['extra'] : ''); $_G['grouptypeid'] = $_G['forum']['fup']; } else { $navigation = ''; $upnavlink = 'forum.php?mod=forumdisplay&amp;fid='.$_G['fid'].($_GET['extra'] && !IS_ROBOT ? '&amp;'.$_GET['extra'] : ''); if($_G['forum']['type'] == 'sub') { $fup = $_G['cache']['forums'][$_G['forum']['fup']]['fup']; $t_link = $_G['cache']['forums'][$fup]['type'] == 'group' ? 'forum.php?gid='.$fup : 'forum.php?mod=forumdisplay&fid='.$fup; $navigation .= ' <em>&rsaquo;</em> <a href="'.$t_link.'" rel='nofollow' onclick='return false;'>'.($_G['cache']['forums'][$fup]['name']).'</a>'; } if($_G['forum']['fup']) { $fup = $_G['forum']['fup']; $t_link = $_G['cache']['forums'][$fup]['type'] == 'group' ? 'forum.php?gid='.$fup : 'forum.php?mod=forumdisplay&fid='.$fup; $navigation .= ' <em>&rsaquo;</em> <a href="'.$t_link.'" rel='nofollow' onclick='return false;'>'.($_G['cache']['forums'][$fup]['name']).'</a>'; } $t_link = 'forum.php?mod=forumdisplay&amp;fid='.$_G['fid'].($_GET['extra'] && !IS_ROBOT ? '&amp;'.$_GET['extra'] : ''); $navigation .= ' <em>&rsaquo;</em> <a href="'.$t_link.'" rel='nofollow' onclick='return false;'>'.($_G['forum']['name']).'</a>'; if($archiveid) { if($threadtable_info[$archiveid]['displayname']) { $t_name = dhtmlspecialchars($threadtable_info[$archiveid]['displayname']); } else { $t_name = lang('core', 'archive').' '.$archiveid; } $navigation .= ' <em>&rsaquo;</em> <a href="forum.php?mod=forumdisplay&fid='.$_G['fid'].'&archiveid='.$archiveid.'" rel='nofollow' onclick='return false;'>'.$t_name.'</a>'; } unset($t_link, $t_name); } $_GET['extra'] = $_GET['extra'] ? rawurlencode($_GET['extra']) : ''; if(@in_array('forum_viewthread', $_G['setting']['rewritestatus'])) { $canonical = rewriteoutput('forum_viewthread', 1, '', $_G['tid'], 1, '', ''); } else { $canonical = 'forum.php?mod=viewthread&tid='.$_G['tid']; } $_G['setting']['seohead'] .= '<link href="'.$_G['siteurl'].$canonical.'" rel="canonical" />'; $_G['forum_tagscript'] = ''; $threadsort = $thread['sortid'] && isset($_G['forum']['threadsorts']['types'][$thread['sortid']]) ? 1 : 0; if($threadsort) { require_once libfile('function/threadsort'); $threadsortshow = threadsortshow($thread['sortid'], $_G['tid']); } if(empty($_G['forum']['allowview'])) { if(!$_G['forum']['viewperm'] && !$_G['group']['readaccess']) { showmessage('group_nopermission', NULL, array('grouptitle' => $_G['group']['grouptitle']), array('login' => 1)); } elseif($_G['forum']['viewperm'] && !forumperm($_G['forum']['viewperm'])) { showmessagenoperm('viewperm', $_G['fid']); } } elseif($_G['forum']['allowview'] == -1) { showmessage('forum_access_view_disallow'); } if($_G['forum']['formulaperm']) { formulaperm($_G['forum']['formulaperm']); } if($_G['forum']['password'] && $_G['forum']['password'] != $_G['cookie']['fidpw'.$_G['fid']]) { dheader("Location: $_G[siteurl]forum.php?mod=forumdisplay&fid=$_G[fid]"); } if($_G['forum']['price']) { $membercredits = C::t('common_member_forum_buylog')->get_credits($_G['uid'], $_G['fid']); $paycredits = $_G['forum']['price'] - $membercredits; if($paycredits > 0) { dheader("Location: $_G[siteurl]forum.php?mod=forumdisplay&fid=$_G[fid]"); } } if($_G['forum_thread']['readperm'] && $_G['forum_thread']['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $_G['forum_thread']['authorid'] != $_G['uid']) { showmessage('thread_nopermission', NULL, array('readperm' => $_G['forum_thread']['readperm']), array('login' => 1)); } $usemagic = array('user' => array(), 'thread' => array()); $replynotice = getstatus
评论
    相关推荐
    • 百度浏览器
      百度浏览器
    • 百度装机
      百度装机
    • 百度输入法
      适合8830等机型使用的百度输入法,很好用
    • 百度指数
      百度指数
    • 百度Ueditor
      简单一个demo而已,有源码,有使用说明
    • 百度注册机
      这款软件主要用于注册百度帐号用 如果注册时用代理 ip 就可以了 请大家提出宝贵意思好让我多多改进
    • 百度输入法
      百度输入法。酷派F800用
    • 百度机器人
      百度机器人 安装后只要@贴吧小号的id 贴吧小号就会自动回复别人
    • 百度locSDK
      百度定位SDK。 4.0以及以上版本,需选申请密钥才能使用,且密钥和应用证书和包名绑定
    • 百度ROOT
      百度ROOT