?? skin.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<?=$menu?>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="25">
<tr>
<td>當(dāng)前位置:<a href="?mod=phpcms&file=templateproject&action=manage">模板方案管理</a> > <a href="?mod=phpcms&file=template&action=manage&project=<?=$project?>&module=<?=$module?>"><?=$projectname?> - 風(fēng)格管理</a></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=7>風(fēng)格管理</th>
</tr>
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=update">
<tr align="center">
<td width="25%" class="tablerowhighlight">風(fēng)格名稱</td>
<td width="20%" class="tablerowhighlight">風(fēng)格目錄</td>
<td width="20%" class="tablerowhighlight">修改時(shí)間</td>
<td width="15%" class="tablerowhighlight">系統(tǒng)默認(rèn)</td>
<td width="20%" class="tablerowhighlight">管理操作</td>
</tr>
<?php
if(is_array($skins)){
foreach($skins as $skin){
?>
<tr align=center onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input type="text" name="skinname[<?=$skin['dir']?>]" size="20" value="<?=$skin['name']?>"></td>
<td align="left"><?=$skin['dir']?></td>
<td><?=$skin['mtime']?></td>
<td><?php if($skin['isdefault']){?>√<?php }?></td>
<td><?php if($skin['isdefault']){?><span class="gray">設(shè)為默認(rèn)</span><?php }else{ ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=setdefault&skin=<?=$skin['dir']?>&project=<?=$project?>">設(shè)為默認(rèn)</a><?php } ?> | <a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&skin=<?=$skin['dir']?>&project=<?=$project?>">修改</a> |
<?php if($skin['isdefault']){?><span class="gray">刪除</span><?php }else{ ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=delete&skin=<?=$skin['dir']?>&project=<?=$project?>">刪除</a><?php } ?></td>
</tr>
<?php
}
}
?>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left"> <input type="submit" name="submit" value=" 更新風(fēng)格名稱 "></td>
</tr>
</table>
</form>
<br/>
<table cellpadding="2" cellspacing="1" border="0" align=center class="tableBorder" >
<tr>
<td class="submenu" align=center>提示信息</td>
</tr>
<tr>
<td class="tablerow">
1、當(dāng)前模板方案的風(fēng)格保存在 <font color="red">./templates/<?=$project?>/skins/</font> 目錄(您可以在線修改風(fēng)格的樣式表文件)<br/>
2、當(dāng)前系統(tǒng)默認(rèn)風(fēng)格為:<font color="red"><?=$skinname?></font> ,保存路徑為: <font color="red">./templates/<?=$defaulttemplate?>/</font> ,其他模板方案的變化不會影響網(wǎng)站前臺的顯示。<br/>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -