
<table width="770" border="1" cellspacing="0" cellpadding="0" bordercolor="#003366">
  <tr> 
    <td bgcolor="#FFFFFF" bordercolor="#FFFFFF" align="center" valign="top"> 
      <form name="news_content">
        <input type="hidden" name="newsContent" value="{info}">
      </form>
      <form name="form" method="post" action="index.php" enctype="multipart/form-data">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td><b>在 </b><font class="directory"><a href="index.php?action=list_file&type_id={top_type_id}">{top_type_name}</a></font><b> 
              建立文章</b></td>
          </tr>
          <tr> 
            <td bordercolor="#99CCCC"> 更换类别： 
              <select name="c_type_id" onchange="this.form.submit();">
                <option value="0" selected>请选择</option>
				{type_selections}
              </select>
              <input type="submit" name="Submit2" value="GO">
              <input type="hidden" name="action" value="add_file">
            </td>
          </tr>
        </table>
        <!-- BEGIN selecttype -->
        请先在上面选择一个类别，然后再进行发布{selecttype} 
        <!-- END selecttype -->
        <!-- BEGIN addfile -->
        <table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="2" bgcolor="#666666"><img src="../images/spot.gif" width="1" height="1"></td>
          </tr>
          <tr> 
            <td> 
              <table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#CCCCCC">
                <tr align="center"> 
                  <td colspan="2" class="type">基本信息 （标有*的必填）</td>
                </tr>
                <tr> 
                  <td width="19%" height="26" bgcolor="#FFFFFF" align="right">*文件名称：</td>
                  <td width="81%" height="26" bgcolor="#FFFFFF"> 
                    <input type="text" name="subject" size="50">
                    || 
                    <input type="checkbox" name="is_better" value="1">
                    推荐</td>
                </tr>
                <!-- BEGIN order -->
                <tr> 
                  <td width="19%" height="26" bgcolor="#FFFFFF" align="right">现价({currency})：</td>
                  <td width="81%" height="26" bgcolor="#FFFFFF"> 
                    <p> 
                      <input type="text" name="now_price" size="5" value="">
                      在线销售以先价为基准</p>
                  </td>
                </tr>
                <!-- END order -->
                <tr> 
                  <td width="19%" height="25" bgcolor="#FFFFFF" align="right">内容简介：<br>
                    （120字以内）</td>
                  <td width="81%" height="25" bgcolor="#FFFFFF"> 
                    <p> 
                      <textarea name="fastview" cols="50" rows="3"></textarea>
                    </p>
                  </td>
                </tr>
                <tr> 
                  <td width="19%" height="16" bgcolor="#FFFFFF" align="right">预览图片：</td>
                  <td width="81%" height="16" bgcolor="#FFFFFF"> 
                    <input type="file" name="preview">
                    （支持JPG、JPEG和PNG格式，本系统自动调整图片大小），长和宽最大限度： 
                    <input type="text" name="maxsize" size="6" value="100">
                    像素（推荐80到150之间） </td>
                </tr>
                <tr> 
                  <td bgcolor="#FFFFFF" align="right">*详细内容：</td>
                  <td bgcolor="#FFFFFF"> 
                    <input  name=body type=hidden>
                    <script language="javascript" src="./files/zoom.js"></script>
                  </td>
                </tr>
                <!-- BEGIN expand -->
                <tr align="center"> 
                  <td colspan="2" class="type">扩展属性</td>
                </tr>
                <!-- BEGIN exp_item -->
                <tr> 
                  <td width="19%" bgcolor="#FFFFFF" align="right">{attribute_}:</td>
                  <td width="81%" bgcolor="#FFFFFF"> 
                    <p> 
                      <input type="text" name="{attribute}">
                    </p>
                  </td>
                </tr>
                <!-- END exp_item -->
                <!-- END expand -->
                <tr align="center"> 
                  <td colspan="2" class="type">附件</td>
                </tr>
                <tr> 
                  <td width="19%" bgcolor="#FFFFFF">&nbsp;</td>
                  <td width="81%" bgcolor="#FFFFFF"> 
                    <p> [<a href="attachment.php" target="_blank">管理</a>]{addfile}</p>
                  </td>
                </tr>
                <tr> 
                  <td colspan="2" height="51" align="center" bgcolor="#FFFFFF"> 
                    <input type="hidden" name="step" value="2">
                    <input type="hidden" name="type_id" value="{type_id}">
                    <input type=submit name="submit" value=" Submit " 	onClick="save();">
                    <input type="reset" name="Submit2" value=" Reset ">
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr> 
            <td height="2" bgcolor="#666666"><img src="../images/spot.gif" width="1" height="1"></td>
          </tr>
        </table>
        <!-- END addfile -->
      </form>
      <p>&nbsp;</p>
    </td>
  </tr>
</table>
