<html>
<head>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<style>
 td { padding:2px 5px 2px 5px;}
</style>
<link href="../CSS/Base.css" rel="stylesheet">
<script language="javascript"> 
function checkall(form) 
{
	if( form.all.checked)
	{
		for(var i = 0;i < form.elements.length-1; i++) 
		{
			var e = form.elements[i];
			e.checked = true;
		}
	}
	else
	{
		for(var i = 0;i < form.elements.length-1; i++) 
		{
			var e = form.elements[i];
			e.checked = false;
		}
    }
}
</script> 
<meta content="mshtml 6.00.3790.0" name=generator></head>
<body oncontextmenu="return false">
   <form name="Check_Form"  method="post" action="">
  <table class=datatable style="line-height: 150%;border-collapse:collapse;" cellspacing=0 cellpadding=0 bordercolor=#b5cfd9 border=1 width=100%>
   <div class=position>位置：&nbsp; 我的问卷 &raquo; 样本属性自定义字段</div>
   <tr> 
      <td colspan="6" height=25><b>样本属性自定义字段</b>&nbsp;&nbsp;[ <span class=red>{recNum}</span> 字段 ]&nbsp;&nbsp;<input class=inputsubmit name="createNew" type="button" id="createNew" value="新增" onClick="javascript:window.location.href='{newURL}'"></td>
   </tr>
   <tr bgcolor="#f5f5f5">
     <td width=3%> <input name="all" type="checkbox" id="all" value="all" onclick="checkall(this.form)" style="background-color:#f5f5f5"></td>
     <td><strong>字段名称</a></strong>&nbsp;</td>
     <td><strong>字段类型</a></strong>&nbsp;</td>
     <td><strong>显示</a></strong>&nbsp;</td>
     <td><strong>排序</a></strong>&nbsp;</td>
     <td align=center><strong>操作</strong></td>
   </tr>

   <!-- BEGIN FIELDS -->
   <tr onmouseover="this.style.backgroundColor='#DEEFFF'"  onmouseout="this.style.backgroundColor='#FFFFFF'">
      <td width="3%"><input name="fieldsID[]" type="checkbox" id="fieldsID[]" value="{fieldsID}"></td>
	  <td width="39%">&nbsp;{name}</td>
      <td width="12%">&nbsp;{types}</td>
      <td width="14%">&nbsp;{isPublic}&nbsp;
        <select name="isPublic[{fieldsID}]" id="isPublic[{fieldsID}]">
           <option value="1">显示</option>
           <option value="0" {is_Public}>隐藏</option>
        </select></td>
      <td width="18%">&nbsp;
	     <A href="{downURL}"><IMG src="../Images/arrow_down.gif" alt=向下排序 border=0></A> 
	     <A href="{upURL}"><IMG src="../Images/arrow_up.gif" alt=向上排序 border=0></A>&nbsp; 
         <input name="orderByID[{fieldsID}]" type="text" id="orderByID[{fieldsID}]" value="{orderByID}" size="7" maxlength="15"></td>
      <td width="14%" align=center>&nbsp;
	     <A href="{editURL}">编辑</A>&nbsp;
	     <A href="{deleteURL}" onclick="return window.confirm('您真的想删除该字段吗？本操作不可恢复！')">删除</A></td>
   </tr>
   <!-- END FIELDS -->
   </table><table width=100%>
   <tr>
       <td width=3%></td>
       <td height="15"> 
        <input class=inputsubmit name="UpdateFieldsSubmit" type="submit" id="UpdateFieldsSubmit" value="更新">
        <input class=inputsubmit name="DeleteSubmit" type="submit" id="DeleteSubmit" value="删除" onclick="return window.confirm('您真的想删除这些字段吗？本操作不可恢复！')">
		<input class=inputsubmit type="button" name="close" value="关闭" onClick="javascript:parent.hidePopWin();">
       </td>
    </tr>
</form>
</table>

 <table width=100%>
   <tr> 
    <td style="padding-left:0px"><B><IMG src="../Images/notes.gif" alt=已封存 border=0></B><strong>：</strong>可点击<IMG src="../Images/arrow_up.gif">或<IMG src="../Images/arrow_down.gif">进行字段的升序/倒序操作；<br>
	<B><IMG src="../Images/notes.gif" alt=已封存 border=0></B><strong>：</strong><span class=red>*</span>表示该字段为必填字段。
	</td>
   </tr>
</table>
</body></html>