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

📄 text4.php

📁 开源的OA系统
💻 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 + -