www.gusucode.com > 仿51.com的php源码 1.1 > home.php
<?php include("home_top.php");?> <?php if($_GET["go"]==0 || $_GET["go"]==null){?> <?php if((int)$cssid<200){?> <script src='Ajax.js'></script> <div id="main"> <div id="left"> <!-- 用户基本信息 --> <div id="about" class="t" > <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <!-- 基本信息 --> <div class="inkk"> <div class="name" > <BR><span class="b"><?php echo $rs["nickname"];?></span>( <?php echo $rs["User_Account"];?> ) </div> <div class="meph t" style="width:100%"> <TABLE> <TR> <TD align=""> <div class="mephk" style='margin-top:5px;margin-left:3px;text-align:'> <div style='width:80px;height:90px;overflow:hidden;border:solid 1px cccccc'> <div style='position:relative;left:0px' > <a href="vip_photos.php?user=<?php echo $rs["User_Account"];?>&go=1"><img src="User/<?php echo $rs["face"]; ?>" width='80' height='90' id='selfimg' border="0" onload="javascript: ResizeImage(this)" /></a> </div> </div> </div> <div class="mezt " style='margin-top:5px;width:150px;text-align:'> <!-- 用户性别 --> <?php if($rs["User_Sex"]=="先生"){?> <IMG SRC="User/images/man.gif"/> <?php }else{?><IMG SRC="User/images/woman.gif"/><?php }?> <!-- 用户身份信息 --> <a href='help/free-vip.php' target='_blank'><?php if($rs["huiyuan"]==0){?><IMG border='0' SRC="i/novip.jpg"/><?php }else{?><IMG border='0' SRC="i/ivip.gif"/><?php }?></a> <!-- 用户等级信息 --> <a href="help/dengji.php" target="_blank"><?php $fun->dengji($rs["dengji"]);?></a> <br/> <span class='mezt_font'>视频认证:<a style='cursor:hand;' onclick="window.open('<?php if($rs["videorz"]==0){?>rz/norz.php<?php }else{?>rz/rzphoto.php?user=<?php echo $rs["User_Account"];?><?php }?>', 'rz', 'width=500, height=320, left=200, top=200');"><u><font color=red><?php if($rs["videorz"]==0){?>未<?php }else{?>已<?php }?>认证</font></u></a></span> <br/> <span style='height:30px;padding-top:6px;'> <!--<a href="send_msg_new.php?to=<?php echo $rs["User_Account"];?>" target="_blank"><img src='images/chat.gif' border='0' /></a>--> </span> </div> </TD> </TR> </TABLE> </div> <br/> <!-- 功能区 --> <div id="megn" class="t"> <table border="0" cellspacing="0" cellpadding="0" align='center'> <tr> <td valign='center'> <div id="megnk" class='t'> <input type="hidden" id="nickNameForSubWindow" value="<?php echo $rs["nickname"];?>" /> <input type="hidden" id="userNameForForSubWindow" value="<?php echo $rs["User_Account"];?>" /> <TABLE> <TR> <TD> <ul> <li><a style="cursor:hand" onclick="my_guest_list.scrollIntoView();if(window.frames['vip_getindexguestbookleft']){window.frames['vip_getindexguestbookleft'].FocusTextArea();}else {window.frames['guestbookframe'].FocusTextArea();}">给我留言</a></li> <li><a href="#" onclick="window.open('User/AddFriend.php?user=<?php echo $rs["User_Account"];?>&t=1', 'AddFriend', 'height=200, width=350, left=100, top=150, screenX=200, screenY=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no, z-look=yes');return false;">加为好友</a><!--<a href="send_msg_new.php?to=<?php echo $rs["User_Account"];?>" target="_blank">发送消息</a>--></li> <li class="mek"><a href="#" onclick="javascript: TellAFriend(); ">推荐给好友</a></li> <li><a href="#" onclick="window.open('User/AddFriend.php?user=<?php echo $rs["User_Account"];?>&t=0', 'AddFriend', 'height=200, width=350, left=100, top=150, screenX=200, screenY=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no, z-look=yes');return false;">加为隐藏</a></li> <li><a href="#" onclick="javascript: AddToFavList(); return false;">加入收藏</a></li> <li class="mek"><a href="#" onclick="javascript: AddToBlackList('<?php echo $rs["User_Account"];?>'); return false;">加入黑名单</a></li> </ul> </TD> </TR> </TABLE> </div> </td> </tr> </table> </div> <BR> </div> </td> </tr> </table> </div> <!-- 用户群组 --> <!-- <div id="intro" class="c"> <div id='selfinfo_style_head' class="leti t"> <TABLE> <TR> <TD><div id='selfinfo_style_head_font' class="lenav">我的群组</div></TD> </TR> </TABLE> </div> <!-- 我的群组 --> <!-- 我的群组 --><!-- <div style='width:294'> <IFRAME allowTransparency="true" id='mygroup' SRC="http://qun.51.com/ku/get/myqun_blog_iframe.php?user=aaaa9999aaaa&styleid=132&user_style=" frameborder="0" scrolling="no" width="294px" height='70px'></IFRAME> </div> </div> <!-- 更多用户资料 --> <div id="state" class="c"> <div id='myper_style_head' class="leti t"> <div id="dati" style='width:274px;'> <TABLE id='myper_style_head_font' width='274px;'> <TR> <TD> <ul> <li id="tag1"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料','MyPerDIV1');switchTag('tag1','content1');this.blur();return false;" class='on' >基本资料</a></li> <li id="tag2"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=择友资料','MyPerDIV2');switchTag('tag2','content2');this.blur();return false;" >择友资料</a></li> <li id="tag3"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=生活方式','MyPerDIV3');switchTag('tag3','content3');this.blur();return false;" >生活方式</a></li> </ul> <div class="gd" style='width:50px;'><a target="_blank" href="vip_getPersonalInfo.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料">更多>></a></div> </TD> </TR> </TABLE> </div> </div> <div id='myper_style_body' class="lebo t"> <div style='width:272px;'> <table width="260" height="100" border="0" align="center" cellpadding="0" cellspacing="0" id="content1"> <tr> <td width="129" valign="top" style='WORD-WRAP:break-word;'><DIV ID='MyPerDIV1'>正在加载..</DIV></td> </tr> </table> <script language='javascript' >LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料','MyPerDIV1');</script> <table width="260" height="100" class='hide' border="0" align="center" cellpadding="0" cellspacing="0" id="content2"> <tr> <td width="129" valign="top" style='WORD-WRAP:break-word;'><DIV ID='MyPerDIV2'>正在加载..</DIV></td> </tr> </table> <table width="260" height="100" class='hide' border="0" align="center" cellpadding="0" cellspacing="0" id="content3"> <tr> <td width="129" valign="top" style='WORD-WRAP:break-word;'><DIV ID='MyPerDIV3'>正在加载..</DIV></td> </tr> </table> </div> </div> </div> <!-- 用户个人介绍 --> <div id="intro" class="c"> <div id='selfinfo_style_head' class="leti t"> <TABLE> <TR> <TD><div id='selfinfo_style_head_font' class="lenav">自我介绍</div></TD> </TR> </TABLE> </div> <!-- 自我介绍 --> <div id='selfinfo_style_body' class="lebo t"> <div id="int" style='width:289'> <table width="274" style='table-layout:fixed;' border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <div style="position:relative;WORD-WRAP:break-word;width:274px;z-index:5;color:<?php echo $rs["c38"];?>"> <?php if($rs["HomepageBulletin"]==NULL){?> <a href='User/MyPersonalInfoIntro.php' target='_blank'><u>写自我介绍</u></a> <?php }else{?> <?php echo $rs["HomepageBulletin"]; ?><?php }?> </div> </td> </tr> </table> </div> </div> </div> <!-- 网站播放器 --> <div id="music"class="c t"> <object id='Windows Media Player' width="294" height="45" class="bfq" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'> <param name="url" value="<?php if($rs["midbg"]=="" || $rs["midbg"]==NULL){ $sqla="select Mid_Url from homepagebg order by rand() desc limit 0,1"; $rsa=$dbc->getRs($sqla); echo $rsa["Mid_Url"];}else{ echo $rs["midbg"]; }?>"> <param name="invokeURLs" value="0"> <!--脚本命令设置:是否调用URL--> <param name="SAMIStyle" value="#000000"> <param name="AutoStart" value="1"> <param name="PlayCount" value="10"> <param name=ShowPositionControls value=0> </object> </div> <!-- 用户好友 --> <div id="state" class="c"> <div id='friend_style_head' class="leti t"> <TABLE> <TR> <TD><div id='friend_style_head_font' class="lenav" style='width:225px'>我的好友</div><div id='friend_style_head_font' class="lenav" style='width:45px'><a target="_blank" href="vip_getfriend.php?user=<?php echo $rs["User_Account"];?>">更多>></a></div></TD> </TR> </TABLE> </div> <IFRAME allowTransparency="true" ID="getindexfriendleft" SRC="vip_getindexfriendleft.php?user=<?php echo $rs["User_Account"];?>" frameborder="0" scrolling="no" width="294px" height=""></IFRAME> </div> <!--我的品牌广告 --> <div> </div> <span id='my_guest_list'></span> <IFRAME allowTransparency="true" ID="vip_getindexguestbookleft" SRC="vip_getindexguestbookleft.php?user=<?php echo $rs["User_Account"];?>" frameborder="0" scrolling="no" width="294px" height="365px"></IFRAME> <!-- 用户统计信息 --> <div id="state" class="c"> <div id='state_style' class="leti t"> <TABLE> <TR> <TD><div id='state_style_font' class="lenav">状态</div></TD> </TR> </TABLE> </div> <!-- 用户基本统计数据 --> <div id='state_style_body' class="lebo t"> <div id="sta" style='width:289'> <table width="274" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> <td>积分:<?php echo $rs["dengji"];?>分</td> </tr> <!-- <tr> <td>魅力指数:100点</td> </tr>--> <tr> <td>人气指数:<?php $sqldiary="select id from homeread where User_Account='$user' "; $result=$dbc->query($sqldiary); $nus=$dbc->num_rows($result);echo $nus; ?>点</td> </tr> <tr> <td>留言评论:<?php $sqldiary="select id from guestbook where UserName='$user' "; $result=$dbc->query($sqldiary); $nus=$dbc->num_rows($result);echo $nus; ?>条</td> </tr> </table> </div> </div> </div> </div> <div id="right"> <div id="photo"> <div id='photo_style_head' class="riti t"> <TABLE width='474px'> <TR> <TD> <div id='photo_style_head_font' class="rinav">我的相册</div> <div id='photo_style_head_gd' class="gd"><a href="vip_photos.php?user=<?php echo $user; ?>&go=1">更多>></a></div> </TD> </TR> </TABLE> </div> <div id='photo_style_body' class="ribo t"> <?php $sqlphoto="select * from Photo where User_Account='$user' and Is_Default='1' order by MyOrder desc,Up_AddDate desc limit 0,8"; $rsphoto=$dbc->getRs($sqlphoto); if($rsphoto!=null) { ?> <TABLE> <TR> <TD> <div id="phph"> <div id=demo align='center' style='text-align:top;overflow:hidden;height:100px;width:454px;'> <table align=left cellpadding=0 cellspace=0 border=0> <tr> <td id="demo1" valign="top" style="text-align:top;"> <?php $resultphoto=$dbc->query($sqlphoto); while ($rowphoto=@mysql_fetch_array($resultphoto)) {?> <a target='_blank' href="home/show_photo.php?id=<?php echo $rowphoto["id"]; ?>&user=<?php echo $rowphoto["User_Account"]; ?>"><img border='0' style='height:100px;'src="User/<?php echo $rowphoto["Photo_Sma_Url"]; ?>" /></a> <?php }?> </td> <td id="demo2" valign="top" style="text-align:top;"></td> </tr> </table> </div> </div> </TD> </TR> </TABLE> <script language='javascript'> var speed=30; demo2.innerHTML=demo1.innerHTML; function Marquee(){ if(demo2.offsetWidth-demo.scrollLeft<=0) demo.scrollLeft-=demo1.offsetWidth; else{ demo.scrollLeft++; } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function() {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} </script> <?php }else{?> <TABLE> <TR> <TD align='center'> <TABLE style='width:474px;height:100px;text-align:center;'> <TR> <TD align='center' style='width:100%;text-align:center;font-weight:normal;font-size:14px;padding-top:25px;' valign='top'>暂无推荐的照片! <a href='Photo/PhotoList.php' target='_blank'> <span style='text-decoration : underline;font-weight:normal;font-size:14px;'>开始推荐照片!</span></a></TD> </TR> </TABLE> </TD> </TR> </TABLE> <?php }?> </div> </div> <!-- 日记 --> <div id="diary"class="c"> <?php $sqldiary="select * from Diary where User_Account='$user' and Diary_IsHide='0' order by Diary_UpTop desc,Diary_Order desc ,Diary_Time desc limit 0,8"; $rsdiary=$dbc->getRs($sqldiary); if($rsdiary==null) { ?> <div id='diary_style_body' class='ribo t' style='width:474px;margin-bottom:10px;'><table width='474' class='di'><tr><td valign=top style=text-align:center;height:60px;font-size:14px;padding:10px;>暂无日记文集! <a href="Diary/DiaryAdd.php?group=" target="_blank"><u><span style=font-size:14px;>点击这里开始发表</span></u></a></td></tr></table></div><!-- 用户详细资料 --> <?php }else{?> <?php $resultdiary=$dbc->query($sqldiary); while ($rowdiary=@mysql_fetch_array($resultdiary)) {?> <div id='diary_style_body' class="ribo t" style='width:474px;margin-bottom:10px;'> <table border="0" align="center" cellspacing="0" cellpadding="0" style='width:454px;table-layout:fixed;'> <tr> <td height="36" class="b" style='padding-top:10px;'> <?php if($rowdiary["Diary_UpTop"]==1){?> [置顶]<?php } ?> <A style='text-decoration:none;' HREF='vip_showdiarys.php?user=<?php echo $rowdiary["User_Account"]; ?>&go=2&diary_id=<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>' target='_blank'><?php echo $rowdiary["Diary_Title"]; ?></a> <?php echo date("Y",strtotime($rowdiary["Diary_ShowTime"])); ?>年<?php echo date("m",strtotime($rowdiary["Diary_ShowTime"])); ?>月<?php echo date("d",strtotime($rowdiary["Diary_ShowTime"])); ?>日 <?php echo date("h",strtotime($rowdiary["Diary_ShowTime"])); ?>:<?php echo date("i",strtotime($rowdiary["Diary_ShowTime"])); ?> </td> </tr> <tr> <td height="30" style='border-top:1px solid;'> </td> </tr> <tr> <td style='width:449px;text-align:center;'> <div Style="font-size:14px;WORD-WRAP:break-word;line-height:28px;margin-top:10px;margin-bottom:20px;"> <?php if($rowdiary["Diary_WeekDay"]==1){?> <?php echo ubb($rowdiary["Diary_Memo"]); ?> <?php }?> <?php if($rowdiary["Diary_WeekDay"]==2){?> <?php echo ubb(substr($rowdiary["Diary_Memo"],0,300)); ?> <?php }?> <?php if($rowdiary["Diary_WeekDay"]==3){?> <A HREF="vip_showdiarys.php?user=<?php echo $user; ?>&go=2&diary_id=<?php echo $news[$i]["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>" target="_blank"><?php echo $news[$i]["Diary_Title"]; ?></A> <?php }?> </DIV> </td> </tr> </table> <DIV style='width:95%;padding-left:15px;'><table width="100%" align='center' border="0" cellspacing="0" cellpadding="0"> <TR> <TD><A HREF="vip_showdiarys.php?user=<?php echo $rowdiary["User_Account"]; ?>&go=2&diary_id=<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>" target="_blank"><U><span style='font-size:14px;font-weight:bold;'>查看全文 >>></span></U></A><BR><BR></TD> </TR> <TR> <TD>评论:<span id='comment<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php $UnixID=$rowdiary["Diary_UnixTimestamp"]; $sqldiary="select id from DiaryComment where DiaryComment_UserName='$user' and DiaryComment_CommentObjId='$UnixID'"; $result=$dbc->query($sqldiary); $nu=$dbc->num_rows($result);echo $nu; ?></span>条 <a style="cursor:hand" onclick="showCommentForms(<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo $rowdiary["Diary_Title"]; ?>','<?php echo $rowdiary["User_Account"]; ?>',435);"><u>发表</u></a> <a id="Diary_CommentLink_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>" style="cursor:hand" onclick="ProcessInterFace_Comment('<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>|0','Diary','<?php echo $rowdiary["User_Account"]; ?>')">查看</u></a> 鲜花:<span id='flower<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php echo $rowdiary["flower"]; ?></span>朵 <a href="#" onclick="javascript:return SendGiftConfirm(1,<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo date("Y-m-d H:i:s",strftime(time())); ?>','<?php echo $rowdiary["User_Account"]; ?>','Diary');"><U>送鲜花</U></a> 鸡蛋:<span id='egg<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php echo $rowdiary["egg"]; ?></span>个 <a href="#" onclick="javascript:return SendGiftConfirm(2,<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo date("Y-m-d H:i:s",strftime(time())); ?>','<?php echo $rowdiary["User_Account"]; ?>','Diary');"><U>砸鸡蛋</U></a></TD> </TR> </TABLE><BR> <!-- 日记模块,添加评论 --> <DIV style="width:100%;display:none;" ID="DIV_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>"></DIV> <!-- 日记模块,查看评论 --> <DIV style="width:100%"> <DIV align="center" style="padding:10px;display:none;" class="riri t" ID="Diary_Comment_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>"> 正在加载评论列表,请稍候... </DIV> </DIV> <br/> </DIV> </div> <?php }}?> </div> <BR><BR><BR><BR> </div> <script language="VBScript"> Function isNum(str) If isNumeric(str) Then isNum=true Else isNum=false End If End Function </script> <script language="JavaScript"> <!-- function isNum(s){ return !isNaN(parseInt(s)); } function reloadImage(obj){ var neww =350; if(obj.width>neww) { obj.width =neww; } } //--> </script> <BR><BR><BR><BR> <?php include("home_bottom.php"); ?> <div id="welcomFlashDispalyDiv"> <div id='flashLayer' class='flashDiv'> </div> </div> <SCRIPT LANGUAGE="JavaScript"> <!-- setTimeout(onLoadFuncList, 100); //--> </SCRIPT> <?php }else{?> <script src='Ajax.js'></script> <div id="main"> <div id="left"> <!-- 用户基本信息 --> <div id="about" class="t" style='width:180px;'> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <!-- 基本信息 --> <div class="inkk"> <div class="name" style='text-align:center;'> <span class="b"><?php echo $rs["nickname"];?></span>(<?php echo $rs["User_Account"];?>) </div> <div class="meph t" style="width:180px;text-align:center;"> <TABLE> <TR> <TD align=center> <div class="mephk" style='margin-top:5px;margin-left:0px;'> <div style="text-align:center;"> <div style='position:relative;left:0px;text-align:center;'> <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0" align='center' valign="middle"> <tr><td align='center' valign="middle"> <a href="vip_photos.php?user=<?php echo $rs["User_Account"];?>&go=1"><img src="User/<?php echo $rs["face"]; ?>" id='selfimg' border="0" style='border:solid 1px cccccc' onload="javascript: ResizeImage(this);"/></a> </td></tr></table> </div> </div> </div> <div class="mezt " style='margin-top:5px;width:180px;text-align:center;'> <!-- 用户性别 --> <?php if($rs["User_Sex"]=="先生"){?> <IMG SRC="User/images/man.gif"/> <?php }else{?><IMG SRC="User/images/woman.gif"/><?php }?> <!-- 用户身份信息 --> <a href='help/free-vip.php' target='_blank'><?php if($rs["huiyuan"]==0){?><IMG border='0' SRC="i/novip.jpg"/><?php }else{?><IMG border='0' SRC="i/ivip.gif"/><?php }?></a> <!-- 用户视频认证信息 --> <!-- 用户等级信息 --> <a href="help/dengji.php" target="_blank"><?php $fun->dengji($rs["dengji"]);?></a> <br/> <span class='mezt_font' style='height:30px;padding-top:6px;'>视频认证:<a style='cursor:hand;' onclick="window.open('<?php if($rs["videorz"]==0){?>rz/norz.php<?php }else{?>rz/rzphoto.php?user=<?php echo $rs["User_Account"];?><?php }?>', 'rz', 'width=500, height=320, left=200, top=200');"><u><font color=red><?php if($rs["videorz"]==0){?>未<?php }else{?>已<?php }?>认证</font></u></a></span> <br/> <span style='height:30px;padding-top:6px;'> <!--<a href="http://my.51.com/send_msg_new.php?to=qbx02qbx" target="_blank"><img src='/images/chat.gif' border='0' /></a>--> </span> </div> </TD> </TR> </TABLE> </div> <!-- 功能区 --> <div style='text-align:center;'> <div id="megn" class="t" style='margin-top:10px;width:170px;'> <table border="0" cellspacing="0" cellpadding="0" align='center'> <tr> <td valign='center'> <div id="megnk" class='t'> <input type="hidden" id="nickNameForSubWindow" value="<?php echo $rs["nickname"];?>" /> <input type="hidden" id="userNameForForSubWindow" value="<?php echo $rs["User_Account"];?>" /> <TABLE align="center"> <TR> <TD align="center"> <ul style="width:140px; text-align:center"> <li> <a style="cursor:hand" onclick="my_guest_list.scrollIntoView();window.frames['guestbookframe'].FocusTextArea();"> 给我留言</a></li> <li><a href="#" onclick="window.open('User/AddFriend.php?user=<?php echo $rs["User_Account"];?>&t=1', 'AddFriend', 'height=200, width=350, left=100, top=150, screenX=200, screenY=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no, z-look=yes');return false;">加为好友</a></li> <li class="mek"><a href="#" onclick="javascript: TellAFriend(); ">推荐给好友</a></li> <li class="mek"><a href="#" onclick="window.open('User/AddFriend.php?user=<?php echo $rs["User_Account"];?>&t=0', 'AddFriend', 'height=200, width=350, left=100, top=150, screenX=200, screenY=200, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no, z-look=yes');return false;">加为隐藏</a></li> <li><a href="#" onclick="javascript: AddToFavList(); return false;">加入收藏</a></li> <li class="mek"><a href="#" onclick="javascript: AddToBlackList('<?php echo $rs["User_Account"];?>'); return false;">加入黑名单</a></li> </ul> </TD> </TR> </TABLE> </div> </td> </tr> </table> </div> </div> <BR> </div> </td> </tr> </table> </div> <!-- 用户群组 --> <!-- <div id="intro" class="c"> <div id="selfinfo_style_head" class="leti t"> <TABLE height="100%"> <TR> <TD><div id="selfinfo_style_head_font" class="lenav">我的群组</div></TD> </TR> </TABLE> </div> <!-- 我的群组 --> <!-- 我的群组 --> <!-- <div style='width:180'> <IFRAME allowTransparency="true" id='mygroup' SRC="http://qun.51.com/ku/get/myqun_blog_iframe.php?user=qbx02qbx&styleid=201&time=&user_style=" frameborder="0" scrolling="no" width="180px" height='70px'></IFRAME> </div> </div> <!-- 用户个人介绍 --> <div id="intro" class="c"> <div id='selfinfo_style_head' class="leti t"> <TABLE height="100%"> <TR> <TD><div id='selfinfo_style_head_font' class="lenav">自我介绍</div></TD> </TR> </TABLE> </div> <!-- 自我介绍 --> <div id='selfinfo_style_body' class="lebo t"> <div id="int" style='width:175'> <table width="160" style='table-layout:fixed;' border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <div style="position:relative;WORD-WRAP:break-word;width:160px;z-index:5;color:<?php echo $rs["c38"];?>"> <?php if($rs["HomepageBulletin"]==NULL){?> <a href='User/MyPersonalInfoIntro.php' target='_blank'><u>写自我介绍</u></a> <?php }else{?> <?php echo $rs["HomepageBulletin"]; ?><?php }?> </div> </td> </tr> </table> </div> </div> </div> <!-- 网站播放器 --> <div id="music"class="c t"> <object id='Windows Media Player' width="180" height="45" class="bfq" classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'> <param name="url" value="<?php if($rs["midbg"]=="" || $rs["midbg"]==NULL){ $sqla="select Mid_Url from HomepageBg order by rand() desc limit 0,1"; $rsa=$dbc->getRs($sqla); echo $rsa["Mid_Url"];}else{ echo $rs["midbg"]; }?>"> <param name="invokeURLs" value="0"> <!--脚本命令设置:是否调用URL--> <param name="SAMIStyle" value="#000000"> <param name="AutoStart" value="1"> <param name="PlayCount" value="10"> <param name=ShowPositionControls value=0> </object> </div> <!-- 用户好友 --> <div id="state" class="c"> <div id='friend_style_head' class="leti t"> <TABLE height="100%"> <TR> <TD><div id='friend_style_head_font' class="lenav" style='width:110px'>我的好友</div><div style='width:45px'><a id='friend_style_head_font' class="lenav" style='text-align:right;font-weight:normal;' target="_blank" href="vip_getfriend.php?user=<?php echo $rs["User_Account"];?>">更多>></a></div></TD> </TR> </TABLE> </div> <IFRAME allowTransparency="true" ID="getindexfriendleft" SRC="vip_getindexfriendleft.php?user=<?php echo $rs["User_Account"];?>" frameborder="0" scrolling="no" width="180px" height=""></IFRAME> </div> <!--我的品牌广告 --> <div> </div> <!-- 用户统计信息 --> <div id="state" class="c"> <div id='state_style' class="leti t"> <TABLE height="100%"> <TR> <TD><div id='state_style_font' class="lenav">状态</div></TD> </TR> </TABLE> </div> <!-- 用户基本统计数据 --> <div id='state_style_body' class="lebo t"> <div id="sta" style='width:175'> <table width="160" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> <td>积分:<?php echo $rs["dengji"];?>分</td> </tr> <!-- <tr> <td>魅力指数:100点</td> </tr> --> <tr> <td>人气指数:<?php $sqldiary="select id from homeread where User_Account='$user' "; $result=$dbc->query($sqldiary); $nus=$dbc->num_rows($result);echo $nus; ?>点</td> </tr> <tr> <td>留言评论:<?php $sqldiary="select id from guestbook where UserName='$user' "; $result=$dbc->query($sqldiary); $nus=$dbc->num_rows($result);echo $nus; ?>条</td> </tr> </table> </div> </div> </div> </div> <div id="right"> <!-- 相册 --> <div id="photo"> <div id='photo_style_head' class="riti t"> <TABLE width='99%' height="100%"> <TR> <TD> <div id='photo_style_head_font' class="rinav">我的相册图库</div> <div id='photo_style_head_gd' class="gd"><a target="_blank" href="vip_photos.php?user=<?php echo $user; ?>&go=1">更多>></a></div> </TD> </TR> </TABLE> </div> <div id='photo_style_body' class="ribo t"> <?php $sqlphoto="select * from Photo where User_Account='$user' and Is_Default='1' order by MyOrder desc,Up_AddDate desc limit 0,8"; $rsphoto=$dbc->getRs($sqlphoto); if($rsphoto!=null) { ?> <TABLE> <TR> <TD> <div id="phph"> <div id=demo align='center' style='text-align:top;overflow:hidden;height:100px;width:568px;'> <table align=left cellpadding=0 cellspace=0 border=0> <tr> <td id="demo1" valign="top" style="text-align:top;"> <?php $resultphoto=$dbc->query($sqlphoto); while ($rowphoto=@mysql_fetch_array($resultphoto)) {?> <a target='_blank' href="home/show_photo.php?id=<?php echo $rowphoto["id"]; ?>&user=<?php echo $rowphoto["User_Account"]; ?>"><img border='0' style='height:100px;'src="User/<?php echo $rowphoto["Photo_Sma_Url"]; ?>" /></a> <?php }?> </td> <td id="demo2" valign="top" style="text-align:top;"></td> </tr> </table> </div> </div> </TD> </TR> </TABLE> <script language='javascript'> var speed=30; demo2.innerHTML=demo1.innerHTML; function Marquee(){ if(demo2.offsetWidth-demo.scrollLeft<=0) demo.scrollLeft-=demo1.offsetWidth; else{ demo.scrollLeft++; } } var MyMar=setInterval(Marquee,speed) demo.onmouseover=function() {clearInterval(MyMar)} demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} </script> <?php }else{?> <TABLE> <TR> <TD align='center'> <TABLE style='width:474px;height:100px;text-align:center;'> <TR> <TD align='center' style='width:100%;text-align:center;font-weight:normal;font-size:14px;padding-top:25px;' valign='top'>暂无推荐的照片! <a href='Photo/PhotoList.php' target='_blank'> <span style='text-decoration : underline;font-weight:normal;font-size:14px;'>开始推荐照片!</span></a></TD> </TR> </TABLE> </TD> </TR> </TABLE> <?php }?> </div> </div> <!-- 用户详细资料 --> <div id="data" class="c"> <div id='myper_style_head' class="riti t"> <div id="dati" style='height:100%'> <TABLE width='571px;' id='myper_style_head_font' height='100%'> <TR> <TD> <ul> <li id="tag1"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料','MyPerDIV1');switchTag('tag1','content1');this.blur();return false;" class='on' >基本资料</a></li> <li id="tag2"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=择友资料','MyPerDIV2');switchTag('tag2','content2');this.blur();return false;" >择友资料</a></li> <li id="tag3"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=生活方式','MyPerDIV3');switchTag('tag3','content3');this.blur();return false;" >生活方式</a></li> <li id="tag4"><a style='cursor:hand;' onclick="LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=联系方式','MyPerDIV4');switchTag('tag4','content4');this.blur();return false;" >联系方式</a></li> </ul> <div class='gd' style='float:none;margin-right:0px;width:93%;text-align:right;'><a id='myper_style_head_font' style='text-decoration:none;text-align:right;font-weight:normal;' target="_blank" href="vip_getPersonalInfo.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料">更多>></a></div> </TD> </TR> </TABLE> </div> </div> <div id='myper_style_body' class="ribo t"> <div id="zil" style="width:100%"> <table width="568" height="100" border="0" align="center" cellpadding="0" cellspacing="0" id="content1"> <tr> <td valign="top"><DIV ID='MyPerDIV1'>正在加载..</DIV></td> </tr> </table> <script language='javascript' >LoadXMLHTTP('vip_getMyPersonalInfoLeft.php?user=<?php echo $rs["User_Account"];?>&Type=基本资料','MyPerDIV1');</script> <table width="568" height="100" class='hide' border="0" align="center" cellpadding="0" cellspacing="0" id="content2"> <tr> <td valign="top"><DIV ID='MyPerDIV2'>正在加载..</DIV></td> </tr> </table> <table width="568" height="100" class='hide' border="0" align="center" cellpadding="0" cellspacing="0" id="content3"> <tr> <td valign="top"><DIV ID='MyPerDIV3'>正在加载..</DIV></td> </tr> </table> <table width="568" height="100" class='hide' border="0" align="center" cellpadding="0" cellspacing="0" id="content4"> <tr> <td valign="top"><DIV ID='MyPerDIV4'>正在加载..</DIV></td> </tr> </table> </div> </div> </div> <!-- 用户文集日记 --> <div id="diary"class="c"> <?php $sqldiary="select * from Diary where User_Account='$user' and Diary_IsHide='0' order by Diary_UpTop desc,Diary_Order desc ,Diary_Time desc limit 0,8"; $rsdiary=$dbc->getRs($sqldiary); if($rsdiary==null) { ?> <div id='diary_style_head' class="riti t" style='width:583px;float:left;'> <DIV id='diary_style_head_font' class="rinav" style='width:568px;height:18px'> </DIV></div> <div id='diary_style_body' class='ribo t' style='width:583px;margin-bottom:10px;'><table width='474' class='di'><tr><td valign=top style='text-align:center;height:60px;font-size:14px;padding:10px;'>暂无日记文集! <a href="Diary/DiaryAdd.php?group=" target="_blank"><u><span style=font-size:14px;>点击这里开始发表</span></u></a></td></tr></table></div> <?php }else{?> <?php $resultdiary=$dbc->query($sqldiary); while ($rowdiary=@mysql_fetch_array($resultdiary)) {?> <div id='diary_style_head' class="riti t" style='width:583px;float:left;'> <DIV id='diary_style_head_font' class="rinav" style='width:568px;height:18px'> <?php if($rowdiary["Diary_UpTop"]==1){?> [置顶]<?php } ?> <A style='text-decoration:none;' HREF='vip_showdiarys.php?user=<?php echo $rowdiary["User_Account"]; ?>&go=2&diary_id=<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>' target='_blank'><?php echo $rowdiary["Diary_Title"]; ?></a> <?php echo date("Y",strtotime($rowdiary["Diary_ShowTime"])); ?>年<?php echo date("m",strtotime($rowdiary["Diary_ShowTime"])); ?>月<?php echo date("d",strtotime($rowdiary["Diary_ShowTime"])); ?>日 <?php echo date("h",strtotime($rowdiary["Diary_ShowTime"])); ?>:<?php echo date("i",strtotime($rowdiary["Diary_ShowTime"])); ?> </DIV> </DIV> <div id='diary_style_body' class="ribo t" style='width:588px;margin-bottom:10px;'> <table border="0" align="center" cellspacing="0" cellpadding="0" style='width:568px;table-layout:fixed;'> <tr> <td style='width:563px;text-align:center;'> <div Style="font-size:14px;WORD-WRAP:break-word;line-height:28px;margin-top:10px;margin-bottom:20px;"> <?php if($rowdiary["Diary_WeekDay"]==1){?> <?php echo $rowdiary["Diary_Memo"]; ?> <?php }?> <?php if($rowdiary["Diary_WeekDay"]==2){?> <?php echo substr($rowdiary["Diary_Memo"],0,300); ?> <?php }?> <?php if($rowdiary["Diary_WeekDay"]==3){?> <A HREF="vip_showdiarys.php?user=<?php echo $user; ?>&go=2&diary_id=<?php echo $news[$i]["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>" target="_blank"><?php echo $news[$i]["Diary_Title"]; ?></A> <?php }?> </DIV> </td> </tr> </table> <DIV style='width:95%;padding-left:15px;'><table width="100%" align='center' border="0" cellspacing="0" cellpadding="0"> <TR> <TD><A HREF="vip_showdiarys.php?user=<?php echo $rowdiary["User_Account"]; ?>&go=2&diary_id=<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>&group=<?php echo $news[$i]["Diary_Group"]; ?>" target="_blank"><U><span style='font-size:14px;font-weight:bold;'>查看全文 >>></span></U></A><BR><BR></TD> </TR> <TR> <TD>评论:<span id='comment<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php $UnixID=$rowdiary["Diary_UnixTimestamp"]; $sqldiary="select id from DiaryComment where DiaryComment_UserName='$user' and DiaryComment_CommentObjId='$UnixID'"; $result=$dbc->query($sqldiary); $nu=$dbc->num_rows($result);echo $nu; ?></span>条 <a style="cursor:hand" onclick="showCommentForms(<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo $rowdiary["Diary_Title"]; ?>','<?php echo $rowdiary["User_Account"]; ?>',525);"><u>发表</u></a> <a id="Diary_CommentLink_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>" style="cursor:hand" onclick="ProcessInterFace_Comment('<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>|0','Diary','<?php echo $rowdiary["User_Account"]; ?>')">查看</u></a> 鲜花:<span id='flower<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php echo $rowdiary["flower"]; ?></span>朵 <a href="#" onclick="javascript:return SendGiftConfirm(1,<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo date("Y-m-d H:i:s",strftime(time())); ?>','<?php echo $rowdiary["User_Account"]; ?>','Diary');"><U>送鲜花</U></a> 鸡蛋:<span id='egg<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>'><?php echo $rowdiary["egg"]; ?></span>个 <a href="#" onclick="javascript:return SendGiftConfirm(2,<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>,'<?php echo date("Y-m-d H:i:s",strftime(time())); ?>','<?php echo $rowdiary["User_Account"]; ?>','Diary');"><U>砸鸡蛋</U></a></TD> </TR> </TABLE><BR> <!-- 日记模块,添加评论 --> <DIV style="width:100%;display:none;" ID="DIV_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>"></DIV> <!-- 日记模块,查看评论 --> <DIV style="width:100%"> <DIV align="center" style="padding:10px;display:none;" class="riri t" ID="Diary_Comment_<?php echo $rowdiary["Diary_UnixTimestamp"]; ?>"> 正在加载评论列表,请稍候... </DIV> </DIV> <br/> </DIV> </div> <?php }}?> <div id='diary_style_body' class="ribo t" style='text-align:right;'><span style='height:30px;padding-top:10px;text-align:right;width:90%;font-size:14px;font-weight:bold;'><table><tr><td><b><a href='/vip_diarys.php?user=<?php echo $rs["User_Account"];?>&go=2' target='_blank'>更多日记文集 >></a></b></td></tr></table></span> </div> <!-- 用户留言 --> <div id="mess"> <span id='my_guest_list'></span> <IFRAME allowTransparency="true" id='guestbookframe' SRC="vip_getindexguestbook.php?user=<?php echo $rs["User_Account"];?>" frameborder="0" scrolling="no" width="474px" NAME="getindexfriend"></IFRAME> </div> </div> <BR><BR> </div> <BR><BR><BR><BR> </div></div> <?php include("home_bottom.php"); ?> <div id="welcomFlashDispalyDiv"> <div id='flashLayer' class='flashDiv'> </div> </div> </div> <SCRIPT LANGUAGE="JavaScript"> <!-- setTimeout(onLoadFuncList, 100); //--> </SCRIPT> <?php }//结束样式?> <?php }?>