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

📄 zhuanti.php

📁 1.增加了近40项后台核心设置
💻 PHP
字号:
<?php
require "./global.php";
$zid = (int)$zid;
include_once R_P.'header.php';
include_once R_P.'mydb.php';
$zid ? $sql = " WHERE zhuanti='$zid'" : $sql = "";
$page ? "" : $page=1;
$listpage = listpage('xydw_art','',$rootindex['lists'],"$sql");
include_once R_P.'data/cache/zhuanti.php';
$zhuanti['n'] = $ztindex[$zid];           //栏目名称
$zhuanti['s'] = OutPut("SELECT wid,name,date,good,lid,visit,comment,color FROM xydw_art $sql ORDER BY date DESC LIMIT ".($page-1)*$rootindex['lists'].",".$rootindex['lists']."",1,1,'',1); //栏目内容

foreach($ztindex as $ztk => $zhuantis){
    $zhuanti['all'] .= "<img src='images/$imgpath/i6.gif'><a href='zhuanti.php?zid=$ztk'>$zhuantis</a><br>\n";
}

// $newest = OutPut(GetSql("$lid",$rootindex[listn],0,0),0,0);  //最近更新
//$good = OutPut(GetSql("$lid",$rootindex[listg],2,0),0,0);   //最新推荐
//$hot = OutPut(GetSql("$lid",$rootindex[listh],3,0),0,0);   //热门文章
include_once R_P."include/left.php";
include_once temp('zhuanti');
include_once R_P.'footer.php';
?>

⌨️ 快捷键说明

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