home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
zb
/
Notepad-1
/
admin_const.asp
< prev
next >
Wrap
Text File
|
2004-12-09
|
5KB
|
185 lines
<!--#include file=conn.asp-->
<!--#include file=const.asp -->
<%
if not theUser.admin then
connclose()
response.redirect ("index.asp")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=sitetitle%></title>
<META name="Author" content="─╛─±">
<link rel="stylesheet" href="style/<%=skin%>.css" type="text/css">
</head>
<body>
<!--#include file="head.asp"-->
<!--#include file="admin_bar.inc"-->
<%
dim sql,rs,objPost
if request.form<>"" then
set objPost=request.form
sql="select pageLinkNum,mustReg,masterRe,imgUbb,rcPerPage1,rcPerPage2,defaultSkin,defaultStyle,homepage,title,masterEmail,timeDiff,killWord,maxLength,showface,postLimit from GBconst"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
for i=1 to objPost.count
if objPost(i)="" then
rs(i-1)=null
else
rs(i-1)=objPost(i)
end if
next
rs.update
rs.close
set rs=nothing
set objPost=nothing
getConst()
end if
connclose()
%>
<form method="POST" name="form1">
<table border="0" width="400" cellspacing="0" cellpadding="0" align="center" class="table004">
<tr>
<td width="100%" class="table001" align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="7">
<tr>
<td colspan=2 class=table003 align=center><b>┴⌠╤╘▒╛╧╡═│╔Φ╓├</b></td>
</tr>
<tr>
<td width="60%" >├┐╥│╧╘╩╛╥│┴¼╜╙╩²ú║</td>
<td width="40%">
<input type="text" name="pageLinkNum" size="17" class="input1" value="<%=pageLinkNum%>" >
</td>
</tr>
<tr>
<td >╩╟╖±▒╪╨δ╫ó▓ßú║</td>
<td >
<select name="mustReg">
<option value="1" >╩╟</option>
<option value="0" <% if not mustReg then response.write "selected" %> >╖±</option>
</select>
</td>
</tr>
<tr>
<td >╩╟╖±╓╗╙╨░µ╓≈┐╔╥╘╗╪╕┤ú║</td>
<td >
<select name="masterRe">
<option value="1" >╩╟</option>
<option value="0" <% if not masterRe then response.write "selected" %> >╖±</option>
</select>
</td>
</tr>
<tr>
<td >╩╟╖±┐╔╥╘╩╣╙├ubb╠√═╝ú║</td>
<td >
<select name="imgUbb">
<option value="1" >╩╟</option>
<option value="0" <% if not imgUbb then response.write "selected" %> >╖±</option>
</select>
</td>
</tr>
<tr>
<td >┴⌠╤╘▒╛╖╜╩╜▓Θ┐┤╩▒├┐╥│╧╘╩╛┴⌠╤╘╩²ú║</td>
<td >
<input type="text" name="rcPerPage1" size="17" class="input1" value="<%=rcPerPage1%>" >
</td>
</tr>
<tr>
<td >╠╓┬█╟°╖╜╩╜▓Θ┐┤╩▒├┐╥│╧╘╩╛┴⌠╤╘╩²ú║</td>
<td >
<input type="text" name="rcPerPage2" size="17" class="input1" value="<%=rcPerPage2%>" >
</td>
</tr>
<tr>
<td >─¼╚╧╜τ├µ╖τ╕±ú¿╩²╫╓ú⌐ú║</td>
<td >
<input type="text" name="defaultSkin" size="17" class="input1" value="<%=defaultSkin%>" >
</td>
</tr>
<tr>
<td >─¼╚╧╧╘╩╛╖╜╩╜<br>ú¿1┴⌠╤╘▒╛╩╜ú¼2╠╓┬█╟°╩╜ú⌐ú║</td>
<td >
<input type="text" name="defaultStyle" size="17" class="input1" value="<%=defaultStyle%>" >
</td>
</tr>
<tr>
<td >═°╒╛╩╫╥│urlú║</td>
<td >
<input type="text" name="homepage" size="17" class="input1" value="<%=homepage%>" >
</td>
</tr>
<tr>
<td >═°╒╛▒Ω╠Γú║</td>
<td >
<input type="text" name="sitetitle" size="17" class="input1" value="<%=sitetitle%>" >
</td>
</tr>
<tr>
<td >═°╒╛┴¬┬τemailú║</td>
<td >
<input type="text" name="masterEmail" size="17" class="input1" value="<%=masterEmail%>" >
</td>
</tr>
<tr>
<td >╖■╬±╞≈╩▒▓εú¿╨í╩▒╩²,╫ó╥Γ╒²╕║ú⌐ú║</td>
<td >
<input type="text" name="timeDiff" size="17" class="input1" value="<%=timeDiff%>" >
</td>
</tr>
<tr>
<td >╣²┬╦┤╩╙∩ú¿╙ó╬─╢║║┼╖╓╕⌠ú⌐ú║</td>
<td >
<input type="text" name="killWord" size="17" class="input1" value="<%
if ubound(killword)>=0 then
response.write killword(0)
for i=1 to ubound(killword)
response.write ","&killword(i)
next
end if
%>" >
</td>
</tr>
<tr>
<td >┴⌠╤╘─┌╚▌╫ε╢α╫╓╩²ú║</td>
<td >
<input type="text" name="maxLength" size="17" class="input1" value="<%=maxLength%>" >
</td>
</tr>
<tr>
<td >╩╟╖±╧╘╩╛╙├╗º═╖╧±ú║</td>
<td >
<select name="showFace">
<option value=0>╖±</option>
<option value=1 <%if showFace then response.write "selected"%> >╩╟</option>
</select>
</td>
</tr>
<tr>
<td >┴⌠╤╘╝Σ╕⌠╩▒╝Σ(╖└╣α╦«)ú║</td>
<td >
<input type="text" name="postLimit" size="5" class="input1" value="<%=postLimit%>" > ├δ
</td>
</tr>
<tr>
<td width="100%" colspan="2" height="40">
<p align="center">
<input type="submit" value="╠ß╜╗" class="input2" >
<input type="reset" value="╟σ│²" class="input2" >
</td>
</tr>
</table>
ú║ú║ú║ <a href="index.asp">╖╡ ╗╪ ┴⌠ ╤╘ ╩╫ ╥│ ├µ</a> ú║ú║ú║<br>
</td>
</tr>
</table>
</form>
<!--#include file="foot.asp"-->
</body>
</html>