<% @ Control Language="c#" Inherits="PageAdmin.mem_datadtl"%>
<div class="current_location">
<ul>
<li class="current_location_1">当前位置：<a href="index.aspx?language=<%=Request.QueryString["s"]%>">会员中心</a> &gt; <%=TableName%><%=IsMultiSite=="0"?"":"("+SiteName+")"%></li>
<li class="current_location_2"><%=TableName%></li>
</ul>
</div>
<div class="sublanmu_box">
<div class="sublanmu_content">
<script src="/e/js/calendar.js" type="text/javascript"></script>
<script src="/e/js/zdyform.js" type="text/javascript"></script>
<iframe name="<%=The_Table%>" id="<%=The_Table%>" src="" frameborder=0 scroling=no height=1px width=1px marginwidth=0 marginheight=0 style="display:none"></iframe>
<form name='<%=The_Table%>' method='post'  Enctype='multipart/form-data' target="<%=The_Table%>">
<table border=0 cellpadding=5 cellspacing=0 align=center class="member_table">
<%if(!string.IsNullOrEmpty(Sort_List)){%>
<tr>
<td class="tdhead">所属类别<span style='color:#ff0000'>*</span></td>
<td>
<select name="s_sort" id="s_sort" onchange="c_sort(<%=SiteId%>,1,'<%=The_Table%>')">
<option  value="0">---请选择所属类别---</option>
<%=Sort_List%>
</select><input type="hidden" name="sort" id="sort" value="<%=Sort_Id%>">
<script type="text/javascript">
var Sort_Type="onlyone";
Write_Select(<%=SiteId%>,'<%=The_Table%>');
</script>
</td>
</tr>
<%}%>
<asp:PlaceHolder id="P_Form" Runat="server"/>
</table>
<div align=center style="padding:10px 0 10px 0"> 
<input type='hidden' name="post"  value="<%=PostType%>"> 
<input type='hidden' name="istop" value="<%=IsTop%>"> 
<input type='hidden' name="iscg" value="<%=IsCg%>">  
<input type='hidden' name="static_dir" value="<%=Static_Dir%>">  
<input type='hidden' name="static_file" value="<%=Static_File%>">  
<input type='hidden' name="workid" value="<%=Work_Id%>"> 
<input type='hidden' name="checked" value="<%=Checked%>">
<input type='hidden' name="zdy_title" value="<%=Zdy_Title%>">
<input type='hidden' name="zdy_keywords" value="<%=Zdy_Keywords%>">
<input type='hidden' name="zdy_description" value="<%=Zdy_Description%>">
<span style="display:<%=IsCg=="0"?"none":"inline"%>" id="sb_cgbox"><input type='checkbox' value="1"  name="cg" <%=IsCg=="1"?"checked":""%>>保存为草稿&nbsp;</span>
<%if(Work_Id!="0" && Current_Work_Node=="0"){%>
<input type="checkbox" name="rechecked" value="1" checked>重新送审
<%}%>


<input type='button'  class="m_bt" value=' <%=Request.QueryString["worknode"]==null?"提 交":"保 存"%> ' onclick="return Check_ZdyForm('<%=The_Table%>','<%=PostType%>')">&nbsp;
<input type='button'  id="bt_post" value=' 返 回 ' class="m_bt" onclick="location.href='<%=Get_Url("mem_datalst",Request.QueryString["tid"])%>'"></td>
</div>
</form>
</div>
<script language="javascript">
var Current_Id="<%=Request.QueryString["id"]%>";
<%if(Sort_Id!="0"){%>
Load_Sort(<%=SiteId%>,"<%=P_Sorts%>,<%=Sort_Id%>","<%=The_Table%>");
<%}%>

function clear_select(Id)
 {
  var obj=document.getElementById(Id);
  if(obj.options.length==0){return;}
  for(i=0;i<obj.options.length;i++)
   {
    if(obj.options[i].selected)
     {
       obj.remove(i);
       clear_select(Id);
     }
   }
 }
//自定义选择数据
function Data_Select(SourceTable,field,ismultiple,title,Width,Height)
 {
  if(typeof(ismultiple)=="undefined"){ismultiple="0";}
  if(typeof(title)=="undefined"){title="请选择数据";}
  if(typeof(Width)=="undefined"){Width=800;}
  if(typeof(Height)=="undefined"){Height=400;}
  IDialog(title,"/e/aspx/data_select.aspx?siteid=<%=SiteId%>&table="+SourceTable+"&field="+field+"&multiple="+ismultiple,800,400);
 }
</script>
</div>