本文整理匯總了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();