📄 info_html.tpl.php
字号:
<table width="100%" border="0" align="center" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="tableborder">
<form action="info.php?action=html" method="post" name="wane_post" onsubmit="return checkformdata()">
<tr align="center" class="categround">
<td height="25" colspan="5"><?=$LANG_HTML[TITLE]?></td>
</tr>
<tr align="center" class="contentground">
<td align="left"> <?=$LANG_HTML[HTML_NAME]?></td>
<td align="center"><?=$LANG_HTML[HTML_MODIFY]?></td>
<td width="10%"><?=$LANG_HTML[HTML_WRITE]?></td>
<td width="20%"><?=$LANG_HTML[HTML_TYPE]?></td>
<td width="15%" height="25"><?=$LANG_HTML[FILE_DELETE]?></td>
</tr>
<?php
$d = dir($dirhtml);
while (false !== ($entry = $d->read()))
{
if ($entry!='.' && $entry!='..')
{?>
<tr align="center" class="contentground">
<td height="25" align="left"> <?=$dirhtml.$entry?></td>
<td height="25" align="center"><?=date("Y-m-d H:i:s",filemtime($dirhtml.$entry))?></td>
<td height="25"><?=is_writable($dirhtml.$entry) ? '<font color=\'#6699cc\'>ON' : '<font color=\'#ff0000\'>OFF'?></td>
<td height="25"><?=is_dir($dirhtml.$entry) ? '<a href=\'info.php?action=html&folder='.$folder.'/'.$entry.'\'><font color=\'#ff0000\'>'.$LANG_HTML[TYPE_FOLDER].'</a> | <a href=\'info.php?action=deletehtmlfolder&folder='.$folder.'/'.$entry.'\'><font color=\'#ff0000\'>'.$LANG_HTML[FOLDER_DELETE].'</a>' : $LANG_HTML[TYPE_FILE]?></td>
<td width="15%" height="25"><?=is_dir($dirhtml.$entry) ? '<input name="dirs[]" type="checkbox" id="selects[]" value="file" disabled>' : '<input name="selects[]" type="checkbox" id="selects[]" value="'.str_replace($wane_root,"",$dirhtml).$entry.'">'?></td>
</tr>
<?
}
}
$d->close();
?>
<tr class="contentground">
<td height="25" colspan="4" align="center"><input type="submit" name="Submit" value=" <?=$LANG_HTML[FILE_DELETE]?> "> <input name="managehtml" type="hidden" id="managehtml" value="1"> <input type="button" name="button" onclick="javascript:history.go(-1)" value=" <?=$LANG_HTML[HTML_BACK]?> "></td>
<td height="25" align="center"><input name="select" type="checkbox" id="select" value="file" onclick="selectall(this.form)"></td>
</tr>
</form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -