<%--<%@ OutputCache Duration="360" VaryByParam="wd;pn;c;t" %>--%>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="ETongJin.Search.S._default" %>
<!DOCTYPE html>
<!--STATUS OK-->
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><%=ViewData["query"]%>_ 源码行业搜索结果_<%=config.SiteName%></title>
<meta name="description" content="关键词：<%=ViewData["query"] %>，的相关搜索结果。" />
<meta name="keywords" content="<%=ViewData["query"] %>、<%=config.KeyWords %>" />
<link href="../Content/css/liststyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript"  src="../Scripts/tools.js"></script>
<%if (Convert.ToInt32(HttpContext.Current.Request.Params["pn"]) != 0) Response.Write("<meta name=\"robots\" content=\"noindex,follow\"/>");
int c; //当前类别id
if (!int.TryParse(Request["c"], out c)) c = 0; %>
<script type="text/javascript"> 
function  closeErrors(){ return   true; }   
window.onerror=closeErrors;   
var  cid=<%=c %>;
function bq(form){
if(form.wd.value.length>99)
{alert("您输入的关键词太长，请精简一下");}
else
{form.wd.value = '<%=ViewData["query"]%> ' + form.wd.value;
form.submit();}}
if (top.location != self.location){top.location = self.location}
function ss(w){window.status=w;return true;}
function cs(){window.status='';}
 
function sym(id){
var key =document.getElementById('kw').value;
if(id==0)document.location='/s/?wd='+key;
else document.location='/s/?wd='+key+"&c="+id;
return false ;
} 
function symt(days)
{
var url ="/s/?wd="+document.getElementById('kw').value ;
url +="&t="+days ;
if(cid!=0) url +="&c="+cid ;
document.location =url;
}
</script>
</head>
<body>
<div id="out">
  <div id="in">
    <div id="wrapper">
      <p id="u"><a href="/TuiGuang/Login.aspx" target="_blank">推广登录</a></p>
      <div id="head">
        <div class="nv"><a href="/" class="logo"><img src="../content/logo2.png" alt="不谬网，真不错！" /></a>
          <div class="form">
            <form id="f" name="f" action="/s/" method="get" class="fm">
              <%if (c != 0) Response.Write("<input type=\"hidden\" name=\"c\" value=\"" + c.ToString() + "\">"); %>
              <input name="wd" id="kw" value="<%=ViewData["query"] %>" maxlength="100" class="i" autocomplete="off" />
              <span class="btn_wr">
              <input type="submit" id="su" value="搜一下" class="btn" onMouseDown="this.className='btn btn_h'" onMouseOut="this.className='btn'"/>
              </span><span id="sx">手写输入</span><sup><font color="#FF0000">New!</font></sup>
            </form>
          </div>
        </div>
      </div>
      <div class="main">
        <div id="tooldis" class="" title="隐藏/显示左栏导航" style="position:absolute;left:150px;cursor:pointer;"><img id="toolsImg" src="../content/images/hidden_leftbar.gif"/></div>
        <div id="lefttool" class="leftbar">
          <ul class="select_type">
            <li class="active"><span class="arrow"></span>搜索筛选</li>
            <%if (c != 0)
			{Response.Write("<li><a id=\"c_0\" onclick=\"return sym(0);\" href=\"javascript:;\" class=\"blue15px\">" + config.SearchAllText + "</a></li>");
			}else{
				Response.Write("<li><b class=\"blue15px\">" + config.SearchAllText + "</b></li>");
			}			
			foreach (int k in CategoryList.Keys)
			{if (c == k)
					Response.Write("<li><b class=\"blue15px\">" + CategoryList[k] + "</b></li>");
				else
					Response.Write("<li><a onclick=\"return sym(" + k.ToString() + ");\" href=\"#\" class=\"blue15px\">" + CategoryList[k] + "</a></li>");}%>
            <li class="active"><span class="arrow"></span>按时间搜索</li>
            <li><a href="#" onclick="return symt(1);" class="blue15px">一天内</a></li>
            <li><a href="#" onclick="return symt(7);" class="blue15px">一周内</a></li>
            <li><a href="#" onclick="return symt(30);" class="blue15px">一月内</a></li>
            <li><a href="#" onclick="return symt(360);" class="blue15px">一年内</a></li>
            <li class="active"><span class="arrow"></span>其他链接</li>
            <li><a href="http://www.etongjin.com" target="_blank" class="blue15px">不谬返利网</a></li>
            <li><a href="http://www.etongjin.com" target="_blank" class="blue15px">E桶金官方站点</a></li>
            <li><a href="http://www.12ym.com" target="_blank" class="blue15px">源码交易</a></li>
            <li><a href="http://www.chasfz.com/sfz/" target="_blank" class="blue15px">身份证照片查询</a></li>
          </ul>
        </div>
        <script language="javascript">ToolsInit();</script>
        <div class="rightbar">
          <%foreach (System.Data.DataRow item in ((System.Data.DataTable)ViewData["right"]).Rows)
                     {%>
          <div class="adright">
            <%if (item["adtype"].ToString() == "1") Response.Write(item["contents"].ToString());
						  else
						  {%>
            <a onmouseout="cs()" onmouseover="return ss('链接至 <%=item["url"]%>')" target="_blank" href="<%=item["gourl"]%>"><font size="3"> <%=item["title"]%></font> </a> <br />
            <a style="text-decoration:none;" target="_blank" href="<%=item["gourl"]%>"><font size="-1"><font color="#000000"> <%=item["contents"]%></font><br />
            <font color="#008000"> <%=item["url"]%></font></font></a></div>
          <%}
                     } %>
          <div class="adright"> <a onmouseout="cs()" onmouseover="return ss('链接至 so.12ym.com')" target="_blank" href="http://so.12ym.com/"> <font size="3">最专业的源码交易搜索引擎</font> </a> <br />
            <a style="text-decoration: none;" target="_blank" href="http://so.12ym.com/"><font size="-1" color="#000000">搜源码交易信息最方便！要俩源码，符合中国人习惯的源码交易搜索引擎。</font><br />
            <font size="-1" color="#008000">so.12ym.com</font></a> </div>
        </div>
        <div class="content">
          <div class="result">
            <div class="result_msg"><span class="seth" style="float:right"><a id="st" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.bumiu.cn');" href="#">把不谬网设为主页</a></span><span class="l"><%=ViewData["summary"]%></span></div>
            <div class="clearstyle"></div>
            <% if (!string.IsNullOrEmpty(ViewData["baibao"].ToString())){%>
            <!--显示百宝箱-->
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td class=f><%Response.Write(ViewData["baibao"].ToString());%></td>
              </tr>
            </table>
            <br>
            <div class="clearstyle"></div>
            <!--end-->
            <%}%>
            <%foreach (System.Data.DataRow item in ((System.Data.DataTable)ViewData["top"]).Rows)
                  {%>
            <table cellspacing="0" cellpadding="0" border="0">
              <tbody>
                <tr>
                  <td class="f"><% if (item["adtype"].ToString() == "1") Response.Write(item["contents"].ToString());
                          else
						  {%>
                    <a target="_blank" href="<%=item["gourl"]%>" onmouseout="cs()" onmouseover="return ss('链接至 <%=item["url"]%>')"><font size="3"><%=item["title"]%></font></a><br />
                    <font size="-1"><%=item["contents"]%><br />
                    <font color="#008000"><%=item["url"]%> <%=item["addtime"].ToString().Split(' ')[0]%> - <a href="/TuiGuang" target="_blank" class="m">推广</a></font></font>
                    <%}%>
                  </td>
                </tr>
              </tbody>
            </table>
            <br />
            <%}%>
            <% System.Data.DataTable xnl = (System.Data.DataTable)ViewData["results"];
                   if (xnl.Rows.Count == 0)
                   {
                       Response.Write(" <div class=\"p\">");
                       Response.Write("抱歉,没有找到相关结果! (小技巧,如果您搜索多个关键词,请试着将关键词用空格符分开再试试)<br/><br/>您也可以：<a href=\"http://www.bumiu.cn/ju?wd=" + ViewData["query"] + "\" target=\"_blank\">搜索一下网页信息</a>");
                       Response.Write("</div>");
                   }else{
                       foreach (System.Data.DataRow item in xnl.Rows)
                       {
                           string itemTitle = item["title"].ToString();
                           if (!string.IsNullOrEmpty(itemTitle)) itemTitle += "<br/>";%>
            <table cellspacing="0" cellpadding="0" border="0">
              <tbody>
                <tr>
                  <td><a target="_blank" href="<%=item["url"]%>"><font size="3"><%=itemTitle%></font></a><font size="-1"> <%=item["content"]%><br />
                    <font color="#008000"><%=ETongJin.Common.StringOperate.CutString(item["url"].ToString(), 50, "...")%> <%=item["date"]%>
                    <%if (item["snap"].ToString() != "")
                       Response.Write("- <a href=\"" + item["snap"].ToString() + "\"  target=\"_blank\"  class=\"m\">网页快照</a>"); %>
                    </font></font></td>
                </tr>
              </tbody>
            </table>
            <br />
            <%}
			  }%>
            <%foreach (System.Data.DataRow item in ((System.Data.DataTable)ViewData["bottom"]).Rows)
                  {%>
            <table cellspacing="0" cellpadding="0" border="0">
              <tbody>
                <tr>
                  <td class="f"><% if (item["adtype"].ToString() == "1") Response.Write(item["contents"].ToString());
                             else{%>
                    <a target="_blank" href="<%=item["gourl"]%>" onmouseout="cs()" onmouseover="return ss('链接至 <%=item["url"]%>')"> <font size="3"><%=item["title"]%></font></a><br />
                    <font size="-1"><%=item["contents"]%><br />
                    <font color="#008000"><%=item["url"]%> <%=item["addtime"].ToString().Split(' ')[0]%> - <a href="http://www.12ym.com" target="_blank" class="m">推广</a></font></font>
                    <%} %>
                  </td>
                </tr>
              </tbody>
            </table>
            <%}%>
          </div>
          <p id="page">
            <script type="text/javascript"><%foreach (System.Data.DataRow item in ((System.Data.DataTable)ViewData["pageing"]).Rows){%>
		 <%=ETongJin.Search.Ju.Tools.HtmlToJs(item["html"].ToString())%>
		  <%}%></script>
          </p>
        </div>
      </div>
      <%System.Data.DataTable dt = (System.Data.DataTable)ViewData["about"];
	  if (dt != null && dt.Rows.Count > 0)
	  {%>
      <div id="rs"><strong class="oDt">相关搜索:</strong>
        <table cellpadding="0">
          <%for (int i = 0; i < dt.Rows.Count; i++)
		   {
			   if (i == 0 || i == 5)
				   Response.Write("<tr>");
			   Response.Write(string.Format("<th><a href=\"/s/?wd={0}\">{1}</a></th>"
					   , HttpUtility.UrlEncode(dt.Rows[i]["wd"].ToString(), Encoding.Default), dt.Rows[i]["wd"].ToString()));
			   if (i != 4 && i != 10)
				   Response.Write("<td></td>");
			   if (i == 4 || i == 9)
				   Response.Write("</tr>");
		   }%>
        </table>
      </div>
      <%}
	  if (((int)ViewData["total"]) > 0)
	  {%>
      <div id="search">
        <form name="f2" action="/s/" >
          <input name="wd" value="<%=ViewData["query"] %>" maxlength="100" class="i">
          <%if (c != 0) Response.Write("<input type=\"hidden\" name=\"c\" value=\"" + c.ToString() + "\">"); %>
          <span class="btn_wr">
          <input type="submit" value="搜一下" class="btn" onMouseOut="this.className='btn'" onMouseDown="this.className='btn btn_h'">
          </span>&nbsp;&nbsp;&nbsp;<a href="#" onClick="bq(document.forms['f2'])">结果中找</a>&nbsp;&nbsp;&nbsp;<a href="http://www.bumiu.com" target="_blank">不谬返利网</a>&nbsp;&nbsp;&nbsp;<a href="http://www.bumiu.com/p/miumiu/" target="_blank">miumiu包</a>&nbsp;&nbsp;&nbsp;<a href="http://www.bumiu.com/p/tejiabaobao/" target="_blank">特价包包</a>
        </form>
      </div>
      <%}%>
      <div id="foot"> <%=config.CopyRight%> <%=config.Ver%><span>此内容系E桶金根据您的指令自动搜索的结果，不代表E桶金赞成被搜索网站的内容或立场</span></div>
    </div>
  </div>
</div>
<script type="text/javascript">
var cookieString = new String(document.cookie)
var cookieHeader = "sideoff=true"
var beginPosition = cookieString.indexOf(cookieHeader);
if (beginPosition != -1) DisTools();
var w=window,d=document,n=navigator,k=d.f.wd;if(n.userAgent.indexOf("MSIE")==-1||window.opera){d.getElementById("st").style.display="none"};if(n.cookieEnabled&&!/sug?=0/.test(d.cookie)){d.write('<script src=<%=config.AutoBaidu?"http://www.baidu.com/js":"/scripts" %>/bdsug.js?v=1.0.3.0><\/script>')};if(w.attachEvent){w.attachEvent("onload",function(){k.focus();})}else{w.addEventListener('load',function(){k.focus()},true)};w.onunload=function(){};var hw={};hw.i=d.getElementById("sx");var il=false;if(/msie (\d+\.\d)/i.test(n.userAgent)){hw.i.setAttribute("unselectable","on")}else{var sL=k.value.length;k.selectionStart=sL;k.selectionEnd=sL}hw.i.onclick=function(B){var B=B||w.event;B.stopPropagation?B.stopPropagation():(B.cancelBubble=true);if(d.selection&&d.activeElement.id&&d.activeElement.id=="kw"){hw.hasF=1}else{if(!d.selection){hw.hasF=1}}if(!il){var A=d.createElement("script");A.setAttribute("src","http://www.baidu.com/hw/hwInput.js");d.getElementsByTagName("head")[0].appendChild(A);il=true;setTimeout(function(){if(baidu){baidu.sug.initial()}},1000)}};</script>
</body>
</html>
<%=config.Statistics%>