<%@ Control Language="c#" AutoEventWireup="True" Codebehind="FriendLinks.ascx.cs" Inherits="DreamerShop.TP1.FriendLinks" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="uc1" TagName="LeftTwo" Src="LeftTwo.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="../LanguagesManage.ascx" %>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<table width="976" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td width="180"  valign="top" ><uc1:LeftTwo id="LeftTwo" runat="server"></uc1:LeftTwo></TD>
			<TD vAlign="top" width="744">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr> 
                <td height="8" colspan="2"> </td>
              </tr>
              <tr> 
                <td width="29%" height="21"><table border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><img src="images/TP9/show_title_01.gif"></td>
                      <td width="150" bgcolor="#F39B49" class="showtitle1"><%=myLanguagesDeal.GetMyString("FriendLinks")%></td>
                      <td width="4"><img src="images/TP9/show_title_02.gif"></td>
                    </tr>
                  </table></td>
                <td width="71%" ><img src="images/TP9/kind_01.gif" />&nbsp;<a href="ApplyFriendLink.aspx" ><%=myLanguagesDeal.GetMyString("LinksApplyTitle")%></a></td>
              </tr>
              <tr> 
                <td height="5" colspan="2"> </td>
              </tr>
              <tr>
                <td height="16" colspan="2" background="images/TP9/show_title_03.gif">&nbsp;</td>
              </tr>
            </table>
			<br>
				<asp:datalist id="dtlFriendLink" runat="server" Width="100%" RepeatColumns="4">
					<ItemStyle HorizontalAlign="Center"></ItemStyle>
					<ItemTemplate>
						<a href='<%# DataBinder.Eval(Container.DataItem, "LinkUrl") %>' target="_blank ">
							<%# DataBinder.Eval(Container.DataItem, "FriendLink") %>
						</a>
					</ItemTemplate>
				</asp:datalist>
			</TD>
		</TR>
	</TBODY>
</TABLE>
