📄 cid.php
字号:
<?php
/*
+-------------------------------------------
|
| Technology of Wane netware
| ========================================
| Powered by wan-e.net inc
| (c) 2004 wane.net Power Services
| http://www.wan-e.net
| ========================================
| Web: http://www.wan-e.net
|
+-------------------------------------------
| Autohr : wsfuyibing
+-------------------------------------------
*/
eval($function->load_lang('view/cid'));
$info = (is_numeric($info) && $info >0 ) ? $info : 0;
$query=$db->query("select * from {$tablepre}class where upid='$info' order by orderid");
if (!$db->num($query))
{
if ($newsubmit)
{
$function->clickback($VIEW_CID['CID_UNEXISTS']);
}
else
{
header("location:{$default_url}index.php?action=memcp&type=addstore&cid=$info");
}
}
else
{
$cids = 0;
$cidss = $db->num($query);
eval($tpl->set_var(array(
'WEBTITLE' => $function->headtitle('[ '.$webtitle.' ] | '.$VIEW_CID['NAV_MEMCP'].' | '.$VIEW_CID['NAV_ADDSP'].' | '.$VIEW_CID['NAV_CID']),
'NAVIGATA' => "<a class='navigata' href='{$default_url}index.php?action=idx'>$webtitle</a> $category_separate <a class='navigata' href='{$default_url}index.php?action=memcp&type=addstore'>$VIEW_CID[NAV_ADDSP]</a> $category_separate $VIEW_CID[NAV_CID]",
)));
if ($html_onoff && $html_news)
{
$filename = (is_numeric($info) && $info >0 ) ? $info : 'index';
$newsubmit = $newsubmit ? '1' : '0';
$createhtml = array($dirhtml_category,'',$filename,$newsubmit);
}
$tplfiles = array('header','cid_show','footer');
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -