SysParaSet.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:19k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <% Option Explicit %>
  2. <!--#include file="../../FS_Inc/Const.asp" -->
  3. <!--#include file="lib/cls_main.asp" -->
  4. <!--#include file="../../FS_InterFace/MF_Function.asp" -->
  5. <!--#include file="../../FS_InterFace/ns_Function.asp" -->
  6. <!--#include file="../../FS_Inc/Function.asp" -->
  7. <%'Copyright (c) 2006 Foosun Inc. Code by Einstein.Liu
  8. 'FileNameRuleArray:新闻文件静态文件生成规则,用数组的形式将各个参数分开
  9. 'IndexPageArray:首页文件名及扩展名,用数组的形式将各个参数分开,1:首页名;2扩展名
  10. 'RefreshFileArray:系统多少分钟自动刷新首页,系统多少分钟刷新分类,用数组的形式将各两个参数分开
  11. Dim Conn,Fs_News,FileNameRuleArray,sRootDir,str_CurrPath
  12. MF_Default_Conn
  13. MF_Session_TF
  14. if not MF_Check_Pop_TF("NS_Param") then Err_Show
  15. if not MF_Check_Pop_TF("NS049") then Err_Show
  16. if G_VIRTUAL_ROOT_DIR<>"" then sRootDir="/"+G_VIRTUAL_ROOT_DIR else sRootDir=""
  17. if Session("Admin_Is_Super") = 1 then
  18. str_CurrPath = sRootDir &"/"&G_UP_FILES_DIR
  19. Else
  20. str_CurrPath = Replace(sRootDir &"/"&G_UP_FILES_DIR&"/adminfiles/"&Session("Admin_Name"),"//","/")
  21. End if
  22. Set Fs_News=New Cls_news
  23. Fs_News.GetSysParam()
  24. if err.number>0 then
  25. Response.Redirect("lib/error.asp?ErrCodes=<li>请先初试化数据库</li>")
  26. Response.End()
  27. end if
  28. FileNameRuleArray=split(Fs_News.fileNameRule,"$")
  29. %>
  30. <html xmlns="http://www.w3.org/1999/xhtml">
  31. <HEAD>
  32. <TITLE>FoosunCMS</TITLE>
  33. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  34. <style type="text/css">
  35. <!--
  36. .style1 {font-weight: bold}
  37. .style2 {color: #FF0000}
  38. -->
  39. </style>
  40. </HEAD>
  41. <link href="../images/skin/Css_<%=Session("Admin_Style_Num")%>/<%=Session("Admin_Style_Num")%>.css" rel="stylesheet" type="text/css">
  42. <BODY>
  43. <script language="JavaScript" src="js/CheckJs.js" type="text/JavaScript"></script>
  44. <script language="JavaScript" src="js/Public.js" type="text/javascript"></script>
  45. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  46.   <tr>
  47.     <td height="1"></td>
  48.   </tr>
  49. </table> 
  50. <table width="98%" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
  51.   <form action="SetSysParaAction.asp?Act=SetSysPara_Action" method="post" name="SysParaForm" id="SysParaForm">
  52.     <tr> 
  53.       <td align="left" colspan="2" class="xingmu"><a href="#" onmouseover="this.T_BGCOLOR='#404040';this.T_FONTCOLOR='#FFFFFF';return escape('<div align='center'>FoosunCMS4.0<br> Code by 刘南兵 <BR>Copyright (c) 2006 Foosun Inc</div>')" class="sd"><strong><% = Fs_news.allInfotitle %>系统参数设置</strong></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../help?Lable=News_Manage" target="_blank" style="cursor:help;'" class="sd">帮助</a></td>
  54.     </tr>
  55.     <tr class="hback"> 
  56.       <td width="17%" align="right"><% = Fs_news.allInfotitle %>系统站点标题:</td>
  57.       <td width="83%"><input name="txt_SiteName" type="text" id="txt_SiteName" size="50" value="<%=Fs_News.siteName%>"> 
  58.         <span class="style2">*</span><span id="span_SiteName_Alert"></span></td>
  59.     </tr>
  60.     <tr class="hback"> 
  61.       <td align="right">站点关键字: </td>
  62.       <td><textarea name="txt_KeyWords"  style="width:80%" rows="5" id="txt_KeyWords" onKeyUp="ReplaceDot('txt_KeyWords')"><%=Fs_News.keywords%></textarea></td>
  63.     </tr>
  64.     <tr class="hback"> 
  65.       <td align="right"> <% = Fs_news.allInfotitle %>系统前台目录:</td>
  66.       <td><input name="txt_NewsDir" type="text" id="txt_NewsDir" value="<%=Fs_News.newsDir%>" size="50"> 
  67.         <span class="style2">*</span><span id="span_NewsDir_Alert"></span></td>
  68.     </tr>
  69.     <tr class="hback"> 
  70.       <td align="right">启用二级域名:</td>
  71.       <td>
  72. <input name="rad_IsDomain" type="text" id="rad_IsDomain" value="<%=Fs_News.isDomain%>" size="50">
  73.         <br>
  74.         格式:News.foosun.cn,不带&quot;http://&quot;或者虚拟目录,后面不带&quot;/&quot;.如果不开启二级域名,空保持为空</td>
  75.     </tr>
  76.     <tr class="hback"> 
  77.       <td align="right"> <% = Fs_news.allInfotitle %>目录删除设置:</td>
  78.       <td align="left"> <input type="radio" name="rad_ReycleTF" value="1" <%if Fs_News.reycleTf=1 then Response.Write("checked")%>>
  79.         转入回收站 
  80.         <input type="radio" name="rad_ReycleTF" value="0" <%if Fs_News.reycleTf=0 then Response.Write("checked")%>>
  81.         彻底删除 </td>
  82.     </tr>
  83.     <tr class="hback"> 
  84.       <td align="right"><% = Fs_news.allInfotitle %>文件名前缀:</td>
  85.       <td> <input name="txt_FileNameRule_Element_Prefix" type="text" id="txt_FileNameRule_Element_Prefix" size="50" value="<%=FileNameRuleArray(0)%>"></td>
  86.     </tr>
  87.     <tr class="hback"> 
  88.       <td align="right"><% = Fs_news.allInfotitle %>文件名参数:</td>
  89.       <td> <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="Y" <%if instr(FileNameRuleArray(1),"Y")>0 then Response.Write("checked")%>>
  90.         年 
  91.         <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="M" <%if instr(FileNameRuleArray(1),"M")>0 then Response.Write("checked")%>>
  92.         月 
  93.         <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="D" <%if instr(FileNameRuleArray(1),"D")>0 then Response.Write("checked")%>>
  94.         日 
  95.         <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="H" <%if instr(FileNameRuleArray(1),"H")>0 then Response.Write("checked")%>>
  96.         时 
  97.         <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="I" <%if instr(FileNameRuleArray(1),"I")>0 then Response.Write("checked")%>>
  98.         分 
  99.         <input name="chk_FileNameRule_Element" type="checkbox" id="chk_FileNameRule_Element" value="S" <%if instr(FileNameRuleArray(1),"S")>0 then Response.Write("checked")%>>
  100.         秒 <br> <input type="radio" name="rad_FileNameRule_Rnd" id="rad_FileNameRule_Rnd" value="2" <%if FileNameRuleArray(2)="2" then Response.Write("checked")%>>
  101.         2位随机数 
  102.         <input type="radio" name="rad_FileNameRule_Rnd" id="rad_FileNameRule_Rnd" value="3" <%if FileNameRuleArray(2)="3" then Response.Write("checked")%>>
  103.         3位随机数 
  104.         <input type="radio" name="rad_FileNameRule_Rnd" id="rad_FileNameRule_Rnd" value="4" <%if FileNameRuleArray(2)="4" then Response.Write("checked")%>>
  105.         4位随机数 
  106.         <input type="radio" name="rad_FileNameRule_Rnd" id="rad_FileNameRule_Rnd" value="5" <%if FileNameRuleArray(2)="5" then Response.Write("checked")%>>
  107.         5位随机数 
  108.         <input name="chk_FileNameRule_UseWord" type="checkbox" id="chk_FileNameRule_UseWord" value="1" <%if ubound(FileNameRuleArray)>=3 then if FileNameRuleArray(3)="1" then Response.Write("checked")%>>
  109.         是否组合字母 </td>
  110.     </tr>
  111.     <tr class="hback"> 
  112.       <td align="right">分割符号:</td>
  113.       <td> <input name="txt_FileNameRule_Element_Separator" type="text" id="txt_FileNameRule_Element_Separator" size="50" value="<%=FileNameRuleArray(4)%>"></td>
  114.     </tr>
  115.     <tr class="hback"> 
  116.       <td align="right">是否使用<% = Fs_news.allInfotitle %>ID:</td>
  117.       <td> <input type="radio" name="rad_FileNameRule_UseNewsID" value="1" <%if ubound(FileNameRuleArray)>=5 then if FileNameRuleArray(5)="1" then Response.Write("checked")%> onClick="clearAll('rad_FileNameRule_Rnd','chk_FileNameRule_UseWord')">
  118.         是 
  119.         <input type="radio" name="rad_FileNameRule_UseNewsID" value="0" <%if Ubound(FileNameRuleArray)>=5 then if FileNameRuleArray(5)="0" then Response.Write("checked")%> onClick="checkIt('rad_FileNameRule_Rnd','chk_FileNameRule_UseWord')">
  120.         否 </td>
  121.     </tr>
  122.     <tr class="hback"> 
  123.       <td align="right">是否使用NewsID</td>
  124.       <td> <input type="radio" name="rad_FileNameRule_NewsID" value="1" <%if ubound(FileNameRuleArray)>=6 then if FileNameRuleArray(6)="1" then Response.Write("checked")%> onClick="clearAll('rad_FileNameRule_Rnd','chk_FileNameRule_UseWord')">
  125.         是 
  126.         <input type="radio" name="rad_FileNameRule_NewsID" value="0" <%if Ubound(FileNameRuleArray)>=6 then if FileNameRuleArray(6)="0" then Response.Write("checked")%> onClick="checkIt('rad_FileNameRule_Rnd','chk_FileNameRule_UseWord')">
  127.         否 </td>
  128.     </tr>
  129.     <tr class="hback"> 
  130.       <td align="right">目录生成规则:</td>
  131.       <td> <input name="rad_FileDirRule" type="radio" value="0" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=0 then Response.Write("checked")%>>
  132.         规则1 
  133.         <input type="radio" name="rad_FileDirRule" value="1" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=1 then Response.Write("checked")%>>
  134.         规则2 
  135.         <input type="radio" name="rad_FileDirRule" value="2" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=2 then Response.Write("checked")%>>
  136.         规则3 
  137.         <input type="radio" name="rad_FileDirRule" value="3" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=3 then Response.Write("checked")%>>
  138.         规则4 
  139.         <input type="radio" name="rad_FileDirRule" value="4" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=4 then Response.Write("checked")%>>
  140.         规则5 
  141.         <input type="radio" name="rad_FileDirRule" value="5" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=5 then Response.Write("checked")%>>
  142.         规则6 
  143.         <input type="radio" name="rad_FileDirRule" value="6" onClick="show_FileDirRule_Detail(this.value)" <%if Fs_News.fileDirRule=6 then Response.Write("checked")%>>
  144.         规则7 &nbsp;&nbsp;<span id="span_FileDirRule" style="color:blue"></span>      </td>
  145.     </tr>
  146.     <tr class="hback"> 
  147.       <td align="right">首页生成规则:</td>
  148.       <td> <input name="rad_ClassSaveType" type="radio" value="0" onClick="show_ClassSaveType_Detail(this.value)" <%if Fs_News.classSaveType=0 then Response.Write("checked")%>>
  149.         规则1 
  150.         <input type="radio" name="rad_ClassSaveType" value="1" onClick="show_ClassSaveType_Detail(this.value)" <%if Fs_News.classSaveType=1 then Response.Write("checked")%>>
  151.         规则2 
  152.         <input type="radio" name="rad_ClassSaveType" value="2" onClick="show_ClassSaveType_Detail(this.value)" <%if Fs_News.classSaveType=2 then Response.Write("checked")%>>
  153.         规则3 &nbsp;&nbsp;<span id="span_ClassSaveType" style="color:blue"></span>      </td>
  154.     </tr>
  155.     <tr class="hback"> 
  156.       <td align="right">首页文件名:</td>
  157.       <td><input name="txt_IndexPage_Name" type="text" id="txt_IndexPage_Name" size="50" value="<%=Fs_News.indexPage%>"> 
  158.         <span class="style2">*</span><span id="span_IndexPage_Name_Alert"></span></td>
  159.     </tr>
  160.     <tr class="hback"> 
  161.       <td align="right"><% = Fs_news.allInfotitle %>站文件扩展名:</td>
  162.       <td>
  163.         <select name="rad_FileExtName" id="rad_FileExtName">
  164.           <option value="0" <%if Fs_News.fileExtName=0 then Response.Write("selected")%>>html</option>
  165.           <option value="1" <%if Fs_News.fileExtName=1 then Response.Write("selected")%>>htm</option>
  166.           <option value="2" <%if Fs_News.fileExtName=2 then Response.Write("selected")%>>shtml</option>
  167.           <option value="3" <%if Fs_News.fileExtName=3 then Response.Write("selected")%>>shtm</option>
  168.           <option value="4" <%if Fs_News.fileExtName=4 then Response.Write("selected")%>>asp</option>
  169.         </select>        </td>
  170.     </tr>
  171.     <tr class="hback"> 
  172.       <td align="right">允许<% = Fs_news.allInfotitle %>发布:</td>
  173.       <td> <input name="rad_isOpen" type="radio" value="1" <%if Fs_News.isOpen=1 then Response.Write("checked")%>>
  174.         是 
  175.         <input type="radio" name="rad_isOpen" value="0" <%if Fs_News.isOpen=0 then Response.Write("checked")%>>
  176.         否 </td>
  177.     </tr>
  178.     <tr class="hback"> 
  179.       <td align="right">首页模板地址:</td>
  180.       <td><input name="txt_IndexTemplet" type="text" id="txt_IndexTemplet" size="50" value="<%=Fs_News.indexTemplet%>"> 
  181.         <input name="bnt_NewsTemplet" type="button" id="bnt_NewsTemplet" value="选择模板"  onClick="OpenWindowAndSetValue('../CommPages/SelectManageDir/SelectTemplet.asp?CurrPath=<%=sRootDir %>/<% = G_TEMPLETS_DIR %>',400,300,window,document.SysParaForm.txt_IndexTemplet);document.SysParaForm.txt_IndexTemplet.focus();"> 
  182.         <span class="style2">*</span><span id="span_IndexTemplet_Alert"></span></td>
  183.     </tr>
  184.     <tr class="hback"> 
  185.       <td align="right">连接路径:</td>
  186.       <td> <input type="radio" name="rad_LinkType" value="1" <%if Fs_News.linkType=1 then Response.Write("checked")%>>
  187.         绝对路径 
  188.         <input name="rad_LinkType" type="radio" value="0" <%if Fs_News.linkType=0 then Response.Write("checked")%>>
  189.         相对路径 </td>
  190.     </tr>
  191.     <tr class="hback"> 
  192.       <td align="right">添加<% = Fs_news.allInfotitle %>是否审核:</td>
  193.       <td> <input type="radio" name="rad_isCheck" value="1" <%if Fs_News.isCheck=1 then Response.Write("checked")%>>
  194.         是 
  195.         <input name="rad_isCheck" type="radio" value="0" <%if Fs_News.isCheck=0 then Response.Write("checked")%>>
  196.         否 </td>
  197.     </tr>
  198.     <tr class="hback" style="display:none;"> 
  199.       <td align="right"><% = Fs_news.allInfotitle %>评论是否审核:</td>
  200.       <td> <input type="radio" name="rad_isReviewCheck" value="1" <%if Fs_News.isReviewCheck=1 then Response.Write("checked")%>>
  201.         是 
  202.         <input name="rad_isReviewCheck" type="radio" value="0" <%if Fs_News.isReviewCheck=0 then Response.Write("checked")%>>
  203.         否 </td>
  204.     </tr>
  205.     <tr class="hback"> 
  206.       <td align="right">是否审核投稿:</td>
  207.       <td> <input name="rad_isConstrCheck" type="radio" value="1" <%if Fs_News.isConstrCheck=1 then Response.Write("checked")%>>
  208.         是 
  209.         <input type="radio" name="rad_isConstrCheck" value="0" <%if Fs_News.isConstrCheck=0 then Response.Write("checked")%>>
  210.         否 </td>
  211.     </tr>
  212.     <tr class="hback"> 
  213.       <td align="right"><% = Fs_news.allInfotitle %>添加方式:</td>
  214.       <td> <input type="radio" name="rad_AddNewsType" value="1" <%if Fs_News.addNewsType=1 then Response.Write("checked")%>>
  215.         高级方式 
  216.         <input name="rad_AddNewsType" type="radio" value="0" <%if Fs_News.addNewsType=0 then Response.Write("checked")%>>
  217.         简洁方式 </td>
  218.     </tr>
  219.     <tr class="hback" style="display:none"> 
  220.       <td align="right">统计替换字符:</td>
  221.       <td><input name="txt_AllInfotitle" type="text" id="txt_AllInfotitle" value="<%=Fs_News.allInfotitle%>" size="50" ></td>
  222.     </tr>
  223.     <tr class="hback"> 
  224.       <td align="right">是否开启内部连接:</td>
  225.       <td> <input name="InsideLink" type="radio" value="1" <%if Fs_News.InsideLink=1 then Response.Write("checked")%>>
  226.         是 
  227.         <input type="radio" name="InsideLink" value="0" <%if Fs_News.InsideLink=0 then Response.Write("checked")%>>
  228.         否 </td>
  229.     </tr>
  230.     <tr class="hback"> 
  231.       <td colspan="2" align="right" class="xingmu"><div align="left">RSS聚合</div></td>
  232.     </tr>
  233.     <tr class="hback"> 
  234.       <td align="right">开启RSS</td>
  235.       <td><input name="RSSTF" type="checkbox" id="RSSTF" value="1" <%if Fs_News.RSSTF=1 then response.Write("checked")%>></td>
  236.     </tr>
  237.     <tr class="hback"> 
  238.       <td align="right"><div align="right">显示最新聚合多少条</div></td>
  239.       <td><input name="rssNumber" type="text" id="rssNumber" value="<% = Fs_News.rssNumber%>" onChange="if(/D/.test(this.value)){alert('只能输入数字');this.value='';}"></td>
  240.     </tr>
  241.     <tr class="hback"> 
  242.       <td align="right"><div align="right">站点RSS描述</div></td>
  243.       <td><textarea name="rssdescript"  style="width:80%" rows="5" id="rssdescript" ><% = Fs_News.rssdescript%></textarea></td>
  244.     </tr>
  245.     <tr class="hback"> 
  246.       <td align="right"><div align="right">调用图片地址</div></td>
  247.       <td><input name="RSSPIC" type="text" id="RSSPIC" size="40" value="<% = Fs_News.RSSPIC%>"> <input type="button" name="PPPChoose"  value="选择图片" onClick="OpenWindowAndSetValue('../CommPages/SelectManageDir/SelectPic.asp?CurrPath=<%=str_CurrPath %>',500,300,window,document.SysParaForm.RSSPIC);"></td>
  248.     </tr>
  249.     <tr class="hback"> 
  250.       <td align="right"><div align="right">正文字数</div></td>
  251.       <td><input name="rssContentNumber" type="text" id="rssContentNumber" value="<% = Fs_News.rssContentNumber%>" onChange="if(/D/.test(this.value)){alert('只能输入数字');this.value='';}"></td>
  252.     </tr>
  253.     <tr class="hback"> 
  254.       <td align="right">&nbsp;</td>
  255.       <td><input type="Button" name="btn_SetSysParam" value=" 保存 " onClick="SetSysParam()"/> 
  256.         <input type="reset" name="sub_rest" value=" 重置 " /></td>
  257.     </tr>
  258.   </form>
  259. </table>
  260. <script language="javascript" type="text/javascript" src="../../FS_Inc/wz_tooltip.js"></script> 
  261. </body>
  262. <script language="javascript">
  263. function SetSysParam()
  264. {
  265. var flag1=isEmpty("txt_SiteName","span_SiteName_Alert");
  266. var flag2=isEmpty("txt_NewsDir","span_NewsDir_Alert");
  267. var flag3=isEmpty("txt_IndexPage_Name","span_IndexPage_Name_Alert");
  268. var flag4=isEmpty("txt_IndexTemplet","span_IndexTemplet_Alert");
  269. if(flag1&&flag2&&flag3&&flag4)
  270. {
  271. document.SysParaForm.submit();
  272. }
  273. }
  274. show_FileDirRule_Detail(<%=Fs_News.fileDirRule%>)
  275. //显示相应目录生成规则的格式
  276. function show_FileDirRule_Detail(param)
  277. {
  278. if(isNaN(param))
  279. {
  280. return;
  281. }
  282. switch(parseInt(param))
  283. {
  284. case 0:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/2006-6-9 ]";break
  285. case 1:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/2006/6/9/ ]";break
  286. case 2:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/2006/6-9/ ]";break
  287. case 3:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/2006-6/9/ ]";break
  288. case 4:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/文件名 ]";break
  289. case 5:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/2006/6/ ]";break
  290. case 6:document.getElementById("span_FileDirRule").innerHTML="格式:[ 栏目英文/200669/ ]";break
  291. }
  292. }
  293. show_ClassSaveType_Detail(<%=Fs_News.classSaveType%>)
  294. function show_ClassSaveType_Detail(param)
  295. {
  296. if(isNaN(param))
  297. return;
  298. switch(parseInt(param))
  299. {
  300. case 0:document.getElementById("span_ClassSaveType").innerHTML="格式:[ 栏目英文/index.html ]";break
  301. case 1:document.getElementById("span_ClassSaveType").innerHTML="格式:[ 栏目英文/栏目英文.html ]";break
  302. case 2:document.getElementById("span_ClassSaveType").innerHTML="格式:[ 栏目英文.html ]";break
  303. }
  304. }
  305. function clearAll(radio,check)
  306. {
  307. var RadioArray=document.all(radio);
  308. for(var i=0;i<RadioArray.length;i++)
  309. {
  310. RadioArray[i].checked=false;
  311. }
  312. document.all(check).checked=false;
  313. }
  314. checkIt('rad_FileNameRule_Rnd','chk_FileNameRule_UseWord')
  315. function checkIt(radio,check)
  316. {
  317. var RadioArray=document.all(radio);
  318. var checkedTF=false;
  319. for(var i=0;i<RadioArray.length;i++)
  320. {
  321. if("<%=FileNameRuleArray(2)%>"==(2+i).toString())
  322. RadioArray[i].checked=true;
  323. }
  324. if("<%=FileNameRuleArray(3)%>"=="1")
  325. document.all(check).checked=true;
  326. for(var i=0;i<RadioArray.length;i++)
  327. {
  328. if(RadioArray[i].checked)
  329. {
  330. checkedTF=true;
  331. }
  332. }
  333. if(!checkedTF)RadioArray[2].checked=true;
  334. }
  335. <%
  336. Conn.close
  337. set Conn=nothing
  338. Set Fs_News=nothing
  339. %>
  340. </script>
  341. </html>
  342. <!-- Powered by: FoosunCMS4.0系列,Company:Foosun Inc. -->