Esempio n. 1
0
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML><HEAD><TITLE>教研组教案审批</TITLE><LINK href="images/style.css" type=text/css
rel=stylesheet>
<SCRIPT src="images/ccorrect_btn.js"></SCRIPT>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<?
$MenuArray[0][0] = "edu_jiaoan_jiaoyanzu1.php";
$MenuArray[0][1] = "未审批";
$MenuArray[0][2] = "未审批";

$MenuArray[1][0] = "edu_jiaoan_jiaoyanzu2.php";
$MenuArray[1][1] = "已审批";
$MenuArray[1][2] = "已审批";


$fileName = $MenuArray[0][0];

//print_R($MenuArray);
//如果下属子菜单也只有一个菜单项,那么直接沿用下属菜单的那个菜单项
if(count($MenuArray)==1)	{
	EDU_Indextopage($MenuArray[0][0]);
	exit;
}

?>
<FRAMESET id=frame1 border=0 frameSpacing=0 rows=30,* frameBorder=NO cols=*>
<FRAME name=menu_top src="edu_jiaoan_jiaoyanzu_menu.php" frameBorder=0 noResize scrolling=no>
<FRAME name=menu_main src="<?=$fileName?>" frameBorder=0 noResize></FRAMESET>
</HTML>
// 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;
}
$filetablename = 'edu_teacherkaoqin';
require_once 'include.inc.php';
require_once '../Help/module_xingzhengkaoqin_yuanshidaka.php';
Esempio n. 3
0
<?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();
require_once 'systemprivateinc.php';
$TARGET_TITLE = "后勤管理-固定资产";
$TARGET_ARRAY = $PRIVATE_SYSTEM['后勤管理']['固定资产'];
$MenuArray = SystemPrivateInc($TARGET_ARRAY, $TARGET_TITLE);
$fileName = $MenuArray[0][0];
if (count($MenuArray) == 1) {
    //当只有一个页面时,自动跳转页面
    EDU_Indextopage($fileName, $nums = '0');
    exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HEAD><TITLE>固定资产</TITLE>
<LINK href="<?php 
echo ROOT_DIR;
?>
theme/<?php 
echo $LOGIN_THEME;
?>
/style.css" type=text/css rel=stylesheet>
<frameset rows="30,*"  cols="*" frameborder="0" border="0" framespacing="0" id="frame1">
    <frame name="file_title" scrolling="no" noresize src="MAIN_FIXEDASSET_MENU.php" frameborder="0">
    <frame name="edu_main2" scrolling="auto" src="<?php 
Esempio n. 4
0
	$delete_array1 = explode(',',$_GET['selectid']);
	for($i=0;$i<sizeof($delete_array1);$i++)		{
		$SelectID = $delete_array1[$i];
		if($SelectID!="")				{
			$sql = "select * from edu_planexec where 编号='$SelectID'";
			$rs = $db->Execute($sql);
			$rs_a = $rs->GetArray();
			$_POST['专业名称'] = $rs_a[0]['专业名称'];
			$_POST['专业代码'] = $rs_a[0]['专业代码'];
			$_POST['开课学期'] = $rs_a[0]['开课学期'];
			$_POST['级别'] = $rs_a[0]['级别'];
			$sql = "delete from edu_planexec where 编号='$SelectID'";
			$db->Execute($sql);
		}
	}
	EDU_Indextopage("?action=init_default&专业名称=".$_POST['专业名称']."&专业代码=".$_POST['专业代码']."&级别=".$_POST['NJ']."&NJ=".$_POST['NJ']."&开课学期=".$_POST['开课学期']."&学期=".$_POST['开课学期']."",$nums='0');
	//print_R($_POST);
	exit;

}

//$SYSTEM_PRIV_STOP = "1";
//$SYSTEM_PRINT_SQL = "1";
if($_SESSION['SYSTEM_CURRENT_NJ']!=""&&$教学班显示!=1)		{
	$SYSTEM_ADD_SQL = " and 级别='".$_SESSION['SYSTEM_CURRENT_NJ']."'";
}
// print_R($_GET);exit($SYSTEM_ADD_SQL);
//print_R($_GET);
$filetablename='edu_planexec';
require_once('include.inc.php');