<!--Powered By NetGou<?php
$titlename = ($titlename != "")?$titlename:$netgou[web_name];
$metawords = ($metawords != "")?$metawords:$netgou[meta_keywords];
$metaintro = ($metaintro != "")?$metaintro:$netgou[meta_descr];
print <<<EOT
-->
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>$titlename</title>
<meta name="keywords" content="$metawords" />
<meta name="description" content="$metaintro" />
<LINK rel=stylesheet type=text/css href="$temp_dir/netgou.css">
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<body>
<table width="980" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#dcdcdc">
  <tbody>
  <tr align="center">
    <td width="980" height="60" bgcolor="#FFFFFF" colspan="2">
	
<table width="100%" border="0" height="75">
  <tbody>
  <tr>
    <td rowspan="3" width="258"><a href="./"><img src="$temp_img/logo.jpg" alt="通灵佛教网" width="258" height="75" border="0" /></a></td>
    <td height="25" width="700" align="right">
$logintxt
<a  style="color:blue;cursor:hand" onclick=this.style.behavior="url(#default#homepage)";this.setHomePage("http://www.tlfjw.com");>设为首页</a> | 
<a onClick="window.external.AddFavorite(location.href,document.title)" style="cursor:hand;color:blue">加入收藏</a>
</td>
  </tr>
  <tr>
    <td height="25"><marquee onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3">$netgou[web_intro]</marquee></td>
  </tr>
  <tr>
    <td align="right" height="25" style="padding-right:5px;">
<form action="$form_dir/news.php" method="POST" name="newsform">
<input type="text" name="substring" size="15" value="$substring">
<input type="submit" value="搜索" ></form>
	</td>
  </tr>
  </tbody>
</table>
    </td>
  </tr>
  <tr>
    <td height="33" bgcolor="#990000" style="padding-left:8px;" colspan="2" background="$temp_img/hong.gif">
	  <span class="topnav"><a href="$form_dir/">网站首页</a></span> <span class="topfen">|</span>
	  <span class="topnav"><a href="$form_dir/shaoxiang/">烧香动态</a></span> <span class="topfen">|</span> 
	  <span class="topnav"><a href="$form_dir/shaoxiang/sxadd.php">我要烧香</a></span> <span class="topfen">|</span>
<!--
EOT;
foreach($newslists as $nl){
print <<<EOT
-->
<span class="topnav"><a href="$form_dir/news.php?lid=$nl[listid]">$nl[name]</a></span> <span class="topfen">|</span>
<!--
EOT;
}print <<<EOT
-->
	  <span class="topnav"><a href="$form_dir/xuetagn.php">佛教学堂</a></span> <span class="topfen">|</span>
	  <span class="topnav"><a href="$form_dir/news.php?nid=4">联系我们</a></span>
	</td>
  </tr>
  </tbody>
</table>
<!--
EOT;
?>-->