📄 adminsetting.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("adminname")="" then
response.redirect "relogin.asp"
end if
%>
<%
sql="select * from tbconfig"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系统管理 | 参数设置</title>
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<body>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="25">
<tr>
<td width="100%">当前位置: 系统管理 >
<a href="adminsomething.asp">综合管理</a> <span lang="en-us">> </span>参数设置</td>
</tr>
</table>
<br>
</p>
<center><form method="POST" action="adminsettingsave.asp">
<table border="1" cellspacing="1" style="border-collapse: collapse" bordercolor="#799AE1" width="397" height="121">
<tr class="trh">
<td width="51" height="19" bgcolor="#799AE1">
<p align="center"><font color="#FFFFFF">序号</font></td>
<td width="118" height="19" bgcolor="#799AE1">
<p align="center"><font color="#FFFFFF">参<span lang="en-us"> </span>数</font></td>
<td width="224" height="19" bgcolor="#799AE1">
<p align="center"><font color="#FFFFFF">设<span lang="en-us"> </span>置</font></td>
</tr>
<tr class="trh1">
<td width="51" height="24" align="center" ><span lang="en-us">1</span></td>
<td width="118" height="24" align="center">logo图片地址</td>
<td width="224" height="24" align="center">
<input type="text" name="logo" size="26" value="<%=rs("logo")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"></td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">2</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">logo图片连接</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<span lang="en-us">http://</span><input type="text" name="logolink" size="26" value="<%=rs("logolink")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"></td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">3</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">标题</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<input type="text" name="title" size="26" value="<%=rs("title")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"></td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">4</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">刷新时间</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<input type="text" name="refreshtime" size="10" value="<%=rs("refreshtime")%>" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" class="inputnormal"><span lang="en-us">
</span>秒</td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">5</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">允许前台注册</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<select size="1" name="islogin" class="inputnormal">
<option <% if islogin= 1 then%>selected<% end if%> value="1" selected>是</option>
<option <% if islogin= 0 then%>selected<% end if%> value="0">否</option>
</select></td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">5</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">是否自动审批用户</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<select size="1" name="ischeck" class="inputnormal">
<option <% if ischeck= 1 then%>selected<% end if%> value="1" selected>自动</option>
<option <% if ischeck= 0 then%>selected<% end if%> value="0">人工</option>
</select></td>
</tr>
<tr>
<td width="51" height="25" bgcolor="#FFFDE8" align="center" >
<span lang="en-us">6</span></td>
<td width="118" height="25" bgcolor="#FFFDE8" align="center">允许考完后浏览<br>
客观题成绩</td>
<td width="224" height="25" bgcolor="#FFFDE8" align="center">
<select size="1" name="islook" class="inputnormal">
<option <% if islook= 1 then%>selected<% end if%> value="1" selected>是</option>
<option <% if islook= 0 then%>selected<% end if%> value="0">否</option>
</select></td>
</tr>
</table></center>
<p align="center"><input type="submit" value="保 存" name="B1" class="s02"><span lang="en-us">
</span>
<INPUT class="s02" onclick="window.location='adminsomething.asp'" type=button value="返 回" name=close></p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -