-
Notifications
You must be signed in to change notification settings - Fork 1
/
findallrecipebyauthor.aspx
80 lines (78 loc) · 4.83 KB
/
findallrecipebyauthor.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
<%@ Page Language="C#" MasterPageFile="~/SiteTemplate.master" EnableViewState="false" AutoEventWireup="true" CodeFile="findallrecipebyauthor.aspx.cs" Inherits="findallrecipebyauthor" Title="Untitled Page" %>
<%@ Register TagPrefix="ucl" TagName="alphaletter" Src="Control/alphaletter.ascx" %>
<%@ Register TagPrefix="ucl" TagName="sortoptionlinks" Src="Control/sortoptionlinks.ascx" %>
<%@ Register TagPrefix="ucl" TagName="categorylistsidemenu" Src="Control/categorylistsidemenu.ascx" %>
<%@ Register TagPrefix="ucl" TagName="sidemenu" Src="Control/sidemenu.ascx" %>
<%@ Register TagPrefix="ucl" TagName="searchtab" Src="Control/searchtab.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftPanel" Runat="Server">
<ucl:sidemenu id="menu1" runat="server"></ucl:sidemenu>
<div style="clear: both;"></div>
<ucl:categorylistsidemenu id="catlistcont" runat="server"></ucl:categorylistsidemenu>
<br />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<ucl:searchtab id="searchcont" runat="server"></ucl:searchtab>
<div style="margin-left: 10px; margin-right: 12px; background-color: #FFF9EC; margin-top: 0px;">
<a href="default.aspx" class="dsort" title="Back to recipe homepage">Home</a> <span class="bluearrow">»</span> <span class="content2"><asp:Label cssClass="content2" id="lblcount" runat="server" /></span>
<asp:Label cssClass="content2" id="lblsortname" runat="server" Font-Bold="True" />
</div>
<div style="padding: 2px; margin-bottom: 14px; margin-top: 12px; margin-left: 16px; margin-right: 26px;">
<ucl:alphaletter id="alpha1" runat="server"></ucl:alphaletter>
<br />
</div>
<!--Begin Center Container-->
<div style="margin-left: 5px; margin-right: 5px;">
<!--Begin sort search links-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" style="width: 79%">
<ucl:sortoptionlinks id="opt1" runat="server"></ucl:sortoptionlinks>
</td>
<td width="20%" align="right">
<div style="margin-right: 20px;">
<asp:label ID="lblRecpagetop" runat="server" cssClass="content2" />
</div>
</td>
</tr>
</table>
<!--End sort search links-->
<div style="margin-bottom: 10px; border-top: solid 1px #D5E6FF; margin-right: 18px; margin-left: 4px;"></div>
<asp:Label cssClass="content2" id="lblNorecordFound" Visible="false" runat="server" Font-Bold="True" />
<!--Begin repeater center content-->
<asp:Repeater id="RecipeCat" OnItemDataBound="RecipeCat_ItemDataBound" runat="server">
<ItemTemplate>
<div class="divwrap">
<div class="divhd">
<img src="images/arrow7.gif" alt="" />
<a class="dtcat" onmouseover="Tip('<img src="RecipeImageUpload/<%# Eval("RecipeImage")%>" width="150" height="120">', BGCOLOR, '#FFFBE1', BORDERCOLOR, '#acc6db')" onmouseout="UnTip()" href='<%# Eval("ID", "recipedetail.aspx?id={0}") %>'><%# Eval("RecipeName") %></a>
<asp:Label ID="lblpopular" cssClass="hot" runat="server" EnableViewState="false" /> <asp:Image ID="newimg" runat="server" EnableViewState="false" /><asp:Image id="thumbsup" runat="server" AlternateText = "Thumsb up" EnableViewState="false" />
</div>
<div class="divbd">
Category: <a class="dt2" title="Go to <%# Eval("Category") %> category" href='<%# Eval("CatID", "category.aspx?catid={0}") %>'><%# Eval("Category") %></a>
<br />
By: <img src="images/user-icon.gif" /> <a href="userprofile.aspx?uid=<%# Eval("UID") %>" onmouseover="Tip('View <b><%# Eval("Author") %></b> profile.', BGCOLOR, '#FFFBE1', BORDERCOLOR, '#acc6db')" onmouseout="UnTip()"><%# Eval("Author") %></a>
<br />
Rating: <img src="images/<%# Eval("Rating", "{0:0.0}")%>.gif" align="absmiddle" /> (<span class="cgr"><%# Eval("Rating", "{0:0.0}")%></span>) votes <span class="cyel"><%# Eval("NoRates")%></span>
<br />
Added: <span class="cyel"><%# CustomDateFormat(Eval("Date"))%></span>
<br />
Hits: <span class="cmaron3"><%# Eval("Hits", "{0:#,###}")%></span> <asp:HyperLink ID="editrecipelink" CssClass="content2" Visible="false" runat="server" EnableViewState="false" />
</div>
</div>
<div style="margin: 15px;"></div>
</ItemTemplate>
</asp:Repeater>
</div>
<!--Begin repeater center content-->
<!--End Center Container-->
<!--Begin Record count,page count and paging link-->
<div style="margin-left: 12px; margin-top: 22px;">
<asp:label ID="lblRecpage"
Runat="server"
cssClass="content2" EnableViewState="false" />
<div style="margin-top: 10px;">
<asp:Label cssClass="content2" id="lbPagerLink" runat="server" Font-Bold="True" EnableViewState="false" />
</div>
</div>
<!--End Record count,page count and paging link-->
</asp:Content>