<!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">
<!--
<?php
print <<<EOT
-->
<head>
<title>{$rsdb[username]}的個人主頁                     Powered By www.php168.com</title>
<link rel="stylesheet" type="text/css" href="images/css.css">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="keywords" content="php168 news bbs board php mysql forums">
<meta name="description" content="整站系統">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<SCRIPT LANGUAGE="JavaScript" src="../images/default/inc.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="../images/default/default.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
function get_obj(obj){
   return document.getElementById(obj);
}
if( window.self!=window.top ){
	window.top.location.href='homepage.php?uid=$uid';
}
//-->
</SCRIPT>
<table width="990" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td id="h_head">{$rsdb[username]}的個人主頁</td>
  </tr>
  <tr> 
    <td id="h_guide">
      <div class="L">
<!--
EOT;
$detail=explode("\r\n",$webdb[guide_word]);
foreach($detail AS $key=>$value){
if(!$value)continue;
list($name,$url,$blank,$color,$lid)=explode("|",$value);
if(ereg("^\/",$url)){
	$url="$webdb[www_url]$url";
}elseif(!ereg("://",$url)){
	$url="$webdb[www_url]/$url";
}
print <<<EOT
-->
	 <a href="$url" target="_blank">$name</a> 
<!--
EOT;
}print <<<EOT
--> </div>
      <div class="R">
<!--
EOT;
if($lfjuid){print <<<EOT
-->
	 <a href="./homepage.php?uid=$lfjuid">我的主頁</a> 
        |  <a href="./" target="_blank">控制面板</a> 
        | <a href="$webdb[www_url]/do/login.php?action=quit" target="_blank">退出</a>
<!--
EOT;
}else{print <<<EOT
-->
	  <a href="$webdb[www_url]/do/login.php" target="_blank">登錄</a> 
        | <a href="$webdb[www_url]/do/reg.php" target="_blank">注冊</a>
<!--
EOT;
}print <<<EOT
-->
		 </div>
    </td>
  </tr>
</table>
<table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="h_body">
  <tr> 
    <td height="291" valign="top" width="700" class="main"> 
      <div id="comarticle">今日導讀︰<a href="../bencandy.php?fid=$comDB[fid]&id=$comDB[aid]" target="_blank">$comDB[title]</a></div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px;">
        <tr> 
          <td width="22%"><a href="#" style="border:1px solid #D2D2D2;width:150px;height:150px;display:block;"> 
		  <img onerror="this.src='$webdb[www_url]/images/default/nobody.gif'" style="border:4px solid #fff;" onload="this.width=150" src="{$rsdb[icon]}?$timestamp" border="0">
		  </a></td>
          <td width="78%" valign="top" style="padding-left:15px;line-height:33px;"><b>$rsdb[username]</b> 
            <!--
EOT;
if($rsdb[grouptype]==1){
print <<<EOT
-->
            <img src="$webdb[www_url]/member/images/company_icon.gif" alt="企業會員"> 
            <!--
EOT;
}
print <<<EOT
-->
            <!--
EOT;
if($rsdb[idcard_yz]==1){
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/idcard_1.gif" alt="身份認證會員"> 
            <!--
EOT;
}else{
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/idcard_0.gif" alt="身份還未認證"> 
            <!--
EOT;
}
print <<<EOT
-->
            <!--
EOT;
if($rsdb[email_yz]==1){
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/email_1.gif" alt="郵箱認證會員"> 
            <!--
EOT;
}else{
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/email_0.gif" alt="郵箱還未認證"> 
            <!--
EOT;
}
print <<<EOT
-->
            <!--
EOT;
if($rsdb[mob_yz]==1){
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/mob_1.gif" alt="手機認證會員"> 
            <!--
EOT;
}else{
print <<<EOT
-->
            <img src="$webdb[www_url]/images/default/yz/mob_0.gif" alt="手機還未認證"> 
            <!--
EOT;
}
print <<<EOT
-->
            　　　　　　　　　　　　　　　<img src="images/icon_msg.gif"> <a href="index.php?main=pm.php?job=send&username=$rsdb[username]" target="_blank">發站內短消息</a><br>
            等級︰ <b><font color="#FF0000">$group_db[grouptitle]</font></b><br>
            金幣︰ <img src="images/moneycard.gif"> <b><font color="#FF0000">{$rsdb[moneycard]}</font></b> 
            個 　　　　 {$webdb[MoneyName]}︰<img src="images/money.gif"> <b><font color="#0000FF">$rsdb[money]</font></b> 
            {$webdb[MoneyDW]} (<a href="../do/jf.php" target="_blank">查看如何獲取積分?</a>)<br>
            已用空間︰<font color="#0000FF"> $rsdb[usespace]</font> M(兆) <br>
            可用空間大小︰ $space_system + $space_group + $space_user - $rsdb[usespace] 
            = $rsdb[totalspace] M(兆)<br>
            空間計算方式︰ 系統默認容量 + 用戶組默認容量 + 自身容量 - 已用空間 = 可用空間大小 </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="h_line">
        <tr class="top"> 
          <td width="63%" class="L">個人基本信息</td>
          <td width="37%" class="R">&nbsp;</td>
        </tr>
        <tr class="body"> 
          <td colspan="2" > 
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="31%" height="25">性別︰$rsdb[sex]</td>
                <td width="34%" height="25">生日︰$rsdb[bday]</td>
                <td width="35%" height="25">所在城市︰{$area_db[name][$rsdb[provinceid]]} 
                  {$area_db[name][$rsdb[cityid]]}</td>
              </tr>
              <tr> 
                <td width="31%"> 聯系QQ︰$rsdb[oicq] </td>
                <td width="34%">聯系MSN︰$rsdb[msn]</td>
                <td width="35%">個人網站︰<a href="$rsdb[homepage]" target="_blank">$rsdb[homepage]</a></td>
              </tr>
              <tr> 
                <td>注冊日期︰$rsdb[regdate]</td>
                <td>自我介紹︰$rsdb[introduce]</td>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="h_line">
        <tr class="top"> 
          <td width="63%" class="L">個人動態信息</td>
          <td width="37%" class="R">&nbsp;</td>
        </tr>
        <tr class="body"> 
          <td colspan="2" > 
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="47%" height="25">最後登錄時間︰$rsdb[lastvist]</td>
                <td height="25">最後登錄IP所在地︰$rsdb[lastip]</td>
              </tr>
              <tr> 
                <td width="47%"> 主頁被訪問數︰$rsdb[hits]</td>
                <td>主頁最近被訪問日期︰$rsdb[lastview]</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="h_line">
        <tr class="top"> 
          <td width="63%" class="L">我的圖片主題</td>
          <td width="37%" class="R">&nbsp;</td>
        </tr>
        <tr class="body"> 
          <td colspan="2" > <!--
EOT;
foreach($myphotoDB AS $rs){
$rs[title]=get_word($rs[title],20,0);
print <<<EOT
--> <div class="listpic"><a class='img' href="../bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank"><img src="$rs[picurl]" border="0"></a> 
             <a href="../bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank">$rs[title]</a></div>
            <!--
EOT;
}print <<<EOT
-->

           
          </td>
        </tr>
      </table>
      <!--
EOT;
if($web_admin||$lfjuid==$uid){print <<<EOT
-->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="h_line">
        <tr class="top"> 
          <td width="63%" class="L">我的私密資料</td>
          <td width="37%" class="R">&nbsp;</td>
        </tr>
        <tr class="body"> 
          <td colspan="2" > 
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="33%" height="25">注冊IP︰$rsdb[regip]</td>
                <td width="38%" height="25">最後登錄IP︰$rsdb[lastip]</td>
                <td height="25" width="29%">郵政編碼︰$rsdb[postalcode]</td>
              </tr>
              <tr> 
                <td width="33%">真實姓名︰$rsdb[truename]</td>
                <td width="38%">身份證號碼︰$rsdb[idcard]</td>
                <td width="29%">聯系手機︰$rsdb[mobphone]</td>
              </tr>
              <tr> 
                <td width="33%">聯系電話︰$rsdb[telephone]</td>
                <td colspan="2">聯系地址︰$rsdb[address]</td>
              </tr>
              <tr> 
                <td colspan="3"><font color="#0000FF">說明︰以上私密資料只有本人與管理員才可查看,其它人無法查看!</font></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
<!--
EOT;
}print <<<EOT
-->
	  
	  
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="h_line">
        <tr class="top"> 
          <td width="63%" class="L">系統自定義個人信息字段</td>
          <td width="37%" class="R">&nbsp;</td>
        </tr>
        <tr class="body"> 
          <td colspan="2" >
            
            <SCRIPT LANGUAGE="JavaScript">
<!--
document.write('<div id="showRegDiv"></div>');
AJAX.get("showRegDiv","../do/regfield.php?job=show&uid=$uid");
//-->
</SCRIPT>
          </td>
        </tr>
      </table>
    </td>
    <td height="291" valign="top" width="290" class="side"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drag">
        <tr> 
          <td class="head">
            <div class="L">我的最新主題</div>
            <div class="R"></div>
          </td>
        </tr>
        <tr> 
          <td class="body"> 
            <!--
EOT;
foreach($myarticleDB AS $rs){
$rs[title]=get_word($rs[title],40,0);
print <<<EOT
-->
           <div>•<a href="../bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank">$rs[title]</a></div>
<!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
      </table>
      
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drag">
            <!--
EOT;
if(ereg("^pwbbs",$webdb[passport_type])){
print <<<EOT
-->
		<tr> 
          <td class="head"> 
            <div class="L">我的貼子</div>
            <div class="R"></div>
          </td>
        </tr>
        <tr> 
          <td class="body"> 
            <!--
EOT;
foreach($mybbsDB AS $rs){
$rs[subject]=get_word($rs[subject],40,0);
print <<<EOT
-->
            <div>•<a href="$webdb[passport_url]/read.php?tid=$rs[tid]" target="_blank">$rs[subject]</a></div>
            <!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
            <!--
EOT;
}print <<<EOT
-->
      </table>
	  
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drag">
        <tr> 
          <td class="head"> 
            <div class="L">系統推薦主題</div>
            <div class="R"></div>
          </td>
        </tr>
        <tr> 
          <td class="body"> 
            <!--
EOT;
foreach($myotherDB AS $rs){
$rs[title]=get_word($rs[title],40,0);
print <<<EOT
-->
            <div>•<a href="../bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="_blank">$rs[title]</a></div>
            <!--
EOT;
}print <<<EOT
-->
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="h_footer">
  <tr>
    <td align="center"> Powered by <a href="http://www.php168.com" target="_blank">PHP168 
      $php168_Edition</a> Code &copy; 2003-08 <a href="http://www.php168.com/bbs" target="_blank">PHP168CMS</a></td>
  </tr>
</table>
</body>
</html>
<!--
EOT;
?>
-->