<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Article_search" Codebehind="..\Article\search.aspx.vb" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=AppConst.SiteName%>·<%=ChannelName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.search-border-notop {border-left:#999999 1 solid;border-right:#999999 1 solid;border-bottom:#999999 1 solid;}
.Font14bwhite {	font-family: "宋体";
	font-size: 14px;
	font-style: normal;
	line-height: 150%;
	font-weight: bold;
	font-variant: normal;
	text-transform: none;
	color: #FFFFFF;
	text-decoration: none;
}
-->
</style>
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
</head>
<body <%If (AppConst.Truebgcolor) Then%>style="background-color:<%=AppConst.Skincolor%>"<%End If%>>
<div align="center">
<!--#include file="~/Templets/top.aspx"-->
<table style="background-color:#FFFFFF; height:85; width:786" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="bottom"><table style="width:980; margin-top:3px" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><%=CreateAd(100,3)%></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="background-color:#FFFFFF; width:786" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
        <table style="background-color:#CCCCCC; width:980"  border="0" align="center" cellpadding="3" cellspacing="1">
          <tr>
            <td style="background-color:#F9F9F9; height:22"><div align="center"><%=CreateArticleNavigation(Channel)%></div></td>
          </tr>
        </table>
        <table style="background-color:#FFFFFF; width:980" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td style="height:5"></td>
          </tr>
        </table>
        <table style="background-color:#CCCCCC; width:980" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td style="background-color:#FFFFFF; height:22"><table style="width:99%"  border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td style="width:1%"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/home.gif" /></td>
                  <td>您当前的位置: <a href="../index.html"><%=AppConst.SiteName%></a> &gt; <a href="index.aspx"><%=ChannelName%></a> &gt; <%=ChannelSortName%>搜索<div align="right"></div></td>
                </tr>
            </table></td>
          </tr>
        </table>
        <table style="background-color:#FFFFFF; width:980" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td style="height:5"></td>
          </tr>
        </table>
    </td>
  </tr>
</table>
<table style="background-color:#FFFFFF; width:786" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <table style="width:980" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td style="width:200; border:1px #e0e0e0 solid" valign="top">
            <table style="background-image:url(<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/tdbg1.gif); height:32; width:100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td style="width:5">&nbsp;</td>
                  <td style="width:30"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/allicon01.gif" width="12" height="23" /></td>
                  <td class="font14"><span class="Font14b">热门<%=ChannelSortName%></span></td>
                </tr>
            </table>
              <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td style="height:240" valign="top">
                     <%=CreateHelp(12, -1, 30)%>
                  </td>
                </tr>
              </table>
              <table style="width:100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><table style="background-image:url(<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/tdbg.gif); width:100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td style="width:40"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/icon.png" width="28" height="30" /></td>
                        <td class="Font14bwhite">最新推荐商机</td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td style="height:240" valign="top"><%=CreateInfo(False,"",10,1,18,1,false,false,true,"M/d","#999999","",130,90)%></td>
                </tr>
              </table></td>
          <td style="width:576" valign="top"><div align="right">
              <table style="width:570" border="0" cellpadding="0" cellspacing="0" class="search-border-notop">
                <tr style="background-color:<%=AppConst.Skincolor%>">
                  <td style="height:2" colspan="4"></td>
                </tr>
                <tr style="background-color:#FFffff">
                  <td style="height:6" colspan="4"></td>
                </tr>
                <tr style="background-color:#F7F7F7">
                  <form name="form1" method="get" action="search.aspx">
                    <td style="height:33; width:127"><div align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/search.jpg" width="105" height="37" /> </div></td>
                    <td style="width:198"><input name="keyword" type="text" id="keyword" size="30" value="<%=keyword%>" /></td>
                    <td style="background-color:#F7F7F7; width:120"><div align="center">
                        <select name="news">
                          <option value="0" selected="selected"><%=ChannelSortName%>标题</option>
                          <option value="1"><%=ChannelSortName%>全文</option>
                        </select>
                    </div></td>
                    <td style="background-color:#F7F7F7"><input type="submit" name="Submit" value="搜 索" /></td>
                  </form>
                </tr>
              </table>
            <table style="width:570"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td style="height:26" class="Font14b">◇[共索检到&nbsp;<font color="red"><%=rs.recordcount%></font>&nbsp;<%=GetProperty("C_itemunit")%><%=ChannelSortName%>]</td>
                </tr>
              </table>
            <table style="width:570"  border="0" cellpadding="0" cellspacing="0">
                <%If rs.EOF Then%><span>对不起，您查找的资讯暂时没有找到！</span><%End If%>
                <%Dim i=1 : Do While Not rs.EOF AndAlso i<rs.PageSize%>
                  <tr>
                    <td style="height:22"><strong>·<a href="<%=GetDetailUrl(rs("id").Value)%>" target="_blank" style="font:新宋体;font-size:14px"><%=Highlight(rs("Title").Value, keyword)%></a> </strong></td>
                    <td><div align="right"><font color="#999999">[<%=formatdatetime(rs("inputtime").Value,2)%>]</font></div></td>
                  </tr>
                  <tr>
                    <td style="height:22; color:#666666 " colspan="2"><%=Highlight(FixedLenText(DisableHtml(rs("Content").Value),180), keyword)%></td>
                  </tr>
                  <tr>
                    <td style="height:20; color:#666666 " colspan="2" >更多<%=ChannelSortName%>:<a href="index.aspx"><%=ChannelName%></a></td>
                  </tr>
                  <tr>
                    <td style="height:8" colspan="2"></td>
                  </tr>
                <%i+=1: rs.MoveNext() : Loop%>
              </table>
            <table style="width:570"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td><hr size="1" noshade="noshade"></td>
                </tr>
                <tr>
                  <td><div align="center"><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize)%></div></td>
                </tr>
              </table>
          </div></td>
        </tr>
      </table></td>
  </tr>
</table>
<table style="background-color:#FFFFFF; width:786" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="~/Templets/botton.aspx"--></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
