📄 cid_show.tpl.php
字号:
<? if (!defined('IN_www.wan-e.net')){exit('Access Denied');}?><table align="center" width="<?=TABLEWIDTH?>" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="frontground">
<tr align="center" valign="top">
<td>
<table width="100%" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="tableborder">
<tr class="categround">
<td colspan="2"><?=$VIEW_CID[NAV_CID]?></td>
</tr>
<tr class="contentground">
<? while ($row=$db->row($query)){ $cids++; $upid=$row[cid]?>
<td width="50%" valign="top">
<table width="100%" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="tableborder">
<tr class="titleground">
<td colspan="4"><strong><a href="<?=$tpl->linkurl($row[cid],'','cid')?>"><?=$row[title]?></a></strong></td>
</tr>
<tr class="contentground">
<?
$query_s = $db->query("select * from {$tablepre}class where upid='$upid' order by orderid");
$scs = 0;
$scss = $db->num($query_s);
while ($row_s=$db->row($query_s)){ $scs++;?>
<td align="center"><a href="<?=$tpl->linkurl($row_s[cid],'','cid')?>"><?=$row_s[title]?></a></td>
<? if ($scs%4=='0' && $scs<$scss){?></tr><tr class="contentground"><?}?>
<?}$db->free($query_s)?>
<? if ($scss%4!='0' && $scss>4){?><td colspan="<?=4-($scss%4)?>"></td><?}?>
</tr>
</table>
</td>
<? if ($cids%2=='0' && $cids<$cidss){?></tr><tr class="contentground"><?}?>
<?}?>
<? if ($cidss%2!='0' && $cidss>2){?><td></td><?}?>
</tr>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -