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

📄 show.asp

📁 中国电视购物网电子商务系统
💻 ASP
字号:
<%@ Language=VBScript %>
<!--#include file="../../include/memconn.asp"-->
<%
id=Request.QueryString("id")
action=Request.QueryString("action")

if action="buy" then
sql="select * from mem_buy where mem_id="&id&""
else
sql="select * from mem_sell where mem_id="&id&""
end if 
set rs=server.CreateObject("adodb.recordset")
rs.Open sql,conn,1,1
if rs.EOF then
Response.Write "没有此用户。"
else
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<style type="text/css">
<!--
body,p,input,td {font-family:宋体;font-size:14.8px}
-->
</style>
</HEAD>
<BODY bgcolor="#FFFFFF">
<p>&nbsp;</p>
<form action="showto.asp" method="post">
<table width="500" border="1" cellspacing="0" cellpadding="0" align="center">
  <tr align="center"> 
    <td height="30" colspan="2"><b>用户详细信息</b></td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">企业名称:&nbsp; </td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="comp_name" value="<%=rs("comp_name")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">主要经营模式:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="comp_model" value="<%=rs("comp_model")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">企业性质:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="comp_type" value="<%=rs("comp_type")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">负责人姓名:&nbsp; </td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="principal" value="<%=rs("principal")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">联系人姓名:&nbsp; </td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="linkman" value="<%=rs("linkman")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">所在城市或地区:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="city" value="<%=rs("city")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">电话:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="tel" value="<%=rs("tel")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">传真:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <input type="text" name="fax" value="<%=rs("fax")%>">
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">企业简历:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <textarea name="comp_resume" cols="29" rows="5"></textarea>
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">企业介绍:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <textarea name="comp_intro" cols="29" rows="5"></textarea>
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">联系我们:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <textarea name="linkus" cols="29" rows="5"></textarea>
    </td>
  </tr>
<%
if action="buy" then
%>
  <tr> 
    <td height="30" width="133" align="right">营销报告:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <textarea name="yx_report" cols="29" rows="5"></textarea>
    </td>
  </tr>
  <tr> 
    <td height="30" width="133" align="right">媒体发布:</td>
    <td height="30" width="367">&nbsp;&nbsp; 
      <textarea name="mtfb" cols="29" rows="5"></textarea>
    </td>
  </tr>
<%
end if
%>
  <tr align="center"> 
    <td height="30" colspan="2"> 
      <input type="submit" name="Submit" value=" 提 交  ">
        &nbsp;&nbsp; 
        <input type="hidden" name="action" value="<%=action%>">
        <input type="hidden" name="id" value="<%=id%>">
        <input type="reset" name="Submit2" value=" 重 写 ">
    </td>
  </tr>
</table>
</form>
<P>&nbsp;</P>

</BODY>
</HTML>
<%
set rs=nothing
call conn_end
end if
%>

⌨️ 快捷键说明

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