⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 administratorlogin.asp

📁 简单的企业发布信息网站 有留言功能 界面 美观
💻 ASP
字号:
<!--#include file="conn/db.asp"-->
<% 
response.ContentType="text/html;charset=gb2312"
if session("login")=true then
response.redirect "checkadmin.asp"
else
%>
<html>
<head>
<title>岳海鑫源后台管理</title>
<style>
body{ margin: 0 auto; width: 778px; padding: 0; text-align: center;}

#head{ background: url("image/head.gif") #fff no-repeat 0 0; height: 101px; width: 778px;}
#head ul{ width: 762px; list-style-type: none; margin:75px 7px 0 9px; padding: 0; height: 20px; background: #13b3fd; text-align: center;}
#head ul li{ float: left; display: block; margin: 0; padding: 3px 2px; width: 88px; text-align: center;}
#head li a{ display: block; width: 100%; height: 18px; padding: 2px 3px; text-decoration: none; font-size: 14px; color: #fff; font-weight: bold; border-left: 1px #fff solid;}
#head li#empty{ width: 142px;}
#head li a#first{ border: 0;}
#head li a:hover{ color: #1193fd; background: #fff; border-right: 1px solid #fff;}

#hengfu{ background: url("image/cont_04.jpg") #fff no-repeat 0 0; width: 778px; height: 184px;}

#foot{ width: 778px;}

img{ display: block;}

#center{ width: 778px; margin: 0; padding: 0;}

#c_left{ background: url("image/cont_left.jpg") #fff repeat-y 0 0; float: left; padding: 0 0 0 34px;}
#c_right{ background: url("image/cont_071.jpg") #fff repeat-y 0 0; width: 31px; height: 461px; padding: 0; float: right;}
#c_center{ width: 489px; float: left; background: #fff; padding: 0; height: 461px; line-height: 120%;}
#c_center p{ padding: 0 0 0 34px;}
#c_bottom{ clear: both; background: url("image/cont_left3.jpg") #fff no-repeat 0 0;}

</style>
</head>
<body>
         <div id="head">
              <ul>
                   <li id="empty">&nbsp;</li>
                   <li><a href="company.asp" title="公司简介" id="first">公司简介</a></li>    
                   <li><a href="zhici.asp" title="总经理致辞">总经理致辞</a></li>    
                   <li><a href="zhaopin.asp" title="招聘启事">招聘启事</a></li> 
                   <li><a href="zgrz.asp" title="资格认证">资格认证</a></li>
                   <li><a href="fwxm.asp" title="服务项目">服务项目</a></li>
                   <li><a href="pgyj.asp" title="评估业绩">评估业绩</a></li>
                   <li><a href="messageboard.asp" title="留言板">留言板</a></li>
              </ul>
          </div>
    
          <div id="hengfu">
          </div>

          <div id="center">
              <div id="c_left">
                   <img src="image/cont_left2.jpg" />
              </div>
              <div id="c_center">
                        <img src="image/cont_06_admin.jpg" />
                        <div id="pwd" style="padding: 0 0 0 40px;">
                        <form action="checkadmin.asp" method="post">
	                <fieldset>
	                     <legend><h1 style="font: 14pt arial; font-weight: bold; color: #7e7e7e;">Administrator Login</h1></legend>
	                <div>
		             <label>帐&nbsp;&nbsp;号</label>
		             <input name="adminuser" type="text" id="adminuser" size="14" />
	               </div><br />
	               <div>
		             <label>密&nbsp;&nbsp;码</label>
		             <input name="adminpwd" type="password" id="adminpwd" size="14" />
	               </div><br />
	               <div >
		             <label>&nbsp;</label>
		             <input type="submit" name="Submit" value="确认" onclick="return checklogin();" />
		             <input type="reset" name="Submit2" value="重置" /><br /><br />
	               </div>
	               </fieldset>	
                       </form>	
                       </div>
<script>
function checklogin(){
    if(document.getElementById("adminuser").value==""){ 
       alert("帐号不能为空!");
       return false;
    }
    if(document.getElementById("adminpwd").value==""){
       alert("密码不能为空!");
       return false;
    }
}   
</script>
              </div>		
              <div id="c_right">
                 &nbsp;
               </div>
          </div>

<!--#include file="foot.asp"-->
</body>
</html>
<%end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -