-
Notifications
You must be signed in to change notification settings - Fork 0
/
Profile.aspx
457 lines (430 loc) · 27 KB
/
Profile.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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<%@ Page Codebehind="Profile.aspx.cs" Language="c#" AutoEventWireup="True" MaintainScrollPositionOnPostback="true"
Inherits="BoardHunt.Profile" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Used Surf Board Profile - Boardhunt</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="include/js/superfish.js"></script>
<script src="include/js/bh.js" type="text/javascript"></script>
<link href="style/global.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="screen" href="style/superfish.css" />
<script type="text/javascript">
$(document).ready(function() {
//TODO: test tips
jQuery(function(){
jQuery('ul.sf-menu').superfish();
});
$('#toggle2').hover(
function () {
$('#pnlLogin').slideToggle('slow', function() {
// Animation complete.
});
},
function () {
$('#pnlLogin').slideToggle('slow', function() {
// Animation complete.
});
}
);
$('#pnlLogin').hide();
});
});
</script>
<script type="text/javascript">
function PreLoadImgs()
{
var i;
var imgArray = new Array();
for (i=0;i<=3;i++)
{
imgArray[i] = "hdnPicVal" + (i+1);
var ctl = document.getElementById("hdnPic" + (i+1) + "URL");
if (ctl.value != "")
{
imgArray[i] = new Image(400,400);
imgArray[i].src = ctl.value;
}
}
}
</script>
</head>
<body>
<div id="main">
<form class="header" id="Form1" runat="server">
<!-- #include file="include/Header.aspx" -->
<div align="center">
<div id="wrap">
<%-- DOC HEADING --%>
<div id="nav" class="midorange26b">
<span class="orange_dkorange26">Profile</span>
</div>
<br />
<%--COLUMN 1--%>
<asp:Panel ID="pnlDetails" runat="server" BorderColor="#FF9900" BorderStyle="solid"
Style="width: 750px" BorderWidth="6px">
<!-- Master Table -->
<table cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFCC" bordercolor="#999966">
<tr>
<td>
<!-- left side -->
<table width="425px" border="0" bgcolor="#FFFFCC" cellpadding="0" cellspacing="0">
<tr>
<td height="10">
<img src="images/s1x1.gif"></td>
</tr>
<tr>
<td align="center">
<asp:Image ID="Pic1" runat="server" Height="64" Width="64"></asp:Image> </td>
</tr>
<tr>
<td height="1" colspan="">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center">
<asp:Image ID="Pic1ThmbNail" BorderWidth="0" CssClass="highlightit" runat="server"
Visible="false" onmouseover="ImgHover('1')" />
<asp:Image ID="Pic2ThmbNail" BorderWidth="0" CssClass="highlightit" runat="server"
Visible="false" onmouseover="ImgHover('2')" />
<asp:Image ID="Pic3ThmbNail" BorderWidth="0" CssClass="highlightit" runat="server"
Visible="false" onmouseover="ImgHover('3')" />
<asp:Image ID="Pic4ThmbNail" BorderWidth="0" CssClass="highlightit" runat="server"
Visible="false" onmouseover="ImgHover('4')" />
</td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFCC" align="left" colspan="3">
<asp:ImageButton ID="imgGoBack" ToolTip="Back to results" runat="server"
ImageUrl="images/BackToResults.gif"></asp:ImageButton> <span class="midorange12b">back</span></td>
</tr>
<tr>
<td bgcolor="#FFFFCC" colspan="2" style="height: 5px">
<img src="images/s1x1.gif"></td>
</tr>
</table>
</td>
<!-- end left side -->
<td>
</td>
<!-- begin right side -->
<td valign="top">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="FFFFCC">
<tr>
<td bgcolor="#FFFFCC" height="2" colspan="2">
<img src="images/s1x1.gif"></td>
</tr>
<tr>
<td colspan="2" class="midgrey10" align="left" bgcolor="#FFFFCC" valign="bottom">
Joined on: <asp:Label ID="lblDateData" runat="server"></asp:Label></td>
</tr>
<tr>
<td bgcolor="#FFFFCC" colspan="2" style="height: 5px">
<img src="images/s1x1.gif"></td>
</tr>
<tr>
<td width="10%" height="20px" class="midorange16b" align="left" valign="bottom">
<asp:Label ID="lblFName" runat="server">Full Name: </asp:Label></td>
<td class="dkorange20b" align="left" valign="bottom" width="90%">
<asp:Label ID="lblFullName" runat="server"></asp:Label></td>
</tr>
<tr>
<td width="10%" height="20px" class="midorange16b" align="left" valign="bottom">
<asp:Label ID="lblUName" runat="server">User Name: </asp:Label></td>
<td class="dkorange20b" align="left" valign="bottom" width="90%">
<asp:Label ID="lblUsername" runat="server"></asp:Label></td>
</tr>
<tr>
<td height="20px" class="midorange16b" align="left" valign="bottom" colspan="2">
Says: </td>
<td style="width: 7px">
</td>
</tr>
<tr>
<td class="dkgrey10" align="left" colspan="2" valign="bottom">
<asp:Label ID="lblDetailsData" runat="server" Width="295px"></asp:Label></td>
</tr>
<tr>
<td colspan="2" height="5">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td bgcolor="#ff9900" colspan="2" style="height: 5px">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td bgcolor="#ffcc66" colspan="2" style="height: 5px">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td bgcolor="#FFFFCC" height="5px" colspan="2">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td class="midorange16b" colspan="3">
Contact Info:
</td>
</tr>
<tr>
<td colspan="2" class="dkgrey10">
E-mail:
<asp:LinkButton ID="lnkEmailData" runat="server" CssClass="red_orange12u">
</asp:LinkButton>
Ph:
<asp:Label ID="lblPhoneData" runat="server" CssClass="dkgrey12">
</asp:Label></td>
<td bgcolor="#FFFFCC" style="width: 7px">
</td>
</tr>
<tr>
<td class="dkorange16b" colspan="2" style="height: 25px">
OR <span class="dkgrey10">Write it below on 'The Wall'</span>
</td>
</tr>
<tr>
<td bgcolor="#FFFFCC" colspan="2" style="height: 10px">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
<tr>
<td class="controls3" align="left" colspan="2" bgcolor="#FFFFCC">
<asp:LinkButton ID="btnMore" CssClass="red_orange12u" runat="server" Text="See boards by this shaper"
OnClick="btnMore_Click" /></td>
</tr>
<tr>
<td bgcolor="#FFFFCC" colspan="2" style="height: 14px">
<img src="images/s1x1.gif" alt="" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="header" colspan="3">
<asp:Label ID="lblStatus" runat="server"></asp:Label></td>
</tr>
</table>
<!-- end master table -->
</asp:Panel>
<!-- bottom half -->
<div align="center" style="height: 20px">
<div align="center" style="margin: 0 auto; width: 755px; border-width: 0px; border-color: #ff9900;
border-style: solid;">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<asp:Panel ID="pnlRatings" runat="server" HorizontalAlign="Center" Width="755px">
<td colspan="2">
<table bgcolor="F0F0F0" border="0" cellpadding="0" cellspacing="0" width="755">
<tr>
<td class="dkgrey14b" align="left" colspan="2" width="320px" valign="middle">
Rate me: <asp:ImageButton runat="server" ID="star1" ImageUrl="../images/target_white.gif"
onmouseout="GetRating()" onmouseover="ProcHover('1')" OnCommand="ProcRating"
CommandArgument="1" ToolTip="Won't Sell" />
<asp:ImageButton runat="server" ID="star2" ImageUrl="../images/target_white.gif"
onmouseout="GetRating()" onmouseover="ProcHover('2')" OnCommand="ProcRating"
CommandArgument="2" ToolTip="Might Sell" />
<asp:ImageButton runat="server" ID="star3" ImageUrl="../images/target_white.gif"
onmouseout="GetRating()" onmouseover="ProcHover('3')" OnCommand="ProcRating"
CommandArgument="3" ToolTip="Should Sell" />
<asp:ImageButton runat="server" ID="star4" ImageUrl="../images/target_white.gif"
onmouseout="GetRating()" onmouseover="ProcHover('4')" OnCommand="ProcRating"
CommandArgument="4" ToolTip="Will Sell" />
<asp:ImageButton runat="server" ID="star5" ImageUrl="../images/target_white.gif"
onmouseout="GetRating()" onmouseover="ProcHover('5')" OnCommand="ProcRating"
CommandArgument="5" ToolTip="Quick Sell" />
<asp:HiddenField ID="hdnRatingVal" runat="server" />
<asp:HiddenField ID="hdnRatingCnt" runat="server" />
<asp:Label CssClass="dkgrey10b" ID="lblRatingCount" runat="server"></asp:Label>
</td>
<td valign="middle" nowrap>
</td>
</tr>
</table>
</td>
</asp:Panel>
</tr>
</table>
</div>
</div>
<!-- Begin Comments -->
<div align="center">
<br />
<div class="midorange24b" align="center">
The Wall<br />
<asp:Label ID="lblCommentCount" class="dkgrey12" runat="server"></asp:Label>
</div>
<asp:Panel runat="server" ID="pnlComments">
<table width="580">
<asp:DataList ID="dlCommentList" Width="580" RepeatLayout="Table" BorderColor="#CC6600"
BorderStyle="Solid" BorderWidth="0" runat="server" EnableViewState="false">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<tr id="hRow" style="background-color: #FFFFFF">
<td class="ltgrey10" align="left">
by<span class="midorange12">
<%# ParseEmail(DataBinder.Eval(Container.DataItem, "txtEmail"))%>
</span> on
<%# DataBinder.Eval(Container.DataItem, "dPosted", "{0: MM/dd/yy}") %>
</td>
</tr>
<tr>
<td align="left" class="dkgrey12" colspan="2" height="25" style="background-color: #F0F0F0">
<%# DataBinder.Eval(Container.DataItem, "txtComment") %>
</td>
</tr>
</ItemTemplate>
</asp:DataList></table>
<br />
<asp:Panel ID="pnlLoginMsg" runat="server" CssClass="dkgrey12" Visible="false">
<a class="ltgreen_orange12" id="toggle2" href="#">Login</a> to write something.
</asp:Panel>
<asp:Panel ID="pnlLogin" runat="server" Height="80px" Width="250px" BackColor="#ff9900"
BorderColor="#FFFFFF" BorderWidth="1px">
<table>
<tr>
<td align="right" class="white12b">
E-mail: </td>
<td>
<asp:TextBox ID="txtUsername" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" class="white12b">
Password: </td>
<td>
<asp:TextBox ID="txtPassword" TextMode="Password" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Button ID="btnLogin" Text="Login" CssClass="dkgrey12b" runat="server" OnClick="btnLogin_Click" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="pnlCommentBox" runat="server" Visible="false">
<asp:Label ID="lblCommentBoxHeader" runat="server" CssClass="midgrey12" Text="Ask a question or comment"></asp:Label>
<span class="midgrey12">(keep it clean)</span>
<br />
<asp:TextBox ID="txtComment" onkeydown="CharCount(this,595)" runat="server" CssClass="dkgrey12"
Height="120px" Width="352px" MaxLength="255" Rows="10" TextMode="MultiLine" TabIndex="70"></asp:TextBox>
<br />
<asp:Button ID="btnPostComment" Text="Post Comment" runat="server" CssClass="dkgrey12"
OnClick="btnPostComment_Click" />
</asp:Panel>
</asp:Panel>
</div>
</div>
<div id="sidebar">
<div align="center">
<%--COLUMN 2--%>
<asp:Panel runat="server" ID="pnlHotBoards" BorderWidth="5" BorderColor="#f26721"
ToolTip="Other boards you might like">
<asp:DataList ID="dlUpgrades" runat="server" CssClass="red_orange12u" RepeatDirection="Horizontal"
RepeatColumns="1" RepeatLayout="Table" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<span class="ltgreen16b ">More Boards</span><br />
<a class="grey_dkgrey10" href="post_manager.aspx">+ add my board</span><br />
<br />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton runat="server" ID="imgBtnHotBoard" OnCommand="ShowItem" CommandName='<%# DataBinder.Eval(Container.DataItem, "iUser")%>'
CommandArgument='<%# DataBinder.Eval(Container.DataItem, "iD")%>' ImageUrl='<%# SetPicPath(DataBinder.Eval(Container.DataItem, "userDir"), DataBinder.Eval(Container.DataItem, "txtImgPath1")) %>' />
<br />
<asp:LinkButton ID="lnkBtnUpBrand" runat="server"><%# DataBinder.Eval(Container.DataItem, "txtBrand") %> <%# DataBinder.Eval(Container.DataItem, "iHtFt")%>' <%# DataBinder.Eval(Container.DataItem, "iHtIn")%>"</asp:LinkButton>
<br />
<br />
</ItemTemplate>
</asp:DataList>
</asp:Panel>
</div>
<br />
<div style="text-align: center;">
<!-- Start: Ads -->
<script type="text/javascript" src="http://c.adroll.com/r/6HRX4NZQLJAHJNQCOYZCFA/D2T2A3Z27VD6NAHMMTLMNF/">
</script>
</div>
</div>
</div>
<br />
<div>
<asp:Image ID="Pic2" runat="server" Visible="false"></asp:Image>
<asp:Image ID="Pic3" runat="server" Visible="false"></asp:Image>
<asp:Image ID="Pic4" runat="server" Visible="false"></asp:Image>
<asp:HiddenField ID="hdnPic1URL" runat="server" />
<asp:HiddenField ID="hdnPic2URL" runat="server" />
<asp:HiddenField ID="hdnPic3URL" runat="server" />
<asp:HiddenField ID="hdnPic4URL" runat="server" />
<asp:HiddenField ID="hdnEId" runat="server" />
<asp:HiddenField ID="hdnStrCat" runat="server" />
<asp:HiddenField ID="hdniCat" runat="server" />
<asp:HiddenField ID="hdnNotifyEmail" runat="server" />
<asp:HiddenField ID="hdnUserId" runat="server" />
</div>
<div align="center">
<table>
<tr>
<td colspan="4" class="ltgreen16b" align="center">
Sponsors</td>
</tr>
<tr>
<td>
<div style="text-align: center;">
<!-- Start: Ads -->
<script type="text/javascript" src="http://c.adroll.com/r/6HRX4NZQLJAHJNQCOYZCFA/TAWJZBACM5BZBDWTZLIYBN/">
</script>
</div>
</td>
<td>
<div style="text-align: center;">
<!-- Start: Ads -->
<script type="text/javascript" src="http://c.adroll.com/r/6HRX4NZQLJAHJNQCOYZCFA/6HYKHM6BCVF7FBJ6DHZ2XC/">
</script>
</div>
</td>
<td>
<div style="text-align: center;">
<!-- Start: Ads -->
<script type="text/javascript" src="http://c.adroll.com/r/6HRX4NZQLJAHJNQCOYZCFA/SUSGE3ERMFDSVJAUYM3DTI/">
</script>
</div>
</td>
<td>
<div style="text-align: center;">
<script type="text/javascript"><!--
adroll_width = 125;
adroll_height = 125;
adroll_a_id = "H2ZFAHQ2VVC4VOWUL4UFZA";
adroll_s_id = "6HRX4NZQLJAHJNQCOYZCFA";
adroll_render_link = false;
//--></script>
<script type="text/javascript" src="http://c.adroll.com/j/rolling.js"></script>
</div>
</td>
</tr>
</table>
</div>
<div id="push">
</div>
</form>
</div>
<br />
<div align="center">
<!-- #include file="include/footer.aspx" -->
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2548219-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>