Файл: adultscript-2.0.3-pro/files/admin/templates/default/video_queue.tpl.php
Строк: 75
<?php defined('_VALID') or die('Restricted Access!'); ?>
<?php echo $this->fetch('errors'); ?>
<?php echo $this->fetch('messages'); ?>
<?php echo $this->fetch('warnings'); ?>
<div id="container" class="clearfix">
<div id="page">
<?php echo $this->fetch('video_menu'); ?>
<div class="content clearfix">
<?php if ($this->videos): ?>
<form name="actionsForm" id="actionsForm" method="post" action="<?php echo CURRENT_URL; ?>">
<div class="box_menu">
<div class="box_menu_left">
</div>
<div class="box_menu_right">
<div class="barNav clearfix">Found <strong><?php echo $this->pagination['total_items']; ?></strong> videos, displaying page <strong><?php echo $this->pagination['page']; ?></strong> of <strong><?php echo $this->pagination['total_pages']; ?></strong> <strong>·</strong> <?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>Id</h3></th>
<th><h3>Title</h3></th>
<th><h3>Filename</h3></th>
<th><h3>Added</h3></th>
<th><h3>Status</h3></th>
</tr>
</thead>
<tbody>
<?php foreach ($this->videos as $video): ?>
<tr id="row_<?php echo $video['video_id']; ?>">
<td><strong><?php echo $video['video_id']; ?></strong></td>
<td width="35%"><?php echo e($video['title']); ?></td>
<td width="35%"><?php echo e($video['filename']),' (',VText::bytes($video['size']).')'; ?></td>
<td><?php echo VDate::format($video['add_time'], 'Y M d H:i:s'); ?></td>
<td><?php if ($video['conv_time'] > 0): echo 'Running'; else: echo 'Waiting'; endif; ?></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">Found <strong><?php echo $this->pagination['total_items']; ?></strong> videos, displaying page <strong><?php echo $this->pagination['page']; ?></strong> of <strong><?php echo $this->pagination['total_pages']; ?></strong> <strong>·</strong> <?php echo p('pagination', $this->pagination,CURRENT_URL); ?></div>
</div>
<div class="clear"></div>
</div>
</form>
<?php else: ?>
<div class="none">Queue is empty!</div>
<?php endif; ?>
</div>
</div>
</div>