Quản lý website nghe nhạc xem videos ASP.net
6.204 lượt xem;
1 <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Master_Home.master.cs" Inherits="Master_Home" %>
2
3 <%@ Register src="control/TheLoai.ascx" tagname="TheLoai" tagprefix="uc1" %>
4
5 <%@ Register src="control/Casi.ascx" tagname="Casi" tagprefix="uc2" %>
6
7 <%@ Register src="control/TopMusic.ascx" tagname="TopMusic" tagprefix="uc3" %>
8
9 <%@ Register src="control/TopVideo.ascx" tagname="TopVideo" tagprefix="uc4" %>
10
11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12
13 <html xmlns="http://www.w3.org/1999/xhtml">
14 <head runat="server">
15 <link rel="shortcut icon" href="../img_button/soc.ico" type="image/x-icon" />
16 <link rel="icon" href="img_button/soc.ico" type="image/x-icon" />
17 <link href="css/Style.css" rel="stylesheet" type="text/css" />
18 <link href="css/1024px.css" rel="stylesheet" type="text/css" />
19 <style type="text/css">
20 .footer
21 {
22 text-align: center;
23 }
24 </style>
25 </head>
26 <body>
27 <form id="Web" runat="server" method="post">
28 <%--Download source code tai Sharecode.vn--%>
29 <div id="right_ads_float">
30 <marquee height="590" direction="up" scrolldelay="5" scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()">
31 <a target="_blank"><img src="img_QuangCao/chaytudong/biahanoi.jpg" border="1" width="180px" height="150px"></a>
32 <a target="_blank"><img src="img_QuangCao/chaytudong/ford.jpg" border="1" width="180px" height="150px"></a>
33 <a target="_blank"><img src="img_QuangCao/chaytudong/fpt.jpg" border="1" width="180px" height="150px"></a>
34 <a target="_blank"><img src="img_QuangCao/chaytudong/hp.jpg" border="1" width="180px" height="150px"></a>
35 <a target="_blank"><img src="img_QuangCao/chaytudong/htc.jpg" border="1" width="180px" height="150px"></a>
36 <a target="_blank"><img src="img_QuangCao/chaytudong/lambogini.jpg" border="1" width="180px" height="150px"></a>
37 <a target="_blank"><img src="img_QuangCao/chaytudong/motorola.jpg" border="1" width="180px" height="150px"></a>
38 <a target="_blank"><img src="img_QuangCao/chaytudong/pepsi.jpg" border="1" width="180px" height="150px"></a>
39 <a target="_blank"><img src="img_QuangCao/chaytudong/saporo.jpg" border="1" width="180px" height="150px"></a>
40 </marquee>
41 </div>
42 <div class="Top_Banner">
43 <div class="Header">
44 <div class="left"></div>
45 <div class="mid">
46 <a href="Home.aspx">
47 <asp:Image ID="Image4" runat="server" Height="20px"
48 ImageUrl="~/img_button/mp3.gif" Width="70px" /></a>
49
50 <asp:TextBox ID="txt_tim" runat="server" Font-Size="13px" CssClass="Search"
51 ForeColor="#666666" Height="22px" placeholder='Tìm.....' Width="208px"></asp:TextBox>
52 <asp:Button ID="btn_tim" runat="server" Text="Tìm" onclick="btn_tim_Click" />
53 </div>
54 <div class="right">
55 <ul>
56 <li><a href="Home.aspx">
57 <asp:Image ID="Image1" runat="server" Height="20px"
58 ImageUrl="~/img_button/MP3_logo.png" Width="70px" /></a></li>
59 <li><a href="#">
60 <asp:Image ID="Image2" runat="server" Height="20px"
61 ImageUrl="~/img_button/Video.jpg" Width="70px" /></a></li>
62 <li><a href="#">
63 <asp:Image ID="Image3" runat="server" Height="20px"
64 ImageUrl="~/img_button/Radio.jpg" Width="70px" /></a></li>
65 </ul>
66 <div class="right_dangnhap" id="Hello" runat="server"></div>
67 </div>
68 </div>
69 <div class="Menu">
70 <div class="left"></div>
71 <div class="right">
72 <ul>
73 <li><a href="Home.aspx">
74 <asp:Image ID="Image5" runat="server" Height="18px"
75 ImageUrl="~/img_button/Home.jpg" Width="40px" /></a></li>
76 <li><a href="ThongTin.aspx?TT=Album" id="active-li">AlBum</a></li>
77 <li><a href="ThongTin.aspx?TT=Music" id="active-li">Nhạc</a></li>
78 <li><a href="ThongTin.aspx?TT=Video" id="active-li" >Video</a></li>
79 <li><a href="ThongTin.aspx?TT=NgheSi" id="active-li">Nghệ Sĩ</a></li>
80 <li>||</li>
81 <li><a>BXH</a>
82 <div class="menu_down">
83 <div class="menu_down_d">
84 <p class=menu_d><a href="Top.aspx?T=Album">Top Album</a></p>
85 <p class=menu_d><a href="Top.aspx?T=Video">Top Video</a></p>
86 <p class=menu_d><a href="Top.aspx?T=Music">Top Music</a></p>
87 </div></div>
88 </li>
89 <li><a>New</a>
90 <div class="menu_down">
91 <div class="menu_down_d">
92 <p class=menu_d><a href="New.aspx?T=Album">New Album</a></p>
93 <p class=menu_d><a href="New.aspx?T=Video">New Video</a></p>
94 <p class=menu_d><a href="New.aspx?T=Music">New Music</a></p>
95 </div></div>
96 </li>
97 <li>||</li>
98 <li><a href="Chat.aspx" id="a1">Room Chat</a></li>
99 </ul>
100 <div class="right__">
101 <asp:ImageButton ID="ImageButton1" runat="server" Height="30px" Width="90px"
102 ImageUrl="~/img_button/upload.png" /> </div>
103 </div>
104 </div>
105 </div>
106 <div class="content">
107 <div class="left"></div>
108 <div class="right">
109 <div class="left">
110 <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
111 </asp:ContentPlaceHolder>
112 </div>
113 <div class="right">
114 <div class="ChuDe">
115 <uc1:TheLoai ID="TheLoai1" runat="server" />
116 </div>
117 <div class="VietNam">
118 <uc2:Casi ID="Casi1" runat="server" />
119 </div>
120 <div class="Music">
121 <uc3:TopMusic ID="TopMusic1" runat="server" />
122 </div>
123 <div class="Video">
124
125 <uc4:TopVideo ID="TopVideo1" runat="server" />
126
127 </div>
128 </div>
129 </div>
130 </div>
131
132
133
134 <%--Download source code tai Sharecode.vn--%>
135 <div style="height: 150px;" id="fl813691">
136 <div id="eb951855">
137 <div id="cob263512">
138 <div id="coh963846">Sảng Khoái Quá ............
139 <ul id="coc67178">
140 <li id="pf204652hide"><a class="min" href="javascript:pf204652clickhide();" title="Hide this window">Hide this window</a></li>
141
142 <li id="pf204652show" style="display: none;"><a class="max" href="javascript:pf204652clickshow();" title="Show this window">Show this window</a></li>
143 <li id="pf204652close"><a class="close" href="javascript:pf204652clickclose();" title="Close this window">Close this window</a></li>
144 </ul>
145 </div>
146 <div id="co453569">
147 <a href="http://cocacola.com" target="buidoi.net"><img src="img_QuangCao/QC_cocacola.gif" width="400px" border="0"></a>
148 </div></div></div></div>
149 <script>
150 pf204652bottomLayer = document.getElementById('fl813691');
151 var pf204652IntervalId = 0;
152 var pf204652maxHeight = 230;
153 var pf204652minHeight = 20;
154 var pf204652curHeight = 0;
155 function pf204652show() {
156 pf204652curHeight += 2;
157 if (pf204652curHeight > pf204652maxHeight) {
158 clearInterval(pf204652IntervalId);
159 }
160 pf204652bottomLayer.style.height = pf204652curHeight + 'px';
161 }
162 function pf204652hide() {
163 pf204652curHeight -= 3;
164 if (pf204652curHeight < pf204652minHeight) {
165 clearInterval(pf204652IntervalId);
166 }
167 pf204652bottomLayer.style.height = pf204652curHeight + 'px';
168 }
169 pf204652IntervalId = setInterval('pf204652show()', 5);
170 setTimeout("pf204652clickhide()", 12000);
171 function pf204652clickhide() {
172 document.getElementById('pf204652hide').style.display = 'none';
173 document.getElementById('pf204652show').style.display = 'inline';
174 pf204652IntervalId = setInterval('pf204652hide()', 5);
175 }
176 function pf204652clickshow() {
177 document.getElementById('pf204652hide').style.display = 'inline';
178 document.getElementById('pf204652show').style.display = 'none';
179 pf204652IntervalId = setInterval('pf204652show()', 5);
180 }
181 function pf204652clickclose() {
182 document.body.style.marginBottom = '0px';
183 pf204652bottomLayer.style.display = 'none';
184 }
185 </script>
186 <div class="footer" >
187 <img src="img_button/nenduoi.gif" width="100%" />
188 <br /> CopyRight @ Tam Anh . Version 2.0
189 <br /> Quản Trị Viên : Lê Văn Tuấn Anh
190
191 </div>
192 </form>
193 </body>
194 </html>
2
3 <%@ Register src="control/TheLoai.ascx" tagname="TheLoai" tagprefix="uc1" %>
4
5 <%@ Register src="control/Casi.ascx" tagname="Casi" tagprefix="uc2" %>
6
7 <%@ Register src="control/TopMusic.ascx" tagname="TopMusic" tagprefix="uc3" %>
8
9 <%@ Register src="control/TopVideo.ascx" tagname="TopVideo" tagprefix="uc4" %>
10
11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12
13 <html xmlns="http://www.w3.org/1999/xhtml">
14 <head runat="server">
15 <link rel="shortcut icon" href="../img_button/soc.ico" type="image/x-icon" />
16 <link rel="icon" href="img_button/soc.ico" type="image/x-icon" />
17 <link href="css/Style.css" rel="stylesheet" type="text/css" />
18 <link href="css/1024px.css" rel="stylesheet" type="text/css" />
19 <style type="text/css">
20 .footer
21 {
22 text-align: center;
23 }
24 </style>
25 </head>
26 <body>
27 <form id="Web" runat="server" method="post">
28 <%--Download source code tai Sharecode.vn--%>
29 <div id="right_ads_float">
30 <marquee height="590" direction="up" scrolldelay="5" scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()">
31 <a target="_blank"><img src="img_QuangCao/chaytudong/biahanoi.jpg" border="1" width="180px" height="150px"></a>
32 <a target="_blank"><img src="img_QuangCao/chaytudong/ford.jpg" border="1" width="180px" height="150px"></a>
33 <a target="_blank"><img src="img_QuangCao/chaytudong/fpt.jpg" border="1" width="180px" height="150px"></a>
34 <a target="_blank"><img src="img_QuangCao/chaytudong/hp.jpg" border="1" width="180px" height="150px"></a>
35 <a target="_blank"><img src="img_QuangCao/chaytudong/htc.jpg" border="1" width="180px" height="150px"></a>
36 <a target="_blank"><img src="img_QuangCao/chaytudong/lambogini.jpg" border="1" width="180px" height="150px"></a>
37 <a target="_blank"><img src="img_QuangCao/chaytudong/motorola.jpg" border="1" width="180px" height="150px"></a>
38 <a target="_blank"><img src="img_QuangCao/chaytudong/pepsi.jpg" border="1" width="180px" height="150px"></a>
39 <a target="_blank"><img src="img_QuangCao/chaytudong/saporo.jpg" border="1" width="180px" height="150px"></a>
40 </marquee>
41 </div>
42 <div class="Top_Banner">
43 <div class="Header">
44 <div class="left"></div>
45 <div class="mid">
46 <a href="Home.aspx">
47 <asp:Image ID="Image4" runat="server" Height="20px"
48 ImageUrl="~/img_button/mp3.gif" Width="70px" /></a>
49
50 <asp:TextBox ID="txt_tim" runat="server" Font-Size="13px" CssClass="Search"
51 ForeColor="#666666" Height="22px" placeholder='Tìm.....' Width="208px"></asp:TextBox>
52 <asp:Button ID="btn_tim" runat="server" Text="Tìm" onclick="btn_tim_Click" />
53 </div>
54 <div class="right">
55 <ul>
56 <li><a href="Home.aspx">
57 <asp:Image ID="Image1" runat="server" Height="20px"
58 ImageUrl="~/img_button/MP3_logo.png" Width="70px" /></a></li>
59 <li><a href="#">
60 <asp:Image ID="Image2" runat="server" Height="20px"
61 ImageUrl="~/img_button/Video.jpg" Width="70px" /></a></li>
62 <li><a href="#">
63 <asp:Image ID="Image3" runat="server" Height="20px"
64 ImageUrl="~/img_button/Radio.jpg" Width="70px" /></a></li>
65 </ul>
66 <div class="right_dangnhap" id="Hello" runat="server"></div>
67 </div>
68 </div>
69 <div class="Menu">
70 <div class="left"></div>
71 <div class="right">
72 <ul>
73 <li><a href="Home.aspx">
74 <asp:Image ID="Image5" runat="server" Height="18px"
75 ImageUrl="~/img_button/Home.jpg" Width="40px" /></a></li>
76 <li><a href="ThongTin.aspx?TT=Album" id="active-li">AlBum</a></li>
77 <li><a href="ThongTin.aspx?TT=Music" id="active-li">Nhạc</a></li>
78 <li><a href="ThongTin.aspx?TT=Video" id="active-li" >Video</a></li>
79 <li><a href="ThongTin.aspx?TT=NgheSi" id="active-li">Nghệ Sĩ</a></li>
80 <li>||</li>
81 <li><a>BXH</a>
82 <div class="menu_down">
83 <div class="menu_down_d">
84 <p class=menu_d><a href="Top.aspx?T=Album">Top Album</a></p>
85 <p class=menu_d><a href="Top.aspx?T=Video">Top Video</a></p>
86 <p class=menu_d><a href="Top.aspx?T=Music">Top Music</a></p>
87 </div></div>
88 </li>
89 <li><a>New</a>
90 <div class="menu_down">
91 <div class="menu_down_d">
92 <p class=menu_d><a href="New.aspx?T=Album">New Album</a></p>
93 <p class=menu_d><a href="New.aspx?T=Video">New Video</a></p>
94 <p class=menu_d><a href="New.aspx?T=Music">New Music</a></p>
95 </div></div>
96 </li>
97 <li>||</li>
98 <li><a href="Chat.aspx" id="a1">Room Chat</a></li>
99 </ul>
100 <div class="right__">
101 <asp:ImageButton ID="ImageButton1" runat="server" Height="30px" Width="90px"
102 ImageUrl="~/img_button/upload.png" /> </div>
103 </div>
104 </div>
105 </div>
106 <div class="content">
107 <div class="left"></div>
108 <div class="right">
109 <div class="left">
110 <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
111 </asp:ContentPlaceHolder>
112 </div>
113 <div class="right">
114 <div class="ChuDe">
115 <uc1:TheLoai ID="TheLoai1" runat="server" />
116 </div>
117 <div class="VietNam">
118 <uc2:Casi ID="Casi1" runat="server" />
119 </div>
120 <div class="Music">
121 <uc3:TopMusic ID="TopMusic1" runat="server" />
122 </div>
123 <div class="Video">
124
125 <uc4:TopVideo ID="TopVideo1" runat="server" />
126
127 </div>
128 </div>
129 </div>
130 </div>
131
132
133
134 <%--Download source code tai Sharecode.vn--%>
135 <div style="height: 150px;" id="fl813691">
136 <div id="eb951855">
137 <div id="cob263512">
138 <div id="coh963846">Sảng Khoái Quá ............
139 <ul id="coc67178">
140 <li id="pf204652hide"><a class="min" href="javascript:pf204652clickhide();" title="Hide this window">Hide this window</a></li>
141
142 <li id="pf204652show" style="display: none;"><a class="max" href="javascript:pf204652clickshow();" title="Show this window">Show this window</a></li>
143 <li id="pf204652close"><a class="close" href="javascript:pf204652clickclose();" title="Close this window">Close this window</a></li>
144 </ul>
145 </div>
146 <div id="co453569">
147 <a href="http://cocacola.com" target="buidoi.net"><img src="img_QuangCao/QC_cocacola.gif" width="400px" border="0"></a>
148 </div></div></div></div>
149 <script>
150 pf204652bottomLayer = document.getElementById('fl813691');
151 var pf204652IntervalId = 0;
152 var pf204652maxHeight = 230;
153 var pf204652minHeight = 20;
154 var pf204652curHeight = 0;
155 function pf204652show() {
156 pf204652curHeight += 2;
157 if (pf204652curHeight > pf204652maxHeight) {
158 clearInterval(pf204652IntervalId);
159 }
160 pf204652bottomLayer.style.height = pf204652curHeight + 'px';
161 }
162 function pf204652hide() {
163 pf204652curHeight -= 3;
164 if (pf204652curHeight < pf204652minHeight) {
165 clearInterval(pf204652IntervalId);
166 }
167 pf204652bottomLayer.style.height = pf204652curHeight + 'px';
168 }
169 pf204652IntervalId = setInterval('pf204652show()', 5);
170 setTimeout("pf204652clickhide()", 12000);
171 function pf204652clickhide() {
172 document.getElementById('pf204652hide').style.display = 'none';
173 document.getElementById('pf204652show').style.display = 'inline';
174 pf204652IntervalId = setInterval('pf204652hide()', 5);
175 }
176 function pf204652clickshow() {
177 document.getElementById('pf204652hide').style.display = 'inline';
178 document.getElementById('pf204652show').style.display = 'none';
179 pf204652IntervalId = setInterval('pf204652show()', 5);
180 }
181 function pf204652clickclose() {
182 document.body.style.marginBottom = '0px';
183 pf204652bottomLayer.style.display = 'none';
184 }
185 </script>
186 <div class="footer" >
187 <img src="img_button/nenduoi.gif" width="100%" />
188 <br /> CopyRight @ Tam Anh . Version 2.0
189 <br /> Quản Trị Viên : Lê Văn Tuấn Anh
190
191 </div>
192 </form>
193 </body>
194 </html>