Файл: adultscript-2.0.3-pro/files/admin/templates/default/photo_ratings.tpl.php
Строк: 58
<?php defined('_VALID') or die('Restricted Access!'); ?>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
</script>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('photo_menu'); ?>
<div class="content clearfix">
<?php echo $this->fetch('photo_view_menu'); ?>
<?php if ($this->ratings): ?>
<div class="box_menu">
<div class="box_menu_left"> </div>
<div class="box_menu_right">
<div class="barNav clearfix"><?php echo p('pagination', $this->pagination, CURRENT_URL); ?></div>
</div>
<div class="clear"></div>
</div>
<table cellpadding="0" cellspacing="0" border="0" id="table" class="uiTable">
<thead>
<tr>
<th><h3>Rating</h3></th>
<th><h3>Username</h3></th>
<th><h3>Ip</h3></th>
<th><h3>Rating Date</h3></th>
</tr>
</thead>
<tbody>
<?php foreach ($this->ratings as $rating): ?>
<tr>
<td><strong><?php echo $rating['rating']; ?></strong></td>
<td><strong><?php if ($rating['username'] == ''): echo 'none'; else: echo '<a href="',ADMIN_URL,'/index.php?q=user/view&id=',$rating['voter_id'],'">',e($rating['username']),'</a>'; endif; ?></strong></td>
<td><?php echo long2ip($rating['voter_ip']); ?></td>
<td><?php echo $rating['add_date']; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="box_menu">
<div class="box_menu_left"> </div>
<div class="box_menu_right">
<div class="barNav clearfix"><?php echo p('pagination', $this->pagination, CURRENT_URL); ?></div>
</div>
<div class="clear"></div>
</div>
<?php else: ?>
<div class="none">Nobody rated this video!</div>
<?php endif; ?>
</div>
<div class="legend"> </div>
</div>
</div>