⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 topic.php

📁 Discuz功能源码(开源)
💻 PHP
字号:
<?php

/*
	[Discuz!] (C)2001-2009 Comsenz Inc.
	This is NOT a freeware, use is subject to license terms

	$Id: topic.php 16688 2008-11-14 06:41:07Z cnteacher $
*/

define('CURSCRIPT', 'topic');
require_once './include/common.inc.php';

$randnum = !empty($qihoo['relate']['webnum']) ? rand(1, 1000) : '';
$statsdata = $statsdata ? dhtmlspecialchars($statsdata) : '';

if($url && $randnum) {

	$url = dhtmlspecialchars($url);
	$md5 = dhtmlspecialchars($md5);
	$fid = substr($statsdata, 0, strpos($statsdata, '||'));

} else {

	if(empty($keyword)) {
		showmessage('undefined_action');
	}
	
	$tpp = intval($tpp);
	$page = max(1, intval($page));
	$start = ($page - 1) * $tpp;
	
	$site = site();
	$length = intval($length);
	$stype = empty($stype) ? 0 : 'title';
	$relate = in_array($relate, array('score', 'pdate', 'rdate')) ? $relate : 'score';
	
	$keyword = dhtmlspecialchars(stripslashes($keyword));
	$topic = $topic ? dhtmlspecialchars(stripslashes($topic)) : $keyword;

}

include template('topic');

?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -