<?php /* Smarty version Smarty-3.1.10, created on 2017-01-06 22:23:07
         compiled from "E:\phpStudy\WWW\themes\member\home.html" */ ?>
<?php /*%%SmartyHeaderCode:21881586e3921614b73-60597444%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a5f89450f699603186bc391898e95c218c79e78a' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\themes\\member\\home.html',
      1 => 1483712583,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21881586e3921614b73-60597444',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_586e3921762743_60740195',
  'variables' => 
  array (
    'pagename' => 0,
    'cfg' => 0,
    'myself' => 0,
    'site_name' => 0,
    'mystat' => 0,
    'art' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_586e3921762743_60740195')) {function content_586e3921762743_60740195($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\phpStudy\\WWW\\source\\extend\\smarty\\plugins\\modifier.truncate.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


        	<div class="content">
            	<div class="title"><?php echo $_smarty_tpl->tpl_vars['pagename']->value;?>
</div>
                <div class="body">
            		<div class="notice"><?php echo $_smarty_tpl->tpl_vars['cfg']->value['site_notice'];?>
</div>
					<div class="userinfo">
                		<h3>您好，<?php echo $_smarty_tpl->tpl_vars['myself']->value['nick_name'];?>
，欢迎登录<?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
管理中心！</h3>
						<div class="huiyuan"> 您现在的会员等级是 <strong><?php echo $_smarty_tpl->tpl_vars['myself']->value['user_type'];?>
</strong>，注册于 <?php echo $_smarty_tpl->tpl_vars['myself']->value['join_time'];?>
 最后一次登录时间：<?php echo $_smarty_tpl->tpl_vars['myself']->value['login_time'];?>
，登录IP：<?php echo $_smarty_tpl->tpl_vars['myself']->value['login_ip'];?>
</div>
    					<ol>
						
						<li>您共提交站点 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['website'];?>
</strong> 个，<a href="?mod=website&act=add">继续提交>></a></li>
						<li>您共提交微信 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['weixin'];?>
</strong> 个，<a href="?mod=weixin&act=add">继续提交>></a></li>
						<li>您共提交商品 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['shop'];?>
</strong> 个，<a href="?mod=shop&act=add">继续提交>></a></li>
						<li>您共提交货源 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['huoyuan'];?>
</strong> 个，<a href="?mod=huoyuan&act=add">继续提交>></a></li>
    					<li>您共发布文章 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['article'];?>
</strong> 篇，<a href="?mod=article&act=add">继续发布>></a></li>
        				<li>您共收藏 <strong><?php echo $_smarty_tpl->tpl_vars['mystat']->value['favorite'];?>
</strong> 个网站</li>
                           
    					</ol>
                	</div>
					<div class="clear"></div>
					<div class="xinwen">
					<div class="new">
					   <h2>头条新闻</h2>
					  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(1,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>
                      <li><a href="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"20");?>
</a></li>
                       <?php } ?>
		            </div>
					<div class="new">
					   <h2>社会新闻</h2>
					  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(2,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>
                      <li><a href="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"20");?>
</a></li>
                       <?php } ?>
		            </div>
					<div class="new">
					   <h2>娱乐新闻</h2>
					  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(3,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>
                      <li><a href="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"20");?>
</a></li>
                       <?php } ?>
		            </div>
		
					</div>
                </div>
            </div>

<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>