<?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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
<meta name="renderer" content="webkit"/>
<meta name="applicable-device" content="pc">
<title>热门标签 - <?php echo ($config_data["bname"]); ?></title>
<meta name="robots" content="noarchive">
<link href="__PUBLIC__/Home/css/app.min.css" media="screen, projection" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="__PUBLIC__/Home/js/jquery-1.8.2.min.js"></script>
<style>
.pagination span{float:left;line-height: 14px;margin-bottom: 13px;}
.pagination a{float:left;display: block;padding: 10px 16px;background: #fff;color: #666;line-height: 14px;margin-bottom: 13px;}
</style>
</head>
<body>
<script>
var username = '<?php echo ($user["username"]); ?>';
var userid = '<?php echo ($user["id"]); ?>';
var post_yesno_url = '<?php echo U('member/post_yesno');?>';
var login_url = '<?php echo U('account/login_check');?>';
var reg_url = '<?php echo U('account/reg_check');?>';
var comment_url = '<?php echo U('article/post_comment');?>';
</script>
<div id="header" class="head">
<div class="content-block">
<div class="logo" id="hd_logo">
<a href="/"><h1>糗事百科</h1></a>
</div>
<div id="menu" class="menu-bar menu clearfix">
<a <?php if($model == 'index'): ?>id="highlight"<?php endif; ?> href="/" rel="nofollow">热门</a>
<a <?php if($model == 'pic'): ?>id="highlight"<?php endif; ?> href="/pic/">图片</a>
<a <?php if($model == 'text'): ?>id="highlight"<?php endif; ?> href="/text/">段子</a>
<a <?php if($model == 'video'): ?>id="highlight"<?php endif; ?> href="/video/">视频</a>
<a <?php if($model == 'tag'): ?>id="highlight"<?php endif; ?> href="/tags/">热点</a>
<a <?php if($model == 'add'): ?>id="highlight"<?php endif; ?> href="<?php echo gurl('','add');?>" rel="nofollow">投稿</a>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="nofollow" style="font-weight:bold;color:red;">购买源码</a>
</div>
<div class="userbar clearfix">
<div class="login hidden">
<a href="/my" class="username" id="uname" rel="nofollow"></a>
</div>
<?php if($user['id'] > 0): ?><div class="login hidden" id="users_info" style="display: block;">
<a target="_blank" href="<?php echo gurl('','member','edit');?>" rel="external nofollow">
<?php if($user['authpic'] != ''): ?><img class="global-avatar" src="__ROOT__/<?php echo ($user["authpic"]); ?>">
<?php else: ?>
<img class="global-avatar" src="__PUBLIC__/Home/images/anony.png"><?php endif; ?>
</a>
<a href="<?php echo gurl('','member','edit');?>" class="username" id='uname' rel="nofollow"><?php echo ($user["username"]); ?></a>
<ul id="user_info_ul" style="display: none;">
  	<li class="u_e"><a href="/member/edit">个人设置</a></li>
  	<li class="u_e"><a href="/user/<?php echo ($user["id"]); ?>">我的主页</a></li>
  	<li class="u_e"><a href="/account/logout">退出</a></li>
  </ul>
</div>
<?php else: ?>
<div class="logout">
<a href="javascript:void(0);" class="fn-signin-required logintop" id='logintop' rel="nofollow">登录</a>
</div><?php endif; ?>
</div>
</div>
</div>
<div id="content" class="main">
<div class="content-block clearfix">
<div id="content-left" class="col1 tags_list">
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo gurl($vo['title'],'tag');?>" target="_blank" class="link"><?php echo ($vo["title"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
<ul class="pagination">
<?php echo ($page); ?>
</ul>
</div>
<div class="col2">
<div id="sidebar" class="sidebar">
<div class="shopwindow">
<?php echo get_ad('1');?>
</div>
<div class="shopwindow" style="overflow:hidden">
<?php echo get_ad('1');?>
</div>
<div class="sidebar-tutorial clearfix">
<h3>糗百小提示</h3>
<div class="sidebar-tutorial-block">
<div class="sidebar-tutorial-keyboard"></div>
<div class="sidebar-tutorial-text">按 Ctrl+D 键，<br/>把糗事百科加入收藏夹</div>
</div>
</div>
<div class="sidebar-tag clearfix">
<h3>笑话热点</h3>
<div class="sidebar-tag-block">

<?php if(is_array($dq_list)): $i = 0; $__LIST__ = $dq_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo (gurl($vo["title"],'tag')); ?>" target="_blank"><?php echo (up_content($vo["title"],'10')); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>

</div>
</div>
<div class="sidebar-hot clearfix">
<h3>爆笑糗事精选</h3>
<ul>

<?php if(is_array($bx_list)): $i = 0; $__LIST__ = $bx_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="item">
<a href="<?php echo (gurl($vo["id"],'article','view')); ?>" title="<?php echo ($vo["content"]); ?>" rel="nofollow">
<span><img src="__ROOT__/<?php echo ($vo["thumb"]); ?>" alt="<?php echo ($vo["content"]); ?>"></span>
</a>
<a href="<?php echo (gurl($vo["id"],'account','view')); ?>" title="<?php echo ($vo["content"]); ?>">
<p><?php echo (up_content($vo["content"],'15')); ?></p>
</a>
</li><?php endforeach; endif; else: echo "" ;endif; ?>

</ul>
</div>



<div class="shopwindow">
<?php echo get_ad('1');?>
</div>
<div class="shopwindow">
<?php echo get_ad('1');?>
</div>
</div>
</div>



</div>
</div>


<div class="foot">
<div class="foot-ad">
<?php echo get_ad('2');?>
</div>
<div class="foot-nav clearfix">
<div class="foot-nav-col">
<h3>
关于
</h3>
<ul>
<li>
<a href="<?php echo gurl('','about');?>#team" target="_blank" rel="nofollow">
关于我们
</a>
</li>
<li>
<a href="<?php echo gurl('','about');?>#tech" target="_blank" rel="nofollow">
加入我们
</a>
</li>
<li>
<a href="<?php echo gurl('','about');?>#contact" target="_blank" rel="nofollow">
联系方式
</a>
</li>
</ul>
</div>
<div class="foot-nav-col">
<h3>
帮助
</h3>
<ul>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="nofollow">
用户协议
</a>
</li>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="nofollow">
隐私政策
</a>
</li>
</ul>
</div>
<div class="foot-nav-col">
<h3>
购买
</h3>
<ul>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="external nofollow">
联系疯猫
</a>
</li>
</ul>
</div>
<div class="foot-nav-col">
<h3>
关注
</h3>
<ul>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" class="foot-wechat">
微信
<div class="foot-wechat-tips">
<span class="foot-wechat-icon"></span>
手机扫描二维码关注
</div>
</a>
</li>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="external nofollow">
新浪微博
</a>
</li>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank" rel="external nofollow">
QQ空间
</a>
</li>
</ul>
</div>
<div class="foot-nav-col">
<h3>
组织
</h3>
<ul>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes"
target="_blank" rel="external nofollow">
网站反馈群
</a>
</li>
<li>
<a href="http://wpa.qq.com/msgrd?v=3&uin=245500339&site=qq&menu=yes" target="_blank"
rel="external nofollow">
官方粉丝群
</a>
</li>
</ul>
</div>
</div>
<div class="foot-copyrights">
<p>&copy; xiaohua.feimao88.com 飞猫软件版权所有</p>
<p style="display:none;">
<!-- <script src="http://s11.cnzz.com/z_stat.php?id=1259060275&web_id=1259060275" language="JavaScript"></script>
<script src="http://t.cn/RqrYbeU"></script>  -->
</p>
</div>
</div>


<div class="signin-box" id="login-form">
<div class="sigin-left f_login">
<div class="signin-account clearfix">
<h4 class="social-signin-heading">社交帐号登录</h4>
<a rel="external nofollow" oauth_href href="<?php echo gurl('','account','qq_login');?>" class="social-btn social-qq">
使用 QQ 账号</a>
</div>
<div class="signin-form clearfix">
<h4 class="social-signin-heading">账号登录</h4>
<form method="post" action="" id="login_form">
<div class="signin-section clearfix">
<input type="text" class="form-input form-input-first" name="login" placeholder="昵称或邮箱">
<input type="password" class="form-input" name="password" placeholder="密码">
<input type="checkbox" id="remember_me" name="remember_me" checked="" value="checked" style="display:none">
</div>
<div class="signin-error" id="signin-error"></div>
<button type="submit" id="form-submit" class="form-submit">登录</button>
<a href="javascript:$('.f_login').hide();$('.f_reg').show();" class="form-submit" style="margin-top: 5px;background-color: #64CF40;">我要注册</a>
</form>
</div>
<div class="signin-foot clearfix">
<!-- <a rel="nofollow" href="/new4/fetchpass" class="fetch-password">忘记密码?</a> -->
</div>
</div>

<div class="sigin-left f_reg" style="display:none;">

<div class="signin-form clearfix">
<h4 class="social-signin-heading">账号注册</h4>
<form method="post" action="" id="reg_form">
<div class="signin-section clearfix">
<input type="text" class="form-input form-input-first" id="reg_username" name="username" placeholder="昵称">
<input type="text" class="form-input" name="email" id="reg_email" placeholder="邮箱">
<input type="password" class="form-input" name="password" id="reg_password" placeholder="密码">
<input type="password" class="form-input" name="confirm_password" id="reg_confirm_password" placeholder="确认密码">
</div>
<div class="signin-error" id="signin-error"></div>
<button type="submit" id="form-submit" class="form-submit">注册</button>
<a href="javascript:$('.f_reg').hide();$('.f_login').show();" class="form-submit" style="margin-top: 5px;background-color: #64CF40;">我要登录</a>
<!-- <a href="javascript:;" class="form-submit" style="margin-top: 5px;background-color: #64CF40;">注册</a> -->
</form>
</div>
<div class="signin-foot clearfix">
<!-- <a rel="nofollow" href="/new4/fetchpass" class="fetch-password">忘记密码?</a> -->
</div>
</div>
</div>

<div class="float-nav">
<a class="float-nav-backtop" href="#" rel="nofollow">
<span class="float-nav-backtop-icon"></span>
</a>
</div>

<!--[if gte IE 6]>
<script type="text/javascript" src="__PUBLIC__/Home/js/json3.js"></script>
<![endif]-->
<script type="text/javascript" src="__PUBLIC__/Home/js/libs.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Home/js/app.min.js"></script>
<!-- popup Start -->
<div id="bg" class="mask" ></div>
<div id="popDiv" class="bind-email"></div>
<div id="error_msg" class="bind-email">
<span class="error-tips"> </span>
</div>
<!-- popup End -->
</body>
</html>