Пример #1
0
<?php

include_once "inc/auth.inc.php";
$HTML_PAGE_TITLE = _("数据导入 - 人员 - 查看日志");
$HTML_PAGE_BASE_STYLE = FALSE;
include_once "inc/header.inc.php";
require_once "inc/weixinqy/class/weixinqy.funcs.php";
$file = htmlspecialchars($_GET['file']);
//( );
$rs = array();
$WeiXinQY = new WeiXinQY();
$rs = $WeiXinQY->logsDetail("user_import", $file);
$style = array("failed" => array("error", _("失败")), "success" => array("success", _("成功")), "exists" => array("warning", _("忽略")));
echo "<body>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo MYOA_STATIC_SERVER;
echo "/static/js/bootstrap/css/bootstrap.css\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo MYOA_STATIC_SERVER;
echo "/static/modules/weixinqy/style.css\">\r\n<script type=\"text/javascript\">\r\nfunction goback(){\r\n    location.href = 'oa_user_logs.php';\r\n}\r\n</script>\r\n<div>\r\n    <div class=\"back-bar\"><button class=\"btn btn-small\" type=\"button\" onclick=\"goback()\">";
echo _("返回");
echo "</button></div>\r\n    <table class=\"table table-bordered\">\r\n        <colgroup>\r\n            <col width=\"150\"></col>\r\n            <col></col>\r\n            <col></col>\r\n            <col></col>\r\n            <col width=\"80\"></col>\r\n        </colgroup>\r\n        <thead>\r\n            <tr>\r\n                <th>";
echo _("时间");
echo "</th>\r\n                <th>";
echo _("成功");
echo "</th>\r\n                <th>";
echo _("失败");
echo "</th>\r\n                <th>";
echo _("忽略");
echo "</th>\r\n                <th>";
echo _("总计");
echo "</th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n            <tr>\r\n                <td>";
echo date("Y-m-d H:i");