您目前尚未登陆,请选择【登陆】或【注册
首页->博客论坛->WO@BIZ第一季1.2版源码>>admin/admin_login.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:WO@BIZ第一季1.2版源码
当前文件:文件类型 WOBIZ/admin/admin_login.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_login.aspx.cs" Inherits="admin_admin_login" %> 2 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4<html xmlns="http://www.w3.org/1999/xhtml"> 5<head runat="server"> 6 <title>Wo@BIZ后台登陆</title> 7 <link href="Css/login1.css" rel="stylesheet" type="text/css" /> 8 9 <script language="javascript" type="text/javascript"> 10 function checkLogin() 11 { 12 var lname = document.getElementById("txtUserName") 13 var lpass = document.getElementById("txtPassword") 14 var loginInfo = document.getElementById("login_info"); 15 if(lname.value=="") 16 { 17 loginInfo.innerHTML = "* 用户名不能为空!"; 18 lname.focus(); 19 return false; 20 } 21 else 22 { 23 loginInfo.innerHTML = ""; 24 } 25 if(lpass.value=="") 26 { 27 loginInfo.innerHTML = "* 用户密码不能为空!"; 28 lpass.focus(); 29 return false; 30 } 31 else 32 { 33 loginInfo.innerHTML = ""; 34 } 35 36 loginInfo.innerHTML = "<img src='Images/loadding.gif' />&nbsp;正在检测登陆,请稍候..."; 37 var v = admin_admin_login.check_login(lname.value,lpass.value); 38 returnLogin(v); 39 } 40 41 function returnLogin(info) 42 { 43 loginInfo = document.getElementById("login_info"); 44 if(info.value=="1") 45 { 46 location.href="admin.html"; 47 } 48 else 49 { 50 loginInfo.innerHTML = info.value; 51 } 52 } 53 function KeyUp(flag) 54 { 55 if(event.keyCode == 13) 56 { 57 checkLogin(flag); 58 } 59 } 60 </script> 61 62</head> 63<body> 64 <form id="form1" runat="server"> 65 <div id="position"> 66 <div id="inposition"> 67 <div class="login-left"> 68 <div class="login-left-logo"> 69 <img height="78" src="Images/login-logo.gif" alt="" width="297" /></div> 70 <div class="login-left-content"> 71 <ul> 72 <li>秀出自己的宝贝 73 <li>建立共同爱好的群组 74 <li>秀出个性的自己</li> 75 </ul> 76 </div> 77 <div class="login-left-sever"> 78 <img height="16" src="Images/icon-demo.gif" width="16" align="absMiddle"> 79 <a href="www.wonext.com" target="_blank">帮 助</a> 80 <img height="16" src="Images/icon-login-seaver.gif" width="16" align="absMiddle"> 81 <a href=tencent://message/?uin=247291152&Site=WODIG.com&Menu=yes>在线客服</a></div> 82 </div> 83 <div class="login-right"> 84 <div id="UpdatePanel1"> 85 <div class="login-right-title"> 86 登录Wo@BIZ管理系统 87 </div> 88 <div class="login-right-input"> 89 <table cellspacing="0" cellpadding="0" width="200" border="0"> 90 <tbody> 91 <tr> 92 <td id="tdLeft" nowrap align="right"> 93 &nbsp; 用户名: 94 </td> 95 <td> 96 <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td> 97 </tr> 98 <tr> 99 <td style="height: 30px" align="right"> 100&nbsp;&nbsp; &nbsp;码: 101 </td> 102 <td style="height: 30px"> 103 <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="149px"></asp:TextBox></td> 104 </tr> 105 <tr> 106 <td colspan="2"> 107 <div id="login_info" class="orange"> 108 </div> 109 </td> 110 </tr> 111 <tr> 112 <td style="height: 30px" align="right"> 113 </td> 114 <td style="height: 30px" nowrap> 115 <input class="button" type="button" name="button1" value=" 登陆 " onclick="checkLogin();" 116 style="cursor: hand"> 117 <input class="button" type="button" name="Submit" value=" 取消 " onclick="window.close();"> 118 <img height="16" src="Images/login-key.gif" width="12" align="absMiddle">忘记密码</td> 119 </tr> 120 </tbody> 121 </table> 122 </div> 123 </div> 124 </div> 125 </div> 126 </div> 127 <div id="header"> 128 <div class="lan"> 129 <span class="fize1">欢迎到Wo@BIZ管理后台</span></div> 130 </div> 131 <div id="content"> 132 <img src="Images/login-wel.gif"> 133 </div> 134 <div id="buttom"> 135 <div class="copy2"> 136 <nobr>Copyright &copy 2007 Wonext! Co., Ltd. All Rights Reserved.</nobr> 137 </div> 138 </div> 139 </form> 140</body> 141</html> 142
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:WO@BIZ第一季1.2版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号