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

📄 good.php

📁 1.增加了近40项后台核心设置
💻 PHP
字号:
<?php
require "./global.php";
$lid = (int)$lid;
include_once R_P.'header.php';
include_once R_P.'mydb.php';
$page ? "" : $page=1;
$sql = '';
if($lanmuindex[$lid][type]==1){
   foreach($lanmuindexb[$lid] as $lanmus){
           $sql .= "lid='$lanmus' OR ";
   }
   $sql = substr($sql,0,-4);
   $sql && $sql = " AND ($sql)";
} else $sql = " AND lid='$lid'";
$lid or $sql = '';
$lanmu['n'] = $lanmuindex[$lid]['name'];           //栏目名称
$lanmu['s'] = OutPut("SELECT wid,name,date,good,lid,visit,comment,color FROM xydw_art WHERE good='2'$sql AND xianshi='1' ORDER BY date DESC LIMIT ".($page-1)*$rootindex['lists'].",".$rootindex['lists']."",1,1,'',1); //栏目内容
$listpage = listpage('xydw_art','',$rootindex['lists']," WHERE good='2'$sql ");

// $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('good');
include_once R_P.'footer.php';
?>

⌨️ 快捷键说明

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