📄 index.php
字号:
<?
include('session.php');
include('config.php');
include('function.php');
if (!islogin($_SESSION['username'],$_SESSION['userpass']))
{
if (islogin($_POST['workername'],$_POST['workerpass']))
{
$_SESSION['username']=$_POST['workername'];
$_SESSION['userpass']=$_POST['workerpass'];
$id=session_id();
setcookie("PHPSESSID",session_id());
online("add",$_POST[workername]);
}
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><? echo $sitename ?>--W.N 2.2</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<? include('js.php'); ?>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="55">
<table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5%"><img src="images/tleft.jpg" width="50" height="18"></td>
<td width="91%" background="images/dmid.jpg"></td>
<td width="4%"><img src="images/tright.jpg" width="50" height="18"></td>
</tr>
</table>
<table width="94%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="35" background="images/d2.jpg"><font color="#6666CC"><? echo $sitename; ?></font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="425" valign="top"><table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F3F7FC">
<tr>
<td width="25%" valign="top">
<!-- 右工具栏 -->
<table width="100%" height="382" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="380" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" class="tianchong">
<!-- begin login -->
<?
if (!islogin($_SESSION['username'],$_SESSION['userpass']))
require('template/login.php');
else require('template/workerinfo.php');
?>
<!-- end login -->
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border: 1px solid #40447D; ">
<tr>
<td height="8" valign="top" background="images/dmid.jpg" class="tianchong" ><font class="size10">公共工具</font></td>
</tr>
<tr>
<td height="8" valign="top" class="tianchong"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_kuang">
<tr>
<td class="tianchong"><font class="size09"><a href="#" onClick=openw("modpage.php?mod=comptext&count=0")>全部共享文档</a></font></td>
</tr>
<tr>
<td class="tianchong"><font color="#666666" class="duanluo">
可以查看公司共享文档或添加文档到公司共享文档,此处文档全公司人可见。</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="16" valign="top" class="tianchong"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_kuang">
<tr>
<td class="tianchong"><font class="size09"><a href="#" onClick=openw("modpage.php?mod=compfile&count=0")>全部共享文件</a></font></td>
</tr>
<tr>
<td class="tianchong"><font color="#666666" class="duanluo">
可以查看公司共享文件或添加文件到公司共享文件,此处文件全公司人可见。文件大小应小于1.5M</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="8" valign="top" class="tianchong"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_kuang">
<tr>
<td class="tianchong"><font class="size09"><a href="#" onClick=openw("modpage.php?mod=classtext&count=0")>局部共享文档</a></font></td>
</tr>
<tr>
<td class="tianchong"><font color="#666666" class="duanluo">
可以查看</font><font color="#666666" class="size09">部门</font><font color="#666666" class="duanluo">共享文档或添加文档到</font><font color="#666666" class="size09">部门</font><font color="#666666" class="duanluo">共享文档,此处文档本</font><font color="#666666" class="size09">部门</font><font color="#666666" class="duanluo">人可见。</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="8" valign="top" class="tian4"><table width="100%" border="0" cellspacing="0" cellpadding="5" class="table_kuang">
<tr>
<td class="tianchong"><font class="size09"><a href="#" onClick=openw("modpage.php?mod=classfile&count=0")>局部共享文件</a></font></td>
</tr>
<tr>
<td class="tianchong"><font color="#666666" class="duanluo">
可以查看部门共享文件或添加文件到部门共享文件,此处文件本部门人可见。文件大小应小于2M</font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td valign="top"> </td>
</tr>
</table></td>
</tr>
</table>
<!-- 右工具栏结束-->
</td>
<td width="75%" valign="top" class="tianchong">
<!-- 个人工具栏 -->
<?
//echo $_SESSION['username'];
if (islogin($_SESSION['username'],$_SESSION['userpass']))
{
require('template/mentool.php');
}
else require('template/welcome.php');
//echo $_SESSION['username'].$_SESSION['userpass'];
?>
<!-- 个人工具栏结束 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<iframe scrolling="yes" src="#" width=100% height="0" marginheight="0" frameborder="0" id="jiaohuan" marginwidth="0" hspace="0">
<!-- 内嵌框架开始 -->
</iframe>
<!-- 内嵌框架结束 -->
<? if (islogin($_SESSION['username'],$_SESSION['userpass']))
$announce="in_begin.php";
else $announce="out_begin.php";
?>
<iframe scrolling="yes" src="<? echo $announce; ?>" width=100% height="400" marginheight="0" frameborder="0" id="tihuan" marginwidth="0" hspace="0">
<!-- 内嵌框架开始 -->
</iframe>
<!-- 内嵌框架结束-->
</td>
</tr>
</table>
<? require('template/temp_footer.php'); ?>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -