-
Notifications
You must be signed in to change notification settings - Fork 0
/
HousingList.aspx
280 lines (275 loc) · 17.8 KB
/
HousingList.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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HousingList.aspx.cs" Inherits="FurnitureList" %>
<!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>
<script>
function enableForm() {
document.getElementById("form1").disabled = false;
}
window.onload = enableForm;
</script>
<style type="text/css">
.myclass
{
text-decoration: none;
}
.myclass:hover
{
text-decoration: underline;
}
.modalBackground
{
background-color: #CCCCFF;
filter: alpha(opacity=40);
opacity: 0.5;
}
.ModalWindow
{
border: solid1px#c0c0c0;
background: #f0f0f0;
padding: 0px10px10px10px;
position: absolute;
top: -1000px;
}
.style3
{
width: 160px;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'XXXX']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body style="font-family: palatino,palatino linotype, Georgia,Times New Roman,Times,serif">
<form id="form1" runat="server" enabled="false">
<table width="100%" style="border-collapse: collapse">
<tr width="100%" height="120px" bgcolor="#990000">
<td width="100%" style="border-bottom-style: solid; border-width: 1px; border-color: black">
<table width="100%">
<tr width="100%">
<td width="100%" style="padding-left: 25px; color: white">
<a href="Default.aspx" style="text-decoration: none; font-size: 35px; font-family: palatino,palatino linotype, Georgia,Times New Roman,Times,serif;
color: #FFCC00">Trojans List<sub style="font-size: 14px">Beta</sub></a>
</td>
</tr>
<tr>
<td width="100%" style="padding-left: 100px; color: white; font-size: 12px">
<label>
For Trojans by Trojans</label>
</td>
</tr>
</table>
</td>
</tr>
<tr width="100%" height="390px">
<td width="100%" valign="top" style="border-bottom-style: solid; border-width: 1px;
border-right-style: solid; border-left-style: solid">
<table width="100%">
<tr width="100%" height="390px">
<td style="border-right-style: solid; border-width: 1px" valign="top" class="style3">
<table width="100%">
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; color: Gray;
width: 100%; font-size: 15px">
General
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; padding-left: 10px;
font-size: 15px">
<a class="myclass" href="Default.aspx"><font color="black">Home</font></a>
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; color: Gray;
width: 100%; font-size: 15px">
Create Ads
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; padding-left: 10px;
font-size: 15px">
<a class="myclass" href="Bykes.aspx"><font color="black">Bikes</font></a>
<br />
<a class="myclass" href="Furnitures.aspx"><font color="black">Furniture</font></a>
<br />
<a class="myclass" href="Gadgets.aspx"><font color="black">Gadgets</font></a>
<br />
<a class="myclass" href="Housing.aspx"><font color="black">Housing</font></a>
<br />
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; color: Gray;
width: 100%; font-size: 15px">
View Ads
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; padding-left: 10px;
font-size: 15px">
<a class="myclass" href="BikesList.aspx"><font color="black">Bikes List</font></a>
<br />
<a class="myclass" href="FurnitureList.aspx"><font color="black">Furniture List</font></a>
<br />
<a class="myclass" href="GadgetList.aspx"><font color="black">Gadgets List</font></a>
<br />
<a style="text-decoration: underline" href="HousingList.aspx"><font color="black">Housing
List</font></a>
</td>
</tr>
<tr>
<td style="border-bottom-style: solid; border-width: 1px; font-weight: bold; padding-left: 10px;
font-size: 15px">
</td>
</tr>
<tr>
<td style="font-weight: bold; text-align: center; font-size: 15px">
<a class="myclass" href="EditorDelete.aspx"><font color="Red">Edit/Delete</font></a>
</td>
</tr>
</table>
</td>
<td width="85%" valign="top" style="padding-right: 10px; padding-left: 10px">
<table width="100%">
<tr>
<td>
<h2>
<span style="color: Aqua; font-size: 140%">■</span>Housing advertisements
list :</h2>
</td>
</tr>
<tr width="100%">
<td width="100%">
<table width="100%">
<tr>
<td width="25%">
Looking for :
<asp:DropDownList runat="server" ID="productTxtBox">
<asp:ListItem Text="" Value="null"></asp:ListItem>
<asp:ListItem Text="Room" Value="Room"></asp:ListItem>
<asp:ListItem Text="Room mate" Value="Room mate"></asp:ListItem>
<asp:ListItem Text="Room or Room mate" Value="Room or Room mate"></asp:ListItem>
</asp:DropDownList>
</td>
<td width="25%">
Looking for gender :
<asp:DropDownList ID="expectedTextBox" runat="server">
<asp:ListItem Text="" Value="null"></asp:ListItem>
<asp:ListItem Text="Does not matter" Value="Does not matter"></asp:ListItem>
<asp:ListItem Text="Male" Value="Male"></asp:ListItem>
<asp:ListItem Text="Female" Value="Female"></asp:ListItem>
</asp:DropDownList>
</td>
<td width="50%">
<asp:Button ID="Button1" runat="server" Text="Search" OnClick="Button1_Click" />
  <a href="HousingList.aspx" style="font-size: smaller">Clear search</a>
</td>
</tr>
</table>
<br />
<asp:Label ID="totalrecordIs" runat="server" Text="Total records :" Font-Bold="true"></asp:Label> <asp:Label
ID="totlReordslbl" ForeColor="Blue" runat="server" Font-Bold="true"></asp:Label>
<asp:Label ID="withResearch" runat="server" Style="color: #00CC00; font-weight: bold"
Text="With search"></asp:Label>
<br />
<asp:GridView AllowPaging="True" AllowSorting="True" ID="grdView" runat="server"
AutoGenerateColumns="False" Width="100%" PageSize="10" OnPageIndexChanging="grdView_PageIndexChanging"
BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px"
CellPadding="4">
<Columns>
<asp:TemplateField HeaderText="Looking for" ItemStyle-Width="10%" HeaderStyle-Wrap="true"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="lblProduct" Text='<%# DataBinder.Eval(Container.DataItem, "Lookingfor")%>'
runat="server" />
</ItemTemplate>
<HeaderStyle Wrap="True"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Description" ItemStyle-Width="45%" HeaderStyle-Wrap="true"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="lblDesc" Text='<%# DataBinder.Eval(Container.DataItem, "descp")%>'
runat="server" />
</ItemTemplate>
<HeaderStyle Wrap="True"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="45%"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Looking for gender" ItemStyle-Width="15%" HeaderStyle-Wrap="true"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="lblPrice" Text='<%# DataBinder.Eval(Container.DataItem, "gender") %>'
runat="server"></asp:Label>
</ItemTemplate>
<HeaderStyle Wrap="True"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="15%"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Created On" ItemStyle-Width="20%" HeaderStyle-Wrap="true"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "createdOn") %>
</ItemTemplate>
<HeaderStyle Wrap="True"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="20%"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="Contact seller" ItemStyle-Width="10%" HeaderStyle-Wrap="true"
ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Button ID="sendMail" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "mail") %>'
OnClick="sendMail_Click" Text="Send Email" />
</ItemTemplate>
<HeaderStyle Wrap="True"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" style="font-size: small">
<tr>
<td style="width: 30%" align="center">
<span style="color: #990000; font-size: 140%">■</span> Contact us : contact@trojanslist.com
| <span style="color: #990000; font-size: 140%">■</span> <a
href="TNC.aspx" class="myclass">Terms and conditions</a>
</td>
</tr>
<tr>
<td align="center" style="font-size: smaller">
<p>
Copyrights © 2011. All Rights Reserved.
</p>
</td>
</tr>
</table>
</form>
</body>
<script type="text/javascript" id="EnableBtn" language="javascript">
//window.history.forward(1);
</script>
</html>