<?php















include("../../includes/db.inc.php");















include("../../includes/config.php");















$msql=new SHARP_SQL;















$fsql=new SHARP_SQL;















$msql->query("select * from auto_user where userid='$userid'");















if($msql->next_record()){















$urlname=$msql->f('urlname');















$sitename=$msql->f('sitename');















$ensitename=$msql->f('ensitename');















$name=$msql->f('name');















$email=$msql->f('email');















$tel=$msql->f('tel');















$fax=$msql->f('fax');















$addr=$msql->f('addr');















$zip=$msql->f('zip');















$bannerurl=$msql->f('bannerurl');















$size1=$msql->f('size1');















$size2=$msql->f('size2');















$mainmod=$msql->f('mainmod');















$intro=$msql->f('intro');















$code=$msql->f('code');















$intro=str_replace("\n","<br>",$intro);















}















?>















<HTML>















<HEAD><title><?php echo "$sitename"; ?></title>















<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=big5">















<STYLE>HTML {TEXT-DECORATION: none}















A:link {COLOR: #000000; TEXT-DECORATION: none}















A:hover {COLOR: rgb(0,147,43); TEXT-DECORATION: none}















A:active {COLOR: #000000; TEXT-DECORATION: none}















A:visited {COLOR: #000000; TEXT-DECORATION: none}















EM {FONT-FAMILY: CourierNew; FONT-SIZE: 16pt; FONT-STYLE: normal}















A {FONT-SIZE: 9pt}















TD {FONT-SIZE: 9pt}















P {















FONT-SIZE: 9pt















}















<base href="../../mod/1/"></STYLE>















</HEAD>















<BODY LEFTMARGIN="0" MARGINWIDTH="0" TOPMARGIN="0" MARGINHEIGHT="0" bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000">















<table cellpadding="0" cellspacing="0" border="0" width="776" background="images/mod_8.gif">















  <tr> 















    <td colspan="2"> 















      <table width="673" border="0" cellspacing="0" cellpadding="0" background="images/mod_0.gif" height="43">















        <tr> 















          <td height="43">















            <table width="100%" border="0" cellspacing="2" cellpadding="0" height="40">















              <tr> 















                <td width="17" height="40"> 







                  <script>















var inn_line=new Array();















<?php















$intext="";















$mainmenu=1;















$msql->query("select * from auto_dir where userid='$userid' and parentid=0 order by xuhao");















while($msql->next_record()){















$pdirid=$msql->f('dirid');















$ifson=$msql->f('ifson');















$dirname=$msql->f('dirname');















$mod=$msql->f('mod');















if($ifson=='0'){















	$tbname="tb".$mainmenu;















	include("../../includes/dir10.php3");































	$arrey[$mainmenu]=$show;































}else{















	$tbname="tb".$mainmenu;















	$arrey[$mainmenu]="<a href=# onMouseOver='Line_Change(".$pdirid.",".$tbname.",".$mainmenu.")' onMouseout='leavetb(".$tbname.")'>$dirname</a>";















}















	$fsql->query("select * from auto_dir where parentid='$pdirid' order by xuhao");















$intext="<table cellspacing=1 width=130 cellpadding=2 bgcolor=#ffffff>";















	while($fsql->next_record()){















		$dirid=$fsql->f('dirid');















		$dirname=$fsql->f('dirname');















		$mod=$fsql->f('mod');















		include("../../includes/dir9.php3");















		$intext.="<tr><td bgcolor=#C8E3FF align=center>".$show."</td></tr>";















	}















$intext.="</table>";















?>















inn_line[<?php echo $pdirid; ?>]="<?php echo $intext; ?>";































<?php















$intext="";















$mainmenu++;















}































?> 































function Line_Change(i,tbname,x){















	//tbname.background='images/tbbg.gif';















	//x=document.body.scrollLeft+event.clientX; 















	//y=document.body.scrollTop+event.clientY; 















	GuideLine.style.posLeft=x*83+202;















	GuideLine.style.posTop=162;















	GuideLine.innerHTML=inn_line[i];















}















function leavetb(tbname){















	tbname.background='images/tbbg0.gif';































}















</script>







                  <div id=GuideLine style="position:absolute; width: 150; overflow: hidden"></div>















                </td>















                <td colspan="3" height="40"> 
                  <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
                    <tr> 
                      <td> <?php
$msql->query("select * from auto_name where userid='$userid'");
if($msql->next_record()){
$cnsize=$msql->f('cnsize');
$ensize=$msql->f('ensize');
$cncolor=$msql->f('cncolor');
$encolor=$msql->f('encolor');
$cnface=$msql->f('cnface');
$enface=$msql->f('enface');

echo "<div style='width: 100%; font-size: ".$cnsize."pt; font-family: ".$cnface."; color:".$cncolor."; filter:dropshadow(color=".$cncolor.",offX=1,offY=0,positive=1)'><b>".$sitename."</b></div>";
echo "<div style='width: 100%; font-size: ".$ensize."pt; font-family: ".$enface."; color:".$encolor."'><img src=../../images/dot.gif width=3>".$ensitename."</div>";


}else{

echo "<div style='width: 100%; font-size:20pt; font-family: ²Ó©úÅé; color:#000000; filter:dropshadow(color=#000000,offX=1,offY=0,positive=1)'><b>".$sitename."</b></div>";
echo "<div style='width: 100%; font-size:12pt; font-family: Arial; color:#cccccc'><img src=../../images/dot.gif width=3>".$ensitename."</div>";
}
?> </td>
                    </tr>
                  </table>
                </td>















                <td width="300" height="40"> <marquee scrolldelay="60" scrollamount="2"><font color="#000000">Åwªï¥úÁ{<?php echo "$sitename"; ?>ºô¯¸! 
                  </font> </marquee></td>















              </tr>















            </table>















          </td>















        </tr>















      </table>















    </td>















    <td><a href="mailto:<?php echo "$email"; ?>"><img src="images/mod_1.gif" width="103" height="43" border="0"></a></td>















  </tr>















  <tr> 















    <td colspan="3"><img src="images/mod_2.gif" width="776" height="83"></td>















  </tr>















  <tr> 















    <td colspan="3"><img src="images/mod_3.gif" width="776" height="15"></td>















  </tr>















  <tr> 















    <td><img src="images/mod_4.gif" width="294" height="23"></td>















    <td colspan="2"> 















      <table width="482" border="0" cellspacing="1" cellpadding="0" height="23">















        <tr> 















          <td>















            <table border="0" cellspacing="0" cellpadding="0" height="20" width=472>















              <tr> <?php















for($k=1;$k<$mainmenu;$k++){















echo "<td  background='images/tbbg0.gif' id=tb".$k." align=center width=83>".$arrey[$k]."</td>";















}















if($mainmenu<=6){















echo "<td >–R</td>";















}















?> </tr>















            </table>















          </td>















        </tr>















      </table>















    </td>















  </tr>















  <tr> 















    <td colspan="3"><img src="images/mod_6.gif" width="776" height="5"></td>















  </tr>















  <tr> 















    <td colspan="3"><img src="images/mod_7.gif" width="776" height="3"></td>















  </tr>















  <tr> 















    <td colspan="3"><img src="images/mod_8.gif" width="776" height="4"></td>















  </tr>















  <tr valign="top"> 















    <td colspan="3" height="200">















      <table width="100%" border="0" cellspacing="6" cellpadding="0">















        <tr> 















          <td height="186" width="40">&nbsp;</td>















          <td height="186" width="120" valign="top"> 















            <div align="center"> 















              <table width="93%" border="0" cellspacing="4" cellpadding="0">















                <tr align="center"> 



                  <td height="18"><img src="<?php















$logofile="../../logo/".$userid.".jpg";















if(file_exists($logofile)){















echo "$logofile";















}else{















echo "images/mylogo.gif";















}















?>"> </td>















                </tr>















                <?php















$msql->query("select * from auto_link where userid='$userid'  order by xuhao");















while($msql->next_record()){















$linkname=$msql->f('linkname');















$mod=$msql->f('mod');















$url=$msql->f('url');















$linkid=$msql->f('linkid');















?> 















                <tr> 















                  <td> 















                    <div align="center"><?php















$linkimg="../../link/".$linkid.".jpg";















if(file_exists($linkimg)){















echo "<a href=$url target=_blank><img src=$linkimg border=0 width=88 ></a>"; 















}else{















echo "<a href=$url target=_blank>$linkname</a>"; 















}















?> </div>















                  </td>















                </tr>















                <?php















}















?> 















              </table>















              <div align="center"></div>















            </div>















          </td>















          <td height="186" valign="top" width="1" background="images/line.gif"><img src="images/dot.gif" width="1" height="10"></td>















          <td height="186" valign="top" width="570"><?php















$mainf="../../includes/main4mod".$mainmod.".php3";















include($mainf);















?><br>















          </td>















        </tr>















        <tr> 















          <td height="28" width="40">&nbsp;</td>















          <td height="28" width="120" valign="middle"> 















            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bordercolor="#669966">















              <tr bgcolor="#FFFFFF"> 















                <td width="108" align="center"><font color="#FFFFFF"><font color="#000000"> 















                  <font color="#669966">³X°Ý¤H¼Æ: 















                  <script src="../../includes/count.php3?userid=<?php echo "$userid"; ?>"></script>















                  </font></font></font></td>















              </tr>















            </table>















            <div align="center"><br>















              <font color="#333333"><?php echo "$code"; ?> </font></div>















          </td>















          <td height="28" valign="top" width="1" background="images/line.gif"><img src="images/dot.gif" width="1" height="10"></td>















          <td height="28" valign="top" width="570"> 















            <div align="center"> 















              <table width="468" border="0" cellspacing="0" cellpadding="0" align="center" height="60">















                <tr> 



                  <td height="57"> 















                    <div align="center"><?php















$bannerfile="../../banner/".$userid.".jpg";















if(file_exists($bannerfile)){















echo "<a href=$bannerurl target=_blank><img border=0 src=$bannerfile width=468 height=60></a>";















}else{















echo "<img border=0 src='images/banner.gif' width=468 height=60>";















}















?> </div>















                  </td>















                </tr>















              </table>















            </div>















          </td>















        </tr>















      </table>















    </td>















  </tr>















  <tr> 















    <td><img src="images/space.gif" width="294" height="1"></td>















    <td><img src="images/space.gif" width="379" height="1"></td>















    <td><img src="images/space.gif" width="103" height="1"></td>















  </tr>















</table>















</BODY>















</HTML>















