?? 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>
<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 + -