-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.aspx
338 lines (256 loc) · 15.9 KB
/
Default.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<%@ Page language="c#" Inherits="Book_Store.Default" CodeFile="Default.cs" %>
<%@ Register TagPrefix="CC" TagName="Header" Src="Header.ascx" %><%@ Register TagPrefix="CC" TagName="Footer" Src="Footer.ascx" %><%@Register TagPrefix="CC" TagName="Pager" Src="CCPager.ascx"%>
<html>
<head>
<title>Book Store</title>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<meta name="GENERATOR" content="YesSoftware CodeCharge v.2.0.5 using 'ASP.NET C#.ccp' build 9/27/2001">
<meta name="CODE_LANGUAGE" Content="C#">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head>
<body style="background-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helveticabackground-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helvetica">
<form method="post" runat="server">
<CC:Header id="Header" runat="server"/>
<table><tr><td valign="top">
<table id="Search_holder" runat="Server" style="width:100%">
<tr><td style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1" colspan="5"><a name="Search"><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="SearchForm_Title" runat="server">Search</asp:label></font></a></td></tr>
<tr>
<td style="background-color: #FFEAC5; border-style: inset; border-width: 0"><font style="font-size: 10pt; color: #000000">Category</font></td>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:DropDownList style="font-size: 10pt; color: #000000"
id=Search_category_id
DataTextField="name"
DataValueField="category_id"
runat="server"/>
</td></tr><tr><td style="background-color: #FFEAC5; border-style: inset; border-width: 0"><font style="font-size: 10pt; color: #000000">Title</font></td>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:TextBox
id=Search_name
Columns=10
runat="server"/>
</td></tr><tr>
<td align="right" colspan="3">
<asp:Button
id=Search_search_button
Text="Search"
runat="server"/>
</td>
</tr>
</table>
<table id="AdvMenu_holder" runat="Server" style="width:100%">
<tr><td colspan="1" style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="AdvMenuForm_Title" runat="server">More Search Options</asp:label></font></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink NavigateUrl="AdvSearch.aspx" id=AdvMenu_Field1
style="font-size: 10pt; color: #000000" runat="server">Advanced search</asp:HyperLink></td>
</tr>
</table>
<br>
<table id="Categories_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="CategoriesForm_Title" runat="server">Categories</asp:label></font></td></tr>
<tr>
<td
style="background-color: #FFFFFF; border-style: inset; border-width: 0">
<asp:Label id="Categories_Column_name" Text="" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td>
</tr><tr id=Categories_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="1"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=Categories_Repeater runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink id=Categories_name NavigateUrl='<%# "Books.aspx"+"?"+"category_id="+Server.UrlEncode(DataBinder.Eval(Container.DataItem, "c_category_id").ToString()) +"&" +""%>' style="font-size: 10pt; color: #000000" runat="server"> <%#Server.HtmlEncode(DataBinder.Eval(Container.DataItem, "c_name").ToString()) %> </asp:HyperLink>
</td></tr>
</ItemTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
</table>
<br>
<table id="Specials_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="SpecialsForm_Title" runat="server">Weekly Specials</asp:label></font></td></tr>
<tr id=Specials_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="2"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=Specials_Repeater runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_title_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:Label id=Specials_article_title style="font-size: 10pt; color: #000000" runat="server"> <%# DataBinder.Eval(Container.DataItem, "e_article_title") %> </asp:Label>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_desc_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:Label id=Specials_article_desc style="font-size: 10pt; color: #000000" runat="server"> <%# DataBinder.Eval(Container.DataItem, "e_article_desc") %> </asp:Label>
</td></tr></ItemTemplate>
<SeparatorTemplate>
<tr><td colspan=2style="background-color: #FFFFFF; border-width: 1"> </td></tr>
</SeparatorTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
</table>
</td><td valign="top"><table width="250"><tr><td></td></tr></table>
<table id="Recommended_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="RecommendedForm_Title" runat="server">Recommended Titles</asp:label></font></td></tr>
<tr id=Recommended_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="4"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=Recommended_Repeater onitemdatabound="Recommended_Repeater_ItemDataBound" runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td><table width="100%" style="width:100%">
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="name_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink id=Recommended_name NavigateUrl='<%# "BookDetail.aspx"+"?"+"item_id="+Server.UrlEncode(DataBinder.Eval(Container.DataItem, "i_item_id").ToString()) +"&" +""%>' style="font-size: 10pt; color: #000000" runat="server"> <%#DataBinder.Eval(Container.DataItem, "i_name") %> </asp:HyperLink>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="author_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:Label id=Recommended_author style="font-size: 10pt; color: #000000" runat="server"> <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem, "i_author").ToString()) %> </asp:Label>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="Price" id="price_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<input type=hidden id=Recommended_image_url runat="server" value=<%# DataBinder.Eval(Container.DataItem, "i_image_url") %>>
<asp:Label id=Recommended_price style="font-size: 10pt; color: #000000" runat="server"> <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem, "i_price").ToString()) %> </asp:Label>
</td></tr></table></td>
</tr>
</table></td></tr></ItemTemplate>
<SeparatorTemplate>
<tr><td colspan=2style="background-color: #FFFFFF; border-width: 1"> </td></tr>
</SeparatorTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
<tr><td
style="background-color: #FFFFFF; border-style: inset; border-width: 0"
colspan=1>
<font style="font-size: 10pt; color: #CE7E00; font-weight: bold">
<CC:Pager id=Recommended_Pager
style="font-size: 10pt; color: #CE7E00; font-weight: bold"
ShowFirst=False
showLast=False
showprev=True
shownext=True
ShowFirstCaption=""
showLastCaption=""
showtotal=False
showtotalstring="of"
shownextCaption="Next"
showprevCaption="Previous"
PagerStyle=1
NumberOfPages=10
runat="server"/>
</font></td></tr>
</table>
</td><td valign="top">
<table id="What_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="WhatForm_Title" runat="server">What We're Reading</asp:label></font></td></tr>
<tr id=What_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="3"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=What_Repeater onitemdatabound="What_Repeater_ItemDataBound" runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_title_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink id=What_article_title NavigateUrl='<%# "BookDetail.aspx"+"?"+"item_id="+Server.UrlEncode(DataBinder.Eval(Container.DataItem, "e_item_id").ToString()) +"&" +""%>' style="font-size: 10pt; color: #000000" runat="server"> <%#DataBinder.Eval(Container.DataItem, "e_article_title") %> </asp:HyperLink>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_desc_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<input type=hidden id=What_item_id runat="server" value=<%# DataBinder.Eval(Container.DataItem, "e_item_id") %>>
<asp:Label id=What_article_desc style="font-size: 10pt; color: #000000" runat="server"> <%# DataBinder.Eval(Container.DataItem, "e_article_desc") %> </asp:Label>
</td></tr></ItemTemplate>
<SeparatorTemplate>
<tr><td colspan=2style="background-color: #FFFFFF; border-width: 1"> </td></tr>
</SeparatorTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
</table>
<table id="New_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="NewForm_Title" runat="server">New & Notable</asp:label></font></td></tr>
<tr id=New_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="3"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=New_Repeater onitemdatabound="New_Repeater_ItemDataBound" runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_title_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink id=New_article_title NavigateUrl='<%# "BookDetail.aspx"+"?"+"item_id="+Server.UrlEncode(DataBinder.Eval(Container.DataItem, "e_item_id").ToString()) +"&" +""%>' style="font-size: 10pt; color: #000000" runat="server"> <%#DataBinder.Eval(Container.DataItem, "e_article_title") %> </asp:HyperLink>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_desc_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<input type=hidden id=New_item_id runat="server" value=<%# DataBinder.Eval(Container.DataItem, "e_item_id") %>>
<asp:Label id=New_article_desc style="font-size: 10pt; color: #000000" runat="server"> <%# DataBinder.Eval(Container.DataItem, "e_article_desc") %> </asp:Label>
</td></tr></ItemTemplate>
<SeparatorTemplate>
<tr><td colspan=2style="background-color: #FFFFFF; border-width: 1"> </td></tr>
</SeparatorTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
</table>
<table id="Weekly_holder" runat="Server" style="width:100%">
<tr><td colspan="1"
style="background-color: #336699; text-align: Center; border-style: outset; border-width: 1"
><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold"><asp:label id="WeeklyForm_Title" runat="server">This Week's Featured Books</asp:label></font></td></tr>
<tr id=Weekly_no_records runat="server"><td style="background-color: #FFFFFF; border-width: 1" colspan="3"><font style="font-size: 10pt; color: #000000">No records</font></td></tr>
<tr><td><asp:Repeater id=Weekly_Repeater onitemdatabound="Weekly_Repeater_ItemDataBound" runat="server">
<HeaderTemplate>
</td></tr>
</HeaderTemplate>
<ItemTemplate>
<tr><td><table width="100%" style="width:100%">
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_title_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<asp:HyperLink id=Weekly_article_title NavigateUrl='<%# "BookDetail.aspx"+"?"+"item_id="+Server.UrlEncode(DataBinder.Eval(Container.DataItem, "e_item_id").ToString()) +"&" +""%>' style="font-size: 10pt; color: #000000" runat="server"> <%#DataBinder.Eval(Container.DataItem, "e_article_title") %> </asp:HyperLink>
</td></tr>
<tr><td style="background-color: #FFFFFF; border-style: inset; border-width: 0"><asp:Label Text="" id="article_desc_Column_Title" style="font-size: 10pt; color: #CE7E00; font-weight: bold" runat="server"/></td></tr>
<tr>
<td style="background-color: #FFFFFF; border-width: 1">
<input type=hidden id=Weekly_item_id runat="server" value=<%# DataBinder.Eval(Container.DataItem, "e_item_id") %>>
<asp:Label id=Weekly_article_desc style="font-size: 10pt; color: #000000" runat="server"> <%# DataBinder.Eval(Container.DataItem, "e_article_desc") %> </asp:Label>
</td></tr></table></td></tr></ItemTemplate>
<SeparatorTemplate>
<tr><td colspan=2style="background-color: #FFFFFF; border-width: 1"> </td></tr>
</SeparatorTemplate>
<FooterTemplate>
<tr><td>
</FooterTemplate>
</asp:Repeater></td></tr>
</table>
</td>
</tr></table>
<CC:Footer id="Footer" runat="server"/>
</form>
</body>
</html>