mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#30 Reseller tickets
This commit is contained in:
parent
8a6b94ed66
commit
412dd5ae5b
@ -284,6 +284,11 @@ if ($ui->smallletters('w', 9, 'get') == 'datatable') {
|
||||
require_once(EASYWIDIR . '/stuff/ajax/userpanel_ticket_category.php');
|
||||
die;
|
||||
|
||||
} else if (isset($user_id) and $pa['usertickets'] and $ui->w('d', 24, 'get') == 'resellerTicketCategories' and $ui->id('topicName', 10, 'get')) {
|
||||
|
||||
require_once(EASYWIDIR . '/stuff/ajax/reseller_ticket_category.php');
|
||||
die;
|
||||
|
||||
} else if (isset($admin_id) and $pa['voiceserverStats'] and $ui->w('d', 15, 'get') == 'adminVoiceStats' and $ui->st('w', 'get')) {
|
||||
|
||||
require_once(EASYWIDIR . '/stuff/ajax/admin_voice_stats.php');
|
||||
|
@ -146,7 +146,7 @@ if ($ui->st('d', 'get') == 'ad') {
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
$query2->execute(array($id,$resellerid));
|
||||
while ($row2 = $query2->fetch(PDO::FETCH_ASSOC)) {
|
||||
$table[] = array('writedate' => ($user_language == 'de') ? date('d.m.Y H:i:s',strtotime($row2['writeDate'])) : $row2['writeDate'], 'ticket' => nl2br(htmlspecialchars(stripslashes($row2['message']))),'writer' => getusername($row2['userID']));
|
||||
$table[] = array('writedate' => ($user_language == 'de') ? date('d.m.Y', strtotime($row2['writeDate'])) : date('Y-m-d', strtotime($row2['writeDate'])), 'writeTime' => date('H:i:s', strtotime($row2['writeDate'])), 'ticket' => nl2br(htmlspecialchars(stripslashes($row2['message']))),'writer' => getusername($row2['userID']));
|
||||
}
|
||||
if ($row['userPriority']==1) $priority = $sprache->priority_low;
|
||||
else if ($row['userPriority']==2) $priority = $sprache->priority_medium;
|
||||
@ -182,6 +182,7 @@ if ($ui->st('d', 'get') == 'ad') {
|
||||
$topic = $row['topic'];
|
||||
}
|
||||
}
|
||||
$lastdate = '';
|
||||
$template_file = ($ui->smallletters('action',2, 'get') == 'md') ? 'admin_reseller_tickets_md.tpl' : 'admin_reseller_tickets_view.tpl';
|
||||
} else if ($ui->smallletters('action',2, 'post') == 'wr') {
|
||||
$query = $sql->prepare("SELECT `supporter`,`state` FROM `tickets` WHERE `id`=? AND `resellerid`=? LIMIT 1");
|
||||
@ -350,5 +351,8 @@ if ($ui->st('d', 'get') == 'ad') {
|
||||
}
|
||||
$table[] = array('id' => $row['id'], 'priority' => $priority,'writedate' => $writedate,'supporter' => $row['supporter'], 'subject' => $topic,'status' => $status,'rawState' => $row['state'], 'statusClass' => $statusClass);
|
||||
}
|
||||
|
||||
configureDateTables('-1', '5, "desc"');
|
||||
|
||||
$template_file = "admin_reseller_tickets_list.tpl";
|
||||
}
|
71
web/stuff/ajax/reseller_ticket_category.php
Normal file
71
web/stuff/ajax/reseller_ticket_category.php
Normal file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* File: reseller_ticket_category.php.
|
||||
* Author: Ulrich Block
|
||||
* Date: 02.05.15
|
||||
* Time: 15:49
|
||||
* Contact: <ulrich.block@easy-wi.com>
|
||||
*
|
||||
* This file is part of Easy-WI.
|
||||
*
|
||||
* Easy-WI is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Easy-WI is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Easy-WI. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Diese Datei ist Teil von Easy-WI.
|
||||
*
|
||||
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
|
||||
* der GNU General Public License, wie von der Free Software Foundation,
|
||||
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
|
||||
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
|
||||
*
|
||||
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
|
||||
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
|
||||
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
|
||||
* Siehe die GNU General Public License fuer weitere Details.
|
||||
*
|
||||
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
|
||||
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (!defined('AJAXINCLUDED')) {
|
||||
die('Do not access directly!');
|
||||
}
|
||||
|
||||
$table = array();
|
||||
|
||||
$lookupId = ($admin_id == $reseller_id) ? 0 : $resellerLockupID;
|
||||
|
||||
$query = $sql->prepare("SELECT * FROM `ticket_topics` WHERE `maintopic`=? AND `maintopic`!=`id` AND `resellerid`=? ORDER BY `id`");
|
||||
$query2 = $sql->prepare("SELECT `text` FROM `translations` WHERE `type`='ti' AND `lang`=? AND `transID`=? AND `resellerID`=? LIMIT 1");
|
||||
|
||||
$query->execute(array($ui->id('topicName', 10, 'get'), $lookupId));
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
|
||||
$query2->execute(array($user_language, $row['id'], $lookupId));
|
||||
$topic = $query2->fetchColumn();
|
||||
|
||||
if (empty($topic)) {
|
||||
|
||||
$query2->execute(array($default_language, $row['id'], $lookupId));
|
||||
$topic = $query2->fetchColumn();
|
||||
|
||||
if (empty($topic)) {
|
||||
$topic = $row['topic'];
|
||||
}
|
||||
}
|
||||
|
||||
$table[$row['id']] = $topic;
|
||||
}
|
||||
|
||||
require_once IncludeTemplate($template_to_use, 'ajax_userpanel_ticket_category.tpl', 'ajax');
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
@ -1,61 +1,72 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="admin.php">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="admin.php?w=ti"><?php echo $gsprache->support;?></a> <span class="divider">/</span></li>
|
||||
<li class="active"><?php echo $gsprache->support2;?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<form class="form-horizontal" action="admin.php?w=tr&d=ad&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="priority"><?php echo $sprache->priority;?></label>
|
||||
<div class="controls">
|
||||
<select id="priority" name="userPriority">
|
||||
<option value="1"><?php echo $sprache->priority_low;?></option>
|
||||
<option value="2"><?php echo $sprache->priority_medium;?></option>
|
||||
<option value="3"><?php echo $sprache->priority_high;?></option>
|
||||
<option value="4"><?php echo $sprache->priority_very_high;?></option>
|
||||
<option value="5"><?php echo $sprache->priority_critical;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="topic_name"><?php echo $sprache->topic_name;?></label>
|
||||
<div class="controls">
|
||||
<select id="topic_name" name="maintopic" onchange="getdetails('serverallocation.php?d=rt&po=', this.value)">
|
||||
<?php foreach ($table as $table_row){ ?>
|
||||
<option value="<?php echo $table_row['id'];?>" ><?php echo $table_row['topic'];?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="topic_name"><?php echo $sprache->topic_name_sub;?></label>
|
||||
<div id="information" class="controls">
|
||||
<select id="topic_name" name="topic">
|
||||
<?php foreach ($table2 as $table_row2){ ?>
|
||||
<option value="<?php echo $table_row2['id'];?>" ><?php echo $table_row2['topic'];?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="problem"><?php echo $sprache->problem;?></label>
|
||||
<div class="controls">
|
||||
<textarea id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<div class="controls">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->reseller . ' ' . $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=tr"><i class="fa fa-life-ring"></i> <?php echo $gsprache->reseller . ' ' . $gsprache->support;?></a></li>
|
||||
<li class="active"><?php echo $gsprache->support2;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-success">
|
||||
|
||||
<form role="form" action="admin.php?w=tr&d=ad&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ad">
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="priority"><?php echo $sprache->priority;?></label>
|
||||
<select class="form-control" id="priority" name="userPriority">
|
||||
<option value="1"><?php echo $sprache->priority_low;?></option>
|
||||
<option value="2"><?php echo $sprache->priority_medium;?></option>
|
||||
<option value="3"><?php echo $sprache->priority_high;?></option>
|
||||
<option value="4"><?php echo $sprache->priority_very_high;?></option>
|
||||
<option value="5"><?php echo $sprache->priority_critical;?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="topic_maintopic"><?php echo $sprache->topic_name;?></label>
|
||||
<select class="form-control" id="topic_maintopic" name="maintopic" required="required">
|
||||
<option></option>
|
||||
<?php foreach ($table as $table_row){ ?>
|
||||
<option value="<?php echo $table_row['id'];?>" ><?php echo $table_row['topic'];?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="topic_name_sub"><?php echo $sprache->topic_name_sub;?></label>
|
||||
<select class="form-control" id="topic_name_sub" name="topic" required="required">
|
||||
<option></option>
|
||||
<?php foreach ($table2 as $table_row2){ ?>
|
||||
<option value="<?php echo $table_row2['id'];?>" ><?php echo $table_row2['topic'];?></option>>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="problem"><?php echo $sprache->problem;?></label>
|
||||
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-success" id="inputEdit" type="submit"><i class="fa fa-plus-circle"> <?php echo $gsprache->add;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#topic_maintopic').on('change', function() {
|
||||
$('#topic_name_sub').load('ajax.php?d=resellerTicketCategories&topicName=' + $("#topic_maintopic").val());
|
||||
});
|
||||
</script>
|
@ -1,42 +1,46 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="admin.php">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="admin.php?w=tr"><?php echo $gsprache->support;?></a> <span class="divider">/</span></li>
|
||||
<li class="active"><?php echo $sprache->close_heading;?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<form class="form-horizontal" action="admin.php?w=tr&d=md&id=<?php echo $id;?>&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="rating"><?php echo $sprache->rating;?></label>
|
||||
<div class="controls">
|
||||
<select id="rating" name="rating">
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
<option>6</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="comment"><?php echo $sprache->comment;?></label>
|
||||
<div class="controls">
|
||||
<textarea id="comment" name="comment" rows="10"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<div class="controls">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-lock icon-white"></i></button>
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->reseller . ' ' . $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=tr"><i class="fa fa-life-ring"></i> <?php echo $gsprache->reseller . ' ' . $gsprache->support;?></a></li>
|
||||
<li class="active"><?php echo $sprache->close_heading;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<form role="form" action="admin.php?w=tr&d=md&id=<?php echo $id;?>&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="cl">
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="rating"><?php echo $sprache->rating;?></label>
|
||||
<select class="form-control" id="rating" name="rating">
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
<option value="6">6</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="comment"><?php echo $sprache->comment;?></label>
|
||||
<textarea class="form-control" id="comment" name="comment" rows="10"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-lock"></i> <?php echo $sprache->close_heading;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -1,61 +1,68 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="admin.php">Home</a> <span class="divider">/</span></li>
|
||||
<li class="active"><?php echo $gsprache->support;?></li>
|
||||
</ul>
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->support . ' ' . $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=tr"><i class="fa fa-life-ring"></i> <?php echo $gsprache->support . ' ' . $gsprache->support;?></a></li>
|
||||
<li class="active"><?php echo $gsprache->overview;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-primary">
|
||||
<div class="box-body">
|
||||
<div>
|
||||
<h4><?php echo $sprache->status;?></h4>
|
||||
<a href="<?php echo $ticketLinks['N'];?>"><?php echo $sprache->status_new;?></a><?php if(in_array('N',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['P'];?>"><?php echo $sprache->status_process;?></a><?php if(in_array('P',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['R'];?>"><?php echo $sprache->status_reopen;?></a><?php if(in_array('R',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['A'];?>"><?php echo $sprache->status_author;?></a><?php if(in_array('A',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['D'];?>"><?php echo $sprache->status_done;?></a><?php if(in_array('D',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['C'];?>"><?php echo $sprache->status_confirmed;?></a><?php if(in_array('C',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->subject;?></th>
|
||||
<th>ID</a></th>
|
||||
<th><?php echo $sprache->priority;?></th>
|
||||
<th><?php echo $sprache->edit2;?></th>
|
||||
<th><?php echo $sprache->status;?></th>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $gsprache->mod;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['subject']; ?></td>
|
||||
<td><?php echo $table_row['id']; ?></td>
|
||||
<td><?php echo $table_row['priority']; ?></td>
|
||||
<td><?php echo $table_row['supporter']; ?></td>
|
||||
<td><?php echo $table_row['status']; ?></td>
|
||||
<td><?php echo $table_row['writedate']; ?></td>
|
||||
<td><a href="admin.php?w=tr&d=md&id=<?php echo $table_row['id'];?>"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i> <?php echo $gsprache->mod;?></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->subject;?></th>
|
||||
<th>ID</a></th>
|
||||
<th><?php echo $sprache->priority;?></th>
|
||||
<th><?php echo $sprache->edit2;?></th>
|
||||
<th><?php echo $sprache->status;?></th>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $gsprache->mod;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<h4><?php echo $sprache->status;?></h4>
|
||||
<a href="<?php echo $ticketLinks['N'];?>"><?php echo $sprache->status_new;?></a><?php if(in_array('N',$selected)) { ?> <i class="icon-check"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['P'];?>"><?php echo $sprache->status_process;?></a><?php if(in_array('P',$selected)) { ?> <i class="icon-check"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['R'];?>"><?php echo $sprache->status_reopen;?></a><?php if(in_array('R',$selected)) { ?> <i class="icon-check"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['A'];?>"><?php echo $sprache->status_author;?></a><?php if(in_array('A',$selected)) { ?> <i class="icon-check"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['D'];?>"><?php echo $sprache->status_done;?></a><?php if(in_array('D',$selected)) { ?> <i class="icon-check"></i><?php }?>,
|
||||
<a href="<?php echo $ticketLinks['C'];?>"><?php echo $sprache->status_confirmed;?></a><?php if(in_array('C',$selected)) { ?> <i class="icon-check"></i><?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="row-fluid">
|
||||
<div class="span12 pagination">
|
||||
<ul>
|
||||
<li><a href="<?php echo $ticketLinks['all'];?>&p=<?php echo $zur;?>"><i class="icon-step-backward"></i></a></li>
|
||||
<li><a href="<?php echo $ticketLinks['amount'];?>&a=20&p=<?php echo $start; ?>">20</a></li>
|
||||
<li><a href="<?php echo $ticketLinks['amount'];?>&a=50&p=<?php echo $start; ?>">50</a></li>
|
||||
<li><a href="<?php echo $ticketLinks['amount'];?>&a=100&p=<?php echo $start; ?>">100</a></li>
|
||||
<li><a href="<?php echo $ticketLinks['all'];?>&p=<?php echo $vor;?>"><i class="icon-step-forward"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<table class="table table-condensed table-bordered table-hover footable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-class="expand"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='at') { echo 'dt'; } else { echo 'at'; } ?>"><?php echo $sprache->subject;?></a></th>
|
||||
<th data-hide="phone"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ai') { echo 'di'; } else { echo 'ai'; } ?>">ID</a></th>
|
||||
<th data-hide="phone,tablet"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ap') { echo 'dp'; } else { echo 'ap'; } ?>"><?php echo $sprache->priority;?></a></th>
|
||||
<th data-hide="phone,tablet"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ae') { echo 'de'; } else { echo 'ae'; } ?>"><?php echo $sprache->edit2;?></a></th>
|
||||
<th data-hide="phone"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='as') { echo 'ds'; } else { echo 'as'; } ?>"><?php echo $sprache->status;?></a></th>
|
||||
<th data-hide="phone"><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ad') { echo 'dd'; } else { echo 'ad'; } ?>"><?php echo $sprache->date;?></a></th>
|
||||
<th><?php echo $gsprache->mod;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr class="<?php echo $table_row['statusClass']; ?>">
|
||||
<td><?php echo $table_row['subject']; ?></td>
|
||||
<td><?php echo $table_row['id']; ?></td>
|
||||
<td><?php echo $table_row['priority']; ?></td>
|
||||
<td><?php echo $table_row['supporter']; ?></td>
|
||||
<td><?php echo $table_row['status']; ?></td>
|
||||
<td><?php echo $table_row['writedate']; ?></td>
|
||||
<td><a href="admin.php?w=tr&d=md&id=<?php echo $table_row['id'];?>" alt="modify"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -1,59 +1,78 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="admin.php">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="admin.php?w=tr"><?php echo $gsprache->support;?></a> <span class="divider">/</span></li>
|
||||
<li class="active"><?php echo $topic;?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo $sprache->status;?></dt>
|
||||
<dd><?php echo $status;?></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<hr>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="row-fluid">
|
||||
<h5><a href="#" onclick="textdrop('<?php echo $table_row['writedate'];?>')"><?php echo $table_row['writedate'];?></a> <?php echo $sprache->writer.': '.$table_row['writer'];?></h5>
|
||||
<div id="<?php echo $table_row['writedate'];?>" class="span12">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<hr>
|
||||
<?php if($open=="Y") { ?>
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
<form class="form-horizontal" action="admin.php?w=tr&d=md&id=<?php echo $id;?>&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="priority"><?php echo $sprache->priority;?></label>
|
||||
<div class="controls">
|
||||
<select id="priority" name="userPriority">
|
||||
<option value="1"><?php echo $sprache->priority_low;?></option>
|
||||
<option value="2" <?php if($userPriority==2) echo 'selected="selected"'; ?>><?php echo $sprache->priority_medium;?></option>
|
||||
<option value="3" <?php if($userPriority==3) echo 'selected="selected"'; ?>><?php echo $sprache->priority_high;?></option>
|
||||
<option value="4" <?php if($userPriority==4) echo 'selected="selected"'; ?>><?php echo $sprache->priority_very_high;?></option>
|
||||
<option value="5" <?php if($userPriority==5) echo 'selected="selected"'; ?>><?php echo $sprache->priority_critical;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="problem"><?php echo $sprache->answer;?></label>
|
||||
<div class="controls">
|
||||
<textarea id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<div class="controls">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->reseller . ' ' . $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=tr"><i class="fa fa-life-ring"></i> <?php echo $gsprache->reseller . ' ' . $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">
|
||||
<form role="form" action="admin.php?w=tr&d=md&id=<?php echo $id;?>&r=tr" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="wr">
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="inputStatus"><?php echo $sprache->status;?></label>
|
||||
<input id="inputStatus" type="text" class="form-control" placeholder="<?php echo $status;?>" disabled/>
|
||||
</div>
|
||||
|
||||
<?php if($open=="Y") { ?>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="priority"><?php echo $sprache->priority;?></label>
|
||||
<select class="form-control" id="priority" name="userPriority">
|
||||
<option value="1"><?php echo $sprache->priority_low;?></option>
|
||||
<option value="2" <?php if($userPriority==2) echo 'selected="selected"'; ?>><?php echo $sprache->priority_medium;?></option>
|
||||
<option value="3" <?php if($userPriority==3) echo 'selected="selected"'; ?>><?php echo $sprache->priority_high;?></option>
|
||||
<option value="4" <?php if($userPriority==4) echo 'selected="selected"'; ?>><?php echo $sprache->priority_very_high;?></option>
|
||||
<option value="5" <?php if($userPriority==5) echo 'selected="selected"'; ?>><?php echo $sprache->priority_critical;?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="problem"><?php echo $sprache->answer;?></label>
|
||||
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</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 $table_row['ticket'];?>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li>
|
||||
<i class="fa fa-clock-o"></i>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
@ -1,35 +1,63 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="admin.php">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="admin.php?w=tr"><?php echo $gsprache->support;?></a> <span class="divider">/</span></li>
|
||||
<li class="active"><?php echo $topic;?></li>
|
||||
</ul>
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->reseller . ' ' . $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=tr"><i class="fa fa-life-ring"></i> <?php echo $gsprache->reseller . ' ' . $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>
|
||||
<?php if($open=="Y") { ?>
|
||||
<dt><?php echo $gsprache->mod;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=md"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></a></dd>
|
||||
<br>
|
||||
<dt><?php echo $sprache->close_heading;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=cl"><span class="btn btn-primary btn-sm"><i class="fa fa-lock"></i></span></a></dd>
|
||||
<br>
|
||||
<?php } else if ($open=="D") { ?>
|
||||
<dt><?php echo $sprache->reopen;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=op&r=ti"><span class="btn btn-primary btn-sm"><i class="fa fa-unlock"></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 $table_row['ticket'];?>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li>
|
||||
<i class="fa fa-clock-o"></i>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<dl class="dl-horizontal">
|
||||
<dt><?php echo $sprache->status;?></dt>
|
||||
<dd><?php echo $status;?></dd>
|
||||
<dt><?php echo $sprache->priority;?></dt>
|
||||
<dd><?php echo $priority;?></dd>
|
||||
<?php if($open=="Y") { ?>
|
||||
<dt><?php echo $gsprache->mod;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=md"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i></a></dd>
|
||||
<dt><?php echo $sprache->close_heading;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=cl"><span class="btn btn-primary btn-mini"><i class="icon-lock icon-white"></i></span></a></dd>
|
||||
<?php } else if ($open=="D") { ?>
|
||||
<dt><?php echo $sprache->reopen;?></dt>
|
||||
<dd><a href="admin.php?w=tr&d=md&id=<?php echo $id;?>&action=op&r=ti"><span class="btn btn-primary btn-mini"><i class="icon-lock icon-white"></i></a></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
</div>
|
||||
<hr>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="row-fluid">
|
||||
<h5><a href="#" onclick="textdrop('<?php echo $table_row['writedate'];?>')"><?php echo $table_row['writedate'];?></a> <?php echo $sprache->writer.': '.$table_row['writer'];?></h5>
|
||||
<div id="<?php echo $table_row['writedate'];?>" class="span12">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
@ -301,21 +301,6 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='ti' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="admin.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($pa['user'] or $pa['user_users'] or $pa['userGroups'] ) { ?>
|
||||
<li class="treeview <?php if(in_array($w,array('us','ug','up')) or isset($customModules['us'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
@ -431,6 +416,20 @@
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['usertickets'] and $reseller_id!=0) { ?>
|
||||
<li class="treeview <?php if($w=='tr' or isset($customModules['tr'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<span><?php echo $gsprache->reseller.' '.$gsprache->support;?></span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')!='ad') echo 'class="active"';?>><a href="admin.php?w=tr"><i class="fa fa-columns"></i> <?php echo $gsprache->overview;?></a></li>
|
||||
<li <?php if($ui->smallletters('w',255,'get')=='tr' and $ui->smallletters('d',255,'get')=='ad') echo 'class="active"';?>><a href="admin.php?w=tr&d=ad"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->support2;?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($easywiModules['ti'] and $pa['tickets']) { ?>
|
||||
<li class="treeview <?php if($w=='ti' or isset($customModules['ti'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
|
||||
<a href="#">
|
||||
|
Loading…
x
Reference in New Issue
Block a user