Файл: adultscript-2.0.3-pro/files/templates/defboot/frontpage.tpl.php
Строк: 84
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div id="content" class="row">
<?php $left = VCfg::get('template.defboot.categories_left'); if ($left): ?>
<div class="col-md-2 hidden-xs hidden-sm">
<?php echo p('categories', array(), 'all'); ?>
<?php echo p('adv', 'frontpage-left'); ?>
</div>
<?php endif; ?>
<div class="col-xs col-sm-12 col-md-<?php if ($left): echo '10'; else: echo '12'; endif; ?>">
<?php echo w('news_header'); ?>
<?php if (isset($this->watched)): ?>
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?php echo __('watched-title'); ?></h2></div>
<div class="panel-body panel-padding">
<?php echo p('adv_square', 'frontpage-watched'); ?>
<?php if ($this->watched): $this->videos = $this->watched; $this->id = '-watched'; echo $this->fetch('_video_list'); ?>
<div class="clearfix"></div>
<?php else: ?>
<div class="none"><?php echo __('no-watched'); ?></div>
<?php endif; ?>
</div>
</div>
<?php endif; if (isset($this->featured)): ?>
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><?php echo __('featured-title'); ?></h2></div>
<div class="panel-body panel-padding">
<?php echo p('adv_square', 'frontpage-featured'); ?>
<?php if ($this->featured): $this->videos = $this->featured; $this->id = '-featured'; echo $this->fetch('_video_list'); ?>
<div class="clearfix"></div>
<?php else: ?>
<div class="none"><?php echo __('no-featured'); ?></div>
<?php endif; ?>
</div>
</div>
<?php endif; if (isset($this->recent)): ?>
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title pull-left"><?php echo __('recent-title'); ?></h1>
<?php echo $this->fetch('video_menu'); ?>
<div class="clearfix"></div>
</div>
<div class="panel-body panel-padding">
<?php echo p('adv_square', 'frontpage-recent'); ?>
<?php if ($this->recent): $this->videos = $this->recent; echo $this->fetch('_video_list'); ?>
<div class="clearfix"></div>
<nav class="text-center"><ul class="pagination pagination-lg"><?php echo p('pagination', $this->pagination, REL_URL.'/recent/#PAGE#/'); ?></ul></nav>
<?php else: ?>
<div class="none"><?php echo __('no-videos'); ?></div>
<?php endif; ?>
</div>
</div>
<?php endif; if (VCfg::get('template.defboot.categories_popular')): echo w('categories_popular'); ?>
<?php endif; if (VCfg::get('template.defboot.channels_popular')): echo w('channels_popular'); ?>
<?php endif; if (VCfg::get('template.defboot.pornstars_popular')): echo w('pornstars_popular'); ?>
<?php endif; if (VCfg::get('template.defboot.albums_recent')): echo w('albums_recent'); ?>
<?php endif; if (VCfg::get('template.defboot.albums_popular')): echo w('albums_popular'); ?>
<?php endif; if (VCfg::get('template.defboot.tags_popular')): echo w('tags_popular'); ?>
<?php endif; ?>
</div>
</div>