login.php 代码<?php
session_start();
include('./CONN/conn.php');?><!DOCTYPE html><html><head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"> <title>登录页</title> <script src="js/vue.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" type="text/css" href="CSS/style.css"/> <script src="JS/check.js" language="javascript"></script> <script type="text/javascript" src="http://cdn.repository.webfont.com/wwwroot/js/wf/youziku.api.min.js"></script> <script type="text/javascript"> $webfont.load("*", "64d9c50852894a87935e5e9cff0c536c", "TSSunOld"); /*$webfont.load("#id1,.class1,h1", "64d9c50852894a87935e5e9cff0c536c", "TSSunOld");*/ /*...*/ $webfont.draw(); </script></head> <body> <div class="login"> <form name="form" method="post" action="checkuser.php"> <div class="login_logo"><img src="images/login_logo.png" width="150px" alt=""/></div> <?php if(!isset($_SESSION["user"])){ ?> <div class="login_in"> 用户名:<input class="intext" name=txt_user size="10"><br> </div> <div class="login_in" > 密<span style="color:#fff;">焱</span>码:<input class="intext" name=txt_pwd type=password size="6"><br> </div> <div class="login_in"> <input class="login_btn" type=submit value="登 录" name=sub_dl onClick="return f_check(form)"> </div> <div class="login_in"> <a class="register_in" href="Register.php">代理商注册</a> </div> <?php }else{ ?> <div class="login_in"> <font color="red"><?php echo $_SESSION["user"]; ?></font><br>欢迎您的光临!!!<br><br>当前时间:<br><font color="red"><?php echo date("Y-m-d / l"); ?> </font> <a class="nav_nav" href="index.php">进入首页</a> </div> <?php } ?> </form> </div></body> </html>
目前暂无任何回答
- 0 回答
- 0 关注
- 2380 浏览
添加回答
举报
0/150
提交
取消