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

📄 modpage.php

📁 希普办公网络v2
💻 PHP
字号:
<?
//**************************************************
//************************************
//******Powered by ajin ***************
//*****联系我:wenjinjin@peoplemail.com.cn *******
//*********QQ : 89243743        ********************
//*******主页: http://www.52686.com  *******
//**************************************************
 
include_once('session.php');
include_once('function.php');
if (islogin($_SESSION['username'],$_SESSION['userpass']))
{
	$accept=true;
	anynew($_SESSION[username]);
	}
else {
	$accept=false;
	
	
}

?>
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">
<title>modpage</title>

<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>

<body bgcolor="#F3F7FC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<?

include_once('js.php');
include_once('config.php');
include_once('classgroup.php');
$t=new database($dbname);
$lim=10;

$count=$_GET['count'];

// 工作文档 -->
if ($_GET[mod]=="worktext"&&$accept)
{

//echo $allnum=$t->getallnum($_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time","work_text"," where worker_login_name='".$_SESSION['username']."' order by worker_text_time desc limit $count $lim");
$t->loaddirtemp($_SESSION[username],$_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time,worker_text_mod","work_text",4,"template/workertext.php","template/workertext_so.php","template/textdir_so.php"," where worker_login_name='".$_SESSION['username']."' and worker_dir=0 "," order by worker_text_time desc limit $count,$lim");


}
elseif ($_GET[mod]=="sharetext"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time,worker_text_mod ","work_text",4,"template/workertext.php","template/workertext_so.php"," where worker_login_name='".$_SESSION['username']."' and worker_text_mod != '没有共享'"," order by worker_text_time desc limit $count,$lim");

//<!-- 工作文档结束 -->
// 个人文件
 elseif ($_GET[mod]=="workfile"&&$accept)
	$t->loaddirtemp($_SESSION[username],$_GET[mod],$count,$lim,"worker_file_time,worker_file_title,worker_file_type,worker_file_size,worker_file_ftime,worker_file_info ","worker_file",5,"template/workfile.php","template/workfile_so.php","template/filedir_so.php","where worker_login_name='".$_SESSION['username']."' and worker_dir=0 "," order by worker_file_time desc limit $count,$lim");
elseif ($_GET[mod]=="sharefile"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"worker_file_time,worker_file_title,worker_file_type,worker_file_size,worker_file_ftime,worker_file_mod ","worker_file",5,
"template/workfile.php","template/workfile_so.php"," where worker_login_name='".$_SESSION['username']."' and worker_file_mod != '没有共享'"," order by worker_file_time desc limit $count,$lim");

//记事本
elseif ($_GET[mod]=="notbook"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"note_time,note_name,note_ftime,note_time","notbook",4,"template/notbook.php","template/notbook_so.php","where worker_login_name='".$_SESSION['username']."'","order by note_time desc limit $count,$lim");
//详细资料 
elseif($_GET[mod]=="meninfo"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"worker_name,worker_mod,worker_job,worker_email,classphone,handphone,homephone,home_add,other_conn  ","worker",8,"template/meninfo.php","template/meninfo_so.php","where login_name='".$_SESSION['username']."'");

//快捷消息
elseif($_GET[mod]=="quickmeg"&&$accept)
{
	$t->loadtemp($_GET[mod],$count,$lim,"meg_time,meg_from,meg_name,meg_ftime,meg_is_new","quickmeg",4,
"template/quickmeg.php","template/quickmeg_so.php","where meg_to='".$_SESSION['username']."' "," order by meg_time desc limit $count,$lim");
}
elseif($_GET[mod]=="sendedmegsend"&&$accept)

	$t->loadtemp($_GET[mod],$count,$lim,"meg_time,meg_to,meg_name,meg_ftime,meg_is_new","quickmeg",4,
"template/quickmegsend.php","template/quickmeg_so.php","where meg_from='".$_SESSION['username']."' "," order by meg_time desc limit $count,$lim");
//法送邮件显示
elseif($_GET[mod]=="mailsend"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"mail_time,mail_send_to,mail_name,mail_ftime","mailsend",4,
"template/mailsend.php","template/mailsend_so.php","where worker_login_name='".$_SESSION['username']."' "," order by mail_time desc limit $count,$lim");

//无限制共享文档显示
elseif($_GET[mod]=="comptext"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"worker_login_name,worker_text_name,worker_text_ftime,worker_text_time","work_text",3,"template/allsharetext.php","template/allsharetext_so.php"," where worker_text_mod = '无限制共享'"," order by worker_text_time desc limit $count,$lim");
//无限制共享文件显示
elseif($_GET[mod]=="compfile"&&$accept)
	$t->loadtemp($_GET[mod],$count,$lim,"worker_login_name,worker_file_title,worker_file_type,worker_file_ftime,worker_file_time ,worker_file_info","worker_file",5,
"template/allsharefile.php","template/allsharefile_so.php"," where  worker_file_mod = '无限制共享'"," order by worker_file_time desc limit $count,$lim");

//局部共享文档显示
elseif ($_GET[mod]=="classtext"&&$accept)
{
	$worker_job=getjob($_SESSION[username]);
	$t->loadtemp($_GET[mod],$count,$lim,"worker_login_name,worker_text_name,worker_text_ftime,worker_text_time","work_text",3,"template/somesharetext.php","template/somesharetext_so.php"," where worker_job='".$worker_job."' and worker_text_mod = '局部共享'"," order by worker_text_time desc limit $count,$lim");
	}
//局部共享文件显示
elseif ($_GET[mod]=="classfile"&&$accept)
{
	$worker_job=getjob($_SESSION[username]);
	$t->loadtemp($_GET[mod],$count,$lim,"worker_login_name,worker_file_title,worker_file_type,worker_file_ftime,worker_file_time ,worker_file_info","worker_file",5,
"template/somesharefile.php","template/somesharefile_so.php"," where worker_job='".$worker_job."' and worker_file_mod = '局部共享'"," order by worker_file_time desc limit $count,$lim");
	}
//没有登陆时显示
elseif ($_GET[mod]=="ann"&&$accept)
{	
	if (isadmin($_SESSION['username'],1))
		$ann_mod="comp";
	elseif (isadmin($_SESSION['username'])) 
		$ann_mod="clas";

	$ann_job=getjob($_SESSION['username']);
	$t->loadtemp($_GET['mod'],$count,$lim,"ann_time,ann_title,ann_ftime ","all_announce",3,"template/announce.php","template/announce_so.php"," where ann_job='".$ann_job."' and ann_mod ='".$ann_mod." ' "," order by ann_time desc limit $count,$lim");
	}
elseif ($_GET[mod]=="discuss"&&$accept)
{	
	$t->loaddis($_GET['mod'],$count,$lim,"discuss_title,worker_login_name ,discuss_time_id ","discuss_title",3,"template/discuss.php","template/discuss_so.php","  "," order by discuss_time_id desc limit $count,$lim");

	}
elseif ($_GET[mod]=="showdiscuss"&&$accept)
{	
	$t->loadshowdis($_GET[time_num],$_GET['mod'],$count,$lim,"worker_login_name ,discuss_text,discuss_ftime,discuss_time_id,discuss_title ","discuss_text",5,"template/showdiscuss.php","template/showdiscuss_so.php","where discuss_time_id=".$_GET[time_num]," order by discuss_time limit $count,$lim");

	}
elseif ($_GET[mod]=="dirfile"&&$accept)
{

//echo $allnum=$t->getallnum($_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time","work_text"," where worker_login_name='".$_SESSION['username']."' order by worker_text_time desc limit $count $lim");
$t->loaddirtemp($_SESSION[username],$_GET[mod],$count,$lim,"worker_file_time,worker_file_title,worker_file_type,worker_file_size,worker_file_ftime,worker_file_info ","worker_file",5,"template/workfile.php","template/workfile_so.php","template/filedir_so.php","where worker_login_name='".$_SESSION['username']."'and worker_dir=".$_GET[dir_id] ," order by worker_file_time desc limit $count,$lim");


}
elseif ($_GET[mod]=="dirtext"&&$accept)
{

//echo $allnum=$t->getallnum($_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time","work_text"," where worker_login_name='".$_SESSION['username']."' order by worker_text_time desc limit $count $lim");
$t->loaddirtemp($_SESSION[username],$_GET[mod],$count,$lim,"worker_text_time,worker_text_name,worker_text_ftime,worker_text_time,worker_text_mod","work_text",4,"template/workertext.php","template/workertext_so.php","template/textdir_so.php"," where worker_login_name='".$_SESSION['username']."' and worker_dir=".$_GET[dir_id]," order by worker_text_time desc limit $count,$lim");


}

else require('out_begin.php');

?>
</body>
</html>

⌨️ 快捷键说明

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