本文整理汇总了PHP中CheckSystemPrivate函数的典型用法代码示例。如果您正苦于以下问题:PHP CheckSystemPrivate函数的具体用法?PHP CheckSystemPrivate怎么用?PHP CheckSystemPrivate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了CheckSystemPrivate函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: SESSION_START
<?php
//######################通达软件实验室系统设置-权限较验部分##########################
SESSION_START();
require_once "lib.inc.php";
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("系统信息设置-数据字典");
?>
<HEAD><TITLE>数据字典</TITLE>
<frameset rows="*" cols="140,*" frameborder="0" border="0" framespacing="0" id="frame2">
<frame name="left" scrolling="YES" resize src="inc_FileSettings_page.php" frameborder="0">
<frame name="edu_main" scrolling="auto" src="crm_customer_grade_newai.php" frameborder="0">
</frameset><?php
/*
版权归属:郑州单点科技软件有限公司;
联系方式:0371-69663266;
公司地址:河南郑州经济技术开发区第五大街经北三路通信产业园四楼西南;
公司简介:郑州单点科技软件有限公司位于中国中部城市-郑州,成立于2007年1月,致力于把基于先进信息技术(包括通信技术)的最佳管理与业务实践普及到教育行业客户的管理与业务创新活动中,全面提供具有自主知识产权的教育管理软件、服务与解决方案,是中部最优秀的高校教育管理软件及中小学校管理软件提供商。目前已经有多家高职和中职类院校使用通达中部研发中心开发的软件和服务;
软件名称:单点科技软件开发基础性架构平台,以及在其基础之上扩展的任何性软件作品;
发行协议:数字化校园产品为商业软件,发行许可为LICENSE方式;单点CRM系统即SunshineCRM系统为GPLV3协议许可,GPLV3协议许可内容请到百度搜索;
特殊声明:软件所使用的ADODB库,PHPEXCEL库,SMTARY库归原作者所有,余下代码沿用上述声明;
*/
示例2: returnsession
<?php
require_once "lib.inc.php";
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("后勤管理-办公用品-操作明细");
if ($_GET['action'] == "add_default_data") {
page_css('办公用品');
$办公用品编号 = $_POST['办公用品编号'];
$办公用品名称 = $_POST['办公用品名称'];
$现在所属部门 = $_POST['现在所属部门'];
if ($_POST['批准人'] != "") {
$_POST['单价'] = returntablefield("officeproduct", "办公用品编号", $办公用品编号, "单价");
$_POST['数量'] = $_POST['退库数量'];
$_POST['金额'] = $_POST['单价'] * $_POST['数量'];
$sql = "update officeproduct set 库存管理=库存管理+" . $_POST['数量'] . " where 办公用品编号='{$办公用品编号}'";
$db->Execute($sql);
//print $sql."<BR>";exit;
} else {
$SYSTEM_SECOND = 1;
print_infor("批准人为空或现在所属部门为空,您的操作没有执行成功!", $infor = '该参数新版本没有被使用', $return = "location='officeproduct_newai.php'", $indexto = 'officeproduct_newai.php');
exit;
}
}
$filetablename = 'officeproducttui';
require_once 'include.inc.php';
示例3: returnsession
<?php
require_once "lib.inc.php";
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("后勤管理-固定资产-操作明细");
if ($_GET['action'] == "add_default_data") {
page_css('归还');
$资产编号 = $_POST['资产编号'];
$资产名称 = $_POST['资产名称'];
$借领人 = $_POST['借领人'];
if ($_POST['批准人'] != "") {
$_POST['单价'] = returntablefield("fixedasset", "资产编号", $资产编号, "单价");
$_POST['数量'] = returntablefield("fixedasset", "资产编号", $资产编号, "数量");
$_POST['金额'] = returntablefield("fixedasset", "资产编号", $资产编号, "金额");
$sql = "update fixedasset set 使用人员='',所属状态='资产已归还' where 资产编号='{$资产编号}'";
$db->Execute($sql);
} else {
$SYSTEM_SECOND = 1;
print_infor("批准人为空,您的操作没有执行成功!", $infor = '该参数新版本没有被使用', $return = "location='fixedasset_newai.php'", $indexto = 'fixedasset_newai.php');
exit;
}
}
$filetablename = 'fixedassettui';
require_once 'include.inc.php';
示例4: ini_set
<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
// display warnings and errors
error_reporting(E_WARNING | E_ERROR);
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
page_css();
if ($_GET['pageAction'] != "write") {
//header("Content-Type:text/html;charset=gbk");
//######################教育组件-权限较验部分##########################
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-行政考勤-考勤统计");
//######################教育组件-权限较验部分##########################
//page_css("行政人员打卡考勤统计");
$DateMonth = $_GET['Month'];
}
if ($_GET['pageAction'] == "ExportDataToFile") {
$PHP_SELF = $_SERVER['PHP_SELF'];
$PHP_SELF_ARRAY = explode('/', $_SERVER['PHP_SELF']);
$FILE_NAME = array_pop($PHP_SELF_ARRAY);
$PHP_SELF = @join('/', $PHP_SELF_ARRAY);
$filename = "FileCache/" . $FILE_NAME . "_" . date("Y-m-d-H") . ".xls";
$hostname = "http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . "" . $PHP_SELF . "/{$FILE_NAME}?开始周=" . $_GET['开始周'] . "&结束周=" . $_GET['结束周'] . "&action=" . $_GET['action'] . "&Month=" . $_GET['Month'] . "&LOGIN_USER_NAME=" . $_GET['LOGIN_USER_NAME'] . "&pageAction=write";
//print_R($hostname);;exit;
$file = file($hostname);
$FILE_CONTENT = join('', $file);
@(!($handle = fopen($filename, 'w')));
@fwrite($handle, $FILE_CONTENT);
示例5: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-行政考勤-流程明细");
$当前学期 = returntablefield("edu_xueqiexec", "当前学期", '1', "学期名称");
if ($_GET['学期'] == "") {
$_GET['学期'] = $当前学期;
}
require_once 'lib.xingzheng.inc.php';
if ($_GET['action'] == "add_default_data") {
$_POST['原人员用户名'] = $_POST['原人员_ID'];
$DEPT_ID = returntablefield("user", "USER_ID", $_POST['原人员_ID'], "DEPT_ID");
$_POST['原部门'] = returntablefield("department", "DEPT_ID", $DEPT_ID, "DEPT_NAME");
$_POST['新人员用户名'] = $_POST['新人员_ID'];
$DEPT_ID = returntablefield("user", "USER_ID", $_POST['新人员_ID'], "DEPT_ID");
$_POST['新部门'] = returntablefield("department", "DEPT_ID", $DEPT_ID, "DEPT_NAME");
//print_R($_POST);exit;
}
//批量通过审核操作
if ($_GET['action'] == "operation_piliangtongguo" && $_GET['selectid'] != "") {
//print_R($_GET);exit;
//print_R($_SESSION);
$审核人 = $_SESSION['LOGIN_USER_NAME'];
$审核时间 = date('Y-m-d H:i:s');
$Array = explode(',', $_GET['selectid']);
//PRINT_r($Array);EXIT;
for ($i = 0; $i < sizeof($Array); $i++) {
$Element = $Array[$i];
示例6: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-行政考勤-组别");
if ($_GET['action'] == "add_default_data") {
//print_R($_GET);
//print_R($_POST);
$行政组名称 = $_POST['行政组名称'];
$_POST['组员名称'] = $_POST['COPY_TO_ID'];
$备注 = $_POST['备注'];
$创建人 = $_POST['创建人'];
$创建时间 = $_POST['创建时间'];
//$sql = "insert into edu_xingzheng_group values('','".$行政组名称."','".$组员名称."','".$备注."','".$创建人."','".$创建时间."')";
//print $sql;exit;
//$result = $db -> Execute($sql);
//print "<meta http-equiv='refresh' content='1;url=?'>";
//exit;
}
if ($_GET['action'] == "edit_default_data") {
//print_R($_GET);
//print_R($_POST);
//$记录编号 = $_GET['编号'];
$_POST['组员名称'] = $_POST['COPY_TO_ID'];
//$sql = "update edu_xingzheng_group set 组员名称='".$组员名称."' where 编号=".$记录编号;
//print $sql;//exit;
//$db -> Execute($sql);
//print "<meta http-equiv='refresh' content='1;url=?'>";
//exit;
示例7: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
$SYSTEM_PRIV_STOP = "1";
CheckSystemPrivate("后勤管理-公物维修-报修信息");
addShortCutByDate("报修时间");
$filetablename = 'wygl_baoxiuxinxi';
$parse_filename = 'wygl_baoxiuxinxi1';
require_once 'include.inc.php';
示例8: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("后勤管理-固定资产-按批次统计");
?>
<script language="javascript" src="../LODOP60/LodopFuncs.js"></script>
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="../LODOP60/install_lodop.exe"></embed>
</object>
<script language="javascript" type="text/javascript">
var LODOP; //声明为全局变量
LODOP=getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
function PreviewFun(){
LODOP.PRINT_INIT("数字化校园打印程序");
var strStyleCSS="<link href='<?php
echo ROOT_DIR;
?>
theme/3/style.css' type='text/css' rel='stylesheet'><style>input {display: none;};</style>";
LODOP.ADD_PRINT_TABLE(30,"4%","90%","90%",strStyleCSS+"<body>"+document.getElementById("MainData0").innerHTML+"</body>");
LODOP.NewPageA();
};
function PreviewMytable(){
PreviewFun();
LODOP.PREVIEW();
示例9: ini_set
<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
// display warnings and errors
error_reporting(E_WARNING | E_ERROR);
//header("Content-Type:text/html;charset=gbk");
//######################教育组件-权限较验部分##########################
require_once "lib.inc.php";
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-行政考勤-原始打卡");
//######################教育组件-权限较验部分##########################
$当前学期 = returntablefield("edu_xueqiexec", "当前学期", '1', "学期名称");
if ($_GET['学期'] == "") {
$_GET['学期'] = $当前学期;
}
addShortCutByDate("考勤日期");
if ($_GET['action'] == "init_default" || $_GET['action'] == "") {
//print " <table border=0 class=TableBlock width=100% height=20> <tr class=TableData><td valign=bottom align=left>该部分数据从考勤机里面提取,数据格式项:教师用户名,教师姓名,考勤日期,刷卡时间.数据导入前,请先<input type=button accesskey=c name=cancel value=\"删除上月考勤数据\" class=SmallButton onClick=\"location='?".base64_encode("action=DeleteCurMonth")."'\" > <BR></td></tr> </table><BR> ";
}
if ($_GET['action'] == "DeleteCurMonth") {
page_css("考勤数据清理中...");
$LikeMonth = date("Y-m-", mktime(1, 1, 1, date("m") - 1, date("d"), date("Y")));
$sql = "delete from edu_teacherkaoqin where 考勤日期 like '{$LikeMonth}%'";
$db->Execute($sql);
//exit;
print "\n\t\t<table border=0 class=TableBlock width=100% height=20>\n\t\t<tr class=TableHeader><td valign=bottom align=left>当月考勤信息已经被删除,你可以重新导入该月考勤数据,系统返回中...<BR></td></tr>\n\t\t</table><BR>\n\t\t";
EDU_Indextopage('?', $nums = '0');
exit;
示例10: ini_set
<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
error_reporting(E_WARNING | E_ERROR);
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-日常费用-费用类型");
/*
if($_GET['action']=="add_default_data") {
//print_R($_GET);print_R($_POST);//exit;
global $db;
$入库数量 = (int)$_POST['入库数量'];$教材编号 = $_POST['教材编号'];
$sql = "update edu_jiaocai set 现有库存=现有库存+$入库数量 where 教材编号='".$教材编号."'";
$rs = $db->Execute($sql);//print $sql;exit;
$_POST['编作者'] = returntablefield("edu_jiaocai","教材编号",$教材编号,"编作者");
$_POST['出版社'] = returntablefield("edu_jiaocai","教材编号",$教材编号,"出版社");
//print "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=?'>";
}
*/
//数据表模型文件,对应Model目录下面的hrms_expense_type_newai.ini文件
//如果是需要复制此模块,则需要修改$parse_filename参数的值,然后对应到Model目录 新文件名_newai.ini文件
$filetablename = 'hrms_expense_type';
$parse_filename = 'hrms_expense_type';
require_once 'include.inc.php';
示例11: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("后勤管理-固定资产-部门明细统计");
?>
<script language="javascript" src="../LODOP60/LodopFuncs.js"></script>
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="../LODOP60/install_lodop.exe"></embed>
</object>
<script language="javascript" type="text/javascript">
var LODOP; //声明为全局变量
LODOP=getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
function PreviewFun(){
LODOP.PRINT_INIT("数字化校园打印程序");
var strStyleCSS="<link href='<?php
echo ROOT_DIR;
?>
theme/3/style.css' type='text/css' rel='stylesheet'><style>input {display: none;};</style>";
LODOP.ADD_PRINT_HTML(30,"3%","90%","90%",strStyleCSS+"<body>"+document.getElementById("MainData0").innerHTML+"</body>");
LODOP.SET_PRINT_STYLEA(0,"ItemType",1);
LODOP.SET_PRINT_STYLEA(0,"LinkedItem",1);
LODOP.NewPageA();
};
function PreviewMytable(){
示例12: returnsession
<?php
require_once 'lib.inc.php';
//
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("ÈËÁ¦×ÊÔ´-ÕÐƸ¹ÜÀí-ÕÐƸ¼Æ»®ÉóÅú");
/*
if($_GET['action']=="add_default_data") {
//print_R($_GET);print_R($_POST);//exit;
global $db;
$Èë¿âÊýÁ¿ = (int)$_POST['Èë¿âÊýÁ¿'];
$½Ì²Ä±àºÅ = $_POST['½Ì²Ä±àºÅ'];
$sql = "update edu_jiaocai set ÏÖÓпâ´æ=ÏÖÓпâ´æ+$Èë¿âÊýÁ¿ where ½Ì²Ä±àºÅ='".$½Ì²Ä±àºÅ."'";
$rs = $db->Execute($sql);
//print $sql;exit;
$_POST['±à×÷Õß'] = returntablefield("edu_jiaocai","½Ì²Ä±àºÅ",$½Ì²Ä±àºÅ,"±à×÷Õß");
$_POST['³ö°æÉç'] = returntablefield("edu_jiaocai","½Ì²Ä±àºÅ",$½Ì²Ä±àºÅ,"³ö°æÉç");
//print "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=?'>
";
}
*/
$filetablename = 'hrms_zpjihua';
$parse_filename = 'hrms_zpjihua_shenpi';
require_once 'include.inc.php';
示例13: ini_set
<?php
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
// display warnings and errors
error_reporting(E_WARNING | E_ERROR);
require_once 'lib.inc.php';
//
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-行政考勤-排班");
require_once 'lib.xiaoli.inc.php';
global $学期名称, $开始时间X, $结束时间X;
page_css("行政排班设置");
$用户ID = $_SESSION['LOGIN_USER_ID'];
list($Week_Count, $当前学期, $W_B_L, $W_E_L) = GetWeekCount();
//**********************删除已选中设定的信息***********************//
if ($_GET['action'] == "Del") {
$排班编号 = $_GET['排班编号'];
$当前周次 = $_GET['当前周次'];
$班次名称 = $_GET['班次名称'];
$考勤日期 = $_GET['考勤日期'];
$当前周次 = $_GET['当前周次'];
$sql = "delete from edu_xingzheng_paiban where 周次='{$当前周次}' and 班次名称='{$班次名称}' and 考勤日期='{$考勤日期}'";
$rs = $db->Execute($sql);
//print_R($sql);
//exit;
排班时自动清空今天以后的排班数据();
if ($rs != 0) {
print_infor("删除信息成功", '', "location='?当前周次={$当前周次}'");
示例14: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
CheckSystemPrivate("人力资源-人事管理-社会关系");
/*
if($_GET['action']=="add_default_data") {
//print_R($_GET);print_R($_POST);//exit;
global $db;
$入库数量 = (int)$_POST['入库数量'];
$教材编号 = $_POST['教材编号'];
$sql = "update edu_jiaocai set 现有库存=现有库存+$入库数量 where 教材编号='".$教材编号."'";
$rs = $db->Execute($sql);
//print $sql;exit;
$_POST['编作者'] = returntablefield("edu_jiaocai","教材编号",$教材编号,"编作者");
$_POST['出版社'] = returntablefield("edu_jiaocai","教材编号",$教材编号,"出版社");
//print "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=?'>";
}
*/
//数据表模型文件,对应Model目录下面的hrms_socialrelation_newai.ini文件
//如果是需要复制此模块,则需要修改$parse_filename参数的值,然后对应到Model目录 新文件名_newai.ini文件
$filetablename = 'hrms_socialrelation';
$parse_filename = 'hrms_socialrelation';
require_once 'include.inc.php';
示例15: returnsession
<?php
require_once 'lib.inc.php';
$GLOBAL_SESSION = returnsession();
require_once "systemprivateinc.php";
CheckSystemPrivate("后勤管理-办公用品-分项统计");
?>
<script language="javascript" src="../LODOP60/LodopFuncs.js"></script>
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="../LODOP60/install_lodop.exe"></embed>
</object>
<script language="javascript" type="text/javascript">
var LODOP; //声明为全局变量
LODOP=getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
function PreviewFun(){
LODOP.PRINT_INIT("数字化校园打印程序");
var strStyleCSS="<link href='<?php
echo ROOT_DIR;
?>
theme/3/style.css' type='text/css' rel='stylesheet'><style>input {display: none;}; label {display: none}</style>";
LODOP.ADD_PRINT_TABLE(30,"4%","90%","90%",strStyleCSS+"<body>"+document.getElementById("MainData0").innerHTML+"</body>");
LODOP.NewPageA();
};
function PreviewMytable(){
PreviewFun();
LODOP.PREVIEW();