📄 index.php
字号:
<?
include_once("inc/auth.php");
?>
<html>
<head>
<title>工资上报</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
<?
$CUR_DATE=date("Y-m-d",time());
?>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/menu/salary.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 历史流程</span>
</td>
</tr>
</table>
<br>
<div align="center">
<?
//============================ 工资上报历史流程 =======================================
$query = "SELECT * from SAL_FLOW where to_days(END_DATE)<to_days('$CUR_DATE') order by BEGIN_DATE desc";
$cursor= exequery($connection,$query);
$FLOW_COUNT=0;
while($ROW=mysql_fetch_array($cursor))
{
$FLOW_COUNT++;
$FLOW_ID=$ROW["FLOW_ID"];
$BEGIN_DATE=$ROW["BEGIN_DATE"];
$BEGIN_DATE=strtok($BEGIN_DATE," ");
$CONTENT=$ROW["CONTENT"];
if($FLOW_COUNT==1)
{
?>
<table border="0" cellspacing="1" width="95%" class="small" bgcolor="#000000" cellpadding="3">
<?
}
?>
<tr class="TableData">
<td nowrap align="center"><?=$BEGIN_DATE?></td>
<td nowrap align="center">已终止</td>
<td nowrap align="center"><?=$CONTENT?></td>
<td nowrap align="center" width="100"><a href="sal_index.php?FLOW_ID=<?=$FLOW_ID?>"> 查阅</a></td>
</tr>
<?
}
if($FLOW_COUNT>0)
{
?>
<thead class="TableHeader">
<td nowrap align="center">起始日期 <img border=0 src="/images/arrow_down.gif" width="11" height="10"></td>
<td nowrap align="center">截止日期</td>
<td nowrap align="center">备注</td>
<td nowrap align="center">操作</td>
</thead>
</table>
<?
}
else
Message("","尚未定义");
?>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -