⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.php

📁 极限OA开源系统
💻 PHP
字号:
<?
/********************************************************************************/
/* 极限办公自动化系统 (极限OA)													*/
/* ========================      												*/
/* 欢迎使用 极限OA,在您开始使用之前,请务必完整阅读本软件附带的全部说明档				*/
/********************************************************************************/
/* Welcome to http://www.xsp.cn & http://oa.xsp.cn								*/
/* 技术支持论坛 http://www.1119.net												*/
/********************************************************************************/
/* 商业购买请联系 临海市极限网络有限公司											*/
/* 联系电话: (0576) 5131349	邮件: mkt@xsp.cn	QQ: 562873							*/
/********************************************************************************/
if(!defined('KIN_UNION')){die("Hacking attempt");}
$pre_s = true;

############# 最新公告 #############
$tmp_part = $union_departid?$union_departid:0;

	$query = $db->query("select * from $table_bulletin where scope='$tmp_part' && time2>'$timestamp' order by time DESC LIMIT 0,6");
	while($list = $db->fetch_array($query)) {
		$list[title] = wordscut($list[title],30,'');
		$bul_newlist[$list['id']] = $list;
	}

############# 最新公告 #############


############# 最新计划 #############
	$listday_list = array();
	$temp_0 = date('Y-m-d',$timestamp);
	$temp_1 = date('H:i',$timestamp);
	$query = $db->query("select * from $table_listday where (mid='$union_uid' || executant like '%$union_user%') && tdate>'$temp_0' || (tdate='$temp_0' && stime>'$temp_1') order by tdate ASC limit 0,6");
	while($list = $db->fetch_array($query)) {
		$list[title] = wordscut($list[title],20,'');
		$listday_list[$list['id']] = $list;
	}
############# 最新计划 #############

############# 最新任务 #############
	$task_list = array();
	$temp_0 = date('Y-m-d',$timestamp);
	$temp_1 = date('H:i',$timestamp);
	$query = $db->query("select * from $table_task where (mid='$union_uid' || executant like '%$union_user%') && (tdate2>'$temp_0' || (tdate2='$temp_0' && etime>'$temp_1')) order by tdate ASC limit 0,6");
	while($list = $db->fetch_array($query)) {
		$list[title] = wordscut($list[title],20,'');
		$task_list[$list['id']] = $list;
	}
############# 最新任务 #############




include getData('memassist_index');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -