<!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>会员中心                           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=gb2312">
<meta name="keywords" content="php168 news bbs board php mysql forums">
<meta name="description" content="整站系统"> 
</head>
<script type="text/javascript">
function SetCwinHeight(){
	var obj=document.getElementById("member_mainiframe"); //iframe id
	if (document.getElementById){
		if (obj && !window.opera){
			if (obj.contentDocument && obj.contentDocument.body.offsetHeight){
				obj.height = obj.contentDocument.body.offsetHeight;
			}else if(obj.Document && obj.Document.body.scrollHeight){
				obj.height = obj.Document.body.scrollHeight;
			}
			if(obj.height<800){
				obj.height=800;
			}
		}else {
			obj.height = 1000;
		}
		//navigator.userAgent.toLowerCase().indexOf("msie 8.0") != -1
		//obj.document.getElementById("footer").style.display='none';
	}
}
</script>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<div id="Iframe">
<table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="header">
  <tr>
    <td>
	    <div class="Logo"><a href="index.php?SystemId=$SystemId"><img src="images/logo.gif" border="0"></a></div>
	<div class="webguide">
<!--
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
-->
	<span><a href="$url" target="_blank">$name</a></span>
<!--
EOT;
}print <<<EOT
-->
	
	</div>
	    <div class="welcome">欢迎你回来:<b><font color="#FF0000">$lfjid</font></b> 
       &nbsp;&nbsp;<A HREF="$webdb[www_url]/member/homepage.php?uid=$lfjuid" target=_blank>个人信息</A>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../do/login.php?action=quit"><font color="#0000FF"><u>安全退出</u></font></a></div>
        <div class="guide">
<div class="more"><IMG id="more_left" style="MARGIN-BOTTOM: 0px" 
      onclick="show_more_menu('left');" src="images/more_l1.gif" border=0></div>
<div class="more"><IMG id="more_right" style="MARGIN-BOTTOM: 0px" 
      onclick="show_more_menu('right');" src="images/more_r1.gif" border=0></div>
 <DIV id=top_menu_div></DIV>
  </div>
   
	</td>
  </tr>
</table>
  <table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="topbg">
    <tr>
      <td><div id="time"><span id="liveclock"></span> 
<script language="javascript" type="text/javascript"> 
function p8_time() 
{ 
	var Digital=new Date();
	var hours=Digital.getHours();
	var minutes=Digital.getMinutes();
	var seconds=Digital.getSeconds();
	var year=Digital.getFullYear();
	var month=Digital.getMonth()+1; 
	var day=Digital.getDate();
	
	if(month<=9) month="0"+month;
	if(day<=9) day="0"+day;
	if(minutes<=9) minutes="0"+minutes;
	if(seconds<=9) seconds="0"+seconds ;
	myclock="当前时间: "+year+"-"+month+"-"+day+" "+hours+":"+minutes+":"+seconds;
	if(document.layers){
		document.layers.liveclock.document.write(myclock);
		document.layers.liveclock.document.close();
	}else {
		document.getElementById('liveclock').innerHTML=myclock;
	}
	setTimeout("p8_time()",1000) 
} 
p8_time(); 
//--> 
</script> 
</div><div class="notice"><marquee direction='left' scrolldelay='1' scrollamount='1' onmouseout='if(document.all!=null){this.start()}' onmouseover='if(document.all!=null){this.stop()}' height='12'>$webdb[memberNotice]</marquee></div></td>
    </tr>
  </table>
  <table width="990" border="0" cellspacing="0" cellpadding="0" align="center" height="400">
    <tr>
      <td width="200" valign="top" id="Lmeun">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drage" id="mainMenu">
           
          <tr>
            <td class="middle">
<!--
EOT;
foreach($base_menudb AS $MenuName=>$array2){
if($power<$array2[power])continue;
if(strstr($array2[link],'../')||strstr($array2[link],'homepage.php')){
$target='_blank';
}else{
$target='member_mainiframe';
}print<<<EOT
-->
              <div><A HREF='$array2[link]' onclick="self.scroll(0,0);" target='$target'>$MenuName</A></div>
<!--
EOT;
}print <<<EOT
-->
</td>
          </tr>
        </table>
<!--
EOT;
foreach($menudb AS $SortName=>$array){
$jj++;
print<<<EOT
-->
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drage">
          <tr> 
            <td class="top">$SortName</td>
          </tr>
          <tr> 
            <td class="middle">
<!--
EOT;
foreach($array AS $MenuName=>$array2){
if($power<$array2[power])continue;
if(strstr($array2[link],'../')){
$target='_blank';
}else{
$target='member_mainiframe';
}
print<<<EOT
-->
              <div><A HREF='$array2[link]' onclick="self.scroll(0,0);" target='$target'>$MenuName</A></div>
<!--
EOT;
}print<<<EOT
-->
			</td>
          </tr>
        </table>
        <!--
EOT;
}print<<<EOT
-->
        <!--
EOT;
foreach($menu_GpartDB AS $SortName=>$array){
$jj++;
print<<<EOT
-->
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="drage">
          <tr> 
            <td class="top">$array[name]</td>
          </tr>
          <tr> 
            <td class="middle"> 
              <!--
EOT;
foreach($array[son] AS $k2=>$rs){
if($rs[target]){
$target='_blank';
}else{
$target='member_mainiframe';
}
print<<<EOT
-->
              <div><a href='$rs[linkurl]' onclick="self.scroll(0,0);" target='$target'>$rs[name]</a></div>
              <!--
EOT;
}print<<<EOT
-->
            </td>
          </tr>
        </table>
        <!--
EOT;
}print<<<EOT
-->
      </td>
      <td width="790" valign="top" id="Rmain"><iframe width="100%" name="member_mainiframe" id="member_mainiframe" height="100"  onload="Javascript:SetCwinHeight();self.scroll(0,0);" scrolling="no" marginwidth=0 marginheight=0 frameborder="0" src=""></iframe> </td>
    </tr>
  </table>
  <table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="foot_er">
    <tr>
      <td width="826">&nbsp;</td>
      <td width="164" class="R">&nbsp;</td>
    </tr>
  </table>
  <table width="990" border="0" cellspacing="0" cellpadding="0" align="center" id="copyright">
    <tr>
      <td align="center" valign="top">{$webdb[copyright]}<br>
        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>
</div>
<SCRIPT language=JavaScript>
<!--
var menu_array=new Array(
'会员中心|index.php|left.php'
$topmenu
);
var start_id=0;
var select_id=0;
function show_top_menu(){
	var str='';
	var last_str='';
	var jj=-1;
	for(var i=start_id;i<menu_array.length;i++){
		jj++;
		var ar=menu_array[i].split('|');
		str+='<span id="span'+i+'"><a href="'+ar[1]+'" onclick="sethighlight('+jj+','+i+');">'+ar[0]+'</a></span>';
		document.getElementById("top_menu_div").innerHTML=str;

		var len=0;
		var lis = document.getElementById("top_menu_div").getElementsByTagName('span');
		for(var j = 0; j < lis.length; j++) {
			len=len+lis[j].offsetWidth;
		}
		if(len>=600){
			document.getElementById("top_menu_div").innerHTML=last_str;
			break;
		}
		last_str=str;
	}
	show_more_icon();
	sethigh__light();
}
show_top_menu();

function sethighlight(n,m) {
	var lis = document.getElementById("top_menu_div").getElementsByTagName('span');
	for(var i = 0; i < lis.length; i++){
		lis[i].className = '';
	}
	select_id=m;
	lis[n].className = 'menuon';
}

function sethigh__light() {
	var lis = document.getElementById("top_menu_div").getElementsByTagName('span');
	for(var i = 0; i < lis.length; i++){
		if(lis[i].id=='span'+select_id){
			lis[i].className = 'menuon';
		}else{
			lis[i].className = '';
		}
	}
}

function show_more_menu(t){
	if(t=='left')
	{
		if(start_id<(menu_array.length-1)){
			start_id++;
		}
		show_top_menu();
	}
	else if(t=='right')
	{
		if(start_id>0){
			start_id--;
		}
		show_top_menu();
	}
}

function show_more_icon(){
	document.getElementById("more_left").style.cursor='';
	document.getElementById("more_right").style.cursor='';
	if(start_id==(menu_array.length-1)){
		document.getElementById("more_left").src="images/more_l1.gif";
		document.getElementById("more_right").style.cursor='hand';
		document.getElementById("more_right").src="images/more_r2.gif";
		if(window.ActiveXObject==null){
			document.getElementById("more_right").style.cursor='pointer';
		}else{
			document.getElementById("more_right").style.cursor='hand';
		}
	}else if(start_id==0){
		document.getElementById("more_right").src="images/more_r1.gif";
		document.getElementById("more_left").src="images/more_l2.gif";
		if(window.ActiveXObject==null){
			document.getElementById("more_left").style.cursor='pointer';
		}else{
			document.getElementById("more_left").style.cursor='hand';
		}
		
	}else{
		document.getElementById("more_left").src="images/more_l2.gif";
		document.getElementById("more_right").src="images/more_r2.gif";
		if(window.ActiveXObject==null){
			document.getElementById("more_left").style.cursor='pointer';
			document.getElementById("more_right").style.cursor='pointer';
		}else{
			document.getElementById("more_left").style.cursor='hand';
			document.getElementById("more_right").style.cursor='hand';
		}
	}
}

function load_window(a,b){
	sethighlight(a,b);
	start_id=b;
	select_id=a;
	show_top_menu();
	//var ar=menu_array[0].split('|');
	member_mainiframe.location="$MainUrl";
	///parent.menu.location=ar[2];
}
load_window($select_id,$start_id);
//-->
</SCRIPT>
</body>
</html>
<!--
EOT;
?>
-->