
<table width="770" border="1" cellspacing="0" cellpadding="0" bordercolor="#003366">
  <tr> 
    <td bgcolor="#FFFFFF" bordercolor="#FFFFFF" align="center" valign="top"> 
      <table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><b>Buile Form in </b><font class="directory">{type_name}</font></td>
        </tr>
        <tr> 
          <td align="right" bordercolor="#99CCCC">[ <a href="index.php?action=list_file&type_id={type_id}">Go 
            Back </a> ] </td>
        </tr>
      </table>
      <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">
              <form>
                <input type="hidden" name="newsContent" value="">
              </form>
              <form name="form" method="post" action="index.php">
                <tr align="center"> 
                  <td colspan="2" class="type">Basic</td>
                </tr>
                <tr> 
                  <td width="39%" bgcolor="#FFFFFF" align="right">Name:</td>
                  <td width="61%" bgcolor="#FFFFFF"> 
                    <input type="text" name="name" size="40">
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td width="40%" align="right">Special theme file:</td>
                  <td width="60%"> 
                    <input type="text" name="tpl_file" size="20">
                    (leave empty for default)</td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td width="40%" align="right">Emails that recieve the form content:</td>
                  <td width="60%"> 
                    <input type="text" name="form_email" size="40">
                    (use ',' to separate)</td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" class="type">Authorize</td>
                </tr>
                <tr> 
                  <td colspan="2" bgcolor="#FFFFFF">{protect_view} </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" class="type">Form Introduce</td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" bgcolor="#FFFFFF"> 
                    <table width="80%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td> 
                          <input  name=body type=hidden>
                          <script language="javascript" src="./files/zoom.js"></script>
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" class="type">Form Content</td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" bgcolor="#FFFFFF"> <br>
                    <table width="98%" border="0" cellspacing="1" cellpadding="3" bgcolor="#999999">
                      <tr bgcolor="#999999"> 
                        <td width="25%"><font color="#FFFFFF">Attribute Name</font></td>
                        <td width="25%"><font color="#FFFFFF">Type</font></td>
                        <td width="50%"><font color="#FFFFFF">Set Values(use ',' 
                          to separate)</font></td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                      <tr bgcolor="#FFFFFF"> 
                        <td> 
                          <input type="text" name="att_name[]" size="20">
                        </td>
                        <td> 
                          <select name="att_type[]">
                            <option value="1">TEXT(Less than 15 bytes)</option>
                            <option value="2" selected>TEXT(15 - 35 bytes)</option>
                            <option value="3">TEXT(35 - 50 bytes)</option>
                            <option value="4">TEXT(More than 50 bytes)</option>
                            <option value="6">Radio Button</option>
                            <option value="7">Check Box</option>
                          </select>
                        </td>
                        <td> 
                          <input type="text" name="att_preset[]" size="50">
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" bgcolor="#FFFFFF"> 
                    <input type="hidden" name="type_class" value="{type_class}">
                    <input type="hidden" name="action" value="add_form">
                    <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>
              </form>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="2" bgcolor="#666666"><img src="../images/spot.gif" width="1" height="1"></td>
        </tr>
      </table>
      <p>&nbsp;</p>
    </td>
  </tr>
</table>
