movie_preview.inc.php
来自「采用模块化开发」· PHP 代码 · 共 22 行
PHP
22 行
<?php
defined('IN_PHPCMS') or exit('Access Denied');
$movieid = intval($movieid);
$movieid or showmessage($LANG['empty_movie_id'],$referer);
@extract($d->get_one());
$linkurl = linkurl($linkurl);
$adddate=date('Y-m-d H:i:s', $addtime);
$thumb = imgurl($thumb);
$CAT = cache_read('category_'.$catid.'.php');
$catname = $CAT['catname'];
$myfields = cache_read('phpcms_'.$mod.'_'.$channelid.'_fields.php');
$fields = array();
if(is_array($myfields))
{
foreach($myfields as $k=>$v)
{
$myfield = $v['name'];
$fields[] = array('title'=>$v['title'],'value'=>$$myfield);
}
}
include admintpl($mod.'_preview');
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?