📄 text2.php
字号:
<?php
session_start();
include "../datasource.inc.php";
$sql = "select * from job_user where id='$_REQUEST[id]';";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
$body = str_replace("<BR>", "\n", $row['body']);
?>
<html>
<head>
<title>用户详细信息</title>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="css/a1.css" rel="stylesheet" type="text/css">
<style type="text/css">
.title14 {font-size:14px;line-height:120%}
td,li,select,input,textarea {font-size:12px}
.f7 {font-size:7px;}
.f24{font-size:24px;}
.f12{font-size:12px;}
.f14{font-size:14px;}
.l17 {line-height:180%;}
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="../images/go.gif">
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="未命名1">
<tr ><td width="400" height="26" style="background:#1677E4;color:#FFFFFF;"><b>用户<font color="red"><? echo $row['userid']?></font>的详细信息</b></td>
</tr>
</table><br>
<table width=400 border=0 align="center" cellpadding=0 cellspacing=1 bgcolor=#3494d4>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>帐号名称:</td><td width="72%" bgColor=#ffffff> <? echo "$row[userid]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>所属部分:</td><td width="72%" bgColor=#ffffff>
<?php
if ($row['department']=="0") {
echo "<option value=0>管理员</option>";
}elseif($row['department']=="2"){
echo "<option value=1>商务一部</option>";
}else{
echo "<option value=2>商务二部</option>";
}
?>
</td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>用户角色:</td><td width="72%" bgColor=#ffffff>
<?php
if ($row['userjs']=="0") {
echo "<option value=0>管理员</option>";
}elseif($row['userjs']=="1"){
echo "<option value=1>普通用户</option>";
}else{
echo "<option value=2>部门经理</option>";
}
?>
</td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>姓 名:</td><td width="72%" bgColor=#ffffff> <? echo "$row[username]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>性 别:</td><td width="72%" bgColor=#ffffff> <? echo "$row[sex]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>年 龄:</td><td width="72%" bgColor=#ffffff> <? echo "$row[age]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>地 址:</td><td width="72%" bgColor=#ffffff> <? echo "$row[address]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>邮编区号:</td><td width="72%" bgColor=#ffffff> <? echo "$row[code]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>电 话:</td><td width="72%" bgColor=#ffffff> <? echo "$row[phone1]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>手 机:</td><td width="72%" bgColor=#ffffff> <? echo "$row[phone2]";?></td>
</tr>
<tr height="24">
<td width="28%" bgColor=#ffffff align=center>电 邮:</td><td width="72%" bgColor=#ffffff> <? echo "$row[email]";?></td>
</tr>
</table>
<br>
<CENTER>
<table width="400" border="0" cellpadding="0" cellspacing="0" class="未命名1">
<tr>
<td align="center" style="background:#FFFFFF;"><a href="javascript:window.close();">
<img src="../images/close.gif" width="94" height="20" border="0"></a></td>
</tr>
<tr>
<td align="center" style="background:#FFFFFF;"> </td>
</tr>
</table>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="未命名1">
<tr>
<td width="400" height="20" style="background:#1677E4;color:#FFFFFF;" align="center">
© 2006 上海明宏生物工程有限公司</td>
</tr>
</table>
</CENTER>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -