<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<link rel="stylesheet" type="text/css" href="__ADMINRES__/css/style.css" />
<script type="text/javascript" src="__ADMINRES__/js/jquery.js"> </script>

<script type="text/javascript">
function check(form)
{
if(form.username.value == '')
{
alert("用户名不能为空");
form.username.focus();
return false;
}
if(form.password.value == '')
{
alert("密码不能为空");
form.password.focus();
return false;
}
if(form.code.value == '')
{
alert("验证码不能为空");
form.code.focus();
return false;
}
return true;
}

</script>
</head>

<body>
<div id="loginpanelwrap">

<div class="loginheader">
<div class="logintitle"><a href="#">Panelo Admin</a></div>
</div>

<form action = "{:U('Public/do_login')}" method = "post" onsubmit="return check(this)">
<div class="loginform">

<div class="loginform_row">
<label>用户名:</label>
<input type="text" class="loginform_input" name="username" value="admin" />
</div>
<div class="loginform_row">
<label>密码:</label>
<input type="text" class="loginform_input" name="password" value = "admin"/>
</div>
<div class="loginform_row">
<label>验证码:</label>
<input type="text" class="loginform_input" name="code" style="width:150px" />
<img src="{:U('Public/captcha')}" style="margin-left:5px;" onclick="show(this)" />
<script>
function show(obj){
obj.src = '{:U("Public/captcha","","")}/rand/'+Math.random();
}
</script>
</div>

<div class="loginform_row">
<input type="submit" class="loginform_submit" value="Login" />
</div>
<div class="clear"></div>
</div>
</form>

</div>

</body>
</html>

最新文章

  1. EndNote(三)之中文引文导入方式
  2. MVC学习系列8--分页和排序
  3. 不刷新页面获取HTML进行显示
  4. Git凭证存储(简单易懂,一学就会,认真看)
  5. js002-在HTML中使用JavaScript
  6. OC内存管理--zombie对象
  7. 对CSS居中的一点总结
  8. FOOD
  9. WebApi Json格式化
  10. UITableView 详解 教程
  11. 不要直接对Request.Headers[&quot;If-Modified-Since&quot;]使用Convert.ToDateTime
  12. core_cm3文件函数一览
  13. [LeetCode]题解(python):075-Sort Colors
  14. DSAPI实现简单的透明窗体
  15. Go语言函数相关
  16. Linux 的基本操作(系统用户及用户组的管理)
  17. xlrd 安装步骤
  18. C# iframe session 丢失
  19. 使用Maven模板创建项目
  20. Random随机类

热门文章

  1. form表单和ajax表单提交(Html.BeginForm()、Ajax.BeginForm())的差别
  2. VMWare安装苹果操作系统OS X
  3. 基于RESTful标准的Web Api
  4. 【超详细教程】使用Windows Live Writer 2012和Office Word 2013 发布
  5. Caffe学习系列(1):安装配置ubuntu14.04+cuda7.5+caffe+cudnn
  6. 利用opencv3中的kmeans实现抠图功能
  7. 一款WP小游戏代码分享
  8. EF实体框架之CodeFirst八
  9. windows API 开发飞机订票系统 图形化界面 (四)
  10. Bootstrap系列 -- 34. 按钮下拉菜单