當前位置: 首頁>>代碼示例>>PHP>>正文


PHP page_css函數代碼示例

本文整理匯總了PHP中page_css函數的典型用法代碼示例。如果您正苦於以下問題:PHP page_css函數的具體用法?PHP page_css怎麽用?PHP page_css使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了page_css函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: COUNT

function 判斷招生數據是否完成()
{
    global $db;
    return '';
    exit;
    if ($_GET['action'] == '' || $_GET['action'] == 'init_default') {
        $sql = "select COUNT(*) AS NUM from edu_newstudent where 是否轉移學籍 ='1'";
        $rs = $db->Execute($sql);
        if ($rs->fields['NUM'] > 0) {
            page_css("在新生係統存在新生數據");
            print_infor("在新生係統存在新生數據,請先處理完新生錄取以及報到工作,轉完成學籍,結束完新生工作以後,再來操作此模塊");
            exit;
        }
    }
}
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:15,代碼來源:lib.function.inc.php

示例2: ini_set

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");

//######################教育組件-權限較驗部分##########################


$當前學期 = returntablefield("edu_xueqiexec","當前學期",'1',"學期名稱");

page_css("課表上傳導入");



if($_GET['action']=="")				{
print "
<script language = \"JavaScript\">
function FormCheck()
{
if (document.form1.Exam_Content.value == \"\") {
alert(\"請你選擇你要輸入的課表文件!\");
 return false;}
}</script>

";
開發者ID:NineTea,項目名稱:OA_xmjs,代碼行數:29,代碼來源:xmjs_daorukebiao.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';
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:25,代碼來源:fixedassettui_newai.php

示例4: 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();
addShortCutByDate("申請日期");
$SYSTEM_ADD_SQL = " and 錄單員='" . $_SESSION['LOGIN_USER_ID'] . "'";
//$SYSTEM_PRINT_SQL = 1;
if ($_GET['action'] == "edit_default_data") {
    page_css("傭金申請");
    $單號 = $_POST['單號'];
    $sql = "select * from crm_yongjin_sq where 單號='{$單號}'";
    $rs = $db->Execute($sql);
    $rs_a = $rs->GetArray();
    if ($rs_a[0]['是否審核'] == 1 && 0) {
        print "\n\t\t\t<div align=\"center\" title=\"審核記錄管理\">\n\t\t\t<table class=\"MessageBox\" align=\"center\" width=\"650\"><tr><td class=\"msg info\">\n\t\t\t<div class=\"content\" style=\"font-size:12pt\">&nbsp;&nbsp;此項記錄已經通過審核,係統禁止編輯操作.</div>\n\t\t\t</td></tr></table>\n\t\t\t<br>\n\t\t\t<div align=center>\n\t\t\t";
        print "<input type=button  value=\"返回\" class=\"SmallButton\" onClick=\"history.go(-2);\">\n\t\t\t</div>\n\t\t\t";
        exit;
    }
    if ($rs_a[0]['是否作廢'] == 1) {
        print "\n\t\t\t<div align=\"center\" title=\"作廢記錄管理\">\n\t\t\t<table class=\"MessageBox\" align=\"center\" width=\"650\"><tr><td class=\"msg info\">\n\t\t\t<div class=\"content\" style=\"font-size:12pt\">&nbsp;&nbsp;此項記錄已經作廢,係統禁止操作.</div>\n\t\t\t</td></tr></table>\n\t\t\t<br>\n\t\t\t<div align=center>\n\t\t\t";
        print "<input type=button  value=\"返回\" class=\"SmallButton\" onClick=\"history.go(-2);\">\n\t\t\t</div>\n\t\t\t";
        exit;
    }
}
//數據表模型文件,對應Model目錄下麵的crm_yongjin_sq_newai.ini文件
//如果是需要複製此模塊,則需要修改$parse_filename參數的值,然後對應到Model目錄 新文件名_newai.ini文件
$filetablename = 'crm_yongjin_sq';
$parse_filename = 'crm_yongjin_sq';
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:crm_yongjin_sq_newai.php

示例5: foreach

        }
    }
}
$sql = "SELECT " . $date_format . " as name,sum(b.lirun) as sum FROM sellplanmain a  LEFT JOIN sellplanmain_detail b on b.mainrowid=a.billid  WHERE a.user_flag>0 and a.createtime>='" . $start_time . "' and a.createtime<='" . $end_time . "' GROUP BY name";
//exit($sql);
$rs = $db->Execute($sql);
$rs_a = $rs->GetArray();
foreach ($rs_a as $row) {
    $list[$row['name']] = $row['sum'];
}
//print_r($list);exit;
?>
<html>
<head>
<?php 
page_css("月度利潤走勢圖");
?>
<SCRIPT src="../../Enginee/WdatePicker/WdatePicker.js"></SCRIPT>
</head>
<body class=bodycolor topMargin=5>


<table class=TableBlock align=center width=100%>
	<thead>
		<tr>
			<td colspan="13">
			<form action='' method="get">
			<table width="100%" class="Small" border="0">
				<thead>
					<tr>
						<td class='nowrap'>時間段: <input class="SmallInput" size="19" name="start_time" value="<?php 
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:yuedulirunzoushi.php

示例6:

		ClassroomTablePreview();
		break;
	case 'showTeacherTableInfor':
		page_css2($IE_TITLE,"教師課表查詢");
		//條件判斷
		if($TeacherName=="")	{ print_infor("請選擇教師!"); exit ;}
		TeacherTablePreview();
		break;
	case 'showFreeTimeWeekTableInfor':
		page_css($IE_TITLE,"空閑教室查詢");
		//條件判斷
		//if($TeacherName=="")	{ print_infor("請選擇教師!"); exit ;}
		FreeTimeWeekTablePreview();
		break;
	case 'showXueYuanInfor':
		page_css($IE_TITLE,"學院課表查詢");
		//條件判斷
		//if($TeacherName=="")	{ print_infor("請選擇教師!"); exit ;}
		XueYuanPreview();
		break;
	case 'showXiInfor':
		page_css2($IE_TITLE,$_SESSION['SUNSHINE_REGISTER_XI']."總課表查詢");
		//條件判斷
		//if($TeacherName=="")	{ print_infor("請選擇教師!"); exit ;}
		XiPreview();
		break;
	case 'showZhuanYeInfor':
		page_css2($IE_TITLE,"專業總課表查詢");
		//條件判斷
		//if($TeacherName=="")	{ print_infor("請選擇教師!"); exit ;}
		ZhuanYePreview();
開發者ID:NineTea,項目名稱:OA_xmjs,代碼行數:31,代碼來源:ClassTablePreview.php

示例7: 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';
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:26,代碼來源:officeproducttui_newai.php

示例8: 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();
addShortCutByDate("申請日期");
if ($_GET['action'] == "edit_default_data") {
    page_css("延遲付款");
    if ($_POST['是否審核'] == 2 || $_POST['是否審核'] == 3) {
        $_POST['審核日期'] = date("Y-m-d");
        $_POST['審核人'] = $_SESSION['LOGIN_USER_ID'];
        $備注 = $_POST['備注'];
        //拆分字符串
        $bz = substr($備注, 0, 7);
        if ($bz != "<審核人") {
            //$_POST['備注'] = "<審核人:".$審核人.">".$_POST['備注'];
        }
    }
    if ($_POST['是否作廢'] == '1') {
        $_POST['作廢日期'] = date("Y-m-d H:i:s");
        $作廢人 = $_SESSION['LOGIN_USER_ID'];
        $_POST['備注'] = "<作廢人:" . $作廢人 . ">" . $_POST['備注'];
    }
    $單號 = $_POST['單號'];
    $sql = "select 是否作廢 from crm_yanchifukuan_sq where 單號='{$單號}'";
    $rs = $db->Execute($sql);
    $rs_a = $rs->GetArray();
    if ($rs_a[0]['是否作廢'] == 1) {
        print "\n\t\t\t<div align=\"center\" title=\"作廢記錄管理\">\n\t\t\t<table class=\"MessageBox\" align=\"center\" width=\"650\"><tr><td class=\"msg info\">\n\t\t\t<div class=\"content\" style=\"font-size:12pt\">&nbsp;&nbsp;此項記錄已經作廢,係統禁止操作.</div>\n\t\t\t</td></tr></table>\n\t\t\t<br>\n\t\t\t<div align=center>\n\t\t\t";
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:crm_yanchifukuan_jlsq_newai.php

示例9: returnsession

<?php

require_once "lib.inc.php";
$GLOBAL_SESSION = returnsession();
page_css("報修信息統計");
$當前學期 = returntablefield('edu_xueqiexec', '當前學期', 1, '學期名稱');
$sql = "select 學期名稱 from edu_xueqiexec";
$rs = $db->Execute($sql);
$rs_a = $rs->GetArray();
if ($_GET['學期名稱'] == "") {
    $_GET['學期名稱'] = $當前學期;
}
print "<table class=TableBlock align=center width=720>";
print "<tr class=TableContent>";
print "<td>學期名稱:</td>";
print "<td><select name=term onChange=\"var jmpURL='?flag=1&學期名稱=' + this.options[this.selectedIndex].value; if(jmpURL!='') {window.location=jmpURL;} else {this.selectedIndex=0;}\">";
for ($i = 0; $i < sizeof($rs_a); $i++) {
    $學期名稱 = $rs_a[$i]['學期名稱'];
    if ($學期名稱 == $_GET['學期名稱']) {
        $selected = 'selected';
    } else {
        $selected = '';
    }
    print "<option value=" . $學期名稱 . " {$selected}>" . $學期名稱 . "</option>";
}
print "</select></td>";
$sql = "select 名稱 from wygl_biaoxiuxiangmu";
$rs = $db->Execute($sql);
$rs_a = $rs->GetArray();
print "<td>報修項目:</td>";
print "<td><select name=報修項目 onChange=\"var jmpURL='?flag=1&學期名稱=" . $_GET['學期名稱'] . "&名稱=' +this.options[this.selectedIndex].value;        if(jmpURL!=''){window.location=jmpURL;}              else this.selectedIndex=0;\">";
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:wygl_baoxiuinfor_tongji.php

示例10: returntablefield

                $supplyid = returntablefield("accessprepay", "id", $val['id'], "supplyid");
                $rs_a[$i]['supplyname'] = returntablefield("supply", "rowid", $supplyid, "supplyname");
            }
        }
        $i++;
    }
}
if ($_GET['out_excel'] == 'true') {
    export_XLS($head, $rs_a, $title, $sumcol);
    exit;
}
?>
<html>
<head>
<?php 
page_css('銷售日報  ' . $data[0][rs_a][0][USER_NAME] . ' ' . $data[0][title] . $start_time . '至' . $end_time);
?>
<script language="javascript" src="../LODOP60/LodopFuncs.js"></script>
<SCRIPT src="../../Enginee/WdatePicker/WdatePicker.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></embed> </object>
</head>
<body class=bodycolor topMargin=5>
<div id='con'>

<table class=TableBlock align=center width=100%>
<tr class=TableHeader><td colspan="8"><?php 
echo $title . " " . $start_time . "-" . $end_time;
?>
</td></tr>
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:xiaoshoubaobiao_mingxi.php

示例11: 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();
page_css("費用申請");
if ($_GET['action'] == "edit_default_data") {
    $單號 = $_POST['單號'];
    $sql = "select 是否作廢 from crm_qingjia_sq where 單號='{$單號}'";
    $rs = $db->Execute($sql);
    $rs_a = $rs->GetArray();
    if ($rs_a[0]['是否作廢'] == 1) {
        print "\n\t\t\t<div align=\"center\" title=\"作廢記錄管理\">\n\t\t\t<table class=\"MessageBox\" align=\"center\" width=\"650\"><tr><td class=\"msg info\">\n\t\t\t<div class=\"content\" style=\"font-size:12pt\">&nbsp;&nbsp;此項記錄已經作廢,係統禁止操作.</div>\n\t\t\t</td></tr></table>\n\t\t\t<br>\n\t\t\t<div align=center>\n\t\t\t";
        print "<input type=button  value=\"返回\" class=\"SmallButton\" onClick=\"history.go(-2);\">\n\t\t\t</div>\n\t\t\t";
        exit;
    }
}
$filetablename = 'crm_qingjia_sq';
$parse_filename = 'crm_qingjia_sq';
require_once 'include.inc.php';
if ($_GET['action'] == '' || $_GET['action'] == 'init_default' || $_GET['action'] == 'init_customer') {
    $PrintText .= "<BR><table  class=TableBlock align=center width=100%>";
    $PrintText .= "<TR class=TableContent><td ><font color=green >\n\t\t\t說明:<BR>\n\t\t\t</font></td></table>";
    print $PrintText;
}
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:27,代碼來源:crm_qingjia_sq_newai.php

示例12: returnsystemlang

            if ($ColumnName == "編號") {
                $ColumnValue = $i + 1;
            } else {
                $ColumnValue = $rs_a[$i][$ColumnName];
            }
            print "<td nowrap>" . $ColumnValue . "</td>";
        }
        print "</tr>";
    }
    print "</table>";
    exit;
}
//統計項
if ($_GET['action'] == "init_default" || $_GET['action'] == "") {
    $html_etc = returnsystemlang('edu_xingzheng_kaoqinmingxi');
    page_css("行政人員卡機考勤按月份查詢");
    //此段代碼以前為周次統計之前,月份統計之下,後需要用到學期名稱,所以提前至此
    if ($_GET['學期名稱'] != "") {
        $學期名稱 = $_GET['學期名稱'];
    } else {
        $學期名稱 = returntablefield("edu_xueqiexec", "當前學期", '1', "學期名稱");
    }
    $學期初始值 = $學期名稱;
    $sql = "select 開始時間,學期名稱 from edu_xueqiexec where 當前學期='1'  order by 流水號 desc limit 1";
    $rs = $db->CacheExecute(150, $sql);
    $rs_a = $rs->GetArray();
    $開始時間 = $rs_a[0]['開始時間'];
    //$學期名稱 = $rs_a[0]['學期名稱'];
    $開始時間Array = explode('-', $開始時間);
    print "\n\t\t<table border=0 class=TableBlock width=100% >\n\t\t<tr class=TableHeader><td valign=bottom align=left>行政人員卡機考勤管理 " . $html_etc['edu_xingzheng_kaoqinmingxi']['學期'] . ":";
    //$學期名稱
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:edu_xingzheng_kaoqin_static.php

示例13: returnsession

<?php

require_once 'lib.inc.php';
//
$GLOBAL_SESSION = returnsession();
$SYSTEM_PRIV_STOP = 1;
require_once "systemprivateinc.php";
//CheckSystemPrivate("人力資源-行政考勤-我的考勤");
page_css('調班申請');
$當前學期 = returntablefield("edu_xueqiexec", "當前學期", '1', "學期名稱");
if ($_GET['學期'] == "") {
    $_GET['學期'] = $當前學期;
}
$學期名稱 = $當前學期;
$_GET['人員'] = $_SESSION['LOGIN_USER_NAME'];
$_GET['人員用戶名'] = $_SESSION['LOGIN_USER_ID'];
//$_GET['部門'] = returntablefield("department","DEPT_ID",$_SESSION['LOGIN_DEPT_ID'],"DEPT_NAME");
if ($_GET['action'] == 'TiaoBanDelete') {
    $人員 = $_GET['人員'];
    $班次 = $_GET['班次'];
    $人員 = $_SESSION['LOGIN_USER_NAME'];
    //如果數據存在則進行數據編輯操作
    $query = "delete from edu_xingzheng_tiaoban where 編號='{$編號}' and 原班次='{$班次}' and 學期='{$學期名稱}' and 審核狀態='0'";
    //print_R($_POST);
    //print $query;
    print "<BR><BR><div align=center><font color=green>你的操作已經處理!</font></div>";
    $db->Execute($query);
    //exequery($connection,$query);
    print "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=?action=add_default&RUN_ID={$RUN_ID}'>\n";
    exit;
}
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:my_xingzheng_tiaoban_newai.php

示例14: COUNT

		else	{
			$_GET['級別']		= $_SESSION['級別'];
			$_GET['專業代碼']	= $_SESSION['專業代碼'];
			$_GET['專業名稱']	= $_SESSION['專業名稱'];
		}
	}

	if($_GET['action']=="add_default_data"||$_GET['action']=="edit_default_data")			{
		//print_R($_POST);exit;
		$_POST['課程代碼'] = $_POST['課程名稱_ID'];

		//在此處理重複數據的情況
		$sql = "select COUNT(*) AS NUM from edu_plan_source where 級別='".$_POST['級別']."' and 課程代碼='".$_POST['課程代碼']."' and 專業代碼='".$_POST['專業代碼']."'";
		$rs = $db->Execute($sql);
		$NUM = $rs->fields['NUM'];
		if($NUM>0)		{
			page_css("信息重複");
			print_infor("專業名稱:".$_POST['專業名稱']." 課程名稱:".$_POST['課程名稱']." 級別:".$_POST['級別']." 第幾學期:".$_POST['第幾學期']." 發生信息重複,請返回!",'',"location='?'");
			exit;
		}

	}



	//數據表模型文件,對應Model目錄下麵的edu_plan_newai.ini文件
	//如果是需要複製此模塊,則需要修改$parse_filename參數的值,然後對應到Model目錄 新文件名_newai.ini文件
	$filetablename		=	'edu_plan';
	$parse_filename		=	'edu_plan';
	require_once('include.inc.php');
	?>
開發者ID:NineTea,項目名稱:OA_xmjs,代碼行數:31,代碼來源:edu_plan_newai.php

示例15: date

    //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];
        if ($Element != "") {
            $審核狀態 = returntablefield("edu_xingzheng_qingjia", "編號", ${$Element}, "審核狀態");
            if ($審核狀態 != 1) {
                $sql = "update edu_xingzheng_qingjia set 審核狀態='1',審核人='{$審核人}',審核時間='{$審核時間}' where 編號='{$Element}' and 審核狀態='0'";
                $rs = $db->Execute($sql);
                $sql . "<BR>";
            }
        }
    }
    $pageid = $_GET['pageid'];
    page_css("相互調課審批");
    print_nouploadfile("你的數據操作已經成功!");
    echo "<META HTTP-EQUIV=REFRESH CONTENT='0;URL=?pageid={$pageid}'>\n";
    exit;
}
$filetablename = 'edu_xingzheng_qingjia';
require_once 'include.inc.php';
//功能性說明注釋
require_once "../Help/module_xingzhengworkflow.php";
開發者ID:shesai0519,項目名稱:sunshineCRM,代碼行數:31,代碼來源:edu_xingzheng_qingjia_newai.php


注:本文中的page_css函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。