本文整理汇总了PHP中Vic_Dir_Search函数的典型用法代码示例。如果您正苦于以下问题:PHP Vic_Dir_Search函数的具体用法?PHP Vic_Dir_Search怎么用?PHP Vic_Dir_Search使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Vic_Dir_Search函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Begin
function Begin()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
if ($this->IN_HND == 20 || $this->IN_HND == 22) {
//if(empty($_IMPORT["f_wxin_1411281708_P01"])){$_IMPORT["f_wxin_1411281708_P01"]=$_OBJECT["US"]->Getvar("UsrCO");}
if (empty($_IMPORT["f_wxin_1411281708_002"]) || empty($_IMPORT["f_wxin_1411281708_004"])) {
$_IMPORT["f_wxin_1411281708_004"] = $_IMPORT["f_wxin_1411281708_003"];
$_IMPORT["f_wxin_1411281708_002"] = $_IMPORT["f_wxin_1411281708_P01"];
}
if (!empty($_IMPORT["PID"])) {
$cField = "*";
$cWhere = "{~}f_wxin_1411281708_000{_}=={_}" . $_IMPORT["PID"];
$cUSafe = "4";
$cUSort =& $Pagination->PgSort;
$cDWxin_V10C_150513 = Vic_Dir_Search("141201092301.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$cTable = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, "", NULL, 1);
if ($_OBJECT["DB"]->RowsCT($cTable->Resval)) {
$Fi002 = $cTable->GetField("f_wxin_1411281708_002");
$Fi004 = $cTable->GetField("f_wxin_1411281708_004");
$_IMPORT["f_wxin_1411281708_002"] = $Fi002 . "." . $_IMPORT["f_wxin_1411281708_P01"];
$_IMPORT["f_wxin_1411281708_004"] = $Fi004 . "." . $_IMPORT["f_wxin_1411281708_003"];
$_IMPORT["f_wxin_1411281708_005"] = $Fi002;
}
}
}
return parent::Begin();
}
示例2: C10Pr
function C10Pr()
{
if (!session_id()) {
session_start();
}
//unset($_SESSION['bangding']);
/* if(empty($_SESSION['bangding'])){
header('Location: http://58.67.198.90/?IM_SRC=151010100201&act=info');die;
}*/
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$ICSql = "update t_fsfy_1510201012 set f_fsfy_1510201012_015 = f_fsfy_1510201012_015 + 1 where f_fsfy_1510201012_000 = " . $_GET['id'];
array_push($_OBJECT["DB"]->Querys, $ICSql);
$_OBJECT["DB"]->FillBatch();
$cField = "*";
//查找的字段
$cWhere = "{~}t_11.f_fsfy_1510201011_002{_}=={_}" . $_GET['cardid'] . " {~}t_13.f_fsfy_1510201013_002{_}=={_}" . $_GET['baogaodan'] . " {~}f_fsfy_1510201012_000{_}=={_}" . $_GET['id'];
//帅选条件
$cUSafe = "4";
//安全级别
$cUSort = "";
//排序
$cDWxin_V10C_150513 = Vic_Dir_Search("151010100204.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
/* echo "<pre>";
print_r($_RESULT->Resgrd);echo "<pre>";die;*/
$this->APPTml->Setvar("list", $_RESULT->Resgrd);
}
示例3: K22Pr
function K22Pr($iResult, $iKey)
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$mDMac = $iResult->GetField("f_wire_1411121421_P01", $iKey);
//设备MAC
$mVlan = $iResult->GetField("f_wire_1411121421_010", $iKey);
//接入vlan
$mUsrID = $this->MakeUsrID();
//接入用户ID
$mUsrNA = $mUsrID;
//接入用户名称
$mUsrPS = "123456";
//接入用户密码
//创建用户
$uIf_AA = "{~}f_wire_1506031750_003{_}%%{_}" . $mDMac . "|" . $mVlan;
$uDBase = Vic_Dir_Search("150603193303.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$uRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 2, $uDBase, "*", $uIf_AA, "", null, 1);
if ($_OBJECT["DB"]->RowsCT($uRs_AA->Resval) > 0) {
$mUsrID = $uRs_AA->GetField("f_wire_1506031750_P01");
$mUsrNA = $uRs_AA->GetField("f_wire_1506031750_011");
$mUsrPS = $uRs_AA->GetField("f_wire_1506031750_002");
} else {
//查询区域信息
$qIf_AA = "{~}f_wire_1411241716_P01{_}=={_}" . $iResult->GetField("f_wire_1411121421_013", $iKey);
$qDBase = Vic_Dir_Search("141124085601.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$qRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 2, $qDBase, "*", $qIf_AA, "", null, 1);
if ($_OBJECT["DB"]->RowsCT($qRs_AA->Resval) > 0) {
$uPrsVAL["f_wire_1506031750_P01"] = $mUsrID;
//接入用户ID
$uPrsVAL["f_wire_1506031750_E01"] = $qRs_AA->GetField("f_wire_1411241716_025");
//用户分组
$uPrsVAL["f_wire_1506031750_002"] = $mUsrPS;
//登录密码
$uPrsVAL["f_wire_1506031750_003"] = $mDMac . "|" . $mVlan;
//设备MAC
$uPrsVAL["f_wire_1506031750_004"] = 0;
//启用状态
$uPrsVAL["f_wire_1506031750_011"] = $mUsrNA;
//接入用户名称
$uPrsVAL["AreID"] = $iResult->GetField("f_wire_1411121421_013", $iKey);
//区域编号
$uPrsVAL["IM_PST"] = "1";
$uPrsVAL["IM_HND"] = "20";
$uPrsVAL["IM_Range"] = "f_wire_1506031750_000||0";
Common::Start("150604142704", "", $uPrsVAL);
} else {
trigger_error("ER@验证出错!", NOTIC);
}
}
//资料补全后操作
$iResult->SetField("f_wire_1411121421_002", $mUsrID, $iKey);
//用户编号
$iResult->SetField("f_wire_1411121421_003", $mUsrNA, $iKey);
//用户名称
$iResult->SetField("f_wire_1411121421_008", "", $iKey);
//清空唯一码
$iResult->SetField("f_wire_1411121421_011", "2", $iKey);
//认证模式
}
示例4: C10Pr
function C10Pr()
{
if (empty($_GET['open_id'])) {
header('Location: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxab617f2e3701ed23&redirect_uri=http://dev.369itil.com/?IM_SRC=151010100202&response_type=code&scope=snsapi_userinfo&state=4#wechat_redirect');
die;
} else {
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$cField = "*";
//查找的字段
$cWhere = "{~}f_fsfy_1510101011_006{_}=={_}" . $_GET['open_id'];
//帅选条件
$cUSafe = "4";
//安全级别
$cUSort = "";
//排序
$cDWxin_V10C_150513 = Vic_Dir_Search("151010100103.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
//print_r($_RESULT->Resgrd);
$this->APPTml->Setvar("list", $_RESULT->Resgrd);
$this->APPTml->Setvar("IM_SRC", $_GET['IM_SRC']);
}
//$this->APPTml->Setvar("test1",$arr);
//print_r($_RESULT);exit;
}
示例5: C15Pr
function C15Pr()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$cField = "*";
//查找的字段
//print_r($_POST);die;
$cWhere = "{~}f_fsfy_1510201011_003{_}=={_}" . $_POST['mother_name'] . " {~}f_fsfy_1510201011_012{_}=={_}" . $_POST['mobile'] . " {~}f_fsfy_1510201011_005{_}=={_}" . $_POST['birth_date'];
//帅选条件
$cUSafe = "4";
//安全级别
$cUSort = "";
//排序
$cDWxin_V10C_150513 = Vic_Dir_Search("151010100000.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
$data = $_RESULT->Resgrd;
if ($data[0]['f_fsfy_1510201011_012'] == '') {
$arr['rel'] = 1;
echo json_encode($arr);
//未在医院注册
} else {
$arr['rel'] = 2;
$arr['cardid'] = $data[0]['f_fsfy_1510201011_002'];
echo json_encode($arr);
}
}
示例6: getAccess_token
function getAccess_token($User)
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$bResult = "";
//检查token是否过期
if (isset($_SESSION["Wxin_Token_" . $User]) && time() - $_SESSION["Wxin_Creat_Time_" . $User] < $_SESSION["Wxin_Lift_Time_" . $User]) {
$bResult = $_SESSION["Wxin_Token_" . $User];
} else {
//查询公众号信息
$cField = "*";
$cWhere = "{~}f_wxin_1412311029_010{_}=={_}" . $User;
$cUSafe = "4";
$cUSort = "f_wxin_1412311029_002 asc";
$cDWxin_V10C_150513 = Vic_Dir_Search("141231094501.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
$SendData["appid"] = $_RESULT->GetField("f_wxin_1412311029_006");
$SendData["secret"] = $_RESULT->GetField("f_wxin_1412311029_007");
$_OBJECT["SP"]->Sureface('INC-141215-007_0007/GetToken', $BackAy, $SendData);
if ($BackAy["ST"] == "OK") {
$ResultAy = json_decode($BackAy["RS"], true);
$bResult = $ResultAy["access_token"];
//设置token缓存
$_SESSION["Wxin_Token_" . $User] = $bResult;
$_SESSION["Wxin_Creat_Time_" . $User] = time();
$_SESSION["Wxin_Lift_Time_" . $User] = $ResultAy["expires_in"];
}
}
return $bResult;
}
示例7: Begin
function Begin()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
if ($this->IN_HND == 20 || $this->IN_HND == 22) {
if (empty($_IMPORT["f_wire_1411241716_002"]) || empty($_IMPORT["f_wire_1411241716_004"])) {
$_IMPORT["f_wire_1411241716_004"] = $_IMPORT["f_wire_1411241716_003"];
}
if (!empty($_IMPORT["PID"])) {
$cField = "*";
$cWhere = "{~}f_wire_1411241716_P01{_}=={_}" . $_IMPORT["PID"];
$cUSafe = "4";
$cUSort =& $Pagination->PgSort;
$cDBase = Vic_Dir_Search("141124085601.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$cTable = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDBase, $cField, $cWhere, "", NULL, 1);
if ($_OBJECT["DB"]->RowsCT($cTable->Resval)) {
$Fi002 = $cTable->GetField("f_wire_1411241716_002");
$Fi004 = $cTable->GetField("f_wire_1411241716_004");
$_IMPORT["f_wire_1411241716_002"] = $Fi002;
$_IMPORT["f_wire_1411241716_004"] = $Fi004 . "." . $_IMPORT["f_wire_1411241716_003"];
$_IMPORT["f_wire_1411241716_005"] = $Fi002;
}
}
}
return parent::Begin();
}
示例8: K24Pr
function K24Pr($iResult, $iKey)
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$cRange = array();
$cString = array();
if (isset($_IMPORT["IM_Range"]) && trim($_IMPORT["IM_Range"]) != "") {
$mWhere = trim($_IMPORT["IM_Range"]);
$cRange = explode("||", $mWhere);
$mWhere = str_replace($cRange[0] . "&||", "", $mWhere);
$cRange = explode("||", $mWhere);
//查询系统默认组--接待大厅编号
$cField = "*";
$cWhere = "{~}f_wxin_1501071059_E01{_}=={_}" . $_IMPORT["APars"] . "{~}f_wxin_1501071059_001{_}=={_}接待大厅" . "{~}f_wxin_1501071059_003{_}=={_}1";
$cUSafe = "4";
$cUSort = "f_wxin_1501071059_000 asc";
$cDWxin_V10C_150513 = Vic_Dir_Search("141231094101.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
$cGroup = $_RESULT->GetField("f_wxin_1501071059_P01");
for ($i = 1; $i < sizeof($cRange); $i++) {
//查用户组
$cField = "*";
$cWhere = "{~}f_wxin_1501071059_P01{_}=={_}" . $cRange[$i];
$cUSafe = "4";
$cUSort = "";
$cDWxin_V10C_150513 = Vic_Dir_Search("141231094101.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
for ($Ci = 0; $Ci < sizeof($_RESULT->Resgrd); $Ci++) {
//查用户
$cField = "*";
$cWhere = "{~}f_wxin_1501070920_E01{_}=={_}" . $cRange[$i];
$cUSafe = "4";
$cUSort = "";
$cDWxin_V10C_150513 = Vic_Dir_Search("141231094201.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
for ($cI = 0; $cI < sizeof($_RESULT->Resgrd); $cI++) {
$cBianhao = $_RESULT->GetField("f_wxin_1501070920_000", $cI);
$cParent = $_RESULT->GetField("f_wxin_1501070920_E01", $cI);
$cPrsVAL["f_wxin_1501070920_E01"] = $cGroup;
//组别
$cPrsVAL["IM_HND"] = "22";
$cPrsVAL["IM_PST"] = "1";
$cPrsVAL["IM_Range"] = "f_wxin_1501070920_000||" . $cBianhao;
Common::Start("141231094202", "", $cPrsVAL);
}
$cGroup = $_RESULT->GetField("f_wxin_1501071059_000", $Ci);
$cPrsVAL["IM_HND"] = "24";
$cPrsVAL["IM_PST"] = "1";
$cPrsVAL["IM_Range"] = "f_wxin_1501071059_000||" . $cGroup;
Common::Start("141231094101", "", $cPrsVAL);
}
}
}
}
示例9: GetType
function GetType()
{
$_OBJECT =& $this->APPObj;
$cIf_AA = "";
$cUSort = "f_fsfy_1510101011_000 ASC";
$cDBase = Vic_Dir_Search("151010101014.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 4, $cDBase, "*", $cIf_AA, $cUSort, null, -1);
return $_OBJECT["DB"]->RowsCT($cRs_AA->Resval) > 0 ? $cRs_AA->Resgrd : false;
}
示例10: C30Pr
function C30Pr()
{
//die("343");
require_once Vic_Dir_Search("0000000002.PHP", "/" . $this->APPCls->Getvar("RunPath") . "/Prg/", 0, "T");
echo Wechat_scret;
echo "<br/>";
echo '-----------------cheng';
echo "<br/>";
}
示例11: K20Pr
function K20Pr($iResult, $iKey)
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
//海珠家园app临时出来方法:Begin//
if (isset($_IMPORT["IM_AppID"]) && $_IMPORT["IM_AppID"] == "USS-150625-001") {
$_IMPORT["f_wire_1506031750_E01"] = "GOU-150715-009";
$_IMPORT["AreID"] = "ARE-150324-004";
}
//海珠家园app临时出来方法:End//
//查询分组信息
$cIf_AA = "{~}f_wire_1507142038_P01{_}=={_}" . $_IMPORT["f_wire_1506031750_E01"];
$cDBase = Vic_Dir_Search("150715094602.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cRs_AA = $_OBJECT["DB"]->GetSource(Common::$_UsrInf->Getvar("UsrWK"), 4, $cDBase, "*", $cIf_AA, null, null, 1);
if ($_OBJECT["DB"]->RowsCT($cRs_AA->Resval) > 0) {
$iResult->SetField("f_wire_1506031750_E01", $cRs_AA->GetField("f_wire_1507142038_P01"), $iKey);
$iResult->SetField("f_wire_1506031750_E02", $cRs_AA->GetField("f_wire_1507142038_002"), $iKey);
$iResult->SetField("f_wire_1506031750_C01", $cRs_AA->GetField("f_wire_1507142038_004"), $iKey);
//用户导入相应区域:Begin//
if (isset($_IMPORT["AreID"]) && $_IMPORT["AreID"]) {
$cPrsVAL["f_wire_1506031751_P01"] = $_IMPORT["f_wire_1506031750_P01"];
//用户编号
$cPrsVAL["f_wire_1506031751_E01"] = $cRs_AA->GetField("f_wire_1507142038_P01");
//从属组织
$cPrsVAL["f_wire_1506031751_E02"] = $cRs_AA->GetField("f_wire_1507142038_002");
//组织路径
$cPrsVAL["f_wire_1506031751_C01"] = $cRs_AA->GetField("f_wire_1507142038_004");
//名称路径
$cPrsVAL["f_wire_1506031751_002"] = $_IMPORT["f_wire_1506031750_002"];
//用户密码
$cPrsVAL["f_wire_1506031751_003"] = $_IMPORT["f_wire_1506031750_011"];
//用户名称
$cPrsVAL["f_wire_1506031751_004"] = $_IMPORT["AreID"];
//区域编号
$cPrsVAL["f_wire_1506031751_005"] = date('Y-m-d H:i:s', time());
//导入时间
$cPrsVAL["IM_HND"] = 20;
$cPrsVAL["IM_PST"] = 1;
$cPrsVAL["IM_Range"] = "f_wire_1506031751_000||0";
Common::Start("150723110801", "", $cPrsVAL);
}
//用户导入相应区域:End//
//分组属性分拆
if ($cRs_AA->GetField("f_wire_1507142038_007")) {
$GouPro = explode(",", $cRs_AA->GetField("f_wire_1507142038_007"));
foreach ($GouPro as $Key => $Val) {
$SendPrams[Common::FindFL("=", 0, $Val)] = Common::FindFL("=", 1, $Val);
}
}
}
$SendPrams["revealUsername"] = $_IMPORT["f_wire_1506031750_P01"];
//登录帐号
$SendPrams["password"] = $_IMPORT["f_wire_1506031750_002"];
//登录密码
$_OBJECT["SP"]->Sureface('INC-141127-004_0004/Add', $BackJSN, $SendPrams);
//联动AP增加用户
}
示例12: C28Pr
function C28Pr()
{
$_OBJECT =& $this->APPObj;
$_RESULT =& $this->Result;
$_IMPORT =& $this->IMPORT;
//检查用户所属区域合法性
if (isset($_IMPORT["Area"]) && $_IMPORT["Area"]) {
$qWhere = "{~}f_wire_1506031751_P01{_}=={_}" . $_IMPORT["f_wire_1506031750_P01"];
$qDBase = Vic_Dir_Search("150723110801.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$qUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$qRs_AA = $_OBJECT["DB"]->GetSource($qUsrWK, 4, $qDBase, "*", $qWhere, "f_wire_1506031751_000 asc", NULL, -1);
if ($_OBJECT["DB"]->RowsCT($qRs_AA->Resval) > 0 && $qRs_AA->GetField("f_wire_1411241716_P01") == $_IMPORT["Area"]) {
$cWhere = "{~}f_wire_1506031750_P01{_}=={_}" . $_IMPORT["f_wire_1506031750_P01"] . "{~}f_wire_1506031750_002{_}=={_}" . $_IMPORT["f_wire_1506031750_002"];
$cDBase = Vic_Dir_Search("150603193303.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$uRs_AA = $_OBJECT["DB"]->GetSource($cUsrWK, 4, $cDBase, "*", $cWhere, "f_wire_1506031750_000 asc", NULL, -1);
if ($_OBJECT["DB"]->RowsCT($uRs_AA->Resval) > 0) {
if ($uRs_AA->GetField("f_wire_1506031750_004") == 0) {
if (strstr($uRs_AA->GetField("f_wire_1506031750_003"), $_IMPORT["UserMac"]) == false) {
$uPrsVAL["f_wire_1506031750_003"] = $uRs_AA->GetField("f_wire_1506031750_003") ? $uRs_AA->GetField("f_wire_1506031750_003") . "," . $_IMPORT["UserMac"] : $_IMPORT["UserMac"];
//设备MAC域
// $uPrsVAL["IM_PST"] = "1";
// $uPrsVAL["IM_HND"] = "22";
// $uPrsVAL["IM_Range"] = "f_wire_1506031750_P01||".$_IMPORT["f_wire_1506031750_P01"];
// Common::Start("150605101704","",$uPrsVAL);
$uCSql = "UPDATE t_wire_1506031750 SET f_wire_1506031750_S06=NOW(),f_wire_1506031750_003='" . $uPrsVAL["f_wire_1506031750_003"] . "' WHERE f_wire_1506031750_P01='" . $_IMPORT["f_wire_1506031750_P01"] . "'";
array_push($_OBJECT["DB"]->Querys, $uCSql);
}
// $dPrsVAL["f_wire_1411121421_002"] = $uRs_AA->GetField("f_wire_1506031750_P01"); //接入用户ID
// $dPrsVAL["f_wire_1411121421_003"] = $uRs_AA->GetField("f_wire_1506031750_011"); //接入用户名称
// $dPrsVAL["f_wire_1411121421_011"] = 4; //认证模式
// $dPrsVAL["IM_PST"] = "1";
// $dPrsVAL["IM_HND"] = "22";
// $dPrsVAL["IM_Range"] = "f_wire_1411121421_P01||".Common::FindFL("|",0,$_IMPORT["UserMac"]);
// $dPrsVAL["IM_Where"] = "{~}f_wire_1411121421_010{_}=={_}".Common::FindFL("|",1,$_IMPORT["UserMac"]);
// Common::Start("141112093206","",$dPrsVAL);
$iCSql = "UPDATE t_wire_1411121421 SET f_wire_1411121421_S06=NOW(),f_wire_1411121421_006=NOW(),f_wire_1411121421_002='" . $uRs_AA->GetField("f_wire_1506031750_P01") . "',f_wire_1411121421_003='" . $uRs_AA->GetField("f_wire_1506031750_011") . "',f_wire_1411121421_011=4 WHERE f_wire_1411121421_P01='" . Common::FindFL("|", 0, $_IMPORT["UserMac"]) . "' AND f_wire_1411121421_010='" . Common::FindFL("|", 1, $_IMPORT["UserMac"]) . "'";
array_push($_OBJECT["DB"]->Querys, $iCSql);
$_OBJECT["DB"]->FillBatch();
} else {
trigger_error("ER@该帐号已被禁用,请联系管理员!", NOTIC);
}
} else {
trigger_error("ER@帐号或者密码错误!", NOTIC);
}
} else {
trigger_error("ER@该区域不存在该用户!", NOTIC);
}
} else {
trigger_error("ER@该区域不存在该用户!", NOTIC);
}
}
示例13: C28Pr
function C28Pr()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$eList = array();
$nList = array();
//去掉头元素
$iList = explode("||", $_IMPORT["APars"]);
array_shift($iList);
//检查数据是否存在
$rWhere = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"] . "{~}f_wire_1507080936_E02{_}=={_}" . implode("||", $iList);
$rDBase = Vic_Dir_Search("150605064303.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$rUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$rRs_AA = $_OBJECT["DB"]->GetSource($rUsrWK, 4, $rDBase, "*", $rWhere, NULL, NULL, -1);
if ($_OBJECT["DB"]->RowsCT($rRs_AA->Resval) > 0) {
foreach ($rRs_AA->Resgrd as $key => $val) {
$eList[] = $val["f_wire_1507080936_E02"];
}
}
$nList = array_diff($iList, $eList);
//广播信息批量增加
if ($_IMPORT["BPars"] == "I") {
foreach ($nList as $key => $val) {
$rPrsVAL["f_wire_1507080936_E02"] = $val;
$rPrsVAL["f_wire_1507080936_003"] = $_IMPORT["f_wire_1507080936_003"];
$rPrsVAL["f_wire_1507080936_004"] = $_IMPORT["f_wire_1507080936_004"];
$rPrsVAL["IM_PST"] = "1";
$rPrsVAL["IM_HND"] = 20;
$rPrsVAL["IM_Range"] = "f_wire_1507080936_000||0";
Common::Start("150605064304", "", $rPrsVAL);
}
}
//广播信息批量编辑
if ($_IMPORT["BPars"] == "U" && count($eList) > 0) {
$rPrsVAL["f_wire_1507080936_003"] = $_IMPORT["f_wire_1507080936_003_NEW"];
$rPrsVAL["f_wire_1507080936_004"] = $_IMPORT["f_wire_1507080936_004_NEW"];
$rPrsVAL["IM_PST"] = "1";
$rPrsVAL["IM_HND"] = 22;
$rPrsVAL["IM_Range"] = "f_wire_1507080936_E02||" . implode("||", $eList);
$rPrsVAL["IM_Where"] = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"];
Common::Start("150605064304", "", $rPrsVAL);
}
//广播信息批量删除
if ($_IMPORT["BPars"] == "D" && count($eList) > 0) {
$rPrsVAL["IM_PST"] = "1";
$rPrsVAL["IM_HND"] = 24;
$rPrsVAL["IM_Range"] = "f_wire_1507080936_E02||" . implode("||", $eList);
$rPrsVAL["IM_Where"] = "{~}f_wire_1507080936_004{_}=={_}" . $_IMPORT["f_wire_1507080936_004"];
Common::Start("150605064303", "", $rPrsVAL);
}
}
示例14: C11Pr
function C11Pr()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$cField = "*";
$cWhere = "";
$cUSafe = "4";
$cUSort = "f_wsite_1508201422_000 asc";
$cDWxin_V10C_150513 = Vic_Dir_Search("150821100901.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
//print_r($_RESULT->Resgrd);
//echo json_encode($_RESULT->Resgrd);exit;
//$this->APPTml->Setvar("EX_Result",$_RESULT);
}
示例15: C10Pr
function C10Pr()
{
$_OBJECT =& $this->APPObj;
$_IMPORT =& $this->IMPORT;
$_RESULT =& $this->Result;
$cField = "*";
//查找的字段
$cWhere = "{~}f_wsite_1508201444_E01{_}=={_}" . 'TYP-150824-004';
//帅选条件
$cUSafe = "4";
//安全级别
$cUSort = "f_wsite_1508201444_000 asc";
//排序
$cDWxin_V10C_150513 = Vic_Dir_Search("150917105721.INI", "/" . $this->APPCls->Getvar("RunPath") . "/Sql/", 0, "T");
$cUsrWK = Common::$_UsrInf->Getvar("UsrWK");
$_RESULT = $_OBJECT["DB"]->GetSource($cUsrWK, $cUSafe, $cDWxin_V10C_150513, $cField, $cWhere, $cUSort, NULL, -1);
//print_r($_RESULT->Resgrd);
$this->APPTml->Setvar("list", $_RESULT->Resgrd);
}