<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="JuSNS.Web.home.ram.city" %>

<!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>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
<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/network.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">随便看看：同城(<%=cName %>)</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="../ram/net.aspx">随便看看</a></li>
                                 <li class="current"><a href="../ram">同城</a></li>
                                 <li><a href="../network?s=ram&f=0">同地区</a></li>
                                 <li><a href="../ram/day.aspx">日记</a></li>
                                 <li><a href="../ram/blog.aspx">日志</a></li>
                                 <li><a href="../ram/photo.aspx">相册</a></li>
                                 <li><a href="../ram/share.aspx">分享</a></li>
                                 <li><a href="../ram/group.aspx">群组</a></li>
                                 <li><a href="../ram/vodie.aspx">电影</a></li>
                                    <li><a href="../ask/?r=all&f=1">问答</a></li>
                                 </ul>
                            </div>        
                     </div>   
                     
                     <!--正文-->        
                     <div class="body_sec_left">
                            <div class="pagination inline">
                                <a href="../ram/index.aspx?r=<%# nid%>">更多<%=cName %>朋友</a>
                             </div>                        
                            <div class="pagination inline">
                                <a href="javascript:;" onclick="showSearch();">搜索朋友</a>
                             </div>                        
                              
                            <div id="wrap" class="sec-content">
                                <div class="line1"></div> 
                                <asp:Repeater runat="server" ID="RptData">
                                    <HeaderTemplate>
                                        <ol>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <li>
                                            <div  class="nl image body-mb-left">
                                                    <a href="../../user/<%# JuSNS.Common.Public.URLWrite("","r",""+DataBinder.Eval(Container.DataItem, "UserID")+"")%>"><img src="<%# GetHeadImage(DataBinder.Eval(Container.DataItem, "UserID"),2)%>" alt="<%# DataBinder.Eval(Container.DataItem, "UserName")%>" /></a>
                                             </div>
                                             
                                             <div class="body-mb-right nl">
                                                    <div class="nl w330">
                                                            <div class="cpstr"> 
                                                                <a href="../../user/<%# JuSNS.Common.Public.URLWrite("","r",""+DataBinder.Eval(Container.DataItem, "UserID")+"")%>"><strong><%# DataBinder.Eval(Container.DataItem, "UserName")%></strong></a>
                                                            </div>
                                                             <div class="cpstr shenlan">  
                                                                <%# GetResume(DataBinder.Eval(Container.DataItem, "WorkCompany"),DataBinder.Eval(Container.DataItem, "WorkJoinYear"),DataBinder.Eval(Container.DataItem, "WorkJoinMonth"),DataBinder.Eval(Container.DataItem, "WorkLeaveYear"),DataBinder.Eval(Container.DataItem, "WorkLeaveMonth"))%>
                                                            </div>
                                                            <div class="cpstr shenlan">  
                                                            <%# GetSchoolWork(DataBinder.Eval(Container.DataItem, "SchlDegreeID"),DataBinder.Eval(Container.DataItem, "SchlMatriculationYear"),DataBinder.Eval(Container.DataItem, "SchoolName"),DataBinder.Eval(Container.DataItem, "SchlAcdName"))%>                                                   
                                                            </div>
                                                            <div class="cpstr c999">
                                                              <%# GetLastMiniBlog(DataBinder.Eval(Container.DataItem, "MiniContent"), DataBinder.Eval(Container.DataItem, "MiniTime"))%>
                                                            </div>
                                                   </div> 
                                                   <div class="nr w60">
                                                        <ul class="acbg">
                                                            <li><a href="javascript:void(0);" onclick="mailto('<%# DataBinder.Eval(Container.DataItem, "UserID")%>','');">发送消息</a></li>
                                                            <li><a href="javascript:void(0);" onclick="Greet('<%# DataBinder.Eval(Container.DataItem, "UserID")%>','<%# DataBinder.Eval(Container.DataItem, "UserName")%>','<%# GetHeadImage(DataBinder.Eval(Container.DataItem, "UserID"),2)%>');">打招呼</a></li>
                                                            <li><a href="../../user/<%# JuSNS.Common.Public.URLWrite("","r",""+DataBinder.Eval(Container.DataItem, "UserID")+"")%>">查看好友</a></li>
                                                            <%# AddFriend(DataBinder.Eval(Container.DataItem, "UserID"), DataBinder.Eval(Container.DataItem, "UserName"), GetHeadImage(DataBinder.Eval(Container.DataItem, "UserID"), 2))%>
                                                        </ul>
                                                   </div>
                                             </div>

                                            <div class="line1"></div>
                                        </li>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ol>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </div>
                            <div class="pagination inline">
                                <a href="../ram/index.aspx?r=<%# nid%>">更多<%=cName %>朋友</a>
                             </div>                        
                            <div class="pagination inline">
                                <a href="javascript:;" onclick="showSearch();">搜索朋友</a>
                             </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="cpstr center">
                            <div class="ctitle">附近城市...</div>
                             <div class="cpstr" id="oCity" runat="server"></div>
                        </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>
