?? templateproject.php
字號(hào):
<?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> > </td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=7>模板方案管理</th>
</tr>
<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=update">
<tr align="center">
<td width="25%" class="tablerowhighlight">模板方案名稱</td>
<td width="15%" class="tablerowhighlight">模板方案目錄</td>
<td width="20%" class="tablerowhighlight">修改時(shí)間</td>
<td width="10%" class="tablerowhighlight">系統(tǒng)默認(rèn)</td>
<td width="30%" class="tablerowhighlight">管理操作</td>
</tr>
<?php
if(is_array($templateprojects)){
foreach($templateprojects as $templateproject){
?>
<tr align="center" onmouseout="this.style.backgroundColor='#F1F3F5'" onmouseover="this.style.backgroundColor='#BFDFFF'" bgColor='#F1F3F5'>
<td><input type="text" name="templateprojectname[<?=$templateproject['dir']?>]" size="20" value="<?=$templateproject['name']?>"></td>
<td align="left"><?=$templateproject['dir']?></td>
<td><?=$templateproject['mtime']?></td>
<td><?php if($templateproject['isdefault']){?>√<?php }?></td>
<td>
<?php if($templateproject['isdefault']){?><span class="gray">設(shè)為默認(rèn)</span><?php }else{ ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=setdefault&templateproject=<?=$templateproject['dir']?>">設(shè)為默認(rèn)</a><?php } ?> |
<a href="?mod=<?=$mod?>&file=template&action=manage&project=<?=$templateproject['dir']?>">管理模板</a> |
<a href="?mod=<?=$mod?>&file=skin&action=manage&project=<?=$templateproject['dir']?>">管理風(fēng)格</a> |
<?php if($templateproject['isdefault']){?><span class="gray">刪除</span><?php }else{ ?><a href="?mod=<?=$mod?>&file=<?=$file?>&action=delete&project=<?=$templateproject['dir']?>">刪除</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=" 更新模板方案名稱 "></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、所有模板方案都保存在 <font color="red">./templates/</font> 目錄下(如果需要在線修改,請(qǐng)通過ftp將該目錄設(shè)置為 777 ,并應(yīng)用到子目錄)<br/>
2、網(wǎng)站當(dāng)前使用的模板方案為:<font color="red"><?=$templateprojectnames[$defaulttemplate]?></font> ,保存路徑為: <font color="red">./templates/<?=$defaulttemplate?>/</font> ,其他模板方案的變化不會(huì)影響網(wǎng)站前臺(tái)的顯示。<br/>
3、如果您需要增加網(wǎng)站模板方案,請(qǐng)把新的模板方案上傳至 <font color="red">./templates/</font> 目錄 <br/>
4、如果您需要應(yīng)用新的網(wǎng)站模板方案,請(qǐng)把該模板方案設(shè)置為系統(tǒng)默認(rèn)方案 <br/>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -