?? upload.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="5">
<tr>
<td ></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th>文件上傳</th>
</tr>
<form name="upload" method="post" action="?mod=<?=$mod?>&file=<?=$file?>&channelid=<?=$channelid?>&uploadtext=<?=$uploadtext?>&action=<?=$action?>" enctype="multipart/form-data">
<tr>
<td class="tablerow" height="30">
<input type="hidden" name="save" value="1">
<input type="file" name="uploadfile" size="15">
<input type="hidden" name="oldaid">
<input type="hidden" name="oldname">
<input type="hidden" name="MAX_FILE_SIZE" value="<?=$maxfilesize?>">
<input type="submit" name="submit" value=" 上傳 ">
</td>
</tr>
<tr>
<td class="tablerow">
<script>
if(window.opener.myform.<?=$uploadtext?>.value!="")
{
upload.oldname.value = window.opener.myform.<?=$uploadtext?>.value;
upload.oldaid.value = window.opener.myform.<?=$uploadtext?>_aid.value;
}
</script>
</td>
</tr>
</form>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -