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

📄 _system_member.php

📁 极限OA开源系统
💻 PHP
📖 第 1 页 / 共 2 页
字号:


<html>
<head>
<title>极限OA --- 办公平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="private">
<link rel="stylesheet" href="./templates/oa.css" type="text/css">

<script language="JavaScript" src="./scripts/bgColor.js"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td valign="top" align="center"> 
      <table border="0" cellspacing="0" cellpadding="0" align="left" width="100%">
        <tr> 
          <td class="pageHeaderBG_System" valign="top">
            <table cellpadding="0" cellspacing="0" border="0">
                <td class="pageHeader"><img src="./images/arrow_yellow.gif" width="12" height="11" hspace="8">( 用户管理 )</td>
            </table>
			</td>
          <td valign="top" align="left">&nbsp; </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<? if($sysaction == 'view') { ?>

<script language="JavaScript">
<!--
function SelValue()
{
	var Msg,blnDel
	blnDel = true	
	for (var i=0;i<MyForm.elements.length;i++)
    {
       var e = MyForm.elements[i];
       if (e.name == 'chkUserIDs' && e.checked == true)
         {blnDel = false;
          break;}
    }

	if (blnDel)
	{alert("请选择选中项后再进行此操作!");}
	else
	{
		var str = MyForm.thisuser.value;//alert("请选择选中项后再进行此操作!"+str);
		
		window.opener.document.ThisForm.username.value=str;
		window.opener.document.ThisForm.loginname.value=str;
		window.opener.document.ThisForm.email.value=MyForm.thisemail.value;
		window.opener.document.ThisForm.employ.value=MyForm.thisid.value;
		window.opener.document.ThisForm.employfig.checked=true;
		window.opener.document.ThisForm.username.readOnly = true;
		window.close();
		
	}
}
function DelValue()
{
		window.opener.document.ThisForm.username.value="";
		window.opener.document.ThisForm.loginname.value="";
		window.opener.document.ThisForm.email.value="";
		window.opener.document.ThisForm.employfig.checked=false;
		window.opener.document.ThisForm.username.readOnly = false;
		window.close();
}

function Selclick(s0,s1,s2)
{
	document.MyForm.thisid.value=s0;
	document.MyForm.thisuser.value=s1;
	document.MyForm.thisemail.value=s2;
}
//改变部门名称的响应
function depart_onchange()
{
	MyForm.action="system.php?action=member&sysaction=view";
	MyForm.submit();
}
//-->
</script>
<div id="Layer1" style="position:absolute; left:0px; top:70px; z-index:1; width:100%"> 
  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td class="edgingTop"></td>
            <td width="22" class="edgingLabelBg"><img src="./images/edgingLable_left.gif"></td>
            <td class="edgingLabelBg"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td class="edgingLabel" nowrap align="center"> 员 工 列 表 - 
                    User List</td>
                </tr>
              </table>
            </td>
            <td width="11" class="edgingLabelBg"><img src="./images/edgingLable_right.gif"></td>
          </tr>
        </table>
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="edgingTable_1">
          <tr> 
            <td class="edgingTd_1"> 
              <table width="100%" cellpadding="0" border="1" cellspacing="0" height="100%" bordercolordark="#ffffff" class="edgingTable_2">
                <tr align="center"> 
                  <td> 
                    <!-- 内容区开始 -->
					<form name=MyForm id=MyForm method=Post>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                        <tr>
                          <td valign="top" align="center"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td align="center" class="Command" width="15"><img src="./images/boxOff_1.gif" width="7" height="18"></td>
                                <td align="right" class="Command"> 
                                  <table border="0" cellspacing="0" cellpadding="0">
                                    <tr> 
							  
                                      <td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className=&quot;over&quot;' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="SelValue()" align="center" width="80"><img height=16 src="./images/iconSelect.gif" width=45 border=0></td>
                                                 
                                      <td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className=&quot;over&quot;' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="DelValue()" align="center" width="80"><img height=16 src="./images/iconDel.gif" width=45 border=0></td>
                                                            
                                      <td width=20 align="right">&nbsp;</td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                            <!--按部门查询条件-->
                            <br>
                            <table width="95%">
                              <tr class="table_row_title" colspan=6> 
			<td align="left">部门名称: 
				<select name="depart_type" onChange="depart_onchange()">
				<option value=0>--所有部门--</option>
				
<? if(is_array($depart_list)) {
     foreach($depart_list as $key => $val) { ?>
<OPTION value='<?=$val['id']?>'<?=$val['sel']?>><?=$val['name']?></OPTION>
<?   } 
    } ?>

				</select>
			 </td> 
          </tr>   
          </table>      
			<!--显示用户的详细信息-->
        <table width="95%" border="1" cellspacing="0" cellpadding="2" bgcolor="#888888" align="center" bordercolordark="#ffffff" bordercolor="#888888">
          <thead> 
          <tr> 
            <td class="headCenter" width="4%">#</td>
            <td class="headCenter" width="10%">姓名</td>
            <td class="headCenter" width="6%">性别</td>
            <td class="headCenter" width="15%">部门科室</td>
            <td class="headCenter" width="15%">职务</td>
            <td class="headCenter" width="24%">电话</td>
            <td class="headCenter" width="25%">E-mail</td>
          </tr>
          </thead> 
				<!--从数据库中调出用户信息-->
			
          <input type='hidden' name=thisid><input type='hidden' name=thisuser><input type='hidden' name=thisemail>
		  
<? if(is_array($employee_list)) {
     foreach($employee_list as $key => $val) { ?>
<tr class='light' onMouseOver="onColor(this);" onMouseOut="offColor(this);" onClick="javascript:Selclick('<?=$val['id']?>','<?=$val['username']?>','<?=$val['email']?>');"> 
			<td class="textCenter"><input type="radio" id="rid<?=$val['id']?>" name="chkUserIDs" value="<?=$val['id']?>"  class="radio"
<? if($val['yesfig']) { ?>

disabled
<? } ?>
></td>
            <td class='textCenter' style="color:blue"><?=$val['username']?></td>
            <td class="textCenter"><?=$val['sex']?></td>			
			<td class="textCenter"align="center" width="10%"><?=$val['depart']?></td>			
            <td class="textCenter"><?=$val['duty']?></td>
            <td class="textCenter"><?=$val['telphone']?></td>
            <td class="textCenter"><?=$val['email']?></td>
          </tr>
<?   } 
    } ?>

                              
          
                            </table>
                          </td>
                        </tr>
                        <tr>
                          <td valign="bottom"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="1" bgcolor="#FFFFFF"></td>
                              </tr>
                              <tr> 
                                <td height="20" bgcolor="#dfdfdf"> 
                                  <TABLE align=center  border=0 cellPadding=0 cellSpacing=0 width=100% height=19><TBODY><TR><TD noWrap vAlign=center><img src='./images/icon_multipage.gif' align='absmiddle'>&nbsp
<script language=javascript>
function triggerGoTo(PageNO){
MyForm.txtPageNO.value=PageNO
MyForm.submit()
}
function onSubmit(){
MyForm.submit();
}
</script>
<?=$multipage?> </TD><TD noWrap vAlign=center><?=$pages2?></TD></TR></TBODY></TABLE>
                                </td>
                              </tr>
                            </table>
                    </td>
                        </tr>
                      </table>
                      </form>
                    <!-- 内容区结束 -->
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
      <td class="shadowRight"></td>
    </tr>
    <tr> 
      <td colspan="2" class="shadowBottom"></td>
    </tr>
  </table>
  
  <br>
</div>
<? } elseif($sysaction != 'add') { ?>
<script language="JavaScript">
<!--
function DeleDepart()
{
	var Msg,blnDel
	blnDel = true	
	for (var i=0;i<MyForm.elements.length;i++)
    {
       var e = MyForm.elements[i];
       if (e.id == 'chkUserIDs' && e.checked == true)
         {blnDel = false;
          break;}
    }
    if (blnDel)
	{alert("请选择删除项后再进行删除操作!");}
	else
    {
		Msg = window.confirm("确信删除选中的信息吗?单击“确定”删除,否则“取消”!");
		if (Msg)
		{	
			MyForm.action = "system.php?action=member&sysaction=del";
			MyForm.submit();
		}
	}
}

function ShowStatus()
{
	MyForm.action = "system.php?action=member";
	MyForm.submit();
}
function ShowType()
{
	MyForm.action = "system.php?action=member";
	MyForm.submit();
}
//-->
</script>
<div id="Layer1" style="position:absolute; left:0px; top:70px; z-index:1; width:100%"> 
  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td class="edgingTop"></td>
            <td width="22" class="edgingLabelBg"><img src="./images/edgingLable_left.gif"></td>
            <td class="edgingLabelBg"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td class="edgingLabel" nowrap align="center"> 用 户 列 表 - User 
                    List </td>
                </tr>
              </table>
            </td>
            <td width="11" class="edgingLabelBg"><img src="./images/edgingLable_right.gif"></td>
          </tr>
        </table>
        <table width="100%" cellspacing="0" cellpadding="0" border="0" class="edgingTable_1">
          <tr> 
            <td class="edgingTd_1"> 
              <table width="100%" cellpadding="0" border="1" cellspacing="0" height="100%" bordercolordark="#ffffff" class="edgingTable_2">
                <tr align="center"> 
                  <td> 
                    <!-- 内容区开始 -->
					<form name=MyForm id=MyForm method=Post>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                        <tr>
                          <td valign="top" align="center"> 
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td align="center" class="Command" width="15"><img src="./images/boxOff_1.gif" width="7" height="18"></td>
                                <td align="right" class="Command"> <table border="0" cellspacing="0" cellpadding="0">
                                    <tr> 
							  
                                      <td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className=&quot;over&quot;' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="window.document.URL='system.php?action=member&sysaction=add'" align="center" width="80"><img height=16 src="./images/iconAppend.gif" width=45 border=0></td>
                              
                                      <td class=imgButton onMouseDown='this.className="down"' onMouseOver='this.className="over"' onMouseUp='this.className="over"' onMouseOut='this.className="imgButton"' onClick="DeleDepart()" align="center" width="80"><img height=16 src="./images/iconDelete.gif" width=45 border=0></td>
                              
                                      <td width=20 align="right">&nbsp;</td>
                                    </tr>
                                  </table></td>
                              </tr>
                            </table>
                            <br>
                            <table width="95%">
                              <tr class="table_row_title" colspan=6> 
								<td align="left">状 态: 
									<select name="Status" onChange="ShowStatus()">

⌨️ 快捷键说明

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