<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="~/SeachResultHtml.aspx.cs" Inherits="LJCMS.SeachResultHtml" %>

<!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 runat="server">
    <title>搜索结果</title>
    <link type ="text/css" rel="stylesheet" href ="../T/skin09/css/css.css" />
</head>
<body>
    <form id="form1" runat="server">
 <% switch (seachtype)
   {
       case 1: %>
<div class="module" id="enterpriseInformationDetail">
    <div class="moduleheadler">
        <div class="moduleheadle_left">
        </div>
        <div class="moduleheadle_center">
            <span>&nbsp;当前位置: <a href ="proindex.html" >产品中心</a> - 搜索产品结果</span>
        </div>
        <div class="moduleheadle_right">
        </div>
    </div>
    <div class="modulebody">
        <div class="modulebody_left">
        </div>
        <div class="modulebody_center">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td width="26">
                        </td>
                        <td>
                            <p>
                                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" border="0"
                                    heihgt="">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <table border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                    <td>
                                                        <asp:DataList ID="rpProList" runat="server" RepeatColumns="5" RepeatDirection="Vertical">
                                                            <ItemTemplate>
                                                            <table border ="0" cellpadding ="0" cellspacing="0">
                                                                <td width="10">
                                                                </td>
                                                                <td>
                                                                    <table cellpadding="2" cellspacing="0">
                                                                        <tr>
                                                                            <td style="border: 1px solid #ccc; width: 110px; height: 100px; text-align: center;">
                                                                                <a href="prodetail_<%# Eval("ID") %>.html" title="<%# Eval("ProLongName") %>">
                                                                                    <img src='../<%# Eval("ProBigPic") %>' onload="javascript:DrawImage(this,110,100);"
                                                                                        alt="<%# Eval("ProLongName") %>" border="0" width="110" height="100" /></a></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="height: 28px; text-align: center">
                                                                                <a href="prodetail_<%# Eval("ID") %>.html" title="<%# Eval("ProLongName") %>">
                                                                                    <%# Eval("ProShortName") %>
                                                                                </a>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td width="10">
                                                                </td>
                                                                </table>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table width="98%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr height="35">
                                                        <td align="center">
                                                            <DataLayerWebControls:AspNetPager ID="prolistpager" runat="server" OnPageChanged="prolistpager_changed">
                                                            </DataLayerWebControls:AspNetPager>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </p>
                        </td>
                        <td width="26">
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="modulebody_right">
        </div>
    </div>
    <div class="modulebuttom">
    </div>
</div>
<% break;
    case 2: %>
    <div class="module" id="enterpriseInformationDetail">
    <div class="moduleheadler">
        <div class="moduleheadle_left">
        </div>
        <div class="moduleheadle_center">
            <span>&nbsp;当前位置：<a href ="newindex.html">所有新闻</a> - 新闻搜索结果</span>
        </div>
        <div class="moduleheadle_right">
        </div>
    </div>
    <div class="modulebody">
        <div class="modulebody_left">
        </div>
        <div class="modulebody_center">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td width="26">
                        </td>
                        <td>
                            <p>
                                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" border="0"
                                    heihgt="">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <table width="98%" border="0" cellspacing="0" cellpadding="0">
                                                   
                                                    <asp:Repeater ID="rpNewList" runat="server">
                                                        <ItemTemplate>
                                                            <tr height="28">
                                                                <td >
                                                                    &nbsp;&nbsp;&nbsp;<a
                                                                        href="newdetail_<%# Eval("ID") %>.html"><%# Eval("Title") %></a></a><%# ReturnIsPic((int)Eval("IsPic"))%><%--(点击<font
                                                                            color="#ff0000"><%# Eval("NewRcount") %></font>)--%></td>
                                                                <td align="center">
                                                                    <%# DataBinder.Eval(Container.DataItem,"AddDate","{0:yyyy/M/d}")%>
                                                                </td>
                                                            </tr>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </table>
                                                <table width="98%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr height="35">
                                                        <td align="center">
                                                            <DataLayerWebControls:AspNetPager ID="newlistpager" runat="server" OnPageChanged="newlistpager_Changed">
                                                            </DataLayerWebControls:AspNetPager>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </p>
                        </td>
                        <td width="26">
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="modulebody_right">
        </div>
    </div>
    <div class="modulebuttom">
    </div>
</div>
       <% break;
      case 3: %>
      <div class="module" id="enterpriseInformationDetail">
    <div class="moduleheadler">
        <div class="moduleheadle_left">
        </div>
        <div class="moduleheadle_center">
            <span>&nbsp;当前位置：<a href ="downindex.html">所有下载</a> - 下载搜索结果</span>
        </div>
        <div class="moduleheadle_right">
        </div>
    </div>
    <div class="modulebody">
        <div class="modulebody_left">
        </div>
        <div class="modulebody_center">
        
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
               
                <tr>
                <td width="10px">
                
                </td>
                    <td height="1" >
                        <asp:Repeater ID="rpDownList" runat="server">
                            <ItemTemplate>
                                <table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#b8b8b8">
                                    <tr>
                                        <td width="60%" height="22" bgcolor="#F0F0F0">
                                            <a href="downdetail_<%# Eval("ID") %>.html">&nbsp;<b><%# Eval("DName") %></b></a></td>
                                        <td bgcolor="#F0F0F0" align="right">
                                          
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="22" bgcolor="#ffffff">
                                            &nbsp<font color="#0000FF">整理日期：</font><%# DataBinder.Eval(Container.DataItem,"AddDate","{0:yyyy/M/d}")%>&nbsp;&nbsp;<font
                                                color="#0000FF">文件大小：</font><%# Eval("FileSize") %></td>
                                        <td height="22" bgcolor="#ffffff">
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
                                                <tr>
                                                    <td width="40%" height="22">
                                                        &nbsp<a href="<%# Eval("DownloadUrl") %>" target="_blank"><font color="#0000FF">下载</font></a>
                                                        | <a href="downdetail_<%# Eval("ID") %>.html"><font color="#0000FF">查看</font></a>&nbsp;</td>
                                                    <td align="center">
                                                        点击数：<%# Eval("Hits") %></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="60%" height="22" bgcolor="#ffffff" colspan="2">
                                            &nbsp;<font color="#0000FF">软件语言：</font><%# Eval("Language")%>&nbsp;&nbsp;<font color="#0000FF">运行环境：</font><%# Eval("DSystem")%></td>
                                    </tr>
                                    <tr>
                                        <td height="1" colspan="2" bgcolor="#CCCCCC">
                                        </td>
                                    </tr>
                                </table>
                                <br>
                            </ItemTemplate>
                        </asp:Repeater>
                    </td>
                    <td width="10px">
                
                </td>
                </tr>
                <tr>
                <td width="10px">
                
                </td>
                    <td height="1" >
                        <table align='center'>
                            <tr>
                                <td>
                                    <DataLayerWebControls:AspNetPager ID="downlistpager" runat="server" OnPageChanged="downlistpager_PageChanged">
                                    </DataLayerWebControls:AspNetPager>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="10px">
                
                </td>
                </tr>
            </table>
        </div>
        <div class="modulebody_right">
        </div>
    </div>
    <div class="modulebuttom">
    </div>
</div>

       <% break;
      default: %>
      <div class="module" id="Div3">
    <div class="moduleheadler">
        <div class="moduleheadle_left">
        </div>
        <div class="moduleheadle_center">
            <span>&nbsp;当前位置：搜索结果</span>
        </div>
        <div class="moduleheadle_right">
        </div>
    </div>
    <div class="modulebody">
        <div class="modulebody_left">
        </div>
        <div class="modulebody_center">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tbody>
                    <tr>
                        <td width="26">
                        </td>
                        <td>
                            <p>
                                搜索有误!!!!
                            </p>
                        </td>
                        <td width="26">
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="modulebody_right">
        </div>
    </div>
    <div class="modulebuttom">
    </div>
</div>

       <% break;
  } %>
    </form>
</body>
</html>
