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

📄 offer_view.php

📁 Oracle源码:Oracle 数据库管理与应用系统开发代码
💻 PHP
字号:
<?
    require "inc/check.php";
    require "inc/func.php";
    require "inc/error.php";
?>
<html>
<head>
<title>"追风"--晨风创意</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px; scrollbar-face-color: ffffff; scrollbar-shadow-color: C1C1BB; scrollbar-highlight-color: C1C1BB; scrollbar-3dlight-color: EBEBE4; scrollbar-darkshadow-color: EBEBE4; scrollbar-track-color: F4F4F0; scrollbar-arrow-color: CACAB7
}
P {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
INPUT {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
FONT {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
SELECT {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
OPTION {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
TEXTAREA {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
FORM {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px
}
TD {
	FONT-FAMILY: "宋体"; FONT-SIZE: 12px; TABLE-LAYOUT: fixed; WORD-BREAK: break-all
}
A:link {
	TEXT-DECORATION: none
}
A:visited {
	TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
A:active {
	FONT-SIZE: 12px; TEXT-DECORATION: none
}
.border {
	BACKGROUND-COLOR: #efefef; BORDER-BOTTOM: 1px dotted; BORDER-COLLAPSE: collapse; BORDER-LEFT: 1px dotted; BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; COLOR: #000000
}
.shadow1 {
	COLOR: #ffffff; FILTER: dropshadow(color=#000000,offx=1,offy=1); FONT-SIZE: 12px
}
.shadow2 {
	COLOR: #000000; FILTER: dropshadow(color=#d5d5d5,offx=1,offy=1); FONT-SIZE: 12px
}
.p1 {
	COLOR: #ffffff; FONT-SIZE: 12px; TEXT-DECORATION: none
}
.p2 {
	COLOR: #000000; FONT-SIZE: 12px; TEXT-DECORATION: none
}
.p3 {
	COLOR: #004080; FONT-SIZE: 14px; TEXT-DECORATION: none
}
</STYLE>
<?
if($action=="del"){ //如果是删除一个人
               if($yesno=="")
			   {
                   $url="?action=del&name=$name&yesno=ok";
				   show_msg("您确定删除此人?",$url);
				}
				if($yesno==ok){
                    $sqldo="delete from paperoffer where name='$name'";
				    if($cla->db_delete($sqldo))
				   {
				       $cla->db_commit();
				   }
       			}
        }
?>

<body bgcolor="#FFFFFF">
<center>

  <div align="center">
    <table width="100%" border="0" height="95" >
      <tr> 
        <td height="313" width="5%"> 
          <p align="center">&nbsp;</p>
          <p align="center">&nbsp;</p>
          <p align="center">&nbsp;</p>
          <p align="center">&nbsp;</p>
        </td>
        <td height="313" width="15%" valign="top" > 
          <table border=1 bordercolor=#111111 cellpadding=3 cellspacing=0 
      class=border width="85%" height="257">
            <tbody> 
            <tr> 
              <td bgcolor=#efefef width="100%"> 
                <div align="center"><img src="images/list.gif" width="16" height="16"> 
                  控制面板</div>
              </td>
            </tr>
            <tr> 
              <td align=middle class=shadow2 height=230 valign=top 
            width="100%"> 
                <div align="center"> 
                  <p><br>
                  </p>
                  <p>&nbsp;</p>
                  <p><br>
                    <img src="images/edit.gif" width="18" height="13"> <a href="offer_add.php"  >增 
                    加 成 员</a></p>
                  <p><br>
                    <img src="images/edit.gif" width="18" height="13"> <a href="offer_view.php" target="_self">查 
                    看 成 员</a><br>
                    <br>
                    <br>
                    <br>
                  </p>
                </div>
              </td>
            </tr>
            </tbody> 
          </table>
        </td>
        <td width="75%" height="313" valign="top"> 

          <table border="1" cellspacing="0" cellpadding="3" bordercolor="#111111" align="center" width="100%" class=border>
            <tr bgcolor="#f7f7f7"> 
              <td height="31" width="8%"> 
                <div align="center"> 姓名</div>
              </td>
              <td height="31" width="10%"> 
                <div align="center">邮箱</div>
              </td>
              <td height="31" width="10%" align="center">类型</td>
              <td height="31" width="10%" align="center">地址</td>
              <td height="31" width="10%" align="center">单位</td>
              <td height="31" width="10%" align="center">邮编</td>
              <td height="31" width="10%" align="center">电话</td>
              <td height="31" width="10%" align="center">备注</td>
              <td height="31" width="8%" align="center">删除</td>
              <td height="31" width="8%" align="center">修改</td>
            </tr>
            <?  $sqldo="select name,email,type,address,company,code,telephone,description from paperoffer ";				
		        $user_array=$cla->db_query($sqldo);
				$i=0;
		    	while ($user_array[$i][0]){
		    	?>
            <tr> 
              <td align="center" width="8%"> 
                <? if($user_array[$i]["NAME"]<>""){
				echo 	$user_array[$i]["NAME"];}
				else { echo "&nbsp;";}
				?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["EMAIL"]<>"") { echo $user_array[$i]["EMAIL"];}
                    else {echo "&nbsp"; }
                ?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["TYPE"]<>"") { echo $user_array[$i]["TYPE"];}
                    else {echo "&nbsp"; }
                ?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["ADDRESS"]<>"") { echo $user_array[$i]["ADDRESS"];}
                    else {echo "&nbsp"; }
                ?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["COMPANY"]<>"") { echo $user_array[$i]["COMPANY"];}
                    else {echo "&nbsp"; }
                ?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["CODE"]<>""){
				echo 	$user_array[$i]["CODE"];}
				else { echo "&nbsp;";}
				?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["TELEPHONE"]<>""){
				echo 	$user_array[$i]["TELEPHONE"];}
				else { echo "&nbsp;";}
				?>
              </td>
              <td align="center" width="10%"> 
                <? if($user_array[$i]["DESCRIPTION"]<>""){
				echo 	$user_array[$i]["DESCRIPTION"];}
				else { echo "&nbsp;";}
				?>
              </td>
              <td align="center" width="8%"><a href="?action=del&name=<? echo $user_array[$i]['NAME'];?>">删除</a></td>
              <td align="center" width="8%"><a href="offer_edit.php?action=edit&name=<? echo $user_array[$i]['NAME'];?>">修改</a></td>
            </tr>
            <? $i++;}?>
          </table>
          <p>&nbsp;</p>
        </td>
      </tr>
    </table>
  </div>
</center>
<p align="center">&nbsp;</p>
<div align="center"><br>
  <p>&nbsp;</p>
</div>
<?$cla->db_logoff();?>
</body>
</html>

⌨️ 快捷键说明

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