?? sysconfig.asp
字號:
<!--#Include file="../Common/Inc_DatConn.asp"-->
<!--#Include file="../Common/setup.asp"-->
<!--#Include file="Common/Inc_Function.asp"-->
<%
'┌─ 風(fēng)云ASP在線 ────────────────────────┐
'│ │
'│ 作者:趙振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系統(tǒng)開發(fā),網(wǎng)站制作,提供高質(zhì)量的網(wǎng)絡(luò)產(chǎn)品、技術(shù)和服務(wù)!│
'│ │
'│【版權(quán)聲明】 │
'│ │
'│ 本程序版權(quán)歸坐看風(fēng)云所有,未經(jīng)授權(quán)擅自修改、復(fù)制或散布本程序│
'│ │
'│的部分或全部,將承受嚴(yán)厲的民事和刑事處罰,對已知的違反者將給予法 │
'│ │
'│律范圍內(nèi)的全面制裁。對非法使用此程序所造成的一切后果本人概不負(fù)責(zé)!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<%if IsTimeOut(Session("strAccount"),Session("strPassWord")) then Response.Redirect "index.asp"%>
<html>
<head>
<title><% = strSiteName%> - 網(wǎng)站后臺管理系統(tǒng)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Common/Site.css" type="text/css">
</head>
<body leftMargin="0" topMargin="2">
<!--#Include file="Common/inc_Top.asp"-->
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="105" valign="top" style="border-left: 1px solid rgb(0,0,0); border-right: 1px solid rgb(0,0,0)" class="bottom"><br>
<!--#Include file="Common/Inc_Button.asp"-->
</td>
<td valign="top" style="border-right: 1px solid rgb(0,0,0)" align="center" class="banma2">
<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="50">當(dāng)前位置:<a href="Main.asp">管理首頁</a> -> 參數(shù)設(shè)置</td>
</tr>
</table>
<%
if UCase(Request.Form("Oper")) = "SYSCONFIG" then
gqml1=trim(Request.form("gqml"))
strSysUrl1=".."&gqml1
strSiteName1 =trim(Request.form("strSiteName"))
strSiteUrl1 =trim(Request.form("strSiteUrl"))
strImageUrl1 =gqml1&"images/"
strUploadNewsPhotoUrl1=gqml1&"Upload/News/"
intNewsCot1 =trim(Request.form("intNewsCot"))
intNewInfoCot1 =trim(Request.form("intNewInfoCot"))
intInfoCot1 =trim(Request.form("intInfoCot"))
strSysEdition1 =trim(Request.form("strSysEdition"))
sh1 =trim(Request.form("sh"))
addpoint1 =trim(Request.form("addpoint"))
strUpdateTime1 =trim(Request.form("strUpdateTime"))
ms1 =trim(Request.form("ms"))
File_maxa =trim(Request.form("File_max"))
File_maxa1 =trim(Request.form("File_max1"))
voteincdir = server.mappath("../common/setup.asp")
Const ForReading =1, ForWriting = 2
set fs = CreateObject("Scripting.FileSystemObject")
set ts = fs.OpenTextFile(voteincdir,ForWriting, True)
ts.Write ""
ts.Write "<"
ts.Write "%"& vbCrLf
ts.Write " gqml="&""""&gqml1&""""& vbCrLf
ts.Write " strSysUrl= "&""""&strSysUrl1&""""& vbCrLf
ts.Write " strSiteName= "&""""&strSiteName1&""""& vbCrLf
ts.Write " strSiteUrl= "&""""&strSiteUrl1&""""& vbCrLf
ts.Write " strImageUrl= "&""""&strImageUrl1&""""& vbCrLf
ts.Write " strUploadNewsPhotoUrl= "&""""&strUploadNewsPhotoUrl1&""""& vbCrLf
ts.Write " intNewsCot= "&""""&intNewsCot1&""""& vbCrLf
ts.Write " intNewInfoCot= "&""""&intNewInfoCot1&""""& vbCrLf
ts.Write " intInfoCot= "&""""&intInfoCot1&""""& vbCrLf
ts.Write " strSysEdition= "&"""3.1"""& vbCrLf
ts.Write " sh= "&""""&sh1&""""& vbCrLf
ts.Write " addpoint= "&""""&addpoint1&""""& vbCrLf
ts.Write " strUpdateTime= "&""""&date()&""""& vbCrLf
ts.Write " ms= "&""""&ms1&""""& vbCrLf
ts.Write " File_max= "&""""&File_maxa&""""& vbCrLf
ts.Write " File_max1= "&""""&File_maxa1&""""& vbCrLf
ts.Write "%"
ts.Write ">"
ts.close
Response.write("<script>alert(""修改成功"");location.href=""sysconfig.asp"";</script>")
Response.end
else
%>
<table border="0" width="96%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="100%" class="booktable">
<table border="0" width="100%" cellspacing="1" cellpadding="2">
<form method="post" action="SysConfig.asp" name="SysConfigForm">
<input type="hidden" name="Oper" value="SysConfig">
<tr>
<td width="100%" height="30" class="bottom" colspan="2" align="center">參 數(shù) 設(shè) 置</td>
</tr>
<tr>
<td width="25%" height="25" class="banma1" align="right">網(wǎng)站名稱:</td>
<td width="75%" height="25" class="banma2"> <input type="text" name="strSiteName" size="25" class="face" value="<%=strSiteName%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">網(wǎng)站網(wǎng)址: <td height="25" class="banma2"> <input type="text" name="strSiteUrl" size="25" class="face" value="<%=strSiteUrl%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">網(wǎng)站路徑:</td>
<td height="25" class="banma2"> <input type="text" name="gqml" size="25" class="face" value="<%=gqml%>"> (如本系統(tǒng)放于服務(wù)器根目錄,更改為“/”)</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">網(wǎng)站模式:</td>
<td height="25" class="banma2"> <select class="face" size="1" name="ms">
<option value="0" <%if ms=0 then Response.write("selected")%>>調(diào)試</option>
<option value="1" <%if ms=1 then Response.write("selected")%>>正常使用</option>
</select>運(yùn)營狀態(tài)不輸出錯(cuò)誤信息</td>
</tr> <tr>
<td height="25" class="banma1" align="right">普通會員上傳圖片數(shù):</td>
<td height="25" class="banma2"> <input type="text" name="File_max" size="25" class="face" value="<%=File_max%>"></td>
</tr> <tr>
<td height="25" class="banma1" align="right">高級會員上傳圖片數(shù):</td>
<td height="25" class="banma2"> <input type="text" name="File_max1" size="25" class="face" value="<%=File_max1%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">首頁推薦信息顯示條數(shù):</td>
<td height="25" class="banma2"> <input type="text" name="intNewInfoCot" size="25" class="face" value="<%=intNewInfoCot%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">供求信息每頁顯示條數(shù):</td>
<td height="25" class="banma2"> <input type="text" name="intInfoCot" size="25" class="face" value="<%=intInfoCot%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">新聞每頁顯示條數(shù):</td>
<td height="25" class="banma2"> <input type="text" name="intNewsCot" size="25" class="face" value="<%=intNewsCot%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">會員登錄多少次數(shù)加點(diǎn):</td>
<td height="25" class="banma2"> <input type="text" name="addpoint" size="25" class="face" value="<%=addpoint%>"></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">是否開啟信息審核:</td>
<td height="25" class="banma2"> <input type="text" name="sh" size="5" class="face" value="<%=sh%>">(1為
需要審核,0為直接發(fā)布)</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">更新時(shí)間:</td>
<td height="25" class="banma2"> <input type="text" name="strUpdateTime" size="25" class="face" value="<%=strUpdateTime%>" readonly="ture"> (上次系統(tǒng)更新時(shí)間)</td>
</tr>
<tr>
<td height="13" class="banma1" align="right"></td>
<td height="13" class="banma2"> <input type="submit" value="更 新" name="submit" class="button"> <input type="reset" value="取 消" name="reset" class="button"></td>
</tr>
<tr>
<td height="12" class="banma1" align="right" colspan="2">
<p align="center"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<%end if%>
<br>
</td>
</tr>
</table>
<!--#Include file="Common/Inc_Bottom.asp"-->
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -