⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addfileform.php

📁 修正了多处BUG
💻 PHP
字号:

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="16" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="1%"><div align="right"><img src="images/tleft.jpg" width="50" height="18"></div></td>
          <td width="97%" background="images/dmid.jpg">&nbsp;</td>
          <td width="2%"><img src="images/tright.jpg" width="50" height="18"></td>
        </tr>
      </table>
      <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="45" valign="top" class="tian4"><div align="center"> 
              <table width="350" border="0" cellspacing="0" cellpadding="0"  class="table_kuang">
                <tr> 
                  <td width="429" height="40" valign="top"><form action="" method="post" enctype="multipart/form-data" name="form1">
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td class="tianchong"><input name="addmod" type="hidden" id="addmod" value="true">
                            动作 -&gt; 添加文件<font color="#FF0000">(*为必填)注意单个文件小于1.5兆</font></td>
                        </tr>
                        <tr> 
                          <td class="tianchong"> <div align="left"><font class="size10"> 
                              </font> </div></td>
                        </tr>
                        <tr> 
                          <td class="tianchong"><font class="size10"> <? echo $errormeg; ?> 
                            </font></td>
                        </tr>
                        <tr> 
                          <td class="tianchong">文件标题: 
                            <input name="addname" type="text" class="form_format" id="addname2" 
												  onMouseOver ="this.style.backgroundColor='#879BD8'" onMouseOut ="this.style.backgroundColor='#f3f3f3'" value="<? echo $name_value; ?>" size="10" >
                            <font color="#FF0000">*添加到 
                            <select name="dir_id" id="dir_id">
                              <option value="0" selected>根目录</option>
                              <? listdir($_SESSION[username],$_GET[mod])?>
                            </select>
                            </font></td>
                        </tr>
                        <tr> 
                          <td class="tianchong">文件描述:</td>
                        </tr>
                        <tr> 
                          <td class="tianchong"><div align="center"> 
                              <textarea name="addarea" cols="25" rows="10"></textarea>
                            </div></td>
                        </tr>
                        <tr> 
                          <td class="tianchong">文件: 
                            <input name="addfile" type="file" id="addfile" class="buton"  onMouseOver ="this.style.backgroundColor='#879BD8'" onMouseOut ="this.style.backgroundColor='#f3f7f3'"> 
                            <font color="#FF0000">*</font></td>
                        </tr>
                        <tr> 
                          <td class="tianchong"><div align="center"></div></td>
                        </tr>
                        <tr> 
                          <td class="tianchong"> <div align="left"> 
                              <input type="radio" name="share" value="someshare">
                              添加到局部共享 
                              <input type="radio" name="share" value="allshare">
                              添加到全部共享 
                              <input name="share" type="radio" value="noshare" checked>
                              不共享</div></td>
                        </tr>
                        <tr> 
                          <td class="tianchong"><div align="center"> 
                              <input name="Submit" type="submit" value="添加"class="buton"   onMouseOver ="this.style.backgroundColor='#879BD8'" onMouseOut ="this.style.backgroundColor='#f3f7f3' ">
                              <input type="reset" name="Submit2" value="重置" class="buton"   onMouseOver ="this.style.backgroundColor='#879BD8'" onMouseOut ="this.style.backgroundColor='#f3f7f3'">
                            </div></td>
                        </tr>
                      </table>
                    </form></td>
                </tr>
              </table>
              <p> 
                <input type="button" name="Submit3" value="关闭窗口" onClick="window.close(); return false;" class="buton"  onMouseOver ="this.style.backgroundColor='#879BD8'" onMouseOut ="this.style.backgroundColor='#f3f7f3'">
              </p>
            </div></td>
        </tr>
      </table></td>
  </tr>
</table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -