本文整理汇总了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;
}
}
}
示例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>
";
示例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);
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\"> 此项记录已经通过审核,系统禁止编辑操作.</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\"> 此项记录已经作废,系统禁止操作.</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';
示例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
示例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();
示例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';
示例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\"> 此项记录已经作废,系统禁止操作.</div>\n\t\t\t</td></tr></table>\n\t\t\t<br>\n\t\t\t<div align=center>\n\t\t\t";
示例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;\">";
示例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>
示例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\"> 此项记录已经作废,系统禁止操作.</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;
}
示例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']['学期'] . ":";
//$学期名称
示例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;
}
示例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');
?>
示例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";