Вход Регистрация
Файл: adultscript-2.0.3-pro/files/templates/defboot/_pornstar.tpl.php
Строк: 176
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <script type="text/javascript" src="<?php echo TPL_REL?>/js/model.js"></script>    
    <div id="content" class="row">
        <div class="col-md-12">
            <div class="content">
                <div class="model-image">
                    <img src="<?php echo MODEL_URL,'/',$this->pornstar['model_id'].'.'.$this->pornstar['ext'],'" alt="',e($this->pornstar['name']); ?>" width="180" height="265" class="img-rounded" />
                </div>
                <div id="model">
                    <?php $adv p('adv''pornstar-view'); if ($adv): echo '<div class="ads ads-model">'.$adv.'</div>'; endif; ?>
                    <h1><?php echo e($this->pornstar['name']); ?>
                        <span id="subscribe-button">
                            <?php if ($this->subscribed): ?>
                            <button id="unsubscribe" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="right" title="<?php echo __('unsubscribe-help'); ?>"><i class="fa fa-rss"></i> <?php echo __('unsubscribe'); ?></button>
                            <?php else: ?>
                            <button id="subscribe" class="btn btn-default btn-xs" data-toggle="tooltip" data-placement="right" title="<?php echo __('subscribe-help'); ?>"><i class="fa fa-rss"></i> <?php echo __('subscribe'); ?></button>
                            <?php endif; ?>
                        </span>
                    </h1>
                    <input name="model_id" type="hidden" value="<?php echo $this->pornstar['model_id']; ?>">
                    <div id="response" class="alert" style="display: none;"></div>
                    <div class="btn-group btn-group-mb" role="group">
                        <button id="like" type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="<?php echo __('like-help'); ?>"><i id="like-icon" class="fa fa-thumbs-up"></i> <?php echo __('like'); ?></button>
                        <button id="rating" type="button" class="btn btn-default" disabled="disabled">
                              <?php $percent = ($this->pornstar['likes'] > && $this->pornstar['rated_by']) ? round($this->pornstar['likes']*100/$this->pornstar['rated_by']) : 100?>
                              <?php echo $percent,'% (',$this->pornstar['likes'],'/',$this->pornstar['rated_by']; ?>)
                              <div class="progress">
                                  <div class="progress-bar" role="progressbar" aria-valuenow="<?php echo $percent?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $percent?>%;">
                                      <span class="sr-only"><?php echo $percent?>% Complete</span>
                                  </div>
                              </div>
                        </button>
                        <button id="dislike" type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="<?php echo __('dislike-help'); ?>"><i id="dislike-icon" class="fa fa-thumbs-down"></i></button>
                    </div>
                    <div class="btn-group">
                        <button id="favorite" class="btn btn-default btn-mb" data-toggle="tooltip" data-placement="top" title="<?= __('favorite-help'); ?>"><i id="favorite-icon" class="fa fa-heart"></i> <span class="hidden-sm no-text"><?php echo __('favorite'); ?></span> (<span id="favorite-count"><?php echo $this->pornstar['total_favorites']; ?></span>)</button>
                    </div>
                    <div class="btn-group">
                        <button id="views" class="btn btn-default btn-mb" disabled="disabled"><i class="fa fa-eye"></i> <?php echo $this->pornstar['total_views']; ?></button>
                    </div>
                    <?php if ($this->pornstar['description']): ?>
                    <h4><?php echo __('bio'); ?></h4>
                    <p class="bio"><?php echo $this->pornstar['description']; ?></p>
                    <?php endif; ?>
                    <h4><?php echo __('about'); ?></h4>
                    <div class="row">
                          <div class="content-left">
                              <dl class="dl-horizontal">
                                  <?php if ($this->pornstar['performs']): ?>
                                  <dt><?php echo __('performs'); ?></dt>
                                  <dd><?php echo e($this->pornstar['performs']); ?></dd>
                                  <?php endif; if ($this->pornstar['aliases']): ?>
                                  <dt><?php echo __('aliases'); ?></dt>
                                  <dd><?php echo e($this->pornstar['aliases']); ?></dd>
                                  <?php endif; if ($this->pornstar['birth_date']): ?>
                                  <dt><?php echo __('born'); ?></dt>
                                  <dd><?php echo VDate::format($this->pornstar['birth_date'], 'M d, Y'); ?></dd>
                                  <?php endif; if ($this->pornstar['birth_location']): ?>
                                  <dt><?php echo __('birth-location'); ?></dt>
                                  <dd><?php echo e($this->pornstar['birth_location']); ?></dd>
                                  <?php endif; if ($this->pornstar['birth_name']): ?>
                                  <dt><?php echo __('name'); ?></dt>
                                  <dd><?php echo e($this->pornstar['birth_name']); ?></dd>
                                  <?php endif; if ($this->pornstar['url']): ?>
                                  <dt><?php echo __('website'); ?></dt>
                                  <dd><a href="<?php echo $this->pornstar['url']; ?>" target="_blank" rel="nofollow"><?php echo e($this->pornstar['url']); ?></a></dd>
                                  <?php endif; ?>                                  
                              </dl>
                          </div>
                          <div class="content-right">
                              <dl class="dl-horizontal">
                                  <?php if ($this->pornstar['measurements']): ?>
                                  <dt><?php echo __('measurements'); ?></dt>
                                  <dd><?php echo e($this->pornstar['measurements']); ?></dd>
                                  <?php endif; if ($this->pornstar['height']): ?>
                                  <dt><?php echo __('height'); ?></dt>
                                  <dd><?php echo e($this->pornstar['height']); ?></dd>
                                  <?php endif; if ($this->pornstar['weight']): ?>
                                  <dt><?php echo __('weight'); ?></dt>
                                  <dd><?php echo e($this->pornstar['weight']); ?></dd>
                                  <?php endif; if ($this->pornstar['eye_color']): ?>
                                  <dt><?php echo __('eye-color'); ?></dt>
                                  <dd><?php echo e($this->pornstar['eye_color']); ?></dd>
                                  <?php endif; if ($this->pornstar['hair_color']): ?>
                                  <dt><?php echo __('hair-color'); ?></dt>
                                  <dd><?php echo e($this->pornstar['hair_color']); ?></dd>
                                  <?php endif; if ($this->pornstar['ethnicity']): ?>
                                  <dt><?php echo __('ethnicity'); ?></dt>
                                  <dd><?php echo e($this->pornstar['ethnicity']); ?></dd>
                                  <?php endif;if ($this->pornstar['nationality']): ?>
                                  <dt><?php echo __('nationality'); ?></dt>
                                  <dd><?php echo e($this->pornstar['nationality']); ?></dd>
                                  <?php endif; ?>
                              </dl>
                          </div>
                          <div class="clearfix"></div>
                      </div>
                </div>
                <div class="clearfix"></div>
            </div>
Онлайн: 1
Реклама