<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加附件</title>
<link href="<{$css_root}>images/admincp.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$css_root}>images/jquery.js"></script>
<script type="text/javascript" src="<{$css_root}>images/jquery.MultiFile.js"></script>
<script type="text/javascript">
<!--
	$(function(){ // wait for document to load 
		$('#T8A').MultiFile({ 
		STRING: { 
		remove: '<img src="<{$css_root}>images/cancle.png" height="16" width="16" alt="删除"/>' 
				} 
		}); 
	});
	-->
</script>
</head>
<body>
<div id="append_parent"/>
<div id="cpcontainer" class="container">
  <div class="itemtitle">
    <h3>附件管理</h3>
    <ul class="tab1">
      <li> <a href="attachment.php?act=show"> <span>附件列表</span> </a> </li>
      <li class="current"> <a href="attachment.php?act=add"> <span>添加附件</span> </a> </li>
    </ul>
  </div>
  <table id="tips" class="tb tb2">
    <tbody>
      <tr>
        <th class="partition">操作提示</th>
      </tr>
      <tr>
        <td class="tipsblock"><ul id="tipslis">
            <li>可以上传多个文件，但是需要一个一个选取</li>
            <li>单击文件前面的小叉，可以把文件删除待传队列</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <form action="attachment.php?act=addok" method="post" enctype="multipart/form-data" name="mypic" id="cpform">
    <table class="tb tb2">
      <tbody>
        <tr class="header">
          <th>添加附件</th>
        </tr>
        <tr>
          <td><input id="T8A" name="file[]" type="file" class="multi"/></td>
        </tr>
        <div id="T8A-list"></div> 
        <tr>
          <td colspan="15"><div class="fixsel">
              <input class="btn" type="submit" value="上传" name="smiliessubmit"/>
            </div></td>
        </tr>
      </tbody>
    </table>
  </form>
</div>
</body>
</html>
