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

<!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>Search Result</title>
    <link type ="text/css" rel="stylesheet" href ="../T/skin22/css/Style.css" />
    <script src="../T/skin22/js/Html.js" type="text/javascript"></script>
</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;Current Location: <a href ="enproindex.html" >All Products</a> - Search Result</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="enprodetail_<%# Eval("ID") %>.html" title="<%# Eval("EnProLongName") %>">
                                                                                    <img src='../<%# Eval("EnProBigPic") %>' onload="javascript:DrawImage(this,110,100);"
                                                                                        alt="<%# Eval("EnProLongName") %>" border="0" width="110" height="100" /></a></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="height: 28px; text-align: center">
                                                                                <a href="enprodetail_<%# Eval("ID") %>.html" title="<%# Eval("EnProLongName") %>">
                                                                                    <%# Eval("EnProShortName") %>
                                                                                </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;Current Location：<a href ="ennewindex.html">All News</a> - Search Result</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="ennewdetail_<%# Eval("ID") %>.html"><%# Eval("EnTitle") %></a></a><%# ReturnIsPic((int)Eval("EnIsPic"))%><%--(点击<font
                                                                            color="#ff0000"><%# Eval("NewRcount") %></font>)--%></td>
                                                                <td align="center" >
                                                                    <%# DataBinder.Eval(Container.DataItem,"EnAddDate","{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;Current Location：<a href ="endownindex.html">ALL Downs</a> - Search Result</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="endowndetail_<%# Eval("ID") %>.html">&nbsp;<b><%# Eval("EnDName") %></b></a></td>
                                        <td bgcolor="#F0F0F0" align="right">
                                          
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="22" bgcolor="#ffffff">
                                            &nbsp<font color="#0000FF">Update DateTime：</font><%# DataBinder.Eval(Container.DataItem,"EnAddDate","{0:yyyy/M/d}")%>&nbsp;&nbsp;<font
                                                color="#0000FF">File Size：</font><%# Eval("EnFileSize") %></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("EnDownloadUrl") %>" target="_blank"><font color="#0000FF">Down</font></a>
                                                        | <a href="endetail_<%# Eval("ID") %>.html"><font color="#0000FF">Look</font></a>&nbsp;</td>
                                                    <td align="center">
                                                        Hits：<%# Eval("EnHits") %></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="60%" height="22" bgcolor="#ffffff" colspan="2">
                                            &nbsp;<font color="#0000FF">Language ：</font><%# Eval("EnLanguage")%>&nbsp;&nbsp;<font color="#0000FF">System ：</font><%# Eval("EnDSystem")%></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="enterpriseInformationDetail">
    <div class="moduleheadler">
        <div class="moduleheadle_left">
        </div>
        <div class="moduleheadle_center">
            <span>&nbsp;Current Location：Search Result</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>
                                Search Worry!!!!
                            </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>
