Файл: adultscript-2.0.3-pro/files/templates/defboot/profile_comments.tpl.php
Строк: 48
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div id="content" class="row">
<?php echo $this->fetch('profile_left'); ?>
<div class="col-xs-12 col-sm-8 col-md-9">
<?php echo $this->fetch('profile_menu'); ?>
<div class="panel panel-default margin-top-10">
<div class="panel-heading">
<?php echo __('comments'),' <span>(',$this->pagination['total_items']-1; ?>)</span>
</div>
<div class="panel-body">
<?php if ($this->is_loggedin && $this->user['allow_comments'] != 'no'): ?>
<div class="post-comment">
<div id="response-comment" class="alert alert-dismissible" style="display: none;"></div>
<div class="row">
<div class="col-xs-3 col-sm-2 col-md-2 col-lg-1 comment-picture">
<img src="<?php echo USER_URL,'/'; if ($_SESSION['avatar'] != ''): echo $_SESSION['user_id'].'.'.$_SESSION['avatar']; else: echo 'nopic-'.$_SESSION['gender'].'.gif'; endif; ?>" alt="Profile Picture" class="img-rounded" />
</div>
<div class="col-xs-9 col-sm-10 col-md-10 col-lg-11">
<textarea name="comment" id="comment" class="form-control" rows="4" cols="60"></textarea>
<div class="row" style="margin-top: 5px;">
<div class="col-xs-8 col-sm-8 col-md-6">
<small><span id="remaining">500</span> <?php echo __('characters-left'); ?></small>
</div>
<div class="col-xs-4 col-sm-4 col-md-6 text-right">
<button id="post-comment" type="button" class="btn btn-primary"><?php echo __('post-comment-button'); ?></button>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php $this->type = 'user'; echo $this->fetch('_comments_list'); ?>
</div>
</div>
</div>
</div>