📄 page_ac.php
字号:
<?php
global $page;
/*
$id=g('id');
if($id){
$result=$this->db->query("select * from page where id=$id");
if($row=$this->db->fetch_array($result)){
$cnt[]=$row['pTitle'];
$cnt[]=$row['pKeywords'];
$cnt[]=$row['pDescription'];
$cnt[]=$row['pContent'];
$this->set('cnt',$cnt);
*/
if(isset($page) and is_array($page)){
$page=join($page,',');
$result=$this->db->query("select * from page where id in($page)");
unset($page);
while($row=$this->db->fetch_array($result)){
$title=$row['pTitle'];
$kws=$row['pKeywords'];
$dsc=$row['pDescription'];
$cnt=$row['pContent'];
$cms[]=array($title,$kws,$dsc,$cnt);
}
if(isset($cms)) $this->set('cms',$cms);
}
/*
}
else{header('location:index.php');exit;}
}
else{
header('location:index.php');exit;
}*/
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -