📄 search.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="search" %>
<%@ Register Src="UserControl/Control_foot.ascx" TagName="Control_foot" TagPrefix="uc2" %>
<%@ Register Src="UserControl/Control_left.ascx" TagName="Control_left" TagPrefix="uc1" %>
<%Response.Buffer = true; Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1); Response.Expires = 0; Response.CacheControl = "no-cache";%>
<!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 id="Head1" runat="server">
<link rel="shortcut icon" href="/MovieShow/Images/Real-doc.ico" type="image/x-icon" />
<title>MovieShow--电影查询</title>
<script type="text/javascript">
function login_onclick()
{
if(document.getElementById("<%=txtid.ClientID %>").value=="")
{
alert("请输入您的用户名...!");
event.returnValue=false;
return false;
}
else if(document.getElementById("<%=txtpwd.ClientID %>").value=="")
{
alert("请输入您的密码...!");
event.returnValue=false;
return false;
}
}
function setpageto(pageIndex)
{
var context=listDIV;
// context.innerHTML="<IMG SRC='/MovieShow/Images/loading.gif'/>Loading....";
var arg="pageChange|"+pageIndex;
<%= ClientScript.GetCallbackEventReference(this, "arg", "CallServerComplete", "context")%>;
}
function CallServerComplete(result,context)
{
context.innerHTML=result;
}
function setpageto1(control)
{
var context=listDIV;
// context.innerHTML="<IMG SRC='/MovieShow/Images/loading.gif'/>Loading....";
var num=parseInt(control.value)-1;
var arg="pageChange|"+num.toString();
<%= ClientScript.GetCallbackEventReference(this, "arg", "CallServerComplete1", "context")%>;
}
function CallServerComplete1(result,context)
{
context.innerHTML=result;
}
function getResult()
{
var txt1=document.getElementById("TextBox1").value;
var txt2=document.getElementById("TextBox2").value;
var txt3=document.getElementById("TextBox3").value;
var txt4=document.getElementById("TextBox4").value;
var context=listDIV;
context.innerHTML="<IMG SRC='/MovieShow/Images/loading.gif'/>Loading....";
var arg="filmResult|0"+"|"+txt1+"|"+txt2+"|"+txt3+"|"+txt4;
<%= ClientScript.GetCallbackEventReference(this, "arg", "CallServerComplete2", "context")%>;
}
function CallServerComplete2(result,context)
{
context.innerHTML=result;
}
</script>
<style type="text/css">
<!--
#Layer1 {
position:static;
width:1000px;
height:223px;
background-image: url(/MovieShow/Images/MovieShow_main_head.jpg);
}
#Layer2 {
position:absolute;
width:820px;
height:150px;
}
-->
</style>
</head>
<body>
<form id="form1" runat="server">
<div style="z-index: 100; left: 0px; width: 1000px; position: absolute; top: 0px;
height: 1px"><div id="Layer1" style="left: 0px; top: 0px">
<div id="div2" runat="server" style="z-index: 104; background-image:url(/MovieShow/Images/MovieShow_main_Head1.jpg); left: 0px; width: 176px; position: absolute; top: 0px;
height: 200px" visible="false"><asp:LinkButton ID="Linkout" runat="server" Font-Bold="True" Font-Names="Algerian"
Font-Size="Small" Style="z-index: 100; left: 45px; position: absolute; top: 159px" OnClick="Linkout_Click">[Logout]</asp:LinkButton>
<asp:HyperLink ID="Link" runat="server" Font-Bold="True" Font-Size="Medium" Style="z-index: 101; left: 60px; position: absolute;
top: 75px" Height="16px">[Link]</asp:HyperLink>
<asp:HyperLink ID="LinkRole" Font-Bold="true" Font-Size="Medium" runat="server" Style="z-index: 102; left: 60px; position: absolute;
top: 100px">[Link]</asp:HyperLink>
<img src="Images/king.jpg" style="position: absolute; z-index: 103; left: 44px; top: 56px;" /></div>
</div>
<div style=" left: 56px; width: 112px; position: relative; top: -109px; height: 48px; z-index: 101;">
<span id="span1">
<asp:TextBox ID="txtpwd" runat="server" Style="left: 0px; position: relative;
top: 24px" Height="13px" Width="88px" TextMode="Password" ></asp:TextBox><br />
<asp:TextBox ID="txtid" runat="server" Style="left: 0px; position: relative;
top: -18px" Height="13px" Width="88px"></asp:TextBox>
</span>
</div>
<div id="Layer2" style="left: 176px; top: 53px; z-index: 102;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="820" height="150">
<param name="movie" value="/MovieShow/Navigation/navigation.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="/MovieShow/Navigation/navigation.swf" width="820" height="150" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<div style="width: 88px; position: absolute; height: 48px; left: 8px; top: 64px; z-index: 103;" id="DIV1" >
<asp:ImageButton runat="server" ID="login" Style="position: absolute" ImageUrl="~/Images/btn_login.jpg" OnClick="login_Click" OnClientClick="login_onclick();" />
<asp:ImageButton ID="register" runat="server" Style="left: 0px; position: absolute;
top: 24px" ImageUrl="~/Images/regist.jpg" OnClick="register_Click" /></div>
</div>
<div style="z-index: 101; left: 0px; width: 100px; position: absolute; top: 222px;
height: 100px">
<uc1:Control_left ID="Control_left1" runat="server" />
</div>
<div style=" background-image :url(/MovieShow/Images/MovieShow_main_body_list.jpg); z-index: 103; left: 170px; width: 830px; position: absolute; top: 222px;
height:808px">
<div style="z-index: 103; left: 4px; width: 800px; position: absolute; top: 56px;
height: 180px">
<asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 100;
left: 8px; position: absolute; top: 88px" Text="导演名称:"></asp:Label>
<asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 101;
left: 8px; position: absolute; top: 52px" Text="主演名称:"></asp:Label>
<asp:Label ID="Label9" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 102;
left: 8px; position: absolute; top: 12px" Text="电影名称:"></asp:Label>
<asp:Label ID="Label10" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 103;
left: 8px; position: absolute; top: 124px" Text="出品时间:"></asp:Label>
<asp:Label ID="Label11" runat="server" Font-Bold="True" Font-Size="Small" Style="z-index: 104;
left: 8px; position: absolute; top: 160px" Text="组合查找(任选一或四项):"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server" Height="15px" Style="z-index: 105; left: 84px;
position: absolute; top: 8px" Width="180px"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server" Height="15px" Style="z-index: 106; left: 84px;
position: absolute; top: 48px" Width="180px"></asp:TextBox>
<asp:TextBox ID="TextBox3" runat="server" Height="15px" Style="z-index: 107; left: 84px;
position: absolute; top: 84px" Width="180px"></asp:TextBox>
<asp:TextBox ID="TextBox4" runat="server" Height="15px" Style="z-index: 108; left: 84px;
position: absolute; top: 120px" Width="180px"></asp:TextBox>
<asp:ImageButton ID="ImageButton1" runat="server" Height="20px" ImageUrl="~/Images/SrchBtn_Over.gif"
Style="z-index: 109; left: 204px; position: absolute; top: 156px" Width="24px" CommandArgument="1" />
</div>
<div id="listDIV" style="z-index: 102; left: 4px; width: 764px; position: relative; top: 224px; height: 72px">
<asp:DataList ID="DataList1" runat="server" Style="position: static" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Size="12pt" Font-Strikeout="False" Font-Underline="False" RepeatColumns="3" RepeatDirection="Horizontal" ShowHeader="False" Width="812px" CellPadding="0" Height="184px" EnableViewState="False" OnItemDataBound="DataList1_ItemDataBound">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" style=" width: 101%;position: static; height: 105%; font-size: 11px;">
<tr>
<td style="width : 101px; height: 5px;">
<br />
<br />
<asp:HyperLink ID="HyperLink1" runat="server" Height="152px"
Style="position: static" Width="112px" ImageUrl='<%# "/"+ DataBinder.Eval(Container.DataItem,"FilmImageURLS") %>' NavigateUrl='<%# "FilmDetails.aspx?FilmID="+DataBinder.Eval(Container.DataItem,"FilmID") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem,"FilmName") %>'>HyperLink</asp:HyperLink></td>
<td style="width: 231px; height: 5px; color: #ff9900;">
<br />
<br />
<br />
名称:<asp:Label ID="Label1" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmName") %>' ForeColor="DimGray"></asp:Label><br />
导演:<asp:Label ID="Label2" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmDirector") %>' ForeColor="DimGray"></asp:Label><br />
主演:<asp:Label ID="Label3" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmActor") %>' ForeColor="DimGray"></asp:Label><br />
地区:<asp:Label ID="Label4" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmRegion") %>' ForeColor="DimGray"></asp:Label><br />
类型:<asp:Label ID="Label6" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmCategory") %>' ForeColor="DimGray"></asp:Label><br />
官方网站:<asp:HyperLink ID="HyperLink2" runat="server" Height="1px" ImageUrl="~/Images/url.gif"
NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"FilmWeb") %>' Style="position: static"
ToolTip='<%# DataBinder.Eval(Container.DataItem,"FilmName") %>' Width="12px">HyperLink</asp:HyperLink><br />
上映时间:<br />
<asp:Label ID="Label5" runat="server" Style="position: static" Text='<%# DataBinder.Eval(Container.DataItem,"FilmTime") %>' ForeColor="DimGray"></asp:Label></td>
</tr>
</table>
</ItemTemplate>
<FooterTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="width: 584px; position: static;
height: 24px; font-size: 12px; color: #ff9900; vertical-align: middle;">
<tr>
<td style="width: 132px; height: 22px">
<asp:ImageButton ID="linkpre" runat="server" ImageUrl="~/Images/prev.gif"
Style="position: static" CommandArgument="pre" />
<asp:ImageButton ID="linknext" runat="server" ImageUrl="~/Images/next.gif" Style="position: static" CommandArgument="next" /></td>
<td style="height: 22px"> 当前页:
<asp:Label ID="now" runat="server" Font-Size="Small" ForeColor="Black" Style="position: static"></asp:Label>
/ 总页数:
<asp:Label
ID="all" runat="server" Font-Size="Small" ForeColor="Black" Style="position: static"></asp:Label>
跳到:
<asp:DropDownList ID="DropDownList1" runat="server" Style="position: static">
</asp:DropDownList>
页
</td>
</tr>
</table>
</FooterTemplate>
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" Wrap="False" VerticalAlign="Middle" />
</asp:DataList>
</div>
</div>
<div style="z-index: 104; left: 0px; width: 1000px; position: absolute; top: 1032px;
height: 51px">
<uc2:Control_foot ID="Control_foot1" runat="server" />
</div>
<div style=" background-image:url(/MovieShow/Images/MovieShow_main_left1.jpg);z-index: 105; left: 0px; width: 170px; position: absolute; top: 920px;
height: 112px">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -