<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_Adv_sitydy" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" /><link href="inc/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.lh15 {LINE-HEIGHT: 150%
}
-->
</style>
</head>
<body>
<table style="height:165; width:350"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="height:22"><div align="center"><strong><%=ers("S_sortname").Value%> 调用代码：</strong></div></td>
  </tr>
  <tr>
    <td>==横排代码==</td>
  </tr>
  <tr>
    <td><div align="center">
      <textarea name="code" cols="46" rows="3" id="code" onfocus="this.select()" onmouseover="this.focus()"><script type="Text/JavaScript" src="/TagJS.aspx?t=CreateAd(<%=ers("id").Value%>%2C<%=ers("S_num").Value%>)"></script></textarea>
    </div></td>
  </tr>
  <tr>
    <td style="height:15">==竖排代码==</td>
  </tr>
  <tr>
    <td style="height:15"><div align="center"><textarea name="code" cols="46" rows="3" id="Textarea2" onfocus="this.select()" onmouseover="this.focus()"><script type="Text/JavaScript" src="/TagJS.aspx?t=CreateAd(<%=ers("id").Value%>%2C1)"></script></textarea></div></td>
  </tr>
  <tr>
    <td style="height:15">==双行代码==</td>
  </tr>
  <tr>
    <td style="height:15"><div align="center"><textarea name="code" cols="46" rows="3" id="Textarea1" onfocus="this.select()" onmouseover="this.focus()"><script type="Text/JavaScript" src="/TagJS.aspx?t=CreateAd(<%=ers("id").Value%>%2C<%=CInt(Math.Ceiling(ers("S_num").Value / 2.0))%>)"></script></textarea></div></td>
  </tr>
  <tr>
    <td style="height:15">==双列代码==</td>
  </tr>
  <tr>
    <td style="height:15"><div align="center"><textarea name="code" cols="46" rows="3" id="Textarea3" onfocus="this.select()" onmouseover="this.focus()"><script type="Text/JavaScript" src="/TagJS.aspx?t=CreateAd(<%=ers("id").Value%>%2C2)"></script></textarea></div></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>