📄 index1.htm
字号:
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<STYLE type=text/css>.menu1 {
FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #FFFFFF; LINE-HEIGHT: 140%; FONT-FAMILY: "宋体"}
.old { font-size: 9pt; color: #000000; font-family: "宋体"}
A:link { font-size: 9pt; TEXT-DECORATION: none; color: #000000}
A:visited { font-size: 9pt;TEXT-DECORATION: none; ; color: #000000}
A:active { font-size: 9pt;TEXT-DECORATION: none; color: #FFFFFF}
a:hover { font-size: 9pt; color: #000000; text-decoration: none; font-family: "宋体"}
body { SCROLLBAR-FACE-COLOR: #cccccc; SCROLLBAR-HIGHLIGHT-COLOR: #f5f9ff; SCROLLBAR-SHADOW-COLOR: #828282; SCROLLBAR-3DLIGHT-COLOR: #000000; SCROLLBAR-ARROW-COLOR: #797979; SCROLLBAR-TRACK-COLOR: #cccccc; SCROLLBAR-DARKSHADOW-COLOR: #000000
; font-size: 9pt; font-family: "宋体"}
table { font-size: 9pt; font-family: "宋体"}
font { font-size: 9pt; font-family: "宋体"}
SELECT{Color:#000000;Background-Color:#95A095;Border:1 solid #101010}
.form { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px}
.black { color: #000000}
a.white{font-size: 9pt; color: #ffffff; }
a.white.link{font-size: 9pt; color: #ffffff; }
a.white.hover{font-size: 9pt; color: #ffffff; }
a.white.visited { font-size: 9pt;TEXT-DECORATION: none; color: #ffffff}
a.white.active { font-size: 9pt;TEXT-DECORATION: none}
INPUT.text { Color:#FFFFFF;Background-Color:#95A095;Border:1 solid #101010 } </STYLE>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="89%" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="80%" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" align="center">
<tr bgcolor="#006699">
<td colspan="3"><font color="#FFFFFF" class="text2">本日日程安排</font>
</td>
</tr>
<? $today=getdate();
$year=$today[year];
$month=$today[mon];
$day=$today[mday];
$hour=$today[hours];
$cdate=$year."-".$month."-".$day;
//echo $cdate;
if($logclass=="super")
{ $event="select * from schedule where Start_time='$cdate'";}
else
{ $event="select * from schedule where Start_time='$cdate' and (Creator='$logname' or Public=1)";}
$event_result=mysql_query($event,$connect);
while($array_event=mysql_fetch_array($event_result))
{
?>
<tr bgcolor="#CCCCCC">
<td width="68%" height="12" bgcolor="#CCCCCC" align="left">
<div align="center">日程内容</div>
</td>
<td width="16%" height="12" align="center">日程类型</td>
<td width="16%" height="12" align="center">日程发表时间</td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="68%" height="16" bgcolor="#CCCCCC" align="left"><a href="javascript:;" onMouseDown="MM_openBrWindow('plan_edit.php?id=<?echo $array_event[ID];?>','','scrollbars=yes,resizable=yes,width=550,height=350')">
<? echo $array_event[Title];?>
</a></td>
<td width="16%" height="16" align="center">
<? $symbol="select * from symbol where ID='$array_event[Type]'";
$symbol_result=mysql_query($symbol,$connect);
if($array_symbol=mysql_fetch_array($symbol_result))
{ $pic=$array_symbol[ID].".gif";
$pic="<img src=symbol/".$pic.">";
echo $pic;
echo $array_symbol[Name];
}
?>
</td>
<td width="16%" height="16" align="center">
<?echo $array_event[Start_time]."<br>";
echo $array_event[Start_hour].":".$array_event[Start_min]." ".$array_event[Start_am_pm];
?>
</td>
</tr>
<?}?>
</table>
<br>
<table width="80%" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" align="center">
<tr bgcolor="#006699">
<td colspan="5"><font color="#FFFFFF" class="text2">最新文档</font> </td>
</tr>
<tr bgcolor="#CCCCCC" align="center">
<td height="13" width="39%">标题</td>
<td height="13" width="15%">类型</td>
<td height="13" width="14%">建立者</td>
<td height="13" width="16%">日期</td>
<td height="13" width="16%">目录</td>
</tr>
<?
if($logclass=="super") //super
{$query_newdoc="select * from document order by ID desc limit 0,5"; }
else
{
$query_newdoc="select * from document where Grouptype='$log_grouptype' or Grouptype=0 order by ID desc limit 0,5";}
$result_newdoc=mysql_query($query_newdoc,$connect);
while($array_newdoc=mysql_fetch_array($result_newdoc))
{
?>
<tr bgcolor="#CCCCCC" align="center">
<td height="13" width="39%" align="left"> <a href="document_open.php?id=<?echo $array_newdoc[ID];?>" >
<?echo $array_newdoc[Subject];?>
</a> </td>
<td height="13" width="15%">
<?if($array_newdoc[Type]=="application/msword")
{echo "Word 文档";}
else if($array_newdoc[Type]=="application/vnd.ms-excel")
{echo "Excel 文档";}
else if($array_newdoc[Type]=="text/plain")
{echo "文本文件";}
else if($array_newdoc[Type]=="创建文件")
{echo "创建文件";}
else if($array_newdoc[Type]=="application/pdf")
{echo "PDF文件";}
else
{echo $array_newdoc[Type];}
?>
</td>
<td height="13" width="14%">
<?echo $array_newdoc[Creator];?>
</td>
<td height="13" width="16%">
<?echo $array_newdoc[Date];?>
</td>
<td height="13" width="16%">
<?
$query_catalog="select * from menu where menu_id='$array_newdoc[Document_id]'";
$result_catalog=mysql_query($query_catalog,$connect);
if($array_catalog=mysql_fetch_array($result_catalog))
echo $array_catalog[menu];
?>
</td>
</tr>
<?}?>
</table>
<br>
<table width="80%" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" align="center">
<tr>
<td colspan="2" bgcolor="#006699" height="20"><font color="#FFFFFF" class="text2">最新论坛内容</font>
</td>
</tr>
<tr>
<td width="84%" height="20" bgcolor="#CCCCCC">标 题</td>
<td width="16%" height="15" bgcolor="#CCCCCC">
<div align="center">回复次数</div>
</td>
</tr>
<? $bbs="select * from bbs where layer=0 order by ID desc limit 0,5";
$bbs_result=mysql_query($bbs,$connect);
$num_bbs=mysql_num_rows($bbs_result);
if($num_bbs<1)
{echo "还没有贴子!";
}
else
{
while($array_bbs=mysql_fetch_array($bbs_result))
{
?>
<tr bgcolor="#CCCCCC">
<td height="25" width="84%" bgcolor="#CCCCCC" align="left"> <a href="bbs_disp.php?id=<?echo $array_bbs[ID];?>">
<?echo $array_bbs[Subject];?>
</a> </td>
<td height="25" align="center" width="16%">
<?$reply="select * from bbs where layer='$array_bbs[ID]'";
$reply_result=mysql_query($reply,$connect);
$reply_num=mysql_num_rows($reply_result);
if($reply_num<1)
$reply_num=0;
echo $reply_num;
?>
</td>
</tr>
<?}}?>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p class="black"> </p>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -