<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>论坛设置 -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		var idbbsname 		= document.getElementById('bbsname');
		var idbbstitle 			= document.getElementById('bbstitle');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idbbsname.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：论坛名称不能为空！请输入！';
			idbbsname.focus();
			return false;
		}else if(idbbstitle.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：论坛标题不能为空！请输入！';
			idbbstitle.focus();
			return false;
		}

		document.formSub.action='{#$base_weburl#}/adminsys/index.php?load=bbsconfig&act=editinfo';
		document.formSub.target="_self"
		document.formSub.submit();

	}
	
	function upLoadFile()
	{
		document.formSub.target="hidden_frame"
		document.formSub.action='{#$base_weburl#}/adminsys/index.php?load=uploadfile&act=upload&upLoadName=upfile&getUrl=bbslogo&isMark=0';
		document.formSub.submit(); 
		document.getElementById("lodingdiv").style.display="";
		document.getElementById("lodingdiv").innerHTML="<img src=\"{#$webroot_url#}/uploads/sys/loading2.gif\" />文件正上传，请稍候...";
	}
	
	
	function hiddenLoding()
	{
		document.getElementById("lodingdiv").style.display="none";
		document.getElementById("lodingdiv").innerHTML="";
		document.getElementById("bbslogo").value="";
		document.getElementById("upfile").value="";
	}
	
</script>
</head>
<body>

<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">论坛信息设置</td>
    <td>&nbsp;</td>
     <td align="right"><a href="http://help.gv32.com/type_bbsconfig.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>
<tr><td>

<form action="{#$base_weburl#}/adminsys/index.php?load=bbsconfig&act=&editinfo" method="post"   enctype="multipart/form-data" name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">论坛信息设置</th>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>论坛名称：</strong></td>
<td class="tdd"><input name="bbsname" id="bbsname" value="{#$reArray.bbsname.cfs_value#}" type="text"  style="width:250px;" ></td>
</tr>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>论坛标题：</strong></td>
<td class="tdd"><input name="bbstitle" id="bbstitle" value="{#$reArray.bbstitle.cfs_value#}" type="text"  style="width:250px;" ></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>论坛关键字：</strong></td>
<td class="tdd"><input name="bbskeyword" id="bbskeyword" value="{#$reArray.bbskeyword.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>论坛描述：</strong></td>
<td class="tdd"><input name="bbsdescription" id="bbsdescription" value="{#$reArray.bbsdescription.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>联系人：</strong></td>
<td class="tdd"><input name="bbsadmin" id="bbsadmin" value="{#$reArray.bbsadmin.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>邮箱地址：</strong></td>
<td class="tdd"><input name="bbsmail" id="bbsmail" value="{#$reArray.bbsmail.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>客服QQ号码：</strong></td>
<td class="tdd"><input name="bbsqq" id="bbsqq" value="{#$reArray.bbsqq.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>客服电话：</strong></td>
<td class="tdd"><input name="bbsphote" id="bbsphote" value="{#$reArray.bbsphote.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>联系地址：</strong></td>
<td class="tdd"><input name="bbsaddress" id="bbsaddress" value="{#$reArray.bbsaddress.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>暂时关闭论坛：</strong></td>
<td class="tdd">开启论坛<input name="bbsclose" id="bbsclose" value="0" type="radio" {#if $reArray.bbsclose.cfs_value eq '0'#} checked="checked" {#/if#} >&nbsp;&nbsp;&nbsp;&nbsp;关闭论坛<input name="bbsclose" id="bbsclose" value="1" type="radio" {#if $reArray.bbsclose.cfs_value eq '1'#} checked="checked" {#/if#} > </td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>关闭论坛的原因：</strong></td>
<td class="tdd"><input name="bbsclosevalue" id="bbsclosevalue" value="{#$reArray.bbsclosevalue.cfs_value#}" type="text" style="width:250px;"></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>论坛Logo：</strong></td>
<td class="tdd">     
<input type="file" id="upfile" name="upfile" style="width:450">&nbsp;<input name="but" type="button" value="上传文件"  onclick="upLoadFile(this)">
<iframe name='hidden_frame' id="hidden_frame" style="border:none; background-color:#00CCCC;" scrolling="no" width="0" height="0" ></iframe>{#if $reArray.bbslogo.cfs_value eq ''#}
<input type="hidden"  name="bbslogo" id="bbslogo" value="" /><div id="lodingdiv" style=" display:none;width:380px;" ><img src="{#$base_weburl#}/uploads/sys/loading2.gif" />文件正上传中，请稍候...</div>{#else#}<input type="hidden"  name="bbslogo" id="bbslogo" value="{#$reArray.bbslogo.cfs_value#}" /><div id="lodingdiv" style="width:380px;" >{#$reArray.bbslogo.cfs_value#}<img src="{#$base_weburl#}/uploads/sys/cancel.png" width="16" onclick="hiddenLoding()"></div>{#/if#}
</td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>搜索的关键字：</strong></td>
<td class="tdd"><input name="bbskeyword" id="bbskeyword" value="{#$reArray.bbskeyword.cfs_value#}" type="text" style="width:250px;"></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><input name="subbutton" id="subbutton" type="button" value="修 改"  onclick="submitFun(this)" ></td>
</tr>
</table>
</form>

</td></tr>
<tr><td></td></tr>
</table>



</body>
</html>