Controls/Left.ascx

(完整代码) 1KB

<%@ Control Language="C#" %>

    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:15px;">
        <tr>
          <td align="center">
    <script type="text/javascript">
      function search()
      {
      if(document.getElementById("txtkey").value!="")
        window.location.href = "productlist.aspx?key="+encodeURIComponent(document.getElementById("txtkey").value);//encodeURI
      else
        document.getElementById("txtkey").focus();
      }
      </script>
                输入关键字:<input type="text" name="txtkey" id="txtkey" style=" height:18px; width:90px;border:#ccc solid 1px; background:#f8fef4;" value="<%=Request["key"] %>" />
              <img src="images/sea_bt.gif" style="cursor:pointer;" align="absmiddle" onclick="search()" />
          </td>
        </tr>
      </table>

<table width="250" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px;">
      <tr>
        <td><img src="images/cpzs.jpg" width="250" height="42" border="0" /></td>
      </tr>
      <tr>
      <td style="border-left:#ccc solid 1px;border-right:#ccc solid 1px;">
<%
    System.Data.DataTable dt = DB.getDataTable("select * from ProductClass");
    for (int i = 0; i < dt.Rows.Count; i++)
{
 %>
    <div style="text-align:left;width:100%; float:left;padding-top:10px; height:25px; border-bottom:solid 1px #ccc;">
        <div style="float:left;padding-left:40px; font-size:14px;">
            <img src="images/arrow.gif" align="absmiddle" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="productlist.aspx?classid=<%=Server.UrlEncode(dt.Rows[i]["ProductClassName"].ToString()) %>"><font color="#db0000"><%=dt.Rows[i]["ProductClassName"]%></font></a>
        </div>
    </div>
    <%} %>
      </td>
      </tr>
    </table>
    

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。