<%@ Page Inherits="Dvbbs.bbs.UI.Admin.admin_postsigned" %>
<%@ Register tagPrefix="Dvbbs" namespace="Dvbbs.Controls" assembly="Dvbbs.Web"%>
<%@ Register tagPrefix="bbs" tagName="AdminHeader" src="controls/admin_header.ascx"%>
<%@ Register tagPrefix="bbs" tagName="AdminFooter" src="controls/admin_footer.ascx"%>
<script type="text/JavaScript">
<!--
function onSelectedChange(InMode) { //v6.0
	var i = InMode.selectedIndex;
	var val = InMode.options[i].value;
	if(val=='0')
	{
		document.getElementById('setting(3)').style.visibility = 'hidden';
		document.getElementById('setting(4)').style.visibility = 'hidden';
		return;
	}
	if(val=='1')
	{
		document.getElementById('setting(3)').style.visibility = 'visible';
		document.getElementById('setting(4)').style.visibility = 'hidden';
	}
	if(val=='2')
	{
		document.getElementById('setting(3)').style.visibility = 'hidden';
		document.getElementById('setting(4)').style.visibility = 'visible';
	}
}
function SetValue(obj)
{
	if(obj.checked)
	{
		obj.value="0";
	}	
}
//-->
</script>
<bbs:AdminHeader title="已授予勋章" runat="server" ID="Adminheader1" NAME="Adminheader1" />
<style>.bgcl2{background-color:#EEF7FD}.bar1{margin-top:5px;margin-bottom:5px;}
.div1{
float:left;margin-left:4px
}
.div2{
float:left;margin-left:6px
}
.div3{
float:left;margin-left:3px
}
.div4{
float:left;margin-left:6px
}
.div5{
float:left;margin-left:3px
}
.line1{margin-top:5px;margin-bottom:5px;border-bottom:1px solid #E3ECEC;}
#radio{border:none}
</style>
<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table2">
	<tr>
		<td class="title">论坛设置管理</td>
	</tr>
	<tr>
		<td <strong>设置管理</strong>：<a href="admin_postsigned.aspx">鉴定管理</a> | <a href="admin_postsigned.aspx?action=new">
				新增鉴定</a>
		</td>
	</tr>
</table>
<% if(action==""){%>

			<form runat="server" ID="Form1">
				<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table2">
					<tr>
						<td class="title" colspan="5">现有论坛设置方案列表</td>
					</tr>
					<tr>
						<td colspan="5"><div>点鉴定名称进行编辑，选定左面小框后提交可以删除选定的鉴定</div>
						</td>
					</tr>
					<tr style="font-weight:bold">
						<td  width="1%" nowrap="nowrap">删除?</td>
						<td  width="10%" nowrap="nowrap">编号</td>
						<td  width="10%" nowrap="nowrap">鉴定名称</td>
						<td  width="10%">使用次数</td>
						<td >标徽</td>
					</tr>
					<asp:Repeater id="list" runat="server">
						<ItemTemplate>
							<tr>
								<td width="1%"><Dvbbs:Span id="delete" runat="server" /></td>
								<td width="1%"><Dvbbs:Span id="id" runat="server" /></td>
								<td><Dvbbs:Anchor id="title" runat="server" /></td>
								<td><Dvbbs:Span id="usecount" runat="server" /></td>
								<td><Dvbbs:Span id="pic" runat="server" /></td>
							</tr>
						</ItemTemplate>
					</asp:Repeater>
					<tr>
						<td colspan="5"><input class="button" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="submit" value="删 除" /></td>
					</tr>
				</table>
			</form>
	
<% }else{%>
<form action="" method="post" enctype="multipart/form-data">
<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0" ID="Table3">
  <tr>
    <td class="title" colspan="2">新增帖子鉴定</td>
  </tr>
  <tr>
    <td class="left" width="30%">名称</td>
    <td class="right" colspan="2" width="70%"><input type="input" size="50" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="title" value="<%=(null == post ? "" : post.Title)%>"></td>
   
  </tr>
  <tr>
    <td class="left">上传图片</td>
    <td class="right"><input type="hidden" value="<%=(null == post ? "" : post.Pic)%>" name="pic"><input type="file" size="50" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="pic_up" value="">
<%
if(null != post){
	Response.Write("<a href=\"../"+ Dvbbs.Utils.Config.uploadfiles + post.Pic +"\" target=\"_blank\"><img src=\"../"+ Dvbbs.Utils.Config.uploadfiles + post.Pic +"\" width=15 height=15 border=0 /></a>");
}
%>
    </td>
    
  </tr>
  <tr>
    
    <td class="bottom" align="center" colspan="2"><input name="SubSigned" class="button" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="submit" id="SubSigned" value="提 交" /> 
    <input name="AddNewTemp2" class="button" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" type="reset" id="AddNewTemp2" value="重 置" /></td>
   
  </tr>
</table>
	
	
</form>
<%}%>
<br />

<bbs:AdminFooter runat="server" ID="Adminfooter1" NAME="Adminfooter1" />
