developer/template/default/admin/admin_tickets_view.tpl
2018-09-07 13:13:33 +02:00

63 lines
2.7 KiB
Smarty

<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="admin.php?w=ti"><i class="fa fa-life-ring"></i> <?php echo $gsprache->support;?></a></li>
<li class="active"><?php echo $topic;?></li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-body">
<dl class="dl-horizontal">
<dt><?php echo $sprache->status;?></dt>
<dd><?php echo $status;?></dd>
<br>
<dt><?php echo $sprache->priority;?></dt>
<dd><?php echo $priority;?></dd>
<br>
<dt><?php echo $gsprache->user.' '.$sprache->priority;?></dt>
<dd><?php echo $userPriority;?></dd>
<br>
<dt><?php echo $sprache->edit2;?></dt>
<dd><?php if(isset($supporterList[$supporter])) echo $supporterList[$supporter];?></dd>
<br>
<?php if($open=="Y") { ?>
<dt><?php echo $gsprache->mod;?></dt>
<dd><a href="admin.php?w=ti&d=md&amp;id=<?php echo $id;?>&amp;action=md"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></a></dd>
<?php } ?>
</dl>
</div>
</div>
</div>
<div class="col-md-6">
<ul class="timeline">
<?php foreach ($table as $table_row) { ?>
<?php if($lastdate!=$table_row['writedate']){ ?>
<li class="time-label"><span class="bg-green"><?php echo $table_row['writedate'];?></span></li>
<?php }; $lastdate=$table_row['writedate'];?>
<li>
<i class="fa fa-envelope bg-blue"></i>
<div class="timeline-item">
<span class="time"><i class="fa fa-clock-o"></i> <?php echo $table_row['writeTime'];?></span>
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
<div class="timeline-body">
<?php echo html_entity_decode($table_row['ticket']);?>
</div>
</div>
</li>
<?php } ?>
<li>
<i class="fa fa-clock-o"></i>
</li>
</ul>
</div>
</div>
</section>