<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="ETongJin.Search.Ju.ImgSearch" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<%if (Convert.ToInt32(HttpContext.Current.Request.Params["pn"]) != 0) Response.Write("<meta name=\"robots\" content=\"noindex,follow\"/>");%>
<title><%=ViewData["query"] %>_ 图片搜索结果_<%=config.SiteName %></title>
<meta name="description" content="关键词：<%=ViewData["query"] %>，的相关图片搜索结果。" />
<meta name="keywords" content="<%=ViewData["query"] %>、<%=config.KeyWords %>" />
<link href="../Content/css/pic.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"> 
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='';}
</script>
<script type="text/javascript">
function closeErrors() { return true; }
window.onerror = closeErrors;
function sc(b) {
	var txtword = document.getElementById("kw");
	document.location = "/ju/?wd=" + txtword.value; ;
}
</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 id="logo" src="../content/logo2.png" alt="不谬网，真不错！" /></a>
          <div class="tab"><a id="c_1" onClick="return sc(1);" href="#">网&nbsp;页</a>　<b>图&nbsp;片</b></div>
        </div>
        <form id="f" name="f" action="/I/"  class="fm">
          <input name="wd" id="kw" value="<%=ViewData["query"] %>" maxlength="100" baidusug="1" class="i">
          <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><span class="seth"><a id="st" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.bumiu.cn');" href="#">把不谬网设为主页</a></span>
        </form>
      </div>
      <div id="source"><span class="ins"><b><%=ViewData["query"] %></b> 的搜索结果，获得约 <em><%=ViewData["count"] %></em> 条相关结果，用时<%=ViewData["seconds"] %>秒 </span><a id="st" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.bumiu.cn');" href="#" style="color:#000000">把不谬网设为主页</a></div>
      <div id="imgid" style="display:block;">
        <%ETongJin.Search.Ju.SearchResult result = (ETongJin.Search.Ju.SearchResult)ViewData["results"];
            if (result == null || result.Result.Count == 0)
            {
                Response.Write(" <div class=\"p\">");
                Response.Write("抱歉,没有找到相关结果! (小技巧,如果您搜索多个关键词,请试着将关键词用空格符分开再试试)<br/><br/></a>");
                Response.Write("</div>");
            }
            else
            {
                foreach (string keyurl in result.Result.Keys)
                {
                    ETongJin.Search.Ju.SearchItem item = result.Result[keyurl];
        %>
        <dl>
          <dd>
            <div> <a target="_blank" href="<%=item.Cache %> "> <img src="get.aspx?url=<%=Server.UrlEncode(keyurl)%>" /></a></div>
          </dd>
          <dt><font size="1"> <%=item.Desc%> </font> <br />
            <a target="_blank" href="<%=item.Cache %> "> <%=item.Title%></a> </dt>
        </dl>
        <%}
    }%>
      </div>
      <div style="clear:both;" />
      <div id="pgw">
        <script type="text/javascript"><%=ViewData["pageing"]%></script>
      </div>
      <div id="relsearch">
        <label class="hl">
        <script type="text/javascript" src="//www.google.com/jsapi"></script>
        <script type="text/javascript">
  google.load('search', '1');
  google.setOnLoadCallback(function() {
    google.search.CustomSearchControl.attachAutoCompletion(
      'partner-pub-8592953480934675:i5lub4dfmyo',
      document.getElementById('q'),
      'cse-search-box');
  });
</script>
        <form action="http://www.google.com.hk/cse" id="cse-search-box" target="_blank" class="fm">
          <input type="hidden" name="cx" value="partner-pub-8592953480934675:i5lub4dfmyo" />
          <input type="hidden" name="ie" value="GB2312" />
          <input type="text" name="q" id="q" autocomplete="off" class="i" />
          <span class="btn_wr">
          <input type="submit" name="sa" value="&#x641c; &#x7d22;" class="btn" onMouseDown="this.className='btn btn_h'" onMouseOut="this.className='btn'" />
          </span>
        </form>
        <script type="text/javascript" src="//www.google.com/jsapi"></script>
        <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
        <script type="text/javascript" src="//www.google.cn/cse/t13n?form=cse-search-box&amp;t13n_langs=zh"></script>
        <script type="text/javascript" src="//www.google.cn/cse/brand?form=cse-search-box&amp;lang=zh-Hans"></script>
        </label>
      </div>
      <div id="foot"> <%=config.CopyRight %><%=config.Ver %> <span>此内容系E桶金根据您的指令自动搜索的结果，不代表E桶金赞成被搜索网站的内容或立场</span></div>
    </div>
  </div>
</div>
<script type="text/javascript">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=http://www.baidu.com/js/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 %>