?? text4.php
字號:
<?php
session_start();
//if ( !empty($_SESSION["userid"]) and $_SESSION["userjs"] == "1") {
include "../datasource.inc.php";
$sql = "select * from cwgl where id='$_REQUEST[id]';";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
$body = str_replace("<BR>", "\n", $row['body']);
$username = $row['username'];
$sql1 = "select * from kfzl where company='$username';";
$result1 = mysql_query($sql1);
$row1 = mysql_fetch_array($result1);
$sum = $row[spjg]*$row[spsl]
?>
<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 bgcolor="ffffff" topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<br>
<table width="460" border=0 cellpadding=0 cellspacing=1 bgcolor=#333333>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>狀態:</td><td width="80%" bgColor=#ffffff><? echo "$row[zt]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>摘要:</td><td width="80%" bgColor=#ffffff><? echo "$row[spmc]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>數量:</td><td width="80%" bgColor=#ffffff><? echo "$row[spjg]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>價格:</td><td width="80%" bgColor=#ffffff><? echo "$row[spsl]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>總和:</td><td width="80%" bgColor=#ffffff><? echo "$sum";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>填表時間:</td><td width="80%" bgColor=#ffffff><? echo "$row[date]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>填表人:</td><td width="80%" bgColor=#ffffff><? echo "$row[tbr]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>備注:</td><td width="80%" bgColor=#ffffff><? echo "$row1[body]";?></td>
</tr>
</table>
<br>
<?php echo "<div class=f14><b><font color=red>$row1[company]</font> 的聯系方式:<hr></div>";?>
<table width="460" border=0 cellpadding=0 cellspacing=1 bgcolor=#333333>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>公司名稱:</td><td width="80%" bgColor=#ffffff><? echo "$row1[company]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>聯系地址:</td><td width="80%" bgColor=#ffffff><? echo "$row1[address]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>郵政編碼:</td><td width="80%" bgColor=#ffffff><? echo "$row1[code]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>聯系電話:</td><td width="80%" bgColor=#ffffff><? echo "$row1[phone]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>聯系手機:</td><td width="80%" bgColor=#ffffff><? echo "$row1[phone1]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>EMAIL:</td><td width="80%" bgColor=#ffffff><? echo "$row1[email]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>傳真:</td><td width="80%" bgColor=#ffffff><? echo "$row1[fax]";?></td>
</tr>
<tr height="24">
<td width="20%" bgColor=#E6E6E6>備注:</td><td width="80%" bgColor=#ffffff><? echo "$row1[body]";?></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td><center>[<a href="javascript:window.close();">關閉窗口</a>]</center></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -