%PDF- %PDF-
| Direktori : /www/varak.net/paste.varak.net-5.6/app/storage/views/ |
| Current File : /www/varak.net/paste.varak.net-5.6/app/storage/views/74ec143358e16c1ba31a7a516bb01b37 |
<?php $__env->startSection('module'); ?>
<section id="admin-paste">
<fieldset>
<legend><?php echo Lang::get('admin.manage_pastes'); ?></legend>
<?php echo Form::open(array(
'autocomplete' => 'off',
'role' => 'form'
)); ?>
<div class="row">
<div class="col-sm-12 form-inline">
<?php echo Form::text('search', NULL, array(
'class' => 'form-control',
'maxlength' => 30,
'placeholder' => Lang::get('global.paste_id')
)); ?>
<?php echo Form::submit(Lang::get('global.search'), array(
'class' => 'btn btn-primary'
)); ?>
</div>
</div>
<br />
<div class="row">
<div class="col-sm-12 form-inline">
<?php if( ! empty($paste)): ?>
<table class="table table-striped table-striped-dark">
<colgroup>
<col class="col-xs-3 col-sm-2" />
<col class="col-xs-9 col-sm-10" />
</colgroup>
<thead>
<tr>
<th><?php echo Lang::get('admin.field'); ?></th>
<th><?php echo Lang::get('admin.value'); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td><?php echo Lang::get('global.paste_id'); ?></td>
<td>#<?php echo $paste->urlkey; ?></td>
</tr>
<tr>
<td><?php echo Lang::get('global.paste_title'); ?></td>
<td><?php echo e($paste->title ?: '-'); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('global.paste_data'); ?></td>
<td><?php echo e(Paste::getAbstract($paste->data)); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('global.author'); ?></td>
<td><?php echo e($paste->author ?: Lang::get('global.anonymous')); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('global.paste_lang'); ?></td>
<td><?php echo $paste->language; ?></td>
</tr>
<tr>
<td><?php echo Lang::get('admin.posted_at'); ?></td>
<td><?php echo date('d M Y, H:i:s e', $paste->timestamp); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('admin.expires_at'); ?></td>
<td><?php echo $paste->expire > 0 ? date('d M Y, H:i:s e', $paste->expire) : '-'; ?></td>
</tr>
<tr>
<td><?php echo Lang::get('admin.is_private'); ?></td>
<td><?php echo $paste->private ? Lang::get('global.yes') : Lang::get('global.no'); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('admin.has_password'); ?></td>
<td><?php echo $paste->password ? Lang::get('global.yes') : Lang::get('global.no'); ?></td>
</tr>
<tr>
<td><?php echo Lang::get('admin.poster_ip'); ?></td>
<td><?php echo $paste->ip; ?></td>
</tr>
</tbody>
</table>
<div class="inline">
<?php if($paste->password): ?>
<?php echo link_to("admin/paste/{$paste->urlkey}/rempass", Lang::get('admin.remove_password'), array(
'class' => 'btn btn-primary'
)); ?>
<?php endif; ?>
<?php echo link_to("admin/paste/{$paste->urlkey}/toggle",
$paste->private ? Lang::get('global.make_public') : Lang::get('global.make_private'),
array(
'class' => 'btn btn-primary'
)
); ?>
<?php if($paste->attachment): ?>
<?php echo link_to("admin/paste/{$paste->urlkey}/remattach", Lang::get('admin.remove_attachment'), array(
'class' => 'btn btn-primary',
'onclick' => "return confirm('".Lang::get('global.action_confirm')."')",
)); ?>
<?php endif; ?>
<?php echo link_to("admin/paste/{$paste->urlkey}/delete", Lang::get('global.delete'), array(
'class' => 'btn btn-primary',
'onclick' => "return confirm('".Lang::get('global.action_confirm')."')",
)); ?>
</div>
<?php else: ?>
<div class="jumbotron text-center">
<h1><span class="glyphicon glyphicon-search text-warning"></span></h1>
<h2><?php echo Lang::get('admin.paste_exp'); ?></h2>
</div>
<?php endif; ?>
</div>
</div>
<?php echo Form::close(); ?>
</fieldset>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('skins.bootstrap.admin.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>