<?php if (!defined('THINK_PATH')) exit();?><!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>
<title><?php if($title == 'index'): echo (C("sitename")); elseif($title != ''): echo ($title); else: echo ($vo['title']); endif; ?></title>
<?php if($title == 'index'): ?><meta name="keywords" content="<?php echo (C("metakeys")); ?>" /><?php endif; ?>
<?php if($title == 'index'): ?><meta name="description" content="<?php echo (C("metadesc")); ?>"/>
<?php else: ?>
<meta name="description" content="<?php echo ($vo["description"]); ?>"/><?php endif; ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<link href="<?php echo (C("cssurl")); ?>style.css" rel="stylesheet" type="text/css"/>
</head>
<script>
//初始化
var def="1";
function mover(object){
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li_a";
  //初始主菜单隐藏效果
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="block";
  //初始子菜单隐藏效果
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="none";
  }
}

function mout(object){
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li";
  //初始主菜单
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li_a";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="none";
  //初始子菜单
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="block";
  }
}
</script>
</head>
<body>
<div class="container">
<div id="head_top"><!--<img src="/Public/E-blog/images/logo.gif" title="Green Solutions" alt="Green Solutions" width="241" height="93" border="0"/>
  <ul>
    
  </ul>-->
</div>
<div id="menu">
   <ul>
  <li class='m_lif'><a href="#"></a></li>
    <li id="m_1" class='m_li_a'><a href="<?php echo (C("rooturl")); ?>" title="网志博客首页">首页</a></li>
    <li id="m_2" class='m_li' onmouseover='mover(2);' onmouseout='mout(2);'>
    <a href="<?php echo (C("rooturl")); ?>blog" title="思想网志博客首页">网志微博</a>
    </li>
    <li id="m_3" class='m_li' onmouseover='mover(3);' onmouseout='mout(3);'>
    <a href="<?php echo (C("rooturl")); ?>devt" title="Web技术开发与运用">Web开发</a>
    </li>
    <li id="m_4" class='m_li' onmouseover='mover(4);' onmouseout='mout(4);'>
    <a href="<?php echo (C("rooturl")); ?>netw" title="网络读者文摘首页">网络文摘</a>
    </li>
    <li id="m_5" class='m_li' onmouseover='mover(5);' onmouseout='mout(5);'>
    <a href="<?php echo (C("rooturl")); ?>exten" title="网站推广，网站运营，SEO优化">推广</a>
    </li>
    <li id="m_6" class='m_li' onmouseover='mover(6);' onmouseout='mout(6);'>
    <a href="<?php echo (C("rooturl")); ?>wblog" title="网志博客系统">WBlog</a>
    </li>
    <li id="m_7" class='m_li' onmouseover='mover(7);' onmouseout='mout(7);'>
    <a href="<?php echo (C("rooturl")); ?>guestbook" title="给我留言，有问必答">给我留言</a>
    </li>
  </ul>
</div>
<div style="height:50px; background-color:#FCFAE6;width:960px;margin:0 auto; ">
   <ul class="smenu">
      <li style="padding-left:29px;color:green;" id="s_1" class='s_li_a'><span><strong>网志博客--专注WEB技术的IT博客</strong></span><span style="margin-left:620px;"><a href="http://www.w3note.com/wblog"><strong>本站下载</strong></a></span> </li>
     <li style="padding-left:220px;" id="s_2" class='s_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="http://www.w3note.com/yulu">博客语录</a></li>
     <li style="padding-left:141px;" id="s_2" class='s_li' onmouseover='mover(2);' onmouseout='mout(2);'></li>
     <li style="padding-left:252px;" id="s_3" class='s_li' onmouseover='mover(3);' onmouseout='mout(3);'>
     <a href="<?php echo (C("rooturl")); ?>index/16.html" title="Php"><strong>Php</strong></a>  |  
     <a href="<?php echo (C("rooturl")); ?>index/19.html" title="Phpcms"><strong>Phpcms</strong></a>  |  
     <a href="<?php echo (C("rooturl")); ?>index/18.html" title="Thinkphp"><strong>Thinkphp</strong></a>| 
     <a href="<?php echo (C("rooturl")); ?>index/20.html" title="Mysql"><strong>Mysql</strong></a>  | 
     <a href="<?php echo (C("rooturl")); ?>index/48.html" title="Sql"><strong>Sql</strong></a>  |  
     <a href="<?php echo (C("rooturl")); ?>index/21.html" title="Js"><strong>Js</strong></a>  |    
     <a href="<?php echo (C("rooturl")); ?>index/22.html" title="Html+Css"><strong>Html5</strong></a> 
     </li>
     <li style="padding-left:362px;" id="s_4" class='s_li' onmouseover='mover(4);' onmouseout='mout(4);'></li>
     <li style="padding-left:474px;" id="s_5" class='s_li' onmouseover='mover(5);' onmouseout='mout(5);'>
     <a href="<?php echo (C("rooturl")); ?>index/25.html"><strong>网站优化</strong></a>  |  
     <a href="<?php echo (C("rooturl")); ?>index/26.html"><strong>网络营销</strong></a>|
     <a href="<?php echo (C("rooturl")); ?>index/27.html"><strong>SEO</strong></a>
     </li>
     <li style="padding-left:447px;" id="s_6" class='s_li' onmouseover='mover(6);' onmouseout='mout(6);'>WBlog-开源共享，大道至简，开发由我</li>
     <li style="padding-left:696px;" id="s_7" class='s_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="/">欢迎给我留言</a></li>
   </ul>
</div>

<script type="text/javascript" src="<?php echo (C("jsurl")); ?>jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="<?php echo (C("jsurl")); ?>jquery.form.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo (C("jsurl")); ?>chekform.js" charset="UTF-8"></script>
<div class="container"><!--container-begin -->
  <div class="pagebody">
    <!--pagebody-begin -->
    <div class="leftpage">
      <!--leftpage-begin -->
      <div class="updow">
        <!-- updow-begin -->
        <div class="up"></div>
		<div class="down"></div>
		</div>
      <!-- updow-end -->
      <div class="info">
        <!-- info-begin -->
        <div class="postinfo">
         
          <!-- date-end -->
          <div class="title"><strong>留言本</strong></div>
		  <div class="tinfo">
          <div class="cat">欢迎给我留言^_^</div>
          <div class="brownum"></div>
          <div class="comnum"></div>
		  </div>
          <div class="line"></div>
        </div>
        <!-- postinfo-end -->
        <div class="post"></div>
        <div class="tag"></div>
        <div class"comnum">
        </div>
      </div>
      <!-- info-end -->
	 <?php if(is_array($Gklist)): $i = 0; $__LIST__ = $Gklist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$gk): $mod = ($i % 2 );++$i; if($gk["tousername"] == ''): ?><div class="comment">
	   <div class="line10"></div>
           <div class="cominfo">
           
            <span style="font-size:30px;color:#D64700;">☞</span>
        <?php if($gk["url"] != ''): ?><a href="__URL__/tourl/id/<?php echo ($gk["id"]); ?>/url/<?php echo (tourl($gk["url"])); ?>"> <?php else: ?> <a href="__URL__/index/id/<?php echo ($gk["id"]); ?>"><?php endif; echo ($gk["id"]); ?>楼&nbsp;&nbsp;<?php echo ($gk["username"]); ?> </a>
       
       <span class="ly"><a href='#postComment'" onclick='getPid(<?php echo ($gk["id"]); ?>)' title='回复'>回复该留言</a></span>
       
      </div>
	  <div class="cominfo">
        Post:<?php echo (date("Y-m-d H:i:s",$gk["inputtime"])); ?>
      </div>
	  <div class="cominfo">
        <?php echo ($gk["content"]); ?>
      </div>
       <div class="cominfo">
     
      </div>
      <div class="line10"></div>
	  </div><!-- comment-end -->
<?php else: ?>
<div class="rcomment">
	   <div class="line10"></div>
           <div class="cominfo">
           
            <span class="reply"></span>
        <?php if($gk["url"] != ''): ?><a href="__URL__/tourl/id/<?php echo ($gk["id"]); ?>/url/<?php echo (tourl($gk["url"])); ?>"> <?php else: ?> <a href="__URL__/index/id/<?php echo ($gk["id"]); ?>"><?php endif; ?>&nbsp;&nbsp;<?php echo ($gk["username"]); ?> </a><span style="margin-left: 5px;margin-right: 5px;">于</span><?php echo (date("Y-m-d H:i:s",$gk["inputtime"])); ?><span style="margin-left: 5px;margin-right: 5px;">回复</span><?php echo ($gk["tousername"]); ?>
       
       
      </div>
	  <div class="cominfo">
       
      </div>
	  <div class="rcominfo">
        <?php echo ($gk["content"]); ?>
      </div>
       <div class="cominfo">
     
      </div>
      <div class="line10"></div>
	  </div><!-- comment-end --><?php endif; endforeach; endif; else: echo "" ;endif; ?>
      <div class="pages"><div class="page"><?php echo ($page); ?></div></div>
	   <div class="comment">
        <div id="form">

     <a name="postComment"></a>
	<form method="post" action="<?php echo U('/Guestbook/add');?>" id="form1" name="form1" onsubmit="return regs('click')">
		<p>&nbsp;</p>
		<div class="fieldset">
			<span class="legend">发表评论</span>
            <div id="result" class="none result" style="font-family:微软雅黑,Tahoma;margin-bottom: 10px;font-size:18px;color:green;text-align:center"></div>
			<table style="vertical-align:top;">
				<tr>
					<td><label for="lastname">昵称(必填项):</label></td>
					<td><input name="username" value="" id="username" type="text" style="width: 250px" /></td>
				</tr>
				<tr>
					<td><label for="firstname">Emial:</label></td>
					<td><input name="email" value="" id="email" type="text" style="width: 250px" /></td>
				</tr>	
                <tr>
					<td><label for="firstname">个人主页:</label></td>
					<td><input name="url" value="" id="url" type="text" style="width: 250px" /></td>
				</tr>	
                 <tr>
					<td><label for="references">评论内容:</label></td>
					<td><textarea name="content" id="content" cols="0" rows="0" style="width: 450px; height: 100px;"></textarea></td>
				</tr>
			</table>
			<br />
            <input type="hidden" name="pid" value="" id="pid">
			<input type="submit" name="dosubmit" id="dosubmit" value="提交留言"  />
		</div>
	</form>
</div>
	   </div>
      
   <div class="line10"></div>
    </div><!--leftpage-end -->
    <div class="rightpage">
      <div class="search">
       
        <form method="get" action="http://www.google.com/search" target="_blank">
        <input type="text" name="q" size="26" />
        <input type="submit" value="搜索" name="btnG" id="btnG" />
        <input type="hidden" name="ie" value="UTF-8" />
        <input type="hidden" name="oe" value="UTF-8" />
        <input type="hidden" name="hl" value="zh-CN" />
        <input type="hidden" name="domains" value="w3note.com" />
        <input type="hidden" name="sitesearch" value="w3note.com" />
        </form>


       </div>
      <!--search-end -->
      <div class="barnner"> 
	  <li>
	  
	  </li> 
	  </div><!--barnner-end -->
     
      
      <div class="l_tit">最近大家喜欢看的</div>
      <div class="rand">
        <ul>
          <?php if(is_array($hotlist)): $i = 0; $__LIST__ = $hotlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$hot): $mod = ($i % 2 );++$i;?><li>&nbsp;&nbsp;<a title="<?php echo ($hot["title"]); ?>" href="<?php echo U('/web/'.$hot['id']);?>"><?php echo (msubstr($hot["title"],0,30,'utf-8')); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
      </div>
     <div class="l_tit">主博客最新文章</div>
      <div class="month">
        <ul>
        <?php if(is_array($newslist)): $i = 0; $__LIST__ = $newslist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$news): $mod = ($i % 2 );++$i;?><li>&nbsp;&nbsp;<a title="<?php echo ($news["title"]); ?>" href="<?php echo U('/web/'.$news['id']);?>"><?php echo (msubstr($news["title"],0,30,'utf-8')); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
      </div>
      <div class="l_tit">微博客最新文章</div>
      <div class="month">
        <ul>
        <?php if(is_array($bloglist)): $i = 0; $__LIST__ = $bloglist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$blog): $mod = ($i % 2 );++$i;?><li>&nbsp;&nbsp;<a title="<?php echo ($blog["title"]); ?>" href="<?php echo U('/blog/'.$blog['id']);?>"><?php echo (msubstr($blog["title"],0,30,'utf-8')); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
      </div>
      <p>
        <!--rightpage-begin -->
      </p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp; </p>
    </div>
    <!--rightpage-end -->
  </div>
  <!--pagebody-end -->
  <!-- <div class="clear"></div>-->
</div><!--container-end -->
<div id="footer">
<div class="xsnazzy">
<div class="xboxcontent">
<li style="width: 900px;height:30px;"><h4 style="float: left;margin:0px 10px 0px 10px;">桂ICP备12005522</h4><h4 style="float: right;margin:0px 10px 0px 10px;"><a href="__APP__/Page/about">【关于我们】</a>|<a href="__APP__/Page/Wblog/id/10">【关于Wblog博客系统】</a>|<a href="__APP__/map">【网站地图】</a></h4></li>
<li style="width: 900px;"><h4 style="float: right;margin:0px 10px 0px 10px;"></h4></li>
<h3 style="margin-left:10px;">Designed By w3note.com Powered By WBlog3.1 <script src="http://s84.cnzz.com/stat.php?id=4639431&web_id=4639431&show=pic" language="JavaScript"></script>
</h3>
</div>
<b class="xb7"></b><b class="xb6"></b><b class="xb5"></b><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b>
</div>
</div>
<div id="bootom">&nbsp;</div>
  </body>
</html>


 <script>
function getPid(i){
	pid=document.getElementById('pid');
	pid.value=i;
}
</script>