<%@ Page Inherits="Dvbbs.bbs.UI.Admin.admin_update_ads" %>
<%@ 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"%>
<bbs:AdminHeader title="已授予勋章" runat="server" ID="Adminheader1" NAME="Adminheader1" />
<script language="javascript" src="../templates/default/scripts/calendar.js"></script>
<script type="text/javascript" language="javascript">
<!--
function DisTime(disobj,undisobj)
{
   if(document.all)
   {
      if(document.getElementById(disobj))
      {
         document.getElementById(disobj).style.display='block';
      }
      var undisarr=undisobj.split(',');
      var undisl=undisarr.length;      
      for(var i=0;i<undisl;i++)
      {
          if(document.getElementById(undisarr[i]))
            document.getElementById(undisarr[i]).style.display='none';
      }
      
   }
}
function CheckTime(chkobj,timevalue)
{
 if(timevalue=="")
 {
   document.getElementsByName(chkobj+'select')[1].checked=true;
   document.getElementById(chkobj+'hour').style.display='block';
   var obj=document.getElementsByName('stat'+chkobj);           
    for(var i=0;i<obj.length;i++)
      {        
         obj[i].checked=true;
      } 
   document.getElementsByName(chkobj+'dayorweek')[0].checked=true;
 }
 else
 {
   var type=timevalue.split('|')[0];
   var timearray=timevalue.split('|')[1];
  
   if(type=='0')
   {
   /*初始选中单选*/
      var selobj=document.getElementsByName(chkobj+'select');
      for(var i=0;i<selobj.length;i++)
      {
         if(selobj[i].value==type)
         {
            selobj[i].checked=true;
            break;
         }
      }
      /*对应的表单显示*/
      document.getElementById(chkobj+'fix').style.display='block';
       document.getElementsByName(chkobj+'dayorweek')[0].checked=true;
        /*给对应的表单选上默认值*/
      var obj1=document.getElementById(chkobj+'fix1');  //起始日期
      var obj2=document.getElementById(chkobj+'fix2');　//结束日期
      obj1.value=timearray.split(',')[0];
      obj2.value=timearray.split(',')[1];          
   }
   else if(type=='1')
   {
       /*初始选中单选*/
      var selobj=document.getElementsByName(chkobj+'select');
      for(var i=0;i<selobj.length;i++)
      {
         if(selobj[i].value==type)
         {
            selobj[i].checked=true;
            break;
         }
      }
      /*对应的表单显示*/
      document.getElementById(chkobj+'hour').style.display='block';   
       document.getElementsByName(chkobj+'dayorweek')[0].checked=true;  
      /*给对应的表单选上默认值*/
      var obj=document.getElementsByName('stat'+chkobj);    
      
      var timeobj=timearray.split(',');  //各个小时数，以,号分隔
  
      for(var i=0;i<obj.length;i++)
       {
        for(var j=0;j<timeobj.length;j++)
        { 
           if(parseInt(obj[i].value)==parseInt(timeobj[j]))
           {
              obj[i].checked=true;
              continue;
           }         
        }
      }     
 
   }
   else if(type=='2')
   {     
    
       /*初始选中单选*/
      var selobj=document.getElementsByName(chkobj+'select');     
      for(var i=0;i<selobj.length;i++)
      {
         if(selobj[i].value==type)
         {
            selobj[i].checked=true;
            break;
         }
      }
       /*对应的表单显示*/
      document.getElementById(chkobj+'mix_dis').style.display='block'; 
        /*选择的是周还是天*/
      var dayorweek=timevalue.split('|')[1];
      if(dayorweek=="0")
      {
        document.getElementById(chkobj+'dayselect').style.display='block';
        document.getElementById(chkobj+'weekselect').style.display='none';
      }
      else if(dayorweek=="1")
      {
        document.getElementById(chkobj+'weekselect').style.display='block';
        document.getElementById(chkobj+'dayselect').style.display='none';
      }
      var dayorweekarray=document.getElementsByName(chkobj+'dayorweek');
      for(var j=0;j<dayorweekarray.length;j++)
      {
         if(dayorweekarray[j].value==dayorweek)
         {
             dayorweekarray[j].checked=true;
         }
      }
       /*给对应的表单选上默认值*/
      var month=timevalue.split('|')[2].split(',');
      var day=timevalue.split('|')[3].split(',');
      var week=timevalue.split('|')[4].split(',');
      var hour=timevalue.split('|')[5].split(',');    
      var monthobj=document.getElementsByName(chkobj+'month');
      var dayobj=document.getElementsByName(chkobj+'day');
      var weekobj=document.getElementsByName(chkobj+'week');
      var hourobj=document.getElementsByName(chkobj+'perhour'); 
      SelectMix(monthobj,month);
      SelectMix(dayobj,day);
      SelectMix(weekobj,week);
      SelectMix(hourobj,hour);
   }
   else
   {
   return ;
   }
  }
}
function SelectMix(obj1,obj2)
{
      for(var i=0;i<obj1.length;i++)
      {
         for(var j=0;j<obj2.length;j++)
         {
            if(obj1[i].value==obj2[j])
             {
                obj1[i].checked=true;
                continue;
             }         
         }
      }  
}
//-->
</script>
<form action="" method="post">
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">广告管理</td>
		</tr>
		<tr>
			<td>操作说明<br />
				<span>这里是论坛广告管理，你可以在这里创建，修改论坛的广告方案。
				<br />
				说明:<br />
					① 选择在固定日期段内播放广告时，起始日期必须小于结束日期。<br />
					② 选择在每天的每个时间段内播放时，如果不选择任一个时间，则代表全天不播放。<br />
					③ 情形一：选择混合模式时，如果不选择任一月，则表示全年不播放；<br />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;情形二：如果不选择任一天和任一周时，表示全月不播放。<br />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;情形三：如果不选择某天（某周）下的小时内，代表当天（或周）全天不播放。<br />
					④ 混合月、日（周）、时设置模式时，只有全部条件满足才生效。比如如果设置(全年不播放、每月的10号、每天的10点播放广告）时，仍然不播放广告。</span>
			</td>
		</tr>
		<tr>
			<td><strong>广告管理</strong>：<a href="admin_ads.aspx">广告管理首页</a> | <a href="admin_ads.aspx?action=new">
					新增广告方案</a>| <a href="#dv_ads_1">顶部广告代码</a> | <a href="#dv_ads_2">底部广告代码</a> 
				| <a href="#dv_ads_3">浮动广告</a> | <a href="#dv_ads_4">固定广告</a> | <a href="#dv_ads_5">
					帖间随机广告</a> | <a href="#dv_ads_6">文字广告</a>
			</td>
		</tr>
	</table>
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<%if(action=="edit"){%>
		<tr>
			<td class="title" colspan="2">修改广告方案</td>
		</tr>
		<%}%>
		<tr>
			<td class="left" width="30%">广告方案名称
			</td>
			<td class="right" width="70%">
				<input onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="ads_type" value="<% if(ads_type=="")Response.Write("新广告方案");else Response.Write(ads_type);%>" name="ads_type" style="float:left" />
				<span>给你的广告方案命名。长度不能多于50字节</span>
			</td>
		</tr>
		<tr>
			<td class="title">广告方案说明</td>
			<td class="td1" align="right">
				<a href="#"><img src="images/p_up.gif" border="0" /></a> &nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>&nbsp;
			</td>
		</tr>
		<tr>
			<td colspan="2"><textarea name="description" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
					onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" style="width:90%;height:80px"
					id="description"><%if(description=="")Response.Write("默认广告设置方案");else Response.Write(Server.HtmlEncode(description.ToString()));%></textarea>
				<br />
				<div>广告方案简要说明，可以不填，长度不能多于50字节</div>
			</td>
		</tr>
	</table>
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">顶部广告代码</td>
			<td class="td1" align="right">
				<a name="dv_ads_1"></a><a href="#"><img src="images/p_up.gif" border="0" /></a> 
				&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td colspan="2"><textarea name="ads_top" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" style="width:90%;height:80px" id="ads_top"><% if(initarray[0]==null)Response.Write("&lt;iframe src=&quot;http://server.dvbbs.net/dvbbs/dvbbs_soft_top.html&quot; height=&quot;60&quot; width=&quot;468&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt;");else Response.Write(Server.HtmlEncode(initarray[0].ToString()));%></textarea>
				<br />
				<span>请填写广告代码，支持HTML和脚本。总长度不多于2500字节。</span></td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[1] 是时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置播放顶部广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[1]);
	%>
				选择顶部广告时间段方式：&nbsp;&nbsp; <input type="radio" name="topselect" class="radio" id="topselect" value="0" onclick="DisTime('topfix','tophour,topmix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" name="topselect" class="radio" id="topselect" value="1" onclick="DisTime('tophour','topfix,topmix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" name="topselect" class="radio" id="topselect" value="2" onclick="DisTime('topmix_dis','tophour,topfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<!--固定日期段-->
				<div id="topfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id='topfix1' name='topfix1' onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
									onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" readonly='readonly' style='width:80' title='点击打开日期控件'
									onclick='calendar.setHook(this)' runat='server' /> -- <input id='topfix2' name='topfix2' readonly='readonly' style='width:80' title='点击打开日期控件'
									onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onclick='calendar.setHook(this)'
									runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="tophour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="stattop" id="stattop" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="stattop" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="stattop" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="stattop" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="stattop" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="stattop" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="stattop" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="stattop" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="stattop" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="stattop" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="stattop" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="stattop" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="stattop" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="stattop" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="stattop" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="stattop" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="stattop" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="stattop" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="stattop" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="stattop" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="stattop" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="stattop" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="stattop" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="stattop" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="topmix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" name="topdayorweek" value="0" onclick="DisTime('topdayselect','topweekselect')" />&nbsp;按号数设置
								<input type="radio" name="topdayorweek" value="1" onclick="DisTime('topweekselect','topdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="topmonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="topmonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="topmonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="topmonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="topmonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="topmonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="topmonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="topmonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="topmonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="topmonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="topmonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="topmonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="topdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="topday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="topday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="topday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="topday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="topday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="topday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="topday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="topday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="topday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="topday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="topday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="topday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="topday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="topday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="topday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="topday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="topday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="topday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="topday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="topday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="topday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="topday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="topday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="topday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="topday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="topday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="topday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="topday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="topday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="topday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="topday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="topweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="topweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="topweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="topweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="topweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="topweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="topweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="topweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="topperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="topperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="topperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="topperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="topperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="topperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="topperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="topperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="topperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="topperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="topperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="topperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="topperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="topperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="topperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="topperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="topperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="topperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="topperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="topperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="topperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="topperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="topperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="topperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('top','<%=initarray[1]%>')
    //-->
				</script>
				<!--end混合设置-->
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">底部广告代码</td>
			<td class="td1" align="right">
				<a name="dv_ads_2"></a><a href="#"><img src="images/p_up.gif" border="0" /></a> 
				&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td colspan="2"><textarea name="ads_bottom" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" style="width:90%;height:80px" id="ads_bottom"><% if(initarray[2]==null)Response.Write("&lt;iframe src=&quot;http://server.dvbbs.net/dvbbs/dvbbs_soft_end.html&quot; height=&quot;60&quot; width=&quot;468&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;  frameborder=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt;");else Response.Write(Server.HtmlEncode(initarray[2].ToString()));%></textarea>
				<br />
				<span>请填写广告代码，支持HTML和脚本。 总长度不多于2500字节。</span>
			</td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[3]是时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置播放底部广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[3]);
	%>
				选择底部广告时间段方式：&nbsp;&nbsp; <input type="radio" class="radio" name="bottomselect" id="bottomselect" value="0" onclick="DisTime('bottomfix','bottomhour,bottommix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" class="radio" name="bottomselect" id="bottomselect" value="1" onclick="DisTime('bottomhour','bottomfix,bottommix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" class="radio" name="bottomselect" id="bottomselect" value="2" onclick="DisTime('bottommix_dis','bottomhour,bottomfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<!--固定日期段-->
				<div id="bottomfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id="bottomfix1" name='bottomfix1' onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
									onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" readonly='readonly' style='width:80' title='点击打开日期控件'
									onclick='calendar.setHook(this)' runat='server' /> -- <input id="bottomfix2" name='bottomfix2' readonly='readonly' style='width:80' title='点击打开日期控件'
									onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onclick='calendar.setHook(this)'
									runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="bottomhour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="statbottom" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="statbottom" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="statbottom" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="statbottom" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="statbottom" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="statbottom" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="statbottom" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="statbottom" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="statbottom" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="statbottom" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="statbottom" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="statbottom" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="statbottom" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="statbottom" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="statbottom" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="statbottom" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="statbottom" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="statbottom" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="statbottom" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="statbottom" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="statbottom" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="statbottom" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="statbottom" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="statbottom" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="bottommix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" class="radio" name="bottomdayorweek" value="0" onclick="DisTime('bottomdayselect','bottomweekselect')" />&nbsp;按号数设置
								<input type="radio" class="radio" name="bottomdayorweek" value="1" onclick="DisTime('bottomweekselect','bottomdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="bottommonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="bottommonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="bottommonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="bottommonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="bottommonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="bottommonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="bottommonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="bottommonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="bottommonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="bottommonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="bottommonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="bottommonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="bottomdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="bottomday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="bottomday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="bottomday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="bottomday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="bottomday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="bottomday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="bottomday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="bottomday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="bottomday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="bottomday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="bottomday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="bottomday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="bottomday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="bottomday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="bottomday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="bottomday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="bottomday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="bottomday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="bottomday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="bottomday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="bottomday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="bottomday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="bottomday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="bottomday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="bottomday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="bottomday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="bottomday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="bottomday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="bottomday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="bottomday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="bottomday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="bottomweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="bottomweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="bottomweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="bottomweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="bottomweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="bottomweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="bottomweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="bottomweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="bottomperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="bottomperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="bottomperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="bottomperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="bottomperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="bottomperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="bottomperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="bottomperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="bottomperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="bottomperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="bottomperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="bottomperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="bottomperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="bottomperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="bottomperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="bottomperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="bottomperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="bottomperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="bottomperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="bottomperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="bottomperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="bottomperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="bottomperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="bottomperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('bottom','<%=initarray[3]%>')
    //-->
				</script>
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">浮动广告</td>
			<td class="td1" align="right">
				<a name="dv_ads_3"></a><a href="#"><img src="images/p_up.gif" border="0" /></a> 
				&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td class="left" width="30%">开启浮动广告
			</td>
			<td class="right" width="70%">
				<input type="radio" class="radio" <% if(initarray[4]=="0"||initarray[4]==null)Response.Write("checked=\"checked\"");%> value="0" name="ads_float_on" />否
				<input type="radio" class="radio" <% if(initarray[4]=="1")Response.Write("checked=\"checked\"");%> value="1" name="ads_float_on" />是&nbsp;&nbsp;
				<span>如果没开启，所有相关设置均无效</span>
			</td>
		</tr>
		<tr>
			<td class="left">浮动广告图片地址
			</td>
			<td class="right">
				<input id="ads_float_picurl" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="ads_float_picurl" value="<%if(initarray[5]!=null)Response.Write(initarray[5]);%>" />
				&nbsp;&nbsp;<span>请填写浮动广告图片地址 </span>
			</td>
		</tr>
		<tr>
			<td class="left">浮动广告链接地址
			</td>
			<td class="right">
				<input id="ads_float_linkurl" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="ads_float_linkurl" value="<%if(initarray[6]!=null)Response.Write(initarray[6]);%>" />
				&nbsp;&nbsp;<span> 请填写浮动广告点击后前往的地址</span>
			</td>
		</tr>
		<tr>
			<td class="left">浮动广告图片宽度
			</td>
			<td class="right">
				<input id="ads_float_picwidth" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<% if(initarray[7]==null) Response.Write("80");else Response.Write(initarray[7]);%>" name="ads_float_picwidth" />象素 
				&nbsp;&nbsp;<span>大于0的数字</span>
			</td>
		</tr>
		<tr>
			<td class="left">浮动广告图片高度
			</td>
			<td class="right"><input onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="ads_float_picheight" value="<% if(initarray[8]==null) Response.Write("33");else Response.Write(initarray[8]);%>" name="ads_float_picheight" />
				象素&nbsp;&nbsp;<span>大于0的数字</span></td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[9]是时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置播放浮动广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[9]);
	%>
				选择浮动广告时间段方式：&nbsp;&nbsp; <input type="radio" class="radio" name="floatselect" id="floatselect" value="0" onclick="DisTime('floatfix','floathour,floatmix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" class="radio" name="floatselect" id="floatselect" value="1" onclick="DisTime('floathour','floatfix,floatmix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" class="radio" name="floatselect" id="floatselect" value="2" onclick="DisTime('floatmix_dis','floathour,floatfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<div id="floatfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id="floatfix1" name='floatfix1' onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
									onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" readonly='readonly' style='width:80' title='点击打开日期控件'
									onclick='calendar.setHook(this)' runat='server' /> -- <input id="floatfix2" name='floatfix2' readonly='readonly' style='width:80' title='点击打开日期控件'
									onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onclick='calendar.setHook(this)'
									runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="floathour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="statfloat" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="statfloat" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="statfloat" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="statfloat" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="statfloat" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="statfloat" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="statfloat" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="statfloat" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="statfloat" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="statfloat" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="statfloat" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="statfloat" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="statfloat" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="statfloat" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="statfloat" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="statfloat" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="statfloat" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="statfloat" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="statfloat" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="statfloat" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="statfloat" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="statfloat" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="statfloat" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="statfloat" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="floatmix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" class="radio" name="floatdayorweek" value="0" onclick="DisTime('floatdayselect','floatweekselect')" />&nbsp;按号数设置
								<input type="radio" class="radio" name="floatdayorweek" value="1" onclick="DisTime('floatweekselect','floatdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="floatmonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="floatmonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="floatmonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="floatmonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="floatmonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="floatmonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="floatmonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="floatmonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="floatmonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="floatmonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="floatmonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="floatmonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="floatdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="floatday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="floatday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="floatday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="floatday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="floatday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="floatday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="floatday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="floatday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="floatday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="floatday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="floatday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="floatday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="floatday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="floatday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="floatday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="floatday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="floatday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="floatday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="floatday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="floatday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="floatday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="floatday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="floatday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="floatday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="floatday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="floatday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="floatday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="floatday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="floatday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="floatday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="floatday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="floatweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="floatweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="floatweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="floatweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="floatweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="floatweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="floatweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="floatweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="floatperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="floatperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="floatperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="floatperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="floatperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="floatperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="floatperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="floatperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="floatperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="floatperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="floatperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="floatperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="floatperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="floatperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="floatperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="floatperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="floatperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="floatperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="floatperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="floatperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="floatperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="floatperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="floatperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="floatperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('float','<%=initarray[9]%>')
    //-->
				</script>
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">固定广告</td>
			<td class="td1" align="right">
				<a name="dv_ads_4"></a><a href="#"><img src="images/p_up.gif" border="0" /></a> 
				&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td class="left" width="30%">开启固定广告
			</td>
			<td class="right" widht="70%"><input type="radio" class="radio" <% if(initarray[10]=="0"||initarray[10]==null)Response.Write("checked=\"checked\"");%> value="0" name="ads_picad_on" />
				否 <input type="radio" class="radio" <% if(initarray[10]=="1")Response.Write("checked=\"checked\"");%> value="1" name="ads_picad_on" />
				是&nbsp;&nbsp;<span>如果没开启，所有相关设置均无效</span>
			</td>
		</tr>
		<tr>
			<td class="left">固定广告图片地址
			</td>
			<td class="right">
				<input id="ads_picad_picurl" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="ads_picad_picurl" value="<%if(initarray[11]!=null)Response.Write(initarray[11]);%>" />
				&nbsp;&nbsp;<span>请填写固定广告图片地址</span>
			</td>
		</tr>
		<tr>
			<td class="left">固定广告链接地址
			</td>
			<td class="right">
				<input id="ads_picad_linkurl" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" name="ads_picad_linkurl"  value="<%if(initarray[12]!=null)Response.Write(initarray[12]);%>" />
				&nbsp;&nbsp;<span>请填写固定广告点击后前往的地址</span>
			</td>
		</tr>
		<tr>
			<td class="left">固定广告图片宽度
			</td>
			<td class="right">
				<input id="ads_picad_picwidth" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<% if(initarray[13]==null) Response.Write("80");else Response.Write(initarray[13]);%>" name="ads_picad_picwidth" />
				象素&nbsp;&nbsp;<span>大于0的数字</span>
			</td>
		</tr>
		<tr>
			<td class="left">固定广告图片高度
			</td>
			<td class="right">
				<input id="ads_picad_picheight"  onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<% if(initarray[14]==null) Response.Write("33");else Response.Write(initarray[14]);%>" name="ads_picad_picheight" />
				象素&nbsp;&nbsp;<span>大于0的数字</span>
			</td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[15]是时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置播放固定广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[15]);
	%>
				选择固定广告时间段方式：&nbsp;&nbsp; <input type="radio" class="radio" name="fixselect" id="fixselect" value="0" onclick="DisTime('fixfix','fixhour,fixmix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" class="radio" name="fixselect" id="fixselect" value="1" onclick="DisTime('fixhour','fixfix,fixmix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" class="radio" name="fixselect" id="fixselect" value="2" onclick="DisTime('fixmix_dis','fixhour,fixfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<!--固定日期段-->
				<div id="fixfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id="fixfix1" name='fixfix1' onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
									onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" readonly='readonly' style='width:80' title='点击打开日期控件'
									onclick='calendar.setHook(this)' runat='server' /> -- <input id="fixfix2" name='fixfix2' readonly='readonly' style='width:80' title='点击打开日期控件'
									onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" onclick='calendar.setHook(this)'
									runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="fixhour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="statfix" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="statfix" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="statfix" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="statfix" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="statfix" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="statfix" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="statfix" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="statfix" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="statfix" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="statfix" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="statfix" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="statfix" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="statfix" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="statfix" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="statfix" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="statfix" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="statfix" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="statfix" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="statfix" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="statfix" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="statfix" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="statfix" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="statfix" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="statfix" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="fixmix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" class="radio" name="fixdayorweek" value="0" onclick="DisTime('fixdayselect','fixweekselect')" />&nbsp;按号数设置
								<input type="radio" class="radio" name="fixdayorweek" value="1" onclick="DisTime('fixweekselect','fixdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="fixmonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="fixmonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="fixmonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="fixmonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="fixmonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="fixmonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="fixmonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="fixmonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="fixmonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="fixmonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="fixmonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="fixmonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="fixdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="fixday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="fixday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="fixday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="fixday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="fixday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="fixday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="fixday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="fixday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="fixday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="fixday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="fixday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="fixday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="fixday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="fixday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="fixday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="fixday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="fixday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="fixday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="fixday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="fixday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="fixday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="fixday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="fixday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="fixday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="fixday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="fixday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="fixday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="fixday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="fixday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="fixday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="fixday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="fixweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="fixweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="fixweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="fixweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="fixweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="fixweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="fixweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="fixweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="fixperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="fixperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="fixperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="fixperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="fixperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="fixperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="fixperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="fixperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="fixperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="fixperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="fixperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="fixperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="fixperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="fixperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="fixperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="fixperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="fixperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="fixperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="fixperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="fixperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="fixperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="fixperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="fixperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="fixperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('fix','<%=initarray[15]%>')
    //-->
				</script>
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">帖间随机广告</td>
			<td class="td1" align="right">
				<a name="dv_ads_5"></a><a href="#"><img src="images/p_up.gif" style="float:right" border="0" />
					&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
				</a>
			</td>
		</tr>
		<tr>
			<td class="left" width="30%">开启帖间随机广告
			</td>
			<td class="right" width="70%">
				<input type="radio" class="radio" <% if(initarray[16]=="0"||initarray[16]==null)Response.Write("checked=\"checked\"");%> value="0" name="ads_post_on" />
				否 <input type="radio" class="radio" <% if(initarray[16]=="1")Response.Write("checked=\"checked\"");%> value="1" name="ads_post_on" />
				是&nbsp;&nbsp;<span>如果没开启，所有相关设置均无效</span>
			</td>
		</tr>
		<tr>
			<td align="left" valign="top" class="title" colspan="2"><div style="float:left">帖间随机广告代码</div>
			</td>
		</tr>
		<tr>
			<td align="left" valign="top" colspan="2">
				<textarea name="ads_post" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" style="width:90%;height:80px" id="ads_post"><% if(initarray[17]==null){%>&lt;a href=&quot;http://www.dvbbs.net/buy.asp&quot; target=&quot;_blank&quot;&gt;动网论坛商业版热卖中&lt;/a&gt;
&lt;a href=&quot;http://p.dvbbs.net/&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;red&quot;&gt;动网论坛PHP官方站点&lt;/font&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.aspsky.cn&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;blue&quot;&gt;动网论坛专用虚拟主机&lt;/font&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.cndw.com&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;font color=&quot;#941AE6&quot;&gt;动网·网络社区源动力&lt;/font&gt;&lt;/b&gt;&lt;/a&gt;<%}else Response.Write(Server.HtmlEncode(initarray[17].ToString()));%>
				</textarea>
				<br />
				<span>请填写广告代码，每个广告一行，请用回车分开，支持HTML和脚本。</span>
			</td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[18]是广告时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置帖间随机广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[18]);
	%>
				选择帖间随机广告时间段方式：&nbsp;&nbsp; <input type="radio" class="radio" name="postselect" id="postselect" value="0" onclick="DisTime('postfix','posthour,postmix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" class="radio" name="postselect" id="postselect" value="1" onclick="DisTime('posthour','postfix,postmix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" class="radio" name="postselect" id="postselect" value="2" onclick="DisTime('postmix_dis','posthour,postfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<!--固定日期段-->
				<div id="postfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id="postfix1" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
									onMouseOut="IEvent('mouseout',this)" name='postfix1' readonly='readonly' style='width:80' title='点击打开日期控件' onclick='calendar.setHook(this)'
									runat='server' /> -- <input id="postfix2" name='postfix2' readonly='readonly' style='width:80' onFocus="IEvent('focus',this);"
									onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" title='点击打开日期控件'
									onclick='calendar.setHook(this)' runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="posthour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="statpost" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="statpost" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="statpost" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="statpost" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="statpost" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="statpost" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="statpost" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="statpost" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="statpost" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="statpost" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="statpost" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="statpost" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="statpost" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="statpost" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="statpost" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="statpost" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="statpost" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="statpost" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="statpost" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="statpost" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="statpost" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="statpost" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="statpost" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="statpost" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="postmix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" class="radio" name="postdayorweek" value="0" onclick="DisTime('postdayselect','postweekselect')" />&nbsp;按号数设置
								<input type="radio" class="radio" name="postdayorweek" value="1" onclick="DisTime('postweekselect','postdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="postmonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="postmonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="postmonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="postmonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="postmonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="postmonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="postmonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="postmonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="postmonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="postmonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="postmonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="postmonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="postdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="postday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="postday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="postday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="postday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="postday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="postday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="postday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="postday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="postday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="postday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="postday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="postday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="postday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="postday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="postday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="postday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="postday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="postday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="postday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="postday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="postday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="postday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="postday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="postday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="postday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="postday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="postday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="postday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="postday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="postday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="postday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="postweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="postweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="postweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="postweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="postweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="postweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="postweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="postweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="postperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="postperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="postperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="postperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="postperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="postperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="postperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="postperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="postperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="postperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="postperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="postperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="postperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="postperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="postperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="postperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="postperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="postperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="postperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="postperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="postperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="postperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="postperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="postperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('post','<%=initarray[18]%>')
    //-->
				</script>
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">文字广告</td>
			<td class="td1" align="right">
				<a name="dv_ads_6"></a><a href="#"><img src="images/p_up.gif" border="0" /></a> 
				&nbsp; <a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td class="left" width="30%">
				开启文字广告
			</td>
			<td class="right" width="70%">
				<input type="radio" class="radio" <% if(initarray[19]=="0"||initarray[19]==null)Response.Write("checked=\"checked\"");%> value="0" name="ads_text_on" />
				否 <input type="radio" class="radio" value="1" <% if(initarray[19]=="1")Response.Write("checked=\"checked\"");%> name="ads_text_on" />
				是&nbsp;&nbsp;<span>如果没开启，所有相关设置均无效</span>
			</td>
		</tr>
		<tr>
			<td class="left">
				版面文字广告位设置
			</td>
			<td class="right">
				<input type="radio" class="radio" <% if(initarray[20]=="1"||initarray[20]==null)Response.Write("checked=\"checked\"");%> value="1" name="ads_text_board" />
				帖子列表<br />
				<input type="radio" class="radio" <% if(initarray[20]=="2")Response.Write("checked=\"checked\"");%> value="2" name="ads_text_board" />
				帖子内容<br />
				<input type="radio" class="radio" <% if(initarray[20]=="3")Response.Write("checked=\"checked\"");%> value="3" name="ads_text_board" />
				两者都显示<br />
				<input type="radio" class="radio" <% if(initarray[20]=="0")Response.Write("checked=\"checked\"");%> value="0" name="ads_text_board" />
				两者都不显示 此设置只涉及版面，和首页无关。
			</td>
		</tr>
		<tr>
			<td class="left">
				文字广告每行广告个数
			</td>
			<td class="right">
				<input id="ads_text_seting" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" value="<% if(initarray[21]==null) Response.Write("4");else Response.Write(initarray[21]);%>" name="ads_text_seting" />
				个&nbsp;&nbsp;<span>1-20不能为0</span>
			</td>
		</tr>
	</table>
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">页面文字广告位内容</td>
			<td align="right" class="td1">
				<a href="#"><img src="images/p_up.gif" style="float:right" border="0" /></a> &nbsp;
				<a href="#bottom"><img src="images/p_down.gif" border="0" title="底部"></a>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<textarea onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
					onMouseOut="IEvent('mouseout',this)" name="ads_text" style="width:90%;height:80px" id="ads_text"><% if(initarray[22]==null) Response.Write("&lt;a href=&quot;http://www.dvbbs.net/buy.asp&quot; target=&quot;_blank&quot;&gt;动网论坛商业版热卖中&lt;/a&gt;&lt;a href=&quot;http://www.safe888.com/&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;red&quot;&gt;动网雷傲共推抗DDOS攻击防火墙&lt;/font&gt;&lt;/a&gt;&lt;a href=&quot;http://www.aspsky.cn&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;blue&quot;&gt;动网论坛专用虚拟主机&lt;/font&gt;&lt;/a&gt;&lt;a href=&quot;http://www.linkidc.com&quot; target=&quot;_blank&quot;&gt;&lt;font color=&quot;#941AE6&quot;&gt;零刻数据·南北互联主机托管&lt;/font&gt;&lt;/a&gt;");else Response.Write(Server.HtmlEncode(initarray[22].ToString()));%></textarea>
				<br />
				<span>请填写广告代码，每个广告一行，请用回车分开，支持HTML和脚本。</span>
			</td>
		</tr>
	</table>
	<!--选择广告时间-->
	<!--initarray[23]是广告时间-->
	<table width="100%" class="maintable" cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td class="title">请设置播放页面文字广告内容的时间段</td>
		</tr>
		<tr>
			<td>
				<%	
	  TimeTips(initarray[23]);
	%>
				选择文字广告时间段方式：&nbsp;&nbsp; <input type="radio" class="radio" name="textselect" id="textselect" value="0" onclick="DisTime('textfix','texthour,textmix_dis')" />固定日期段内播放&nbsp;
				<input type="radio" class="radio" name="textselect" id="textselect" value="1" onclick="DisTime('texthour','textfix,textmix_dis')" />每天的某些小时内播放&nbsp;
				<input type="radio" class="radio" name="textselect" id="textselect" value="2" onclick="DisTime('textmix_dis','texthour,textfix')" />按照月、日、小时等混合设置&nbsp;
			</td>
		</tr>
		<tr>
			<td class="bgcl2">
				<!--固定日期段-->
				<div id="textfix" style="display:none">
					<table>
						<tr>
							<td>播放广告日期范围(格式 yyyy-mm-dd):&nbsp;&nbsp; <input id="textfix1" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
									onMouseOut="IEvent('mouseout',this)" name='textfix1' readonly='readonly' style='width:80' title='点击打开日期控件' onclick='calendar.setHook(this)'
									runat='server' /> -- <input id="textfix2" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)"
									onMouseOut="IEvent('mouseout',this)" name='textfix2' readonly='readonly' style='width:80' title='点击打开日期控件' onclick='calendar.setHook(this)'
									runat='server' /></td>
						</tr>
					</table>
				</div>
				<!--end固定日期段-->
				<!--每天的小时-->
				<div id="texthour" style="display:none">
					<table>
						<tr>
							<td>0点：<input type="checkbox" name="stattext" value="0" class="checkbox" />&nbsp;&nbsp;</td>
							<td>1点：<input type="checkbox" name="stattext" value="1" class="checkbox" />&nbsp;&nbsp;</td>
							<td>2点：<input type="checkbox" name="stattext" value="2" class="checkbox" />&nbsp;&nbsp;</td>
							<td>3点：<input type="checkbox" name="stattext" value="3" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>4点：<input type="checkbox" name="stattext" value="4" class="checkbox" />&nbsp;&nbsp;</td>
							<td>5点：<input type="checkbox" name="stattext" value="5" class="checkbox" />&nbsp;&nbsp;</td>
							<td>6点：<input type="checkbox" name="stattext" value="6" class="checkbox" />&nbsp;&nbsp;</td>
							<td>7点：<input type="checkbox" name="stattext" value="7" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>8点：<input type="checkbox" name="stattext" value="8" class="checkbox" />&nbsp;&nbsp;</td>
							<td>9点：<input type="checkbox" name="stattext" value="9" class="checkbox" />&nbsp;&nbsp;</td>
							<td>10点：<input type="checkbox" name="stattext" value="10" class="checkbox" />&nbsp;&nbsp;</td>
							<td>11点：<input type="checkbox" name="stattext" value="11" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>12点：<input type="checkbox" name="stattext" value="12" class="checkbox" />&nbsp;&nbsp;</td>
							<td>13点：<input type="checkbox" name="stattext" value="13" class="checkbox" />&nbsp;&nbsp;</td>
							<td>14点：<input type="checkbox" name="stattext" value="14" class="checkbox" />&nbsp;&nbsp;</td>
							<td>15点：<input type="checkbox" name="stattext" value="15" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>16点：<input type="checkbox" name="stattext" value="16" class="checkbox" />&nbsp;&nbsp;</td>
							<td>17点：<input type="checkbox" name="stattext" value="17" class="checkbox" />&nbsp;&nbsp;</td>
							<td>18点：<input type="checkbox" name="stattext" value="18" class="checkbox" />&nbsp;&nbsp;</td>
							<td>19点：<input type="checkbox" name="stattext" value="19" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td>20点：<input type="checkbox" name="stattext" value="20" class="checkbox" />&nbsp;&nbsp;</td>
							<td>21点：<input type="checkbox" name="stattext" value="21" class="checkbox" />&nbsp;&nbsp;</td>
							<td>22点：<input type="checkbox" name="stattext" value="22" class="checkbox" />&nbsp;&nbsp;</td>
							<td>23点：<input type="checkbox" name="stattext" value="23" class="checkbox" />&nbsp;&nbsp;</td>
						</tr>
					</table>
				</div>
				<!--end每天的小时-->
				<!--混合设置-->
				<div id="textmix_dis" style="display:none">
					<table>
						<tr>
							<td>
								<input type="radio" class="radio" name="textdayorweek" value="0" onclick="DisTime('textdayselect','textweekselect')" />&nbsp;按号数设置
								<input type="radio" class="radio" name="textdayorweek" value="1" onclick="DisTime('textweekselect','textdayselect')" />&nbsp;按周几设置
							</td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
								请设置播放广告的月份(1-12) ：<br />
								<table>
									<tr>
										<td>1月：<input type="checkbox" name="textmonth" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2月：<input type="checkbox" name="textmonth" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3月：<input type="checkbox" name="textmonth" value="3" class="checkbox" />&nbsp;&nbsp;</td>
										<td>4月：<input type="checkbox" name="textmonth" value="4" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>5月：<input type="checkbox" name="textmonth" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6月：<input type="checkbox" name="textmonth" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7月：<input type="checkbox" name="textmonth" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										<td>8月：<input type="checkbox" name="textmonth" value="8" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>9月：<input type="checkbox" name="textmonth" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10月：<input type="checkbox" name="textmonth" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11月：<input type="checkbox" name="textmonth" value="11" class="checkbox" />&nbsp;&nbsp;</td>
										<td>12月：<input type="checkbox" name="textmonth" value="12" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
								<div id="textdayselect">
									请设置各月份的某些天(1-31) ：<br />
									<table>
										<tr>
											<td>1号：<input type="checkbox" name="textday" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>2号：<input type="checkbox" name="textday" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>3号：<input type="checkbox" name="textday" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>4号：<input type="checkbox" name="textday" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>5号：<input type="checkbox" name="textday" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>6号：<input type="checkbox" name="textday" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>7号：<input type="checkbox" name="textday" value="7" class="checkbox" />&nbsp;&nbsp;</td>
											<td>8号：<input type="checkbox" name="textday" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>9号：<input type="checkbox" name="textday" value="9" class="checkbox" />&nbsp;&nbsp;</td>
											<td>10号：<input type="checkbox" name="textday" value="10" class="checkbox" />&nbsp;&nbsp;</td>
											<td>11号：<input type="checkbox" name="textday" value="11" class="checkbox" />&nbsp;&nbsp;</td>
											<td>12号：<input type="checkbox" name="textday" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>13号：<input type="checkbox" name="textday" value="13" class="checkbox" />&nbsp;&nbsp;</td>
											<td>14号：<input type="checkbox" name="textday" value="14" class="checkbox" />&nbsp;&nbsp;</td>
											<td>15号：<input type="checkbox" name="textday" value="15" class="checkbox" />&nbsp;&nbsp;</td>
											<td>16号：<input type="checkbox" name="textday" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>17号：<input type="checkbox" name="textday" value="17" class="checkbox" />&nbsp;&nbsp;</td>
											<td>18号：<input type="checkbox" name="textday" value="18" class="checkbox" />&nbsp;&nbsp;</td>
											<td>19号：<input type="checkbox" name="textday" value="19" class="checkbox" />&nbsp;&nbsp;</td>
											<td>20号：<input type="checkbox" name="textday" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>21号：<input type="checkbox" name="textday" value="21" class="checkbox" />&nbsp;&nbsp;</td>
											<td>22号：<input type="checkbox" name="textday" value="22" class="checkbox" />&nbsp;&nbsp;</td>
											<td>23号：<input type="checkbox" name="textday" value="23" class="checkbox" />&nbsp;&nbsp;</td>
											<td>24号：<input type="checkbox" name="textday" value="24" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>25号：<input type="checkbox" name="textday" value="25" class="checkbox" />&nbsp;&nbsp;</td>
											<td>26号：<input type="checkbox" name="textday" value="26" class="checkbox" />&nbsp;&nbsp;</td>
											<td>27号：<input type="checkbox" name="textday" value="27" class="checkbox" />&nbsp;&nbsp;</td>
											<td>28号：<input type="checkbox" name="textday" value="28" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>29号：<input type="checkbox" name="textday" value="29" class="checkbox" />&nbsp;&nbsp;</td>
											<td>30号：<input type="checkbox" name="textday" value="30" class="checkbox" />&nbsp;&nbsp;</td>
											<td>31号：<input type="checkbox" name="textday" value="31" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								<div id="textweekselect" style="display:none">
									请设置各月份每周的周几(1-7)：<br />
									<table>
										<tr>
											<td>周一：<input type="checkbox" name="textweek" value="1" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周二：<input type="checkbox" name="textweek" value="2" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周三：<input type="checkbox" name="textweek" value="3" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周四：<input type="checkbox" name="textweek" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
										<tr>
											<td>周五：<input type="checkbox" name="textweek" value="5" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周六：<input type="checkbox" name="textweek" value="6" class="checkbox" />&nbsp;&nbsp;</td>
											<td>周七：<input type="checkbox" name="textweek" value="7" class="checkbox" />&nbsp;&nbsp;</td>
										</tr>
									</table>
								</div>
								请设置某天(周几)播放广告的时间(0-23)：<br />
								<table>
									<tr>
										<td>0点：<input type="checkbox" name="textperhour" value="0" class="checkbox" />&nbsp;&nbsp;</td>
										<td>1点：<input type="checkbox" name="textperhour" value="1" class="checkbox" />&nbsp;&nbsp;</td>
										<td>2点：<input type="checkbox" name="textperhour" value="2" class="checkbox" />&nbsp;&nbsp;</td>
										<td>3点：<input type="checkbox" name="textperhour" value="3" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>4点：<input type="checkbox" name="textperhour" value="4" class="checkbox" />&nbsp;&nbsp;</td>
										<td>5点：<input type="checkbox" name="textperhour" value="5" class="checkbox" />&nbsp;&nbsp;</td>
										<td>6点：<input type="checkbox" name="textperhour" value="6" class="checkbox" />&nbsp;&nbsp;</td>
										<td>7点：<input type="checkbox" name="textperhour" value="7" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>8点：<input type="checkbox" name="textperhour" value="8" class="checkbox" />&nbsp;&nbsp;</td>
										<td>9点：<input type="checkbox" name="textperhour" value="9" class="checkbox" />&nbsp;&nbsp;</td>
										<td>10点：<input type="checkbox" name="textperhour" value="10" class="checkbox" />&nbsp;&nbsp;</td>
										<td>11点：<input type="checkbox" name="textperhour" value="11" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>12点：<input type="checkbox" name="textperhour" value="12" class="checkbox" />&nbsp;&nbsp;</td>
										<td>13点：<input type="checkbox" name="textperhour" value="13" class="checkbox" />&nbsp;&nbsp;</td>
										<td>14点：<input type="checkbox" name="textperhour" value="14" class="checkbox" />&nbsp;&nbsp;</td>
										<td>15点：<input type="checkbox" name="textperhour" value="15" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>16点：<input type="checkbox" name="textperhour" value="16" class="checkbox" />&nbsp;&nbsp;</td>
										<td>17点：<input type="checkbox" name="textperhour" value="17" class="checkbox" />&nbsp;&nbsp;</td>
										<td>18点：<input type="checkbox" name="textperhour" value="18" class="checkbox" />&nbsp;&nbsp;</td>
										<td>19点：<input type="checkbox" name="textperhour" value="19" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td>20点：<input type="checkbox" name="textperhour" value="20" class="checkbox" />&nbsp;&nbsp;</td>
										<td>21点：<input type="checkbox" name="textperhour" value="21" class="checkbox" />&nbsp;&nbsp;</td>
										<td>22点：<input type="checkbox" name="textperhour" value="22" class="checkbox" />&nbsp;&nbsp;</td>
										<td>23点：<input type="checkbox" name="textperhour" value="23" class="checkbox" />&nbsp;&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
				<script type="text/javascript" language="javascript">
    <!--
     CheckTime('text','<%=initarray[23]%>')
    //-->
				</script>
			</td>
		</tr>
	</table>
	<!--end 选择广告时间-->
	<br />
	<table width="100%" border="0" cellpadding="8" cellspacing="0" bgcolor="#C4D8ED">
		<tr>
			<td align="center" valign="top" class="category">
				<input type="hidden" name="action" value="edit" /> <a name="bottom"></a><input name="AddNewTemp" type="submit" class="button" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this)"
					onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" id="AddNewTemp" value="提 交 设 置" /></td>
		</tr>
	</table>
</form>
<br />
<br />
<bbs:AdminFooter runat="server" ID="Adminfooter1" NAME="Adminfooter1" />
