<%@ Page Language="C#" AutoEventWireup="true" Codebehind="invite.aspx.cs" Inherits="JuSNS.Web.user.friend.invite" %>

<!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>
<title id="ptitle" runat="server">邀请朋友</title>
    <script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
    <script language="javascript" type="text/javascript" src="../../js/public.js"></script>
    <link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
    <script src="../../js/friend.js" charset="gb2312" type="text/javascript" language="javascript"></script></head>
<body>
<!--头部-->
<%=this.GetHtmlShort()%>
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                 <!--主题内容中-->    
                      <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/friend.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">朋友列表</span></div>
                                <div class="r"><a href="javascript:window.history.back();" title="返回上一页">返回上一页</a></div>
                                <div class="c"></div>
                            </div>
            		       
                            <div class="nav-menu">
                                <ul>
                                 <li><a href="../friend">朋友列表</a></li>
                                 <li class="current"><a href="../friend/invite.aspx">邀请朋友</a></li>
                                  <li><a href="../friend/group.aspx">朋友分组管理</a></li>
                                 </ul>
                            </div>        
                        </div>
                     
                     <div class="body_sec_left">
                            <div id="invite-via-url" class="sect">
                                <div class="bold s95">发送网址邀请</div>
                                <div class="pstr">
                                    <div class="pstr">把下面的网址通过 MSN、QQ 发给好友，邀请他们加入<%# sitenm%>。</div>
                                    <input type="text" class="f-text s90" id="invite-links" value="<%# inviteurl%>" />
                                </div>
                            </div>         
                            <div class="spline"></div>
                             <div class="sec-content">
                                    <div class="bold s95">给好友发送 Email 邀请</div>
                                   
                                    <div class="pstr">
                                        <form action="invitefine.aspx" method="post" id="inviteForm">
                                            <div class="content">
                                                <label class="f-label" for="emails">
                                                    好友Email</label>
                                                <textarea name="TxtEmails" id="TxtEmails" rows="3" class="f-text s80"><%# eml%></textarea>
                                            </div>
                                            <div class="content">
                                                <label class="f-label" for="extranote">
                                                    想说的话</label>
                                                <textarea name="TxtExtraNote" id="TxtExtraNote" rows="4" maxlength="200" class="f-text s80">一个不错的交友网站。你可以来和我一起玩。</textarea>
                                            </div>
                                            <div class="spline"></div>
                                            <div class="content">
                                                <div class="bold s95">邀请效果预览</div>
                                                <div id="invitation" class="border-eee nl" style="padding:8px;">
                                                    <div class="nl w60">
                                                      <img src="<%# GetHeadImage()%>" alt="<%# UserName%>" id="i-image" style="height:48px;width:48px;" />
                                                   </div> 
                                                   <div class="nl">
                                                        <div class="font12 bold"><span class="reshow"><%# UserName%></span>邀请你加入<%# sitenm%></div>
                                                        <div class="cpstr">
                                                           <%=JuSNS.Common.Public.GetXMLValue("inviteReg").Replace("{siteName}", sitenm)%>
                                                        </div>
                                                        <div class="cpstr">
                                                             请点击下面的链接注册并成为<%# UserName%>的好友
                                                        </div>
                                                        
                                                        <div class="cpstr">
                                                            <%# sitenm%>(<span class="fakelink"><%# JuSNS.Config.UiConfig.Domain%></span>) ：<span class="blue"><%# JuSNS.Config.UiConfig.RootUrl%><%# grootDir%>/InviteReg.aspx</span>
                                                        </div>
                                                        <div class="pstr">
                                                        <input type="submit" class="f-button" value="邀请朋友一起来<%# sitenm%>" />
                                                        </div>
                                                   </div>
                                                </div>
                                                <div class="spline"></div>
                                            </div>

                                            <input type="hidden" name="ReVite" value="<%# reinvt%>" />
                                        </form>
                                    </div>
                      
                                
                            </div>
                                       
                     </div>
                     
                   <!--中间分隔-->
                    <div class="line_mid">
                      <div class="line_01"></div>
                      <div class="line_02" id="midline"></div>
                      <div class="line_03"></div>
                    </div>
                    <!--中间分隔结束-->        
                                     
                     <div class="body_sec_right">
                        <div class="adscss">
                            <script type="text/javascript" src="../../js/ads/body_top.js"></script>
                        </div>
                        <div class="inviteMSN_GTalk">
                            <ul>
                                <li><a href="find.aspx">邀请 MSN 好友</a></li>
                                <li><a href="find.aspx">邀请 GTalk 好友</a></li>
                                <li><a href="invite-rec.aspx?a=confirmed">成功邀请记录 </a></li>
                                <li><a href="invite-rec.aspx?a=pending">待确认邀请记录 </a></li>
                            </ul>                        
                        </div>
                        
                        <div class="adscss">
                            <script type="text/javascript" src="../../js/ads/body.js"></script>
                        </div>                     
                     </div>                     
                     
                  </div>
                <!--底部-->
             <div class="divbottom">
              <%=this.GetHtmlFoot()%>
              </div>                  
            </div>
     </div>
 </div>                  
</body>
</html>
