main2.css:

a:link {color: #333333; text-decoration: none}
a:visited {color: #000000; text-decoration: none}
a:active {color: #111111; text-decoration: none}
a:hover {color: #666666; font-weight: normal; text-decoration: none}
a.linkTop:link {color: #ffffff; text-decoration: none}
a.linkTop:visited {color: #eeeeee; text-decoration: none}
a.linkTop:active {color: #ffffff; text-decoration: none}
a.linkTop:hover {color: #ffff00; font-weight: normal; text-decoration: none}

body {color: #000000; font-size: 12px; scrollbar-base-color: #A5C0CD}

table {font-size: 12px; line-height: 19px}
td {font-size: 12px; line-height: 19px}
.tab {background-color: #000000; font-size: 12px; line-height: 19px}
.tdTop {background-color: #6AA4CB; color: #ffffff; font-size: 12px; line-height: 19px;

letter-spacing: 3pt; text-align: center}
.tdTop2 {background-color: #6AA4CB; color: #ffffff; font-size: 12px; line-height: 19px}
.td1 {background-color: #FFFFFF; font-size: 12px; line-height: 19px}
.td2 {background-color: #F2F8FB; font-size: 12px; line-height: 19px}
.td3 {background-color: #DEEBF3; border-style: solid; border-width: 1}
.tdBottom {background-color: #F0F0F0; font-size: 12px; line-height: 19px}
.tdDatetoday {background-color: #D1DDF8; font-size: 12px; line-height: 19px}
.tdDatesun {background-color: #F0F5FB; font-size: 12px; line-height: 19px}
.tdDatesome {background-color: #F6F6F6; font-size: 12px; line-height: 19px}
.tdDatenone {background-color: #FFFFFF; font-size: 12px; line-height: 19px}
.tdonmouseout {font-size: 12px; line-height: 19px; cursor: hand}
.tdonmouseover {background-color: #FFFFFF; background-image: url

('../images/mouseback.gif'); background-repeat: no-repeat; background-position: center 50%;

font-size: 12px; line-height: 19px; cursor: hand; filter:alpha(opacity=0,

finishopacity=70,style=1,startx=0,starty=0,finishx=0,finishy=18)}

.input {border-left: 1 solid #000000; border-right: 1 solid #C0C0C0; border-top: 1 solid

#000000; border-bottom: 1 solid #C0C0C0}
.textarea {border-left: 1 solid #000000; border-right: 1 solid #C0C0C0; border-top: 1 solid

#000000; border-bottom: 1 solid #C0C0C0}
.button0 {background-color: #C6DCEA; border-style: solid; border-width: 1; cursor: hand}
.button1 {background-color: #DEEBF3; border-style: solid; border-width: 1; cursor: hand}

index.asp:

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="css/main2.css" type=text/css>
<title>后台管理</title>

</head>

<script language=javascript>
function CheckData()
{
 if((document.loginform.LoginName.value)=="")
 {
  alert("请输入登录用户名。")
  document.loginform.LoginName.focus();
  return false;
 }
 if((document.loginform.LoginName.value.length)>100)
 {
  alert("登录用户名不能超过100个字。")
  document.loginform.LoginName.focus();
  return false;
 }
  
 document.loginform.submit();
}

function dbreset()
{
document.loginform.LoginName.value="";
document.loginform.pwd.value="";
return false;
}
</script>
<script language=javascript>

function OpenWindow(url,windowname)
{
//alert("55");
window.open(url,windowname,'left=100,top=50,height=250,width=600,toolbar=no,menubar=no,scrollbars=yes,maxbutton=disabled');
}
</script>
<body topmargin="0" leftmargin="0" onload="document.loginform.LoginName.focus();" bgcolor="#DFE5F2">

<p> </p>

<div align="center">
  <center>
  <table border="0" width="54%" height="316" cellspacing="0" cellpadding="0">
  </center>
  <tr>
    <td width="50%" height="250">
      <p align="center"><img border="0" src="data:images/i1.jpg"></td>
    <center>
    <td width="241" height="378">
      <table border="0" width="241" cellspacing="0" cellpadding="0" height="378" background="images/i2.jpg">
        <tr>
          <td width="100%" height="50">
            <p align="center"></td>
        </tr>
        <tr>
          <td width="100%" height="134">
            <p align="center">
           
<br>
<br>
  </center>
<form name="loginform" method="post" action="OfficeMain.asp" target="_parent" onsubmit="return CheckData();" onkeypress='if(event.keyCode==13)return CheckData();'>
  <table width="239" border=0 cellpadding=0 cellspacing=0 height="217">
    <center>
    <tr>
      <td width="130" align=center height="37">
        <p align="right"><font color="#FFFFFF" size="2">用户名:</font></td>
      <td height="37" width="187">
 <font color="#FFFFFF">
        <input name="LoginName" size=15 maxlength=20 class="input">
        </font>
      </td>
    </tr>
    <tr>
      <td width="130" align=center height="37">
        <p align="right"><font color="#FFFFFF" size="2">密&nbsp; 码:</font></td>       
      <td width="187" height="37" valign="middle"> <font color="#FFFFFF">
        <input name="Pwd" type="Password" size=15 maxlength=20 class="input">&nbsp;
        </font></td>
    </tr>
    <tr>
      <td height="120" width="130"></td>
      <td height="120" width="187" valign="top">

<input type="button" value=" 登录 " class="button0" name="btmAdd" onmouseout=className="button0" onmouseover=className="button1" onclick="return CheckData();">

<br>

</td>
    </tr>
  </table>
</form>           
           
           
           
            </td>
        </tr>
      </table>
    </td>
    </tr>
  </table>
</div>

</body>

</html>

摘自:http://www.seo165.com/seo_admin/index.asp

asp网站通用后台代码设计的更多相关文章

  1. asp.net通过后台代码给前台设置css样式,下拉列表在js中的取值

    后台根据不同的用户登陆隐藏或显示前台div标签 前台: 将div声明成服务器端控件 <div id="div1" runat="server">.. ...

  2. asp.net导入后台代码

    public void Upload(string information){ int Bank = 0; for (int i = 0; i <Request.Files.Count; i++ ...

  3. Crystal Report - 利用后台代码设计或实现水晶报表工具栏相关功能

    水晶报表工具栏分页按钮响应事件: 水晶报表中有自带的分页功能,在设置好每页显示的记录后会自动分页,并自动记录总页数和保存当前页,在工具栏可以通过“首页”“尾页”“下一页”“上一页”和“跳页”进行页面跳 ...

  4. Asp.net网站后台代码不能访问-iis部署

    最近自己写了点东西,部署的时候确发生了点问题,后台代码访问不了,错误为:由于扩展配置问题而无法提供您请求的页面.如果该页面是脚本,请添加处理程序.   错误详细提示: HTTP 错误 404.3 -  ...

  5. ASP.NET通用权限组件思路设计

    开篇 做任何系统都离不开和绕不过权限的控制,尤其是B/S系统工作原理的特殊性使得权限控制起来更为繁琐,所以就在想是否可以利用IIS的工作原理,在IIS处理客户端请求的某个入口或出口通过判断URL来达到 ...

  6. 基于ASP.Net Core开发的一套通用后台框架

    基于ASP.Net Core开发一套通用后台框架 写在前面 这是本人在学习的过程中搭建学习的框架,如果对你有所帮助那再好不过.如果您有发现错误,请告知我,我会第一时间修改. 知其然,知其所以然,并非重 ...

  7. asp.net EF+MVC+Bootstrap 通用后台管理系统

    需要源码,请加QQ:858-048-581 开发环境: VS2012或以上 数据库: SQL Server 2008R2或以上   基于EF+MVC+Bootstrap构建通用后台管理系统,集成轻量级 ...

  8. ASP.NET MVC5+EF6+LayUI实战教程,通用后台管理系统框架(1)

    文章转自:http://www.xuboyi.com/298.html 前言 网站运营有一段时间了,记录的内容都是杂七杂八的,思前想后,决定给大家分享一套ASP.Net的系列教程.手把手的做一套通用后 ...

  9. JQuery EasyUI弹出对话框解决Asp.net服务器控件无法执行后台代码的方法(转)

    原文:JQuery EasyUI弹出对话框解决Asp.net服务器控件无法执行后台代码的方法 jquery-easyui是一个基于jquery的图形界面插件,利用easyui可以创建很多好看的网页界面 ...

随机推荐

  1. android结束进程、退出application的方法

    1.finish()方法 finish是Activity的类,仅仅针对Activity,当调用finish()时,只是将活动推向后台,并没有立即释放内存,活动的资源并没有被清理:调用finish()方 ...

  2. oracle是数据库的学习第一节:数据库的安装

    一.本地oracle服务器 1.安装oracle服务器,可以到oracle官方网站上下载与自己电脑匹配的服务器,一般用10g,或者11g; 2.打开cmd,打开sql*plus,之后可以写SQL语句了 ...

  3. ###《VIM实用技巧》

    ###<VIM实用技巧> #@author: gr #@date: 2015-11-20 #@email: forgerui@gmail.com <VIM实用技巧>阅读笔记. ...

  4. C#判断Textbox是否为数字

    第一种方法: try { ) { //操作代码 } else { MessageBox.Show("必须是正整数"); } } catch (FormatException) { ...

  5. html笔记——网页中视频播放,文字滚动

    转载地址:http://blog.chinaunix.net/uid-191945-id-2792153.html <代码1无限次播放> <EMBED src="地址&qu ...

  6. xml的生成与解析_老师笔记

    使用序列化器生成一个xml文件 //1,初始化一个xml文件的序列化器 XmlSerializer serializer = Xml.newSerializer(); //2.初始化序列器参数 Fil ...

  7. EL表达式获取Map和List中的值

    EL表达式获取Map和List中的值   EL表达式取Map中的值: 当Map中是String,String时 后台servlet中: Map<String, String> map1 = ...

  8. 关于C/C++中的位运算技巧

    本篇文章讲述在学习CSAPP位运算LAB时的一些心得. 移位运算的小技巧 C/C++对于移位运算具有不同的策略,对于无符号数,左右移位为逻辑移位,也就是直接移位:对于有符号数,采用算术移位的方式,即左 ...

  9. Java使用泛型类来提高方法的可重用性

    我的技术博客经常被流氓网站恶意爬取转载.请移步原文:http://www.cnblogs.com/hamhog/p/3832268.html,享受整齐的排版.有效的链接.正确的代码缩进.更好的阅读体验 ...

  10. MySQL忘记密码后重置密码(Mac )

    安装好MySQL以后,系统给了个默认的的密码,然后说如果忘记了默认的密码......我复制了默认密码就走过了这一步,这一步就是我漫长旅程的开始.他给的密码太复杂了,当然我得换一个,而且我还要假装我不记 ...