source/index/index.ctrl.v3.php
(完整代码) 863B<?php
class indexControl extends skymvc
{
function __construct()
{
parent::__construct();
}
public function onDefault()
{
if(defined("RURL301") && RURL301!=""){
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".RURL301);
exit();
}
$fromapp=get("fromapp");
switch($fromapp){
case "uniapp":
$flashList=M("ad")->listByNo("uniapp-index");
$navList=M("navbar")->navlist(14);
break;
default:
$flashList=M("ad")->listByNo("wap-index");
$navList=M("navbar")->navlist(4);
break;
}
$articleList=M("article")->Dselect(array(
"where"=>" is_recommend=1 AND status=2 ",
"limit"=>6,
"order"=>" id DESC"
));
$this->smarty->goAssign(array(
"flashList"=>$flashList,
"articleList"=>$articleList,
"navList"=>$navList
));
$this->smarty->display("index.html");
}
}
?>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。