<!--
<?php
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/$STYLE/index.css">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer">
  <tr>
    <td class="sidel">
    	<div class="hottitle">
        	{$label[blue_indexhottitle]}
        </div>
    </td>
    <td class="sidec">
    	<div class="slidecont">{$label[blue_indexslide]}</div>
        <div class="tzvideo">
        	<div class="head"><div class="tag">{$label[blue_indexh1]}</div><div class="more">{$label[blue_indexm1]}</div></div>
            <div class="cont">
            	{$label[blue_indexlistmv]}
            </div>
            <div class="hot">
            	<div class="tg">{$label[blue_indexh2]}</div>
                <div class="word">{$label[blue_indexc2]}</div>
            </div>
        </div>
    </td>
    <td class="sider">
    	<div class="ztcont">
        	<div class="head"><div class="tag">{$label[blue_indexh3]}</div><div class="more">{$label[blue_indexm3]}</div></div>
            <div class="cont">
            	{$label[blue_indexhotzt]}
            </div>
        </div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer mt10">
  <tr>
    <td class="sidel">
    	<div class="sidecont">
        	<div class="head"><div class="tag">{$label[blue_indexh4]}</div><div class="more">{$label[blue_indexm4]}</div></div>
            <div class="listblogimg">
            	{$label[blue_indexlistblog1]}
            </div>
            <div class="listblogword">
            	{$label[blue_indexlistblog2]}
            </div>
        </div>
    </td>
    <td class="sidec">
        <div class="sidecont">
        	<div class="head"><div class="tag">{$label[blue_indexh5]}</div><div class="more">{$label[blue_indexm5]}</div></div>
            <div class="conta">
            	{$label[blue_indexlisttz]}
            </div>
        </div>
    </td>
    <td class="sider">
    	<div class="sidecont">
        	<div class="head"><div class="tag">{$label[blue_indexh6]}</div><div class="more">{$label[blue_indexm6]}</div></div>
            <div class="votecont1">
            	{$label[blue_indexvotecont1]}
            </div>
            <div class="votecont2">
<!--
EOT;
$query = $db->query("SELECT * FROM `{$pre}vote_topic` ORDER BY cid DESC LIMIT 4");
while($rs = $db->fetch_array($query)){
print <<<EOT
-->
            	<div class="listvote"><a href="./vote/vote.php?job=show&cid=$rs[cid]" target="_blank">$rs[name]</a> </div>
<!--
EOT;
}
print <<<EOT
-->
            </div>
        </div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer mt10">
  <tr>
    <td class="mainl">
    	<div class="maincont">
        	<div class="head"><div class="tag">{$label[blue_indexh7]}</div></div>
            <div class="contl">
            	{$label[blue_indext1]}
            </div>
            <div class="contr">
            	<div class="h">{$label[blue_indexh8]}</div>
                <div class="c">
                	{$label[blue_indext2]}
                </div>
            </div>
        </div>
    </td>
    <td class="sider">
    	<div class="sidecontr">
        	<div class="head"><div class="tag">{$label[blue_indexh9]}</div></div>
            <div class="cont">
            	<div class="h">
                	{$label[blue_indexh10]}                	
                </div>
                <div class="c" id="Tab1">
                	{$label[blue_indexst1]}
                </div>
                <div class="c" id="Tab2">
                	{$label[blue_indexst2]}
                </div>
                <div class="c" id="Tab3">
                	{$label[blue_indexst3]}
                </div>
                <div class="c" id="Tab4">
                	{$label[blue_indexst4]}
                </div>
            </div>
<SCRIPT LANGUAGE="JavaScript">ShowTab(1,1,5);</SCRIPT>
        </div>
		<div class="sidecontr bordert0">
        	<div class="head"><div class="tag">{$label[blue_indexh11]}</div></div>
            <div class="conta">
            	{$label[blue_indexst5]}
            </div>
        </div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer mt10">
  <tr>
    <td class="mainl">{$label[blue_indexad1]}</td>
    <td class="sider">{$label[blue_indexad2]}</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer mt10">
  <tr>
    <td class="mainl">
    	<div class="maincont maincont1">
        	<div class="head"><div class="tag">{$label[blue_indexh12]}</div></div>
            <div class="contl">            	
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="h">
                    	{$label[blue_indexh13]}                    	
                     </td>
                  </tr>
                  <tr id="Tab5">
                    <td>{$label[blue_indextab5]}</td>
                  </tr>
                  <tr id="Tab6">
                    <td>{$label[blue_indextab6]}</td>
                  </tr>
                </table>
<SCRIPT LANGUAGE="JavaScript">ShowTab(5,5,7);</SCRIPT>           	
            </div>
            <div class="contr">
            	<div class="h">{$label[blue_indexh14]}</div>
                <div class="showpic">
                	{$label[blue_indext4]}
                </div>
                <div class="c">
                	{$label[blue_indext3]}
                </div>
            </div>
        </div>
    </td>
    <td class="sider">
    	<div class="sidecontr">
        	<div class="head"><div class="tag">{$label[blue_indexh15]}</div></div>
            <div class="contr">            
            	<div class="h"><div class="tg">{$label[blue_indexh16]}</div></div>
                <div class="c">
                	{$label[blue_indext5]}
                </div>
                <div class="h"><div class="tg">{$label[blue_indexh17]}</div></div>
                <div class="c">
                	{$label[blue_indext6]}
                </div>
                <div class="h"><div class="tg">{$label[blue_indexh18]}</div></div>
                <div class="c">
                	{$label[blue_indext7]}
                </div>
            </div>
        </div>
        <div class="mt10">{$label[blue_indexad3]}</div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainContainer mt10">
  <tr>
    <td class="sidel">
    	<div class="sidecontc">
        	<div class="head">{$label[blue_indexh19]}</div>
            <div class="h">
            	{$label[blue_indexh20]}            	
            </div>
            <div class="showa" id="Tab7">{$label[blue_indexst7]}</div>
            <div class="showa" id="Tab8">{$label[blue_indexst8]}</div>
            <div class="showa" id="Tab9">{$label[blue_indexst9]}</div>
        </div>
<SCRIPT LANGUAGE="JavaScript">ShowTab(7,7,10);</SCRIPT> 
    </td>
    <td class="sidec">
        <div class="sidecontc">
        	<div class="head">{$label[blue_indexh21]}</div>
            <div class="h">
            	{$label[blue_indexh22]}            	
            </div>
            <div class="showb" id="Tab10">{$label[blue_indexst10]}</div>
            <div class="showb" id="Tab11">{$label[blue_indexst11]}</div>
            <div class="showb" id="Tab12">{$label[blue_indexst12]}</div>
        </div>
<SCRIPT LANGUAGE="JavaScript">ShowTab(10,10,13);</SCRIPT> 
    </td>
    <td class="sider">
    	<div class="sidecontc">
        	<div class="head">{$label[blue_indexh23]}</div>
            <div class="cont">
            	{$label[blue_indext8]}
            </div>
        </div>
    </td>
  </tr>
</table>
<div class="FrendLinkTable mt10">
	<div class="head">
    	<div class="tag">友情链接 && 合作伙伴</div>
        <div class="more"><a href="$webdb[www_url]/do/friendlink.php?job=apply" target="_blank">申请链接</a> | <a href="$webdb[www_url]/do/friendlink.php" target="_blank">查看更多</a></div>
    </div>
    <div class="pic">
<!--
EOT;
foreach($friendlinkDB[1] AS $key=>$rs){
print <<<EOT
-->
              <a href="$rs[url]" target=_blank><img alt="名称:$rs[name]\r\n描述:$rs[descrip]" src="$rs[logo]" width="88" height="31"/></a> 
<!--
EOT;
}
print <<<EOT
-->
    </div>
    <div class="word">
        <span>合作伙伴:</span>  
<!--
EOT;
foreach($friendlink_DB[3][0] AS $key=>$rs){
print <<<EOT
-->
        <a href="$rs[url]" target="_blank" title="描述:$rs[descrip]">$rs[name]</a> 
<!--
EOT;
}
print <<<EOT
-->
    </div>
    <div class="word">
        <span>友情链接:</span>  
<!--
EOT;
foreach($friendlink_DB[2][0] AS $key=>$rs){
print <<<EOT
-->
        <a href="$rs[url]" target="_blank" title="描述:$rs[descrip]">$rs[name]</a> 
<!--
EOT;
}
print <<<EOT
-->
    </div>
</div>
<!--
EOT;
?>
-->