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

📄 user_list.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
ob_start();
?>
    <table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center">
       <tr class="TableHeader" onclick="clickMenu('1')" style="cursor:hand" title="点击伸缩列表">
         <td nowrap align="center"><b>在职人员</b></td>
       </tr>
    </table>
    <table border="0" cellspacing="1" width="100%" class="small" cellpadding="3" id="1">
    <tr>
      <td>
<?
$PARA_URL1="";
$PARA_URL2="/general/salary/report/history/sal_data.php";
$PARA_TARGET="hrms";
$PARA_ID="FLOW_ID";
$PARA_VALUE=$FLOW_ID;
$PRIV_NO_FLAG=1;
$MANAGE_FLAG=1;

include_once("inc/user_list/index.php");
?>
       </td>
     </tr>
    </table>

<?
 $query = "SELECT * from USER where USER_ID='$LOGIN_USER_ID'";
 $cursor= exequery($connection,$query);
 if($ROW=mysql_fetch_array($cursor))
    $POST_PRIV=$ROW["POST_PRIV"];
 if($POST_PRIV=="1")
 {
?>
    <table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center">
       <tr class="TableHeader" onclick="clickMenu('0')" style="cursor:hand" title="点击伸缩列表">
         <td nowrap align="center"><b>离职人员/外部人员</b></td>
       </tr>
    </table>
    <table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" id="0" style="display:none">
<?
    $query = "SELECT * from USER,USER_PRIV where DEPT_ID=0 and USER.USER_PRIV=USER_PRIV.USER_PRIV order by PRIV_NO,USER_NAME";
    $cursor= exequery($connection,$query);

    while($ROW=mysql_fetch_array($cursor))
    {
       $USER_COUNT++;
       $USER_ID=$ROW["USER_ID"];
       $USER_NAME=$ROW["USER_NAME"];
       $USER_PRIV=$ROW["USER_PRIV"];

       $query1 = "SELECT * from USER_PRIV where USER_PRIV='$USER_PRIV'";
       $cursor1= exequery($connection,$query1);
       if($ROW=mysql_fetch_array($cursor1))
            $USER_PRIV=$ROW["PRIV_NAME"];

?>
    <tr class="TableData" align="center">
      <td nowrap width="80"><?=$USER_PRIV?></td>
      <td nowrap><a href="sal_data.php?FLOW_ID=<?=$FLOW_ID?>&USER_ID=<?=$USER_ID?>" target="hrms"><?=$USER_NAME?></a></td>
    </tr>
<?
    }
?>
    </table>
<?
}
?>
<script language="JavaScript">
function clickMenu(ID)
{

    targetelement=document.all(ID);
    if (targetelement.style.display=="none")
        targetelement.style.display='';
    else
        targetelement.style.display="none";
}
</script>

⌨️ 快捷键说明

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