桜井宁宁 猫娘假日 [112P]
![桜井宁宁 猫娘假日 [112P] 唯美写真-第1张](http://img.relitu.cc/c/12/000125017983543191712721362tfmhgrksohwxrdcwdjwaiuepdmgw0094228697plshhjlqhasahegcui1038102394.jpg)
![桜井宁宁 猫娘假日 [112P] 唯美写真-第2张](http://img.relitu.cc/c/12/000125105654674950769334533xhcfrnyvxkyxcyghtdxvivqquaks0322179784dxaxvcmghvescumfkp0891132013.jpg)
![桜井宁宁 猫娘假日 [112P] 唯美写真-第3张](http://img.relitu.cc/c/12/000125221409756530253711552ghsskcetlwjejnuucmlsqaooqake0600005087kdkkaiwnodtbhudpyj1149617128.jpg)
此处内容已隐藏此处有隐藏内容,需要 登录 才能查看!
<!--footer-->
<?php
if(option_off('_cx_tongji')){?>
<div class="foot" id="footer">
<div class="foot_list">
<?php
$tongji_arr = option_data('_cx_tongji_type',['postnum','plnum','ztnum','daynum']);
$for_number = 0;
foreach ($tongji_arr as $tj_value) {
$for_number++;
if( $for_number > 4) break;
echo '<div class="foot_num">';
switch ($tj_value) {
case 'postnum':
?>
<div>文章总数</div> <div style="position: relative;"><?php
$count_posts = wp_count_posts();
$pub_posts = intval($count_posts->publish);
if($pub_posts>10000){
echo number_format($pub_posts/10000, 2).'<span style="font-size: 32px;position: absolute;">万</span>';
}else{
echo $pub_posts.'+';
}
?></div>
<?php
break;case 'plnum':
?>
<div>评论总数</div> <div><?php echo $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments");?>+</div>
<?php
break;case 'ztnum':
?>
<div>专题栏目</div> <div><?php $zt = wp_count_posts('zhuanti_type'); echo $zt->publish;?>+</div>
<?php
break;case 'usernum':
?>
<div>注册用户</div> <div><?php echo (int)$wpdb->get_var("select count(id) from $wpdb->users");?>+</div>
<?php
break;case 'daynum':
?>
<div>运营天数</div> <div>
<?php
$user_admin_info = get_userdata(1);
$admin_time = ($user_admin_info)?$user_admin_info->user_registered:'2016-11-22';
echo floor((time()-strtotime($admin_time))/86400);
?>+</div>
<?php
break;
}
echo '</div>';
}
?>
</div>
</div>
<?php } ?>
<footer class="w100 cl" id="footer-boot">
<?php echo cx_foot(); ?>
</footer>
<div class="popsearch-js popsearch-box">
<div class="bg cxposi0"></div>
<div class="popse-main">
<div class="search-content">
<div class="search-input-box">
<form role="search" method="get" action="<?php echo home_url();?>">
<button type="submit"><i class="iconfont"></i></button>
<input type="hidden" name="post_type" value="post">
<input placeholder="请输入搜索词..." name="s" type="text" autocomplete="off" required="required">
</form>
</div>
<div class="search-history search-hot">
<strong>热门搜索</strong>
<ul>
<?php // cx_get_searchlist();?>
</ul>
</div>
</div>
<div class="popadbox">
<?php
cx_ad_zhenghe(10);
?>
</div>
</div>
<div class="closebox close">
<i class="iconfont popsearch-close-js" style="margin-right: 0"></i>
</div>
</div>
<style>
</style>
<?php wp_footer();?>
<!--移动侧边导航-->
</body>
</html>
评论