点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 企业应用>> 新翔网络OA系统V1.0>> 源文件浏览
[商业版 200RMB] WebForm,下载次数:1 次 | 关键字: PHP MYSQL OA 办公 网络办公

源码截图

源码目录树

;
当前路径:main.php
<?php 
include "db.php";
include "checklogin.php";
if(!islogin()){
	header('location:index.php');
}
if( $_GET['action']=="out")
{
setcookie("id", '', time()+3600);
setcookie("loginname", '', time()+36000);
setcookie("jueseid", '', time()+36000);
setcookie("danweiid", '', time()+36000);
setcookie("quanxian", '', time()+36000);
$arr=["isOk"=>1,'msg'=>'退出成功'];
exit(json_encode($arr));
}
elseif($_GET['action']=="change"){
$oldpwd=$_POST['OldPassword'];
$pwd=$_POST['NewPassword'];
$id=$_COOKIE['id'];
$val=$db->exists('manage',['id'=>$id,'pwd'=>$oldpwd]);
if($val){
if($db->update('manage',['pwd'=>$pwd],['id'=>$id])){
$arr=["isOk"=>1,'msg'=>'修改成功'];
exit(json_encode($arr));
}else{
$arr=["isOk"=>1,'msg'=>'修改失败'];
exit(json_encode($arr));
}
}
else{
$arr=  ["isOK"=>0,'msg'=>'原密码输入错误'];
exit(json_encode($arr));
}
}
?>
<html>
<head>
    <meta charset="utf-8">
    <title>OA管理平台联系电话:13849422648微信同号,QQ958756413</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link href="static/layui/css/layui.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="static/js/X-admin/css/font.css">
    <link rel="stylesheet" href="static/js/X-admin/css/xadmin.css">
	 <link rel="stylesheet" href="static/css/font-awesome.min.css" media="all">
    <script type="text/javascript" src="static/js/jquery.min.js"></script>
    <script type="text/javascript" src="static/js/X-admin/js/xadmin.js"></script>
    <script src="static/js/Method.js?version=0001"></script>
    <script src="static/js/layerOpen.js?version=0001"></script>
</head>
<body>
<!-- 顶部开始 -->
<div class="container">
    
    <div class="logo"><a href="#" target="_parent"><img src="static/images/loginlogo0.png" title="系统首页"/></a>    </div>
    
    <div class="topleft">    </div>
     <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:"><i class="layui-icon layui-icon-username shouye"></i>您好<?php echo $_COOKIE['loginname'];?>,欢迎登陆系统</a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                  <dd><a onClick="changePwd()">修改密码</a></dd>
                              <dd><a id="loginout">退出</a></dd>
           ...
完整源码文件,请先购买后再查看
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号