<?php /* Smarty version 2.6.22, created on 2015-12-31 17:02:17
         compiled from E:/xampp/htdocs/templates/home/default%5Cusers%5Ctop.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/js/arc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/jstemplate.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>
<body>
<div class="app" id="app">
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/mobile-nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!-- content -->
  <div id="content" class="app-content box-shadow-z3" role="main">
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/pagenav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div class="app-body" id="view">
      <!-- ############ PAGE START-->
      <div class="grey-100 b-t">
        <div class="container">

          <div class="row-col">
            <div class="col-sm">
              <div class="pos-rlt p-t-md">


                <?php if ($this->_tpl_vars['users']): ?>
                <div class="row row-avatar">
                  <?php $_from = $this->_tpl_vars['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['u']):
        $this->_foreach['foo']['iteration']++;
?>
                  <div class="col-sm-4">
                    <div class="box text-center box-shadow-z4">
                      <div class="item">
                        <div class="item-bg">
                          <img src="<?php if ($this->_tpl_vars['u']['homeimage'] != ''): ?><?php echo $this->_tpl_vars['data_server']; ?>
uploads/users/<?php echo $this->_tpl_vars['u']['user_id']; ?>
/A_<?php echo $this->_tpl_vars['u']['homeimage']; ?>
<?php else: ?>/mbthemes/assets/images/bg/user-default.jpg<?php endif; ?>" class="blur" style="top: 65%;">
                        </div>
                        <div class="p-t pos-rlt text-center">
                          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['u']['username']; ?>
" target="_blank">
                            <?php if ($this->_tpl_vars['u']['avatar'] != ''): ?>
                            <img alt="<?php echo $this->_tpl_vars['u']['nickname']; ?>
" class="img-circle w-96" src="<?php echo $this->_tpl_vars['data_server']; ?>
uploads/users/<?php echo $this->_tpl_vars['u']['user_id']; ?>
/A_<?php echo $this->_tpl_vars['u']['avatar']; ?>
" style="margin-top: 5rem">
                            <?php else: ?>
                            <span class="w-96 circle skin text-lg" style="margin-top: 5rem">
                              <span class="price opacity" style="vertical-align: 2%;">NOPIC</span>
                            </span>
                            <?php endif; ?>
                          </a>
                        </div>
                      </div>

                      <?php if ($this->_tpl_vars['u']['featured_author'] == 'true'): ?>
                      <a class="ribbon ribbon-skin" style="top: 30px">
                        推荐
                      </a>
                      <?php elseif ($this->_tpl_vars['u']['elite_author'] == 'true' || $this->_tpl_vars['u']['power_elite_author'] == 'true'): ?>
                      <a class="ribbon ribbon-danger" style="top: 30px">
                        精英
                      </a>
                      <?php else: ?>
                      <?php endif; ?>
                      <div class="p-t p-b-md">
                        <p>

                        </p>
                        <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['u']['username']; ?>
" class="text-md block text-skin-hover"><?php echo $this->_tpl_vars['u']['nickname']; ?>
</a>
                        <p class="text-muted">
                          <small>
                            <?php if ($this->_tpl_vars['u']['profile_title'] != ''): ?>
                            <?php echo $this->_tpl_vars['u']['profile_title']; ?>

                            <?php else: ?>
                            作者太懒了，没填签名呢
                            <?php endif; ?>
                          </small>
                        </p>
                        <div>

                          <?php if ($this->_tpl_vars['u']['weibo'] != '' || $this->_tpl_vars['u']['weixin'] != '' || $this->_tpl_vars['u']['qq'] != ''): ?>

                          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['u']['username']; ?>
" title="<?php echo $this->_tpl_vars['u']['nickname']; ?>
的主页" target="_blank" class="btn btn-icon btn-social rounded white m-r-sm">
                            <i class="icon-home lime-100"></i>
                            <i class="icon-home skin"></i>
                          </a>
                          <?php if ($this->_tpl_vars['u']['weixin'] != ''): ?>
                          <a href="http://open.weixin.qq.com/qr/code/?username=<?php echo $this->_tpl_vars['u']['weixin']; ?>
" title="微信号：<?php echo $this->_tpl_vars['u']['weixin']; ?>
" target="_blank" class="btn btn-icon btn-social rounded white m-r-sm">
                            <i class="icon-weixin green-100"></i>
                            <i class="icon-weixin green"></i>
                          </a>
                          <?php endif; ?>
                          <?php if ($this->_tpl_vars['u']['weibo'] != ''): ?>
                          <a href="http://weibo.com/<?php echo $this->_tpl_vars['u']['weibo']; ?>
" title="新浪微博" target="_blank" class="btn btn-icon btn-social rounded white m-r-sm">
                            <i class="icon-weibo orange-100"></i>
                            <i class="icon-weibo orange-800"></i>
                          </a>
                          <?php endif; ?>
                          <?php if ($this->_tpl_vars['u']['qq'] != ''): ?>
                          <a target="_blank" href="<?php echo $this->_tpl_vars['u']['qq']; ?>
" title="联系QQ" class="btn btn-icon btn-social rounded white">
                            <i class="icon-qq light-blue-100"></i>
                            <i class="icon-qq light-blue-600"></i>
                          </a>
                          <?php endif; ?>


                          <?php else: ?>
                          <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['u']['username']; ?>
" title="<?php echo $this->_tpl_vars['u']['nickname']; ?>
的主页" target="_blank" class="btn btn-icon btn-social rounded white m-r-xs">
                            <i class="icon-home lime-100"></i>
                            <i class="icon-home skin"></i>
                          </a>
                          <?php endif; ?>



                        </div>
                      </div>



                      <div class="row no-gutter text-skin-hover b-t">
                        <div class="col-xs-4 b-r">
                          <a class="p-x p-y-sm block text-center">
                            <span class="price text-lg _800 text-muted m-v-sm"><?php echo $this->_tpl_vars['u']['items']; ?>
</span>
                            <span class="block">作品</span>
                          </a>
                        </div>
                        <div class="col-xs-4 b-r">
                          <a class="p-x p-y-sm block text-center">
                            <span class="price text-lg _800 text-muted m-v-sm"><?php echo $this->_tpl_vars['u']['followers']; ?>
</span>
                            <span class="block">粉丝</span>
                          </a>
                        </div>
                        <div class="col-xs-4">
                          <a class="p-x p-y-sm block text-center">
                            <span class="price text-lg _800 text-muted m-v-sm"><?php echo $this->_tpl_vars['u']['sales']; ?>
</span>
                            <span class="block">销量</span>
                          </a>
                        </div>
                      </div>
                    </div>
                  </div>
                  <?php endforeach; endif; unset($_from); ?>

                </div>
                <?php if ($this->_tpl_vars['paging']): ?>
                <?php echo $this->_tpl_vars['paging']; ?>

                <?php endif; ?>
                <?php else: ?>
                <div class="row">
                  <div class="col-xs-12 text-center">
                    <section class="panel no-radius p-t-lg p-b-lg panel-shadow">
                      <div class="panel-body bg-white-only no-radius">
                        <h3><?php echo $this->_tpl_vars['lang']['no_users']; ?>
</h3>
                      </div>
                    </section>
                  </div>
                </div>
                <?php endif; ?>


              </div>
            </div>
          </div>
        </div>

      </div>
    </div>
    <!-- ############ PAGE END-->
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  </div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/backtop.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/mb-settings.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- ############ LAYOUT END-->
</div>
</body>
</html>