📄 upload.inc
字号:
<?php/*Copyright Intermesh 2003Author: Merijn Schering <mschering@intermesh.nl>Version: 1.0 Release date: 08 July 2003This program is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2 of the License, or (at youroption) any later version.*/$tabtable = new tabtable('upload_tab', $fbUpload, '100%', '300');$tabtable->print_head($_SERVER['PHP_SELF']."?folder_id=".$folder_id);?><input type="hidden" name="folder_id" value="<?php echo $folder_id; ?>" /><input type="hidden" name="task" value="upload" /><input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $GO_CONFIG->max_file_size; ?>" /><?php if(isset($feedback)) echo $feedback;?><table border="0" cellpadding="4" cellspacing="0"><tr> <td> <?php echo $fbFiles; ?> :<br /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /><br /> <input type="file" name="file[]" maxlength="100" class="textbox" size="70" /> </td></tr><tr> <td> <?php echo $fbMaxUploadSize.": ".format_size($GO_CONFIG->max_file_size)." (".number_format($GO_CONFIG->max_file_size, 0, $_SESSION['GO_SESSION']['decimal_seperator'], $_SESSION['GO_SESSION']['thousands_seperator'])." bytes)"; ?> </td></tr><tr> <td id="status" class="Success"> </td></tr><tr> <td> <br /> <?php $button = new button($cmdOk, "javascript:upload()"); echo $button->get_html(); $button = new button($cmdCancel, "javascript:document.location='".$_SERVER['PHP_SELF']."?folder_id=$folder_id';"); echo $button->get_html(); ?> </td></tr></table><?php$tabtable->print_foot();?><script type="text/javascript"><!--function upload(){ var status = null; if (status = get_object("status")) { status.innerHTML = "<?php echo $fbPleaseWait; ?>"; } document.forms[0].submit();}--></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -