index.aspx
Upload User: lusr621
Upload Date: 2022-01-11
Package Size: 1001k
Code Size: 10k
Development Platform:

VBScript

  1. <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  3. <script language='javascript'>
  4.     function openPWD(i,width,height)
  5.    {
  6.       window.showModalDialog(i,"","dialogHeight: "+height+"px; dialogWidth: "+width+"px;dialogTop:px; dialogLeft:px; edge: Raised; center: Yes; help: No; resizable: No; status: No;scroll:No");
  7.    }
  8.     </script>
  9.     <table bgcolor="#746350" cellpadding="1" cellspacing="1" width="100%">
  10.         <tr>
  11.             <td bgcolor="#ffffff" style="height: 158px; text-align: left;" valign="top">
  12.                 <table cellpadding="0" cellspacing="2" height="21" width="475">
  13.                     <tr>
  14.                         <td width="223" style="height: 31px">
  15.                             <img height="31" src="images/huoyuan.GIF" width="205" /></td>
  16.                         <td class="daohangh" width="238" style="height: 31px">
  17.                             <a class="daohangh" href="freightList.aspx">更多..</a></td>
  18.                     </tr>
  19.                 </table>
  20.                 <table align="center" cellpadding="0" cellspacing="4" height="21" width="567">
  21.                     <tr>
  22.                         <td style="height: 4px; text-align: left;">
  23.                                         <asp:GridView ID="gvFreight" runat="server" Width="585px" AutoGenerateColumns="False" BorderWidth="0px" CssClass="huise1">
  24.                                             <Columns>
  25.                                                 <asp:BoundField DataField="Start" HeaderText="出发地" />
  26.                                                 <asp:BoundField DataField="Terminal" HeaderText="到达地" />
  27.                                                 <asp:BoundField DataField="FreightType" HeaderText="货物种类" />
  28.                                                 <asp:TemplateField HeaderText="重量">
  29.                                                     <ItemTemplate>
  30.                                                         <%#Eval("ID")%>
  31.                                                         <%#Eval("ID")%>
  32.                                                     </ItemTemplate>
  33.                                                 </asp:TemplateField>
  34.                                                 <asp:BoundField DataField="FBDate" DataFormatString="{0:yy-MM-dd}" HeaderText="发布日期"
  35.                                                     HtmlEncode="False" />
  36.                                                 <asp:TemplateField HeaderText="详细信息">
  37.                                                     <ItemTemplate>
  38.                                                         <a href="#" onclick='openPWD("freightInfo.aspx?ID=<%#Eval("ID")%>",500,530)'>详细信息</a>
  39.                                                     </ItemTemplate>
  40.                                                 </asp:TemplateField>
  41.                                             </Columns>
  42.                                         </asp:GridView>
  43.                         </td>
  44.                     </tr>
  45.                 </table>
  46.                 <table cellpadding="0" cellspacing="0" height="10" width="136">
  47.                     <tr>
  48.                         <td height="4">
  49.                         </td>
  50.                     </tr>
  51.                 </table>
  52.                 <table cellpadding="0" cellspacing="2" height="21" width="475">
  53.                     <tr>
  54.                         <td height="4" width="223">
  55.                             <img height="31" src="images/cheyuan.GIF" width="205" /></td>
  56.                         <td class="chengse" width="238">
  57.                             <a class="daohangh" href="truckList.aspx">更多..</a></td>
  58.                     </tr>
  59.                 </table>
  60.                 <table align="center" cellpadding="0" cellspacing="4" height="21" width="567">
  61.                     <tr>
  62.                         <td height="4" style="text-align: left">
  63.                                         <asp:GridView ID="gvTruck" runat="server" Width="587px" AutoGenerateColumns="False" BorderWidth="0px" CssClass="huise1">
  64.                                             <Columns>
  65.                                                 <asp:BoundField DataField="start" HeaderText="出发地" />
  66.                                                 <asp:BoundField DataField="Terminal" HeaderText="到达地" />
  67.                                                 <asp:BoundField DataField="TruckType" HeaderText="车型" />
  68.                                                 <asp:BoundField DataField="TruckLoad" HeaderText="载重" />
  69.                                                 <asp:BoundField DataField="FBDate" DataFormatString="{0:yy-MM-dd}" HeaderText="发布日期"
  70.                                                     HtmlEncode="False" />
  71.                                                 <asp:TemplateField HeaderText="详细信息">
  72.                                                     <ItemTemplate>
  73.                                                         <a href="#" onclick='openPWD("truckInfo.aspx?ID=<%#Eval("ID")%>",500,530)'>详细信息</a>
  74.                                                     </ItemTemplate>
  75.                                                 </asp:TemplateField>
  76.                                             </Columns>
  77.                                         </asp:GridView>
  78.                         </td>
  79.                     </tr>
  80.                 </table>
  81.                 <table cellpadding="0" cellspacing="0" height="10" width="136">
  82.                     <tr>
  83.                         <td height="4">
  84.                         </td>
  85.                     </tr>
  86.                 </table>
  87.                 <table cellpadding="0" cellspacing="2" height="21" width="475">
  88.                     <tr>
  89.                         <td height="4" width="223">
  90.                             <img height="31" src="images/zhuanxian.GIF" width="205" /></td>
  91.                         <td class="chengse" width="238">
  92.                             <a class="daohangh" href="specialList.aspx">更多..</a></td>
  93.                     </tr>
  94.                 </table>
  95.                 <table align="center" cellpadding="0" cellspacing="4" height="21" width="567">
  96.                     <tr>
  97.                         <td height="4">
  98.                                         <asp:GridView ID="gvSpecial" runat="server" Width="591px" Height="104px" AutoGenerateColumns="False" BorderWidth="0px" CssClass="huise1">
  99.                                             <Columns>
  100.                                                 <asp:BoundField DataField="start" HeaderText="出发地" />
  101.                                                 <asp:BoundField DataField="Terminal" HeaderText="到达地" />
  102.                                                 <asp:BoundField DataField="TruckType" HeaderText="车型" />
  103.                                                 <asp:BoundField DataField="specialPrice" HeaderText="专线报价" />
  104.                                                 <asp:BoundField DataField="FBDate" DataFormatString="{0:yy-MM-dd}" HeaderText="发布时间"
  105.                                                     HtmlEncode="False" />
  106.                                                 <asp:TemplateField HeaderText="详细信息">
  107.                                                     <ItemTemplate>
  108.                                                         <a href="#" onclick='openPWD("specialInfo.aspx?ID=<%#Eval("ID")%>",500,620)'>详细信息</a>
  109.                                                     </ItemTemplate>
  110.                                                 </asp:TemplateField>
  111.                                             </Columns>
  112.                                         </asp:GridView>
  113.                         </td>
  114.                     </tr>
  115.                 </table>
  116.                 <table cellpadding="0" cellspacing="0" height="10" width="136">
  117.                     <tr>
  118.                         <td height="4">
  119.                         </td>
  120.                     </tr>
  121.                 </table>
  122.                 <table cellpadding="0" cellspacing="2" height="21" width="475">
  123.                     <tr>
  124.                         <td height="4" width="223">
  125.                             <img height="31" src="images/cangchu.GIF" width="205" /></td>
  126.                         <td class="chengse" width="238">
  127.                             <a class="daohangh" href="depotList.aspx">更多..</a></td>
  128.                     </tr>
  129.                 </table>
  130.                 <table align="center" cellpadding="0" cellspacing="4" height="21" width="567">
  131.                     <tr>
  132.                         <td height="4" style="text-align: left">
  133.                                         <asp:GridView ID="gvDepot" runat="server" AutoGenerateColumns="False" Width="591px" BorderWidth="0px" CssClass="huise1">
  134.                                             <Columns>
  135.                                             
  136.                                                 <asp:BoundField DataField="DepotType" HeaderText="仓库类型" />
  137.                                                 <asp:BoundField DataField="DepotCity" HeaderText="所在城市" />
  138.                                                 <asp:BoundField DataField="DepotAcreage" HeaderText="仓库面积" />
  139.                                                 <asp:BoundField DataField="DepotPrice" HeaderText="每间价格" />
  140.                                                 <asp:BoundField DataField="FBDate" DataFormatString="{0:yy-MM-dd}" HeaderText="发布时间"
  141.                                                     HtmlEncode="False" />
  142.                                                 <asp:TemplateField HeaderText="详细信息">
  143.                                                     <ItemTemplate>
  144.                                                    
  145.                                                         <a href="#" onclick='openPWD("depotInfo.aspx?ID=<%#Eval("ID")%>",500,600)'>详细信息</a>
  146.                                                        
  147.                                                        </ItemTemplate>
  148.                                                 </asp:TemplateField>
  149.                                              
  150.                                             </Columns>
  151.                                         </asp:GridView>
  152.                         </td>
  153.                     </tr>
  154.                 </table>
  155.             </td>
  156.         </tr>
  157.     </table>
  158. </asp:Content>