mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#30 New theme based on Bootstrap3
This commit is contained in:
parent
54a3460e27
commit
e988371cf8
@ -71,6 +71,7 @@
|
||||
<isnot>ist nicht</isnot>
|
||||
<keyname>Name der Public Keyfile</keyname>
|
||||
<keyuse>Public Keyfile benutzen</keyuse>
|
||||
<lastNickname>Letzter Nickname</lastNickname>
|
||||
<left>verbleibend</left>
|
||||
<maxserver>Maximum Server</maxserver>
|
||||
<maxslots>Maximum Slots</maxslots>
|
||||
|
@ -58,6 +58,7 @@
|
||||
<isnot>er ikke</isnot>
|
||||
<keyname>Offentlig nøgle filnavn</keyname>
|
||||
<keyuse>Brug offentlige nøglefil</keyuse>
|
||||
<lastNickname></lastNickname>
|
||||
<left></left>
|
||||
<maxserver>Maksimal Server</maxserver>
|
||||
<maxslots>Maksimal Slots</maxslots>
|
||||
|
@ -67,6 +67,7 @@
|
||||
<isnot>is not</isnot>
|
||||
<keyname>Public keyfile name</keyname>
|
||||
<keyuse>Use public keyfile</keyuse>
|
||||
<lastNickname>Last nickname</lastNickname>
|
||||
<left>remaining</left>
|
||||
<maxserver>Maximum servers</maxserver>
|
||||
<maxslots>Maximum slots</maxslots>
|
||||
|
@ -297,42 +297,7 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$table[] = array('id' => $row['templateID'], 'name' => $row['name'], 'servertype' => $row['servertype']);
|
||||
}
|
||||
|
||||
$htmlExtraInformation['css'][] = '<link href="css/adminlte/datatables/dataTables.bootstrap.css" rel="stylesheet" type="text/css">';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/jquery.datatables.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/datatables.bootstrap.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = '<script type="text/javascript">
|
||||
$(function() {
|
||||
$(\'#dataTable\').dataTable({
|
||||
"bPaginate": true,
|
||||
"bLengthChange": true,
|
||||
"bFilter": true,
|
||||
"bSort": true,
|
||||
"aoColumnDefs": [{
|
||||
"bSortable": false,
|
||||
"aTargets": [-1, -2]
|
||||
}],
|
||||
"bInfo": true,
|
||||
"bAutoWidth": false,
|
||||
"iDisplayLength" : 10,
|
||||
"aaSorting": [[0,\'asc\']],
|
||||
"oLanguage": {
|
||||
"oPaginate": {
|
||||
"sFirst": "' . $gsprache->dataTablesFirst . '",
|
||||
"sLast": "' . $gsprache->dataTablesLast . '",
|
||||
"sNext": "' . $gsprache->dataTablesNext . '",
|
||||
"sPrevious": "' . $gsprache->dataTablesPrevious . '"
|
||||
},
|
||||
"sEmptyTable": "' . $gsprache->dataTablesEmptyTable . '",
|
||||
"sInfo": "' . $gsprache->dataTablesInfo . '",
|
||||
"sInfoEmpty": "' . $gsprache->dataTablesEmpty . '",
|
||||
"sInfoFiltered": "' . $gsprache->dataTablesFiltered . '",
|
||||
"sLengthMenu": "' . $gsprache->dataTablesMenu . '",
|
||||
"sSearch": "' . $gsprache->dataTablesSearch . '",
|
||||
"sZeroRecords": "' . $gsprache->dataTablesNoRecords . '"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>';
|
||||
configureDateTables('-1, -2');
|
||||
|
||||
$template_file = 'global_gserver_file_template_list.tpl';
|
||||
}
|
@ -1010,7 +1010,10 @@ class TS3 {
|
||||
$useserver = $this->UseServer($virtualserver_id);
|
||||
|
||||
if (isset($useserver[0]['msg']) and strtolower($useserver[0]['msg']) == 'ok') {
|
||||
return $this->SendCommand($cmd);
|
||||
|
||||
$rawReturn = $this->SendCommand($cmd);
|
||||
|
||||
return (isset($rawReturn[0]['banid'])) ? 'banid: ' . $rawReturn[0]['banid'] : false;
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -1022,7 +1025,8 @@ class TS3 {
|
||||
$useserver = $this->UseServer($virtualserver_id);
|
||||
|
||||
if (isset($useserver[0]['msg']) and strtolower($useserver[0]['msg']) == 'ok') {
|
||||
return $this->SendCommand('bandel banid=' . $bandID);
|
||||
$rawReturn = $this->SendCommand('bandel banid=' . $bandID);
|
||||
return (isset($rawReturn[0]['msg'])) ? $rawReturn[0]['msg'] : false;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -1415,4 +1415,52 @@ if (!function_exists('passwordgenerate')) {
|
||||
|
||||
return array('server' => $server, 'port' => $port, 'user' => $user, 'pwd' => $pwd, 'path' => $path);
|
||||
}
|
||||
|
||||
function configureDateTables ($doNotHow = '', $defaultSorting = '0, "asc"', $ajaxSource = '') {
|
||||
|
||||
global $htmlExtraInformation, $gsprache;
|
||||
|
||||
if ($ajaxSource != '') {
|
||||
$ajaxSource = '"bServerSide" : true,"sAjaxSource": "' . $ajaxSource. '",';
|
||||
}
|
||||
|
||||
$htmlExtraInformation['css'][] = '<link href="css/adminlte/datatables/dataTables.bootstrap.css" rel="stylesheet" type="text/css">';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/jquery.datatables.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/datatables.bootstrap.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = "<script type='text/javascript'>
|
||||
$(function() {
|
||||
$('#dataTable').dataTable({
|
||||
'bPaginate': true,
|
||||
'bLengthChange': true,
|
||||
'bFilter': true,
|
||||
'bSort': true,
|
||||
'aoColumnDefs': [{
|
||||
'bSortable': false,
|
||||
'aTargets': [{$doNotHow}]
|
||||
}],
|
||||
'bInfo': true,
|
||||
'bAutoWidth': false,
|
||||
'iDisplayLength' : 10,
|
||||
'aaSorting': [[{$defaultSorting}]],
|
||||
'oLanguage': {
|
||||
'oPaginate': {
|
||||
'sFirst': '{$gsprache->dataTablesFirst}',
|
||||
'sLast': '{$gsprache->dataTablesLast}',
|
||||
'sNext': '{$gsprache->dataTablesNext}',
|
||||
'sPrevious': '{$gsprache->dataTablesPrevious}'
|
||||
},
|
||||
'sEmptyTable': '{$gsprache->dataTablesEmptyTable}',
|
||||
'sInfo': '{$gsprache->dataTablesInfo}',
|
||||
'sInfoEmpty': '{$gsprache->dataTablesEmpty}',
|
||||
'sInfoFiltered': '{$gsprache->dataTablesFiltered}',
|
||||
'sLengthMenu': '{$gsprache->dataTablesMenu}',
|
||||
'sSearch': '{$gsprache->dataTablesSearch}',
|
||||
'sZeroRecords': '{$gsprache->dataTablesNoRecords}'
|
||||
},
|
||||
$ajaxSource
|
||||
});
|
||||
});
|
||||
</script>";
|
||||
|
||||
}
|
||||
}
|
@ -42,38 +42,6 @@ if ((!isset($user_id) or $main != 1) or (isset($user_id) and !$pa['log'])) {
|
||||
|
||||
$sprache = getlanguagefile('logs',$user_language,$reseller_id);
|
||||
|
||||
$htmlExtraInformation['css'][] = '<link href="css/adminlte/datatables/dataTables.bootstrap.css" rel="stylesheet" type="text/css">';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/jquery.datatables.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = '<script src="js/adminlte/plugins/datatables/datatables.bootstrap.js" type="text/javascript"></script>';
|
||||
$htmlExtraInformation['js'][] = '<script type="text/javascript">
|
||||
$(function() {
|
||||
$(\'#dataTable\').dataTable({
|
||||
"bPaginate" : true,
|
||||
"bLengthChange" : true,
|
||||
"bFilter" : true,
|
||||
"bSort" : true,
|
||||
"bInfo" : true,
|
||||
"bAutoWidth" : false,
|
||||
"bServerSide" : true,
|
||||
"iDisplayLength" : 10,
|
||||
"aaSorting": [[0,\'desc\']],
|
||||
"sAjaxSource": "ajax.php?w=datatable&d=userlog",
|
||||
"oLanguage": {
|
||||
"oPaginate": {
|
||||
"sFirst": "' . $gsprache->dataTablesFirst . '",
|
||||
"sLast": "' . $gsprache->dataTablesLast . '",
|
||||
"sNext": "' . $gsprache->dataTablesNext . '",
|
||||
"sPrevious": "' . $gsprache->dataTablesPrevious . '"
|
||||
},
|
||||
"sEmptyTable": "' . $gsprache->dataTablesEmptyTable . '",
|
||||
"sInfo": "' . $gsprache->dataTablesInfo . '",
|
||||
"sInfoEmpty": "' . $gsprache->dataTablesEmpty . '",
|
||||
"sInfoFiltered": "' . $gsprache->dataTablesFiltered . '",
|
||||
"sLengthMenu": "' . $gsprache->dataTablesMenu . '",
|
||||
"sSearch": "' . $gsprache->dataTablesSearch . '",
|
||||
"sZeroRecords": "' . $gsprache->dataTablesNoRecords . '"
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>';
|
||||
configureDateTables('', '0, "desc"', 'ajax.php?w=datatable&d=userlog');
|
||||
|
||||
$template_file = 'userpanel_logs.tpl';
|
@ -47,9 +47,12 @@ if (!isset($main) or $main != 1 or !isset($user_id) or !isset($reseller_id) or i
|
||||
die;
|
||||
}
|
||||
|
||||
$sprache = getlanguagefile('user',$user_language,$reseller_id);
|
||||
$sprache = getlanguagefile('user', $user_language, $reseller_id);
|
||||
|
||||
if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
|
||||
$template_file = $spracheResponse->token;
|
||||
|
||||
} else if ($ui->id('id', 10, 'get') or $ui->st('d', 'get') == 'ad') {
|
||||
|
||||
$template_file = 'userpanel_404.tpl';
|
||||
@ -109,7 +112,9 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
}
|
||||
|
||||
if (!$ui->st('action', 'post') and $ui->st('d', 'get') == 'ad') {
|
||||
|
||||
$randompass = passwordgenerate(10);
|
||||
|
||||
$template_file = 'userpanel_substitutes_add.tpl';
|
||||
|
||||
} else if (!$ui->st('action', 'post') and $ui->id('id', 10, 'get') and ($ui->st('d', 'get') == 'md' or $ui->st('d', 'get') == 'dl')) {
|
||||
@ -265,8 +270,10 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$query = $sql->prepare("SELECT `sID`,`loginName`,`active` FROM `userdata_substitutes` WHERE `userID`=? AND `resellerID`=?");
|
||||
$query->execute(array($user_id,$reseller_id));
|
||||
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
||||
$table[] = array('id' => $row['sID'], 'loginName' => $row['loginName'], 'active' => $row['active']);
|
||||
$table[] = array('id' => $row['sID'], 'loginName' => $row['loginName'], 'active' => ($row['active'] == 'Y') ? $gsprache->yes : $gsprache->no);
|
||||
}
|
||||
|
||||
configureDateTables('-1, -2', '0, "asc"');
|
||||
|
||||
$template_file = 'userpanel_substitutes_list.tpl';
|
||||
}
|
@ -49,6 +49,7 @@ if ($ui->st('d', 'get') == 'pw') {
|
||||
$template_file = 'userpanel_pass.tpl';
|
||||
|
||||
} else if ($ui->smallletters('action', 2, 'post') == 'md'){
|
||||
|
||||
$errors = array();
|
||||
|
||||
if (!$ui->password('password', 255, 'post')) {
|
||||
|
@ -359,70 +359,8 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
}
|
||||
}
|
||||
|
||||
$o = $ui->st('o', 'get');
|
||||
|
||||
if ($ui->st('o', 'get') == 'di') {
|
||||
$orderby = 't.`id` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ai') {
|
||||
$orderby = 't.`id` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'dd') {
|
||||
$orderby = 't.`writedate` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ad') {
|
||||
$orderby = 't.`writedate` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'du') {
|
||||
$orderby = 'u.`cname` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'au') {
|
||||
$orderby = 'u.`cname` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'ds') {
|
||||
$orderby = 't.`state` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'as') {
|
||||
$orderby = 't.`state` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'dt') {
|
||||
$orderby = 'l.`text` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'at') {
|
||||
$orderby = 'l.`text` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'dp') {
|
||||
$orderby = 't.`userPriority` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ap') {
|
||||
$orderby = 't.`userPriority` ASC';
|
||||
} else {
|
||||
$orderby = 't.`userPriority` DESC, t.`writedate` ASC';
|
||||
}
|
||||
$query = $sql->prepare("SELECT COUNT(`id`) AS `amount` FROM `tickets` t $where");
|
||||
$query->execute(array($user_id,$reseller_id));
|
||||
$colcount = $query->fetchColumn();
|
||||
if ($start>$colcount) {
|
||||
while ($start>0 and $start>$colcount) $start = $start - $amount;
|
||||
if ($start<0) $start = 0;
|
||||
}
|
||||
$next = $start+$amount;
|
||||
if ($colcount>$next) {
|
||||
$vor = $start+$amount;
|
||||
} else {
|
||||
$vor = $start;
|
||||
}
|
||||
$back = $start - $amount;
|
||||
if ($back>=0){
|
||||
$zur = $start - $amount;
|
||||
} else {
|
||||
$zur = $start;
|
||||
}
|
||||
$pageamount = ceil($colcount / $amount);
|
||||
$i = 1;
|
||||
$pages = array();
|
||||
while ($i <= $pageamount) {
|
||||
$selectpage = ($i - 1) * $amount;
|
||||
if ($start==$selectpage) {
|
||||
$pages[] = '<a href="' . $ticketLinks['all'] . '&p=' . $selectpage . '" class="bold">' . $i . '</a>';
|
||||
} else {
|
||||
$pages[] = '<a href="' . $ticketLinks['all'] . '&p=' . $selectpage . '">' . $i . '</a>';
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
$pages = implode(', ', $pages);
|
||||
|
||||
$query = $sql->prepare("SELECT t.*,l.`text`,d.`text` AS `defaultsubject`,u.`cname`,u.`name`,u.`vname` FROM `tickets` t LEFT JOIN `ticket_topics` o ON t.`topic`=o.`id` LEFT JOIN `translations` l ON o.`id`=l.`transID` AND l.`type`='ti' AND l.`lang`=? LEFT JOIN `translations` d ON t.`id`=d.`transID` AND d.`type`='ti' AND d.`lang`=? LEFT JOIN `userdata` u ON t.`supporter`=u.`id` $where ORDER BY $orderby LIMIT $start,$amount");
|
||||
$query->execute(array($user_language,$default_language,$user_id,$reseller_id));
|
||||
$query = $sql->prepare("SELECT t.*,l.`text`,d.`text` AS `defaultsubject`,u.`cname`,u.`name`,u.`vname` FROM `tickets` t LEFT JOIN `ticket_topics` o ON t.`topic`=o.`id` LEFT JOIN `translations` l ON o.`id`=l.`transID` AND l.`type`='ti' AND l.`lang`=? LEFT JOIN `translations` d ON t.`id`=d.`transID` AND d.`type`='ti' AND d.`lang`=? LEFT JOIN `userdata` u ON t.`supporter`=u.`id` " . $where);
|
||||
$query->execute(array($user_language, $default_language, $user_id, $reseller_id));
|
||||
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
||||
|
||||
if ($row['userPriority'] == 1) {
|
||||
@ -478,6 +416,7 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
$table[] = array('id' => $row['id'], 'priority' => $priority,'writedate' => $writedate, 'supporter' => (trim($row['vname'] . ' ' . $row['name']) != '') ? trim($row['vname'] . ' ' . $row['name']) : $row['cname'], 'subject' => $topic,'status' => $status,'rawState' => $row['state'], 'statusClass' => $statusClass);
|
||||
}
|
||||
|
||||
$template_file = 'userpanel_tickets_list.tpl';
|
||||
configureDateTables('-1', '5, "desc"');
|
||||
|
||||
$template_file = 'userpanel_tickets_list.tpl';
|
||||
}
|
@ -315,6 +315,9 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI
|
||||
} else if (!$ui->smallletters('action', 2, 'post') and !$ui->port('po', 'get')) {
|
||||
|
||||
$pklist = $connection->KeyList($localserverid);
|
||||
|
||||
configureDateTables('-1', '0, "asc"');
|
||||
|
||||
$template_file = (is_array($pklist)) ? 'userpanel_voiceserver_key_list.tpl' : $spracheResponse->ts_query_success . $pklist;
|
||||
|
||||
} else if ($ui->smallletters('action', 2, 'post') == 'ad') {
|
||||
@ -337,6 +340,7 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI
|
||||
$insertlog->execute();
|
||||
}
|
||||
}
|
||||
|
||||
$connection->CloseConnection();
|
||||
|
||||
} else {
|
||||
@ -815,7 +819,8 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI
|
||||
|
||||
if ($ui->st('action', 'post') == 'dl') {
|
||||
|
||||
$template_file = $connection->banDel($volocalserverid, $ui->id('bannID', 19, 'post'));
|
||||
$return = $connection->banDel($volocalserverid, $ui->id('bannID', 19, 'post'));
|
||||
$template_file = ($return) ? $spracheResponse->ts_query_success . $return : $spracheResponse->error_table;
|
||||
|
||||
} else if ($ui->st('action', 'post') == 'ad') {
|
||||
|
||||
@ -844,10 +849,11 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI
|
||||
$banCmd .= ' banreason=' . $connection->ReplaceToTS3($ui->escaped('banReason', 'post'));
|
||||
}
|
||||
|
||||
$connection->banAdd($volocalserverid, $banCmd);
|
||||
$return = $connection->banAdd($volocalserverid, $banCmd);
|
||||
$template_file = ($return) ? $spracheResponse->ts_query_success . $return : $spracheResponse->error_table;
|
||||
|
||||
if ($ui->w('banType', 1 , 'post') == 'U') {
|
||||
$return = $connection->clientKick($volocalserverid, $ui->id('clientUID', 19, 'post'));
|
||||
$connection->clientKick($volocalserverid, $ui->id('clientUID', 19, 'post'));
|
||||
}
|
||||
|
||||
} else {
|
||||
@ -868,6 +874,7 @@ if ($ui->st('d', 'get') == 'bu' and $ui->id('id', 10, 'get') and (!isset($_SESSI
|
||||
|
||||
$template_file = 'userpanel_voiceserver_ban_list.tpl';
|
||||
|
||||
configureDateTables('-1', '0, "asc"');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -58,6 +58,10 @@
|
||||
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<div class="nav navbar-btn pull-right">
|
||||
<a href="login.php?w=lo"><span class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> Logout</span></a>
|
||||
</div>
|
||||
|
||||
<?php if($statsArray['ticketsTotal']>0){ ?>
|
||||
<!-- Messages: style can be found in dropdown.less-->
|
||||
<li class="dropdown messages-menu">
|
||||
@ -104,7 +108,6 @@
|
||||
<li><a href="#"><?php echo $gsprache->last.'<br />'.$great_last;?></a></li>
|
||||
<li class="divider"></li>
|
||||
<?php if ($support_phonenumber!="") echo '<li><a href="#"><i class="fa fa-phone fa-fw"></i> '.$gsprache->hotline.": ".$support_phonenumber.'</a></li><li class="divider"></li>';?>
|
||||
<li><a href="login.php?w=lo"><i class="fa fa-sign-out"></i> Logout</a></li>
|
||||
<li><a href="admin.php?w=su&d=pw"><i class="fa fa-key fa-fw"></i> <?php echo $gsprache->password." ".$gsprache->change;?></a></li>
|
||||
<li><a href="admin.php?w=su"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
|
||||
<li class="divider"></li>
|
||||
|
@ -22,46 +22,55 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->tools;?></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table['tools'] as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
|
||||
<td><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='icon-warning-sign') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-mini"><i class="<?php echo $table_row['bootstrap'];?>"></i> <?php if($table_row['bootstrap']=='icon-warning-sign') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->tools;?></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table['tools'] as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
|
||||
<td><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='icon-warning-sign') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-mini"><i class="<?php echo $table_row['bootstrap'];?>"></i> <?php if($table_row['bootstrap']=='icon-warning-sign') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
</div>
|
||||
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->maps;?></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table['maps'] as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="icon-question-sign"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
|
||||
<td><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='fa fa-warning') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-sm"><i class="<?php echo $table_row['bootstrap'];?>"></i> <?php if($table_row['bootstrap']=='fa fa-warning') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->maps;?></th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table['maps'] as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="icon-question-sign"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
|
||||
<td><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='fa fa-warning') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-sm"><i class="<?php echo $table_row['bootstrap'];?>"></i> <?php if($table_row['bootstrap']=='fa fa-warning') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
@ -56,6 +56,10 @@
|
||||
|
||||
<div class="navbar-right">
|
||||
|
||||
<div class="nav navbar-btn pull-right">
|
||||
<a href="login.php?w=lo"><span class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> Logout</span></a>
|
||||
</div>
|
||||
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<?php if($statsArray['ticketsTotal']>0){ ?>
|
||||
@ -99,7 +103,6 @@
|
||||
<li><a href="#"><?php echo $gsprache->last.'<br />'.$great_last;?></a></li>
|
||||
<li class="divider"></li>
|
||||
<?php if ($support_phonenumber!="") echo '<li><a href="#"><i class="fa fa-phone fa-fw"></i> '.$gsprache->hotline.": ".$support_phonenumber.'</a></li><li class="divider"></li>';?>
|
||||
<li><a href="login.php?w=lo"><i class="fa fa-sign-out"></i> Logout</a></li>
|
||||
<li><a href="userpanel.php?w=se&d=pw"><i class="fa fa-key fa-fw"></i> <?php echo $gsprache->password." ".$gsprache->change;?></a></li>
|
||||
<li><a href="userpanel.php?w=se"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
|
||||
<li class="divider"></li>
|
||||
|
@ -18,26 +18,31 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->account;?></th>
|
||||
<th><?php echo $sprache->action;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->account;?></th>
|
||||
<th><?php echo $sprache->action;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->account;?></th>
|
||||
<th><?php echo $sprache->action;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->account;?></th>
|
||||
<th><?php echo $sprache->action;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
@ -9,33 +9,37 @@
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $table_row['dbname'].' '.$table_row['description'];?></h4>
|
||||
|
||||
<!-- Mysql Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=my&id=<?php echo $table_row['id'];?>"><span class="btn btn-primary btn-sm"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
|
||||
<?php if(strlen($table_row['interface'])>0){ ?><a href="<?php echo $table_row['interface'];?>" target="_blank"><span class="btn btn-sm btn-primary"><i class="fa fa-hdd-o"></i> phpMyAdmin</span></a><?php }?>
|
||||
<a href="userpanel.php?w=my&d=ri&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></span></a>
|
||||
</div>
|
||||
|
||||
<!-- Mysql Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<?php if(strlen($table_row['description'])>0){ ?>
|
||||
<dt><?php echo $sprache->description;?></dt>
|
||||
<dd><?php echo $table_row['description'];?></dd>
|
||||
<?php } ?>
|
||||
<dt><?php echo $sprache->dbname;?></dt>
|
||||
<dd><?php echo $table_row['dbname'];?></dd>
|
||||
<dt>IP</dt>
|
||||
<dd><?php echo $table_row['ip'];?></dd>
|
||||
<dt>Port</dt>
|
||||
<dd><?php echo $table_row['port'];?></dd>
|
||||
<dt><?php echo $sprache->dbSize;?></dt>
|
||||
<dd><?php echo $table_row['dbSize'];?>MB</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $table_row['dbname'].' '.$table_row['description'];?></h4>
|
||||
|
||||
<!-- Mysql Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=my&id=<?php echo $table_row['id'];?>"><span class="btn btn-primary btn-sm"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
|
||||
<?php if(strlen($table_row['interface'])>0){ ?><a href="<?php echo $table_row['interface'];?>" target="_blank"><span class="btn btn-sm btn-primary"><i class="fa fa-hdd-o"></i> phpMyAdmin</span></a><?php }?>
|
||||
<a href="userpanel.php?w=my&d=ri&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></span></a>
|
||||
</div>
|
||||
|
||||
<!-- Mysql Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<?php if(strlen($table_row['description'])>0){ ?>
|
||||
<dt><?php echo $sprache->description;?></dt>
|
||||
<dd><?php echo $table_row['description'];?></dd>
|
||||
<?php } ?>
|
||||
<dt><?php echo $sprache->dbname;?></dt>
|
||||
<dd><?php echo $table_row['dbname'];?></dd>
|
||||
<dt>IP</dt>
|
||||
<dd><?php echo $table_row['ip'];?></dd>
|
||||
<dt>Port</dt>
|
||||
<dd><?php echo $table_row['port'];?></dd>
|
||||
<dt><?php echo $sprache->dbSize;?></dt>
|
||||
<dd><?php echo $table_row['dbSize'];?>MB</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
@ -9,35 +9,38 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=my&id=<?php echo $id;?>&r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input class="input-group-addon" type="hidden" name="action" value="md">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=my&id=<?php echo $id;?>&r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input class="input-group-addon" type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="inputDescription"><?php echo $sprache->description;?></label>
|
||||
<input class="form-control" id=inputDescription type="text" name="description" value="<?php echo $description;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputDescription"><?php echo $sprache->description;?></label>
|
||||
<input class="form-control" id=inputDescription type="text" name="description" value="<?php echo $description;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password"><?php echo $sprache->password;?></label>
|
||||
<input class="form-control" id="password" type="text" name="password" value="<?php echo $password;?>">
|
||||
</div>
|
||||
|
||||
<?php if($manage_host_table == 'Y'){ ?>
|
||||
<div class="form-group">
|
||||
<label for="ips"><?php echo $sprache->ips;?></label>
|
||||
<textarea class="form-control" id="ips" name="ips" rows="5"><?php echo $ips?></textarea>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="form-group">
|
||||
<label for="password"><?php echo $sprache->password;?></label>
|
||||
<input class="form-control" id="password" type="text" name="password" value="<?php echo $password;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
<?php if($manage_host_table == 'Y'){ ?>
|
||||
<div class="form-group">
|
||||
<label for="ips"><?php echo $sprache->ips;?></label>
|
||||
<textarea class="form-control" id="ips" name="ips" rows="5"><?php echo $ips?></textarea>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -10,32 +10,35 @@
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>IP</dt>
|
||||
<dd><?php echo $ip;?></dd>
|
||||
<dt><?php echo $sprache->user;?></dt>
|
||||
<dd><?php echo $dbname;?></dd>
|
||||
<dt><?php echo $sprache->dbname;?></dt>
|
||||
<dd><?php echo $dbname;?></dd>
|
||||
<?php if(strlen($description)>0){ ?>
|
||||
<dt><?php echo $sprache->description;?></dt>
|
||||
<dd><?php echo $description;?></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>IP</dt>
|
||||
<dd><?php echo $ip;?></dd>
|
||||
<dt><?php echo $sprache->user;?></dt>
|
||||
<dd><?php echo $dbname;?></dd>
|
||||
<dt><?php echo $sprache->dbname;?></dt>
|
||||
<dd><?php echo $dbname;?></dd>
|
||||
<?php if(strlen($description)>0){ ?>
|
||||
<dt><?php echo $sprache->description;?></dt>
|
||||
<dd><?php echo $description;?></dd>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
|
||||
<form role="form" action="userpanel.php?w=my&d=ri&id=<?php echo $id;?>&r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<form role="form" action="userpanel.php?w=my&d=ri&id=<?php echo $id;?>&r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ri">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ri">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-warning" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-warning" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -9,29 +9,32 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=se&d=pw&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=se&d=pw&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="password1"><?php echo $sprache->passw_1;?></label>
|
||||
<input class="form-control" id="password1" type="password" name="password" value="" required>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="password1"><?php echo $sprache->passw_1;?></label>
|
||||
<input class="form-control" id="password1" type="password" name="password" value="" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2"><?php echo $sprache->passw_2;?></label>
|
||||
<input class="form-control" id="password2" type="password" name="pass2" value="" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password2"><?php echo $sprache->passw_2;?></label>
|
||||
<input class="form-control" id="password2" type="password" name="pass2" value="" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -9,121 +9,125 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=su&d=ad&id=<?php echo $id;?>&r=su" 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 class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-check"></i></label>
|
||||
<select class="form-control" id="inputActive" name="active">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-user"></i></label>
|
||||
<input id="inputCname" type="text" class="form-control" name="loginName" value="" placeholder="<?php echo $gsprache->user;?>" required>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="" placeholder="<?php echo $sprache->fname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputVname" type="text" class="form-control" name="vname" value="" placeholder="<?php echo $sprache->vname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputPassword"><i class="fa fa-key"></i></label>
|
||||
<input id="inputPassword" type="text" class="form-control" name="security" value="<?php echo $randompass;?>" required>
|
||||
</div>
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=su&d=ad&id=<?php echo $id;?>&r=su" 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 class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-check"></i></label>
|
||||
<select class="form-control" id="inputActive" name="active">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-user"></i></label>
|
||||
<input id="inputCname" type="text" class="form-control" name="loginName" value="" placeholder="<?php echo $gsprache->user;?>" required>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="" placeholder="<?php echo $sprache->fname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputVname" type="text" class="form-control" name="vname" value="" placeholder="<?php echo $sprache->vname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputPassword"><i class="fa fa-key"></i></label>
|
||||
<input id="inputPassword" type="text" class="form-control" name="security" value="<?php echo $randompass;?>" required>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if(count($gs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->gameserver;?></h4>
|
||||
<?php foreach($gs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($fd)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->webspace;?></h4>
|
||||
<?php foreach($wv as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vo)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->voiceserver;?></h4>
|
||||
<?php foreach($vo as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vd)>0){ ?>
|
||||
<hr>
|
||||
<h4>TS3 DNS</h4>
|
||||
<?php foreach($vd as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->virtual;?></h4>
|
||||
<?php foreach($vs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($ro)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->dedicated;?></h4>
|
||||
<?php foreach($ro as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($db)>0){ ?>
|
||||
<hr>
|
||||
<h4>MySQL</h4>
|
||||
<?php foreach($db as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</form>
|
||||
<?php if(count($gs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->gameserver;?></h4>
|
||||
<?php foreach($gs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($fd)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->webspace;?></h4>
|
||||
<?php foreach($wv as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vo)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->voiceserver;?></h4>
|
||||
<?php foreach($vo as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vd)>0){ ?>
|
||||
<hr>
|
||||
<h4>TS3 DNS</h4>
|
||||
<?php foreach($vd as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->virtual;?></h4>
|
||||
<?php foreach($vs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($ro)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->dedicated;?></h4>
|
||||
<?php foreach($ro as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($db)>0){ ?>
|
||||
<hr>
|
||||
<h4>MySQL</h4>
|
||||
<?php foreach($db as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<div class="controls">
|
||||
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>">
|
||||
</div>
|
||||
</div>
|
||||
<?php }}?>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
@ -2,29 +2,36 @@
|
||||
<h1><?php echo $gsprache->substitutes;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="userpanel.php?w=su"><?php echo $gsprache->substitutes;?></a></li>
|
||||
<li><a href="userpanel.php?w=su&d=dl"><?php echo $gsprache->del;?></a></li>
|
||||
<li class="active"><?php echo $loginName;?></li>
|
||||
<li><a href="userpanel.php?w=su"><?php echo $gsprache->substitutes;?></a></li>
|
||||
<li><a href="userpanel.php?w=su&d=dl"><?php echo $gsprache->del;?></a></li>
|
||||
<li class="active"><?php echo $loginName;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=su&d=dl&id=<?php echo $id;?>&r=su" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="dl">
|
||||
|
||||
<form class="form-horizontal" action="userpanel.php?w=su&d=dl&id=<?php echo $id;?>&r=su" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="dl">
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-user"></i></label>
|
||||
<span class="form-control"><?php echo $loginName;?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></button>
|
||||
</form>
|
||||
<div class="form-group">
|
||||
<label for="inputCname"><i class="fa fa-user"></i> <?php echo $sprache->user;?></label>
|
||||
<input id="inputCname" type="text" class="form-control" name="loginName" value="<?php echo $loginName;?>" disabled="disabled">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
||||
|
||||
|
@ -18,29 +18,49 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $gsprache->edit;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr class="<?php if($table_row['active']=='Y') echo 'success'; else echo 'warning';?>">
|
||||
<td><?php echo $table_row['loginName'];?></td>
|
||||
<td><a href="userpanel.php?w=su&d=md&id=<?php echo $table_row['id'];?>" ><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></span></a></td>
|
||||
<td><a href="userpanel.php?w=su&d=dl&id=<?php echo $table_row['id'];?>" ><span class="btn btn-danger btn-sm"><i class="fa fa-trash-o"></i></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<div class="input-group">
|
||||
<a href="userpanel.php?w=su&d=ad"<span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $gsprache->substitutes.' '.$gsprache->add;?></span></a>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
<div>
|
||||
<?php echo $gsprache->substitutes;?> <a href="userpanel.php?w=su&d=ad"<span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></span></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $sprache->active;?></th>
|
||||
<th><?php echo $gsprache->edit;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['loginName'];?></td>
|
||||
<td><?php echo $table_row['active'];?></td>
|
||||
<td><a href="userpanel.php?w=su&d=md&id=<?php echo $table_row['id'];?>" ><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></span></a></td>
|
||||
<td><a href="userpanel.php?w=su&d=dl&id=<?php echo $table_row['id'];?>" ><span class="btn btn-danger btn-sm"><i class="fa fa-trash-o"></i></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $sprache->active;?></th>
|
||||
<th><?php echo $gsprache->edit;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
||||
</section>
|
@ -10,107 +10,111 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $loginName;?></h4>
|
||||
<form class="form-horizontal" action="userpanel.php?w=su&d=md&id=<?php echo $id;?>&r=su" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-check"></i></label>
|
||||
<select class="form-control" id="inputActive" name="active">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-user"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="<?php echo $loginName;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputVname" type="text" class="form-control" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputPassword"><i class="fa fa-key"></i></label>
|
||||
<input id="inputPassword" type="text" class="form-control" name="security" value="(encrypted)" required>
|
||||
</div>
|
||||
|
||||
<?php if(count($gs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->gameserver;?></h4>
|
||||
<?php foreach($gs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>" <?php if(isset($as['gs'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($wv)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->webspace;?></h4>
|
||||
<?php foreach($wv as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>" <?php if(isset($as['wv'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vo)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->voiceserver;?></h4>
|
||||
<?php foreach($vo as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>" <?php if(isset($as['vo'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vd)>0){ ?>
|
||||
<hr>
|
||||
<h4>TS3 DNS</h4>
|
||||
<?php foreach($vd as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>" <?php if(isset($as['vd'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->virtual;?></h4>
|
||||
<?php foreach($vs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>" <?php if(isset($as['vs'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($ro)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->dedicated;?></h4>
|
||||
<?php foreach($ro as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>" <?php if(isset($as['ro'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($db)>0){ ?>
|
||||
<hr>
|
||||
<h4>MySQL</h4>
|
||||
<?php foreach($db as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>" <?php if(isset($as['db'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</form>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $loginName;?></h4>
|
||||
<form class="form-horizontal" action="userpanel.php?w=su&d=md&id=<?php echo $id;?>&r=su" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputCname"><i class="fa fa-check"></i></label>
|
||||
<select class="form-control" id="inputActive" name="active">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-user"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="<?php echo $loginName;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputFname" "type="text" class="form-control" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon"><i class="fa fa-arrow-right"></i></label>
|
||||
<input id="inputVname" type="text" class="form-control" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
<br/>
|
||||
<div class="input-group">
|
||||
<label class="input-group-addon" for="inputPassword"><i class="fa fa-key"></i></label>
|
||||
<input id="inputPassword" type="text" class="form-control" name="security" value="(encrypted)" required>
|
||||
</div>
|
||||
|
||||
<?php if(count($gs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->gameserver;?></h4>
|
||||
<?php foreach($gs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>" <?php if(isset($as['gs'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($wv)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->webspace;?></h4>
|
||||
<?php foreach($wv as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>" <?php if(isset($as['wv'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vo)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->voiceserver;?></h4>
|
||||
<?php foreach($vo as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>" <?php if(isset($as['vo'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vd)>0){ ?>
|
||||
<hr>
|
||||
<h4>TS3 DNS</h4>
|
||||
<?php foreach($vd as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>" <?php if(isset($as['vd'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($vs)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->virtual;?></h4>
|
||||
<?php foreach($vs as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>" <?php if(isset($as['vs'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($ro)>0){ ?>
|
||||
<hr>
|
||||
<h4><?php echo $gsprache->dedicated;?></h4>
|
||||
<?php foreach($ro as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>" <?php if(isset($as['ro'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
<?php if(count($db)>0){ ?>
|
||||
<hr>
|
||||
<h4>MySQL</h4>
|
||||
<?php foreach($db as $k=>$v){ ?>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
|
||||
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>" <?php if(isset($as['db'][$k])) echo 'checked';?>>
|
||||
</div>
|
||||
<?php }}?>
|
||||
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section><!-- /.content -->
|
@ -9,54 +9,57 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=ti&d=ad&r=ti" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
|
||||
<form role="form" action="userpanel.php?w=ti&d=ad&r=ti" 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">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ad">
|
||||
<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="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 class="form-group">
|
||||
<label for="topic_maintopic"><?php echo $sprache->topic_name;?></label>
|
||||
<select class="form-control" id="topic_maintopic" name="maintopic" onchange="getdetails('ajax.php?d=userTicketCategories&topicName=', this.value, 'topic_name_sub')">
|
||||
<?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">
|
||||
<?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 class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="topic_maintopic"><?php echo $sprache->topic_name;?></label>
|
||||
<select class="form-control" id="topic_maintopic" name="maintopic" onchange="getdetails('ajax.php?d=userTicketCategories&topicName=', this.value, 'topic_name_sub')">
|
||||
<?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"><?php echo $sprache->topic_name_sub;?></label>
|
||||
<select class="form-control" id="topic_name_sub" 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 class="form-group">
|
||||
<label for="problem"><?php echo $sprache->problem;?></label>
|
||||
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -9,37 +9,41 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
<form role="form" action="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&r=ti" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<form role="form" action="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&r=ti" 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">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="cl">
|
||||
|
||||
<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 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 class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-lock"></i> <?php echo $sprache->close_heading;?></button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</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 class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-lock"></i> <?php echo $sprache->close_heading;?></button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -8,55 +8,61 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<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 }?>
|
||||
<br/>
|
||||
|
||||
<div class="box-footer clearfix">
|
||||
<ul class="pagination pagination-sm no-margin pull-right">
|
||||
<li><a href="userpanel.php?w=lo&a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&p=<?php echo $zur; ?>"><i class="fa fa-step-backward"></i></a></li>
|
||||
<li><a href="userpanel.php?w=lo&a=20&p=<?php echo $start; ?>">20</a></li>
|
||||
<li><a href="userpanel.php?w=lo&a=50&p=<?php echo $start; ?>">50</a></li>
|
||||
<li><a href="userpanel.php?w=lo&a=100&p=<?php echo $start; ?>">100</a></li>
|
||||
<li><a href="userpanel.php?w=lo&a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&p=<?php echo $vor; ?>"><i class="fa fa-step-forward"></i></a></li>
|
||||
</ul>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<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="userpanel.php?w=ti&d=md&id=<?php echo $table_row['id'];?>" alt="modify"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></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>
|
||||
<br/>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='at') { echo 'dt'; } else { echo 'at'; } ?>"><?php echo $sprache->subject;?></a></th>
|
||||
<th><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ai') { echo 'di'; } else { echo 'ai'; } ?>">ID</a></th>
|
||||
<th><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ap') { echo 'dp'; } else { echo 'ap'; } ?>"><?php echo $sprache->priority;?></a></th>
|
||||
<th><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='ae') { echo 'de'; } else { echo 'ae'; } ?>"><?php echo $sprache->edit2;?></a></th>
|
||||
<th><a href="<?php echo $ticketLinks['all'];?>&o=<?php if ($o=='as') { echo 'ds'; } else { echo 'as'; } ?>"><?php echo $sprache->status;?></a></th>
|
||||
<th><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="userpanel.php?w=ti&d=md&id=<?php echo $table_row['id'];?>" alt="modify"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
|
||||
</section><!-- /.content -->
|
||||
</section>
|
||||
|
@ -9,75 +9,76 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&r=ti" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&r=ti" 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">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="wr">
|
||||
<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>
|
||||
|
||||
<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") { ?>
|
||||
|
||||
<?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>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<?php } ?>
|
||||
</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>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="problem"><?php echo $sprache->answer;?></label>
|
||||
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!-- ./col -->
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!-- ./col -->
|
||||
<!-- timeline time label -->
|
||||
<div class="col-md-6">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<ul class="timeline">
|
||||
|
||||
<!-- timeline time label -->
|
||||
<div class="col-md-6">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<ul class="timeline">
|
||||
|
||||
<li class="time-label">
|
||||
<li class="time-label">
|
||||
<span class="bg-blue">
|
||||
<?php echo $table_row['writedate'];?>
|
||||
</span>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<!-- timeline icon -->
|
||||
<i class="fa fa-envelope bg-blue"></i>
|
||||
<div class="timeline-item">
|
||||
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
|
||||
<div class="timeline-body">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<!-- timeline icon -->
|
||||
<i class="fa fa-envelope bg-blue"></i>
|
||||
<div class="timeline-item">
|
||||
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
|
||||
<div class="timeline-body">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</div>
|
||||
<div class='timeline-footer'>
|
||||
</div>
|
||||
</div>
|
||||
<div class='timeline-footer'>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div><!-- ./col -->
|
||||
<!-- END timeline item -->
|
||||
</li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div><!-- ./col -->
|
||||
<!-- END timeline item -->
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
@ -9,57 +9,57 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<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="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&action=md"><span class="btn btn-primary btn-sm"><i class="fa fa-exchange"></i></a></dd>
|
||||
<br/>
|
||||
<dt><?php echo $sprache->close_heading;?></dt>
|
||||
<dd><a href="userpanel.php?w=ti&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="userpanel.php?w=ti&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><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!-- ./col -->
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<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="userpanel.php?w=ti&d=md&id=<?php echo $id;?>&action=md"><span class="btn btn-primary btn-sm"><i class="fa fa-exchange"></i></a></dd>
|
||||
<br/>
|
||||
<dt><?php echo $sprache->close_heading;?></dt>
|
||||
<dd><a href="userpanel.php?w=ti&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="userpanel.php?w=ti&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><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
</div><!-- ./col -->
|
||||
|
||||
<div class="col-md-6">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<ul class="timeline">
|
||||
<!-- timeline time label -->
|
||||
<li class="time-label">
|
||||
<div class="col-md-6">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<ul class="timeline">
|
||||
<!-- timeline time label -->
|
||||
<li class="time-label">
|
||||
<span class="bg-blue">
|
||||
<?php echo $table_row['writedate'];?>
|
||||
</span>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<!-- timeline icon -->
|
||||
<i class="fa fa-envelope bg-blue"></i>
|
||||
<div class="timeline-item">
|
||||
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
|
||||
<div class="timeline-body">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</li>
|
||||
<!-- /.timeline-label -->
|
||||
<!-- timeline item -->
|
||||
<li>
|
||||
<!-- timeline icon -->
|
||||
<i class="fa fa-envelope bg-blue"></i>
|
||||
<div class="timeline-item">
|
||||
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
|
||||
<div class="timeline-body">
|
||||
<?php echo $table_row['ticket'];?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<!-- END timeline item -->
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div><!-- ./col -->
|
||||
|
||||
</li>
|
||||
<!-- END timeline item -->
|
||||
</ul>
|
||||
<?php } ?>
|
||||
</div><!-- ./col -->
|
||||
</div>
|
||||
</section>
|
@ -3,100 +3,114 @@
|
||||
<h1><?php echo $gsprache->user;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><?php echo $gsprache->user;?></li>
|
||||
<li class="active"><?php echo $gsprache->settings;?></li>
|
||||
<li><?php echo $gsprache->user;?></li>
|
||||
<li class="active"><?php echo $gsprache->settings;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=se&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<form role="form" action="userpanel.php?w=se&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input class="form-control" type="hidden" name="action" value="md">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><strong><?php echo $gsprache->user;?></strong></h4>
|
||||
<div class="form-group">
|
||||
<label for="fname"><?php echo $sprache->fname;?></label>
|
||||
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="vname"><?php echo $sprache->vname;?></label>
|
||||
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="mail"><?php echo $sprache->email;?>*</label>
|
||||
<input class="form-control" id="mail" type="email" name="mail" value="<?php echo $mail;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="tel"><?php echo $sprache->tel;?></label>
|
||||
<input class="form-control" id="tel" type="text" name="phone" value="<?php echo $phone;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="handy"><?php echo $sprache->han;?></label>
|
||||
<input class="form-control" id="handy" type="text" name="handy" value="<?php echo $handy;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="stadt"><?php echo $sprache->stadt;?></label>
|
||||
<input class="form-control" id="stadt" type="text" name="city" value="<?php echo $city;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cityn"><?php echo $sprache->plz;?></label>
|
||||
<input class="form-control" id="cityn" type="text" name="cityn" value="<?php echo $cityn;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="street"><?php echo $sprache->str;?></label>
|
||||
<input class="form-control" id="street" type="text" name="street" value="<?php echo $street;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="streetn"><?php echo $sprache->hnum;?></label>
|
||||
<input class="form-control" id="streetn" type="text" name="streetn" value="<?php echo $streetn;?>">
|
||||
</div>
|
||||
<h4><strong><?php echo $gsprache->user;?></strong></h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="fname"><?php echo $sprache->fname;?></label>
|
||||
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<?php if(count($serviceProviders) > 0 ) echo '<h4><strong>Social Auth</strong></h4>';?>
|
||||
<?php foreach($serviceProviders as $sp){ ?>
|
||||
<div class="form-group">
|
||||
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
|
||||
<?php if (strlen($sp['spUserId'])==0){ ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&spUser=<?php echo $sp['spUserId'];?>&spId=<?php echo $sp['spId'];?>&r=se" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="form-group">
|
||||
<label for="vname"><?php echo $sprache->vname;?></label>
|
||||
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
|
||||
<h4><strong>Mail</strong></h4>
|
||||
<div class="form-group">
|
||||
<div class="checkbox">
|
||||
<label for="mail_backup"><?php echo $sprache->mail_backup;?></label>
|
||||
<input id="mail_backup" type="checkbox" name="mail_backup" value="Y" <?php if ($mail_backup=="Y") echo 'checked="checked"'; ?>>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label for="mail_serverdown"><?php echo $sprache->mail_serverdown;?></label>
|
||||
<input id="mail_serverdown" type="checkbox" name="mail_serverdown" value="Y" <?php if ($mail_serverdown=="Y") echo 'checked="checked"'; ?>>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label for="mail_ticket"><?php echo $sprache->mail_ticket;?></label>
|
||||
<input id="mail_ticket" type="checkbox" name="mail_ticket" value="Y" <?php if ($mail_ticket=="Y") echo 'checked="checked"'; ?>>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
<input class="form-control" type="hidden" name="action" value="md">
|
||||
</div>
|
||||
</form>
|
||||
<div class="form-group">
|
||||
<label for="mail"><?php echo $sprache->email;?>*</label>
|
||||
<input class="form-control" id="mail" type="email" name="mail" value="<?php echo $mail;?>" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="tel"><?php echo $sprache->tel;?></label>
|
||||
<input class="form-control" id="tel" type="text" name="phone" value="<?php echo $phone;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="handy"><?php echo $sprache->han;?></label>
|
||||
<input class="form-control" id="handy" type="text" name="handy" value="<?php echo $handy;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="stadt"><?php echo $sprache->stadt;?></label>
|
||||
<input class="form-control" id="stadt" type="text" name="city" value="<?php echo $city;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="cityn"><?php echo $sprache->plz;?></label>
|
||||
<input class="form-control" id="cityn" type="text" name="cityn" value="<?php echo $cityn;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="street"><?php echo $sprache->str;?></label>
|
||||
<input class="form-control" id="street" type="text" name="street" value="<?php echo $street;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="streetn"><?php echo $sprache->hnum;?></label>
|
||||
<input class="form-control" id="streetn" type="text" name="streetn" value="<?php echo $streetn;?>">
|
||||
</div>
|
||||
|
||||
<h4><strong><?php echo $sprache->email;?></strong></h4>
|
||||
|
||||
<div class="form-group">
|
||||
<input id="mail_backup" type="checkbox" name="mail_backup" value="Y" <?php if ($mail_backup=="Y") echo 'checked="checked"'; ?>>
|
||||
<label for="mail_backup"><?php echo $sprache->mail_backup;?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input id="mail_serverdown" type="checkbox" name="mail_serverdown" value="Y" <?php if ($mail_serverdown=="Y") echo 'checked="checked"'; ?>>
|
||||
<label for="mail_serverdown"><?php echo $sprache->mail_serverdown;?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input id="mail_ticket" type="checkbox" name="mail_ticket" value="Y" <?php if ($mail_ticket=="Y") echo 'checked="checked"'; ?>>
|
||||
<label for="mail_ticket"><?php echo $sprache->mail_ticket;?></label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<?php if(count($serviceProviders) > 0 ) echo '<h4><strong>Social Auth</strong></h4>';?>
|
||||
<?php foreach($serviceProviders as $sp){ ?>
|
||||
<div class="form-group">
|
||||
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
|
||||
<?php if (strlen($sp['spUserId'])==0){ ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&spUser=<?php echo $sp['spUserId'];?>&spId=<?php echo $sp['spId'];?>&r=se" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -3,54 +3,56 @@
|
||||
<h1><?php echo $gsprache->user;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><?php echo $gsprache->user;?></li>
|
||||
<li class="active"><?php echo $gsprache->settings;?></li>
|
||||
<li><?php echo $gsprache->user;?></li>
|
||||
<li class="active"><?php echo $gsprache->settings;?></li>
|
||||
</ol>
|
||||
</ol>
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=se&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="fname"><?php echo $sprache->fname;?></label>
|
||||
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="vname"><?php echo $sprache->vname;?></label>
|
||||
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form role="form" action="userpanel.php?w=se&r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="fname"><?php echo $sprache->fname;?></label>
|
||||
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="vname"><?php echo $sprache->vname;?></label>
|
||||
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<?php foreach($serviceProviders as $sp){ ?>
|
||||
<div class="form-group">
|
||||
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
|
||||
<?php if (strlen($sp['spUserId'])==0){ ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&spUser=<?php echo $sp['spUserId'];?>&spId=<?php echo $sp['spId'];?>&r=se" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="col-md-6">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<?php foreach($serviceProviders as $sp){ ?>
|
||||
<div class="form-group">
|
||||
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
|
||||
<?php if (strlen($sp['spUserId'])==0){ ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&spUser=<?php echo $sp['spUserId'];?>&spId=<?php echo $sp['spId'];?>&r=se" id="sp<?php echo $sp['sp'];?>">
|
||||
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -21,44 +21,55 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</p><a href="userpanel.php?w=vo&d=bu&po=1&id=<?php echo $id;?>"><span class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> <?php echo $sprache->backup ." (".($voice_maxbackup-$backupcount)." ".$sprache->left.")";?></span></a></p>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->backupname;?></th>
|
||||
<th><?php echo $sprache->recover;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['date']; ?></td>
|
||||
<td><?php echo $table_row['name']; ?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-primary btn-sm" id="inputEdit" type="submit"><i class="fa fa-refresh"></i></button>
|
||||
<input type="hidden" name="action" value="md" />
|
||||
<input type="hidden" name="use" value="md" />
|
||||
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
<input type="hidden" name="action" value="md" />
|
||||
<input type="hidden" name="delete" value="md" />
|
||||
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
<div>
|
||||
<a href="userpanel.php?w=vo&d=bu&po=1&id=<?php echo $id;?>"><span class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> <?php echo $sprache->backup ." (".($voice_maxbackup-$backupcount)." ".$sprache->left.")";?></span></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->date;?></th>
|
||||
<th><?php echo $sprache->backupname;?></th>
|
||||
<th><?php echo $sprache->recover;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $table_row['date']; ?></td>
|
||||
<td><?php echo $table_row['name']; ?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-primary btn-sm" id="inputEdit" type="submit"><i class="fa fa-refresh"></i></button>
|
||||
<input type="hidden" name="action" value="md" />
|
||||
<input type="hidden" name="use" value="md" />
|
||||
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
<input type="hidden" name="action" value="md" />
|
||||
<input type="hidden" name="delete" value="md" />
|
||||
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -21,27 +21,31 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->backups;?></label>
|
||||
<input class="form-control" type="text" class="form-control" placeholder="<?php echo $backupcount.'/'.$voice_maxbackup;?>" disabled/>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->backups;?></label>
|
||||
<input class="form-control" type="text" class="form-control" placeholder="<?php echo $backupcount.'/'.$voice_maxbackup;?>" disabled/>
|
||||
</div>
|
||||
|
||||
<form role="form" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="action" value="nb">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="name"><?php echo $sprache->backupname;?></label>
|
||||
<input class="form-control" id="name" type="text" name="name" placeholder="New Backup" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play"></i> <?php echo $gsprache->exec;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form role="form" action="userpanel.php?w=vo&d=bu&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="action" value="nb">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="name"><?php echo $sprache->backupname;?></label>
|
||||
<input class="form-control" id="name" type="text" name="name" placeholder="New Backup" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play"></i> <?php echo $gsprache->exec;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -11,55 +11,74 @@
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="box box-info">
|
||||
<?php if (isset($error)){ ?>
|
||||
<div class="box box-danger">
|
||||
<div class="box-header">
|
||||
<i class="fa fa-warning"></i>
|
||||
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=bl&e=ad&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<b><?php echo $gsprache->errors;?>:</b> <?php echo$error;?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<input type="hidden" name="action" value="ad">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=bl&e=ad&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputBanType"><?php echo $sprache->banType;?></label>
|
||||
<select class="form-control" id="inputBanType" name="banType" onchange="SwitchShowHideRows(this.value)">
|
||||
<option value="U">clientUID</option>
|
||||
<option value="I"><?php echo $sprache->ip;?></option>
|
||||
<option value="N"><?php echo $sprache->user;?></option>
|
||||
</select>
|
||||
<input type="hidden" name="action" value="ad">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputBanType"><?php echo $sprache->banType;?></label>
|
||||
<select class="form-control" id="inputBanType" name="banType" onchange="SwitchShowHideRows(this.value)">
|
||||
<option value="U">clientUID</option>
|
||||
<option value="I"><?php echo $sprache->ip;?></option>
|
||||
<option value="N"><?php echo $sprache->user;?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="U switch form-group">
|
||||
<label class="control-label" for="inputUser">clientUID</label>
|
||||
<select class="form-control" id="inputUser" name="clientUID">
|
||||
<?php foreach($userList as $r) echo '<option value="'.$r['clid'].'">'.$r['client_nickname'].' ('.$r['clid'].')</option>';?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="I switch form-group display_none">
|
||||
<label for="inputIP"><?php echo $sprache->ip;?></label>
|
||||
<input class="form-control" id="inputIP" type="text" name="ip">
|
||||
</div>
|
||||
|
||||
<div class="N switch form-group display_none">
|
||||
<label for="inputIP"><?php echo $sprache->user;?></label>
|
||||
<input class="form-control" id="inputIP" type="text" name="name">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputTime"><?php echo $sprache->banTime;?> (in <?php echo $sprache->seconds;?>)</label>
|
||||
<div class="input-append">
|
||||
<input class="form-control" id="inputTime" type="number" name="time" value="3600">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputBanReason"><?php echo $sprache->banReason;?></label>
|
||||
<input class="form-control" id="inputBanReason" type="text" name="banReason" value="Web ban">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $sprache->ban;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="U switch form-group">
|
||||
<label class="control-label" for="inputUser">clientUID</label>
|
||||
<select class="form-control" id="inputUser" name="clientUID">
|
||||
<?php foreach($userList as $r) echo '<option value="'.$r['clid'].'">'.$r['client_nickname'].' ('.$r['clid'].')</option>';?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="I switch form-group display_none">
|
||||
<label for="inputIP"><?php echo $sprache->ip;?></label>
|
||||
<input class="form-control" id="inputIP" type="text" name="ip">
|
||||
</div>
|
||||
|
||||
<div class="N switch form-group display_none">
|
||||
<label for="inputIP"><?php echo $sprache->user;?></label>
|
||||
<input class="form-control" id="inputIP" type="text" name="name">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputTime"><?php echo $sprache->banTime;?> (in <?php echo $sprache->seconds;?>)</label>
|
||||
<div class="input-append">
|
||||
<input class="form-control" id="inputTime" type="number" name="time" value="3600">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputBanReason"><?php echo $sprache->banReason;?></label>
|
||||
<input class="form-control" id="inputBanReason" type="text" name="banReason" value="Web ban">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $sprache->ban;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -10,41 +10,64 @@
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
</p><a href="userpanel.php?w=vo&d=bl&e=ad&id=<?php echo $id;?>"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->banAdd;?></span></a></p>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
<th><?php echo $sprache->duration.' '.$sprache->seconds;?></th>
|
||||
<th><?php echo $sprache->ends;?></th>
|
||||
<th><?php echo $sprache->blocked;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($banList as $k => $row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $row['lastnickname'];?></td>
|
||||
<td><?php echo $row['ip'];?></td>
|
||||
<td><?php echo $row['duration'];?></td>
|
||||
<td><?php echo $row['ends'];?></td>
|
||||
<td><?php echo $row['blocked'];?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bl&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
<input type="hidden" name="action" value="dl">
|
||||
<input type="hidden" name="bannID" value="<?php echo $k;?>">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a href="userpanel.php?w=vo&d=bl&e=ad&id=<?php echo $id;?>"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->banAdd;?></span></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="box-body table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $sprache->lastNickname;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
<th><?php echo $sprache->duration.' '.$sprache->seconds;?></th>
|
||||
<th><?php echo $sprache->ends;?></th>
|
||||
<th><?php echo $sprache->blocked;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($banList as $k => $row) { ?>
|
||||
<tr>
|
||||
<td><?php echo $row['name'];?></td>
|
||||
<td><?php echo $row['lastnickname'];?></td>
|
||||
<td><?php echo $row['ip'];?></td>
|
||||
<td><?php echo $row['duration'];?></td>
|
||||
<td><?php echo $row['ends'];?></td>
|
||||
<td><?php echo $row['blocked'];?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=bl&id=<?php echo $id;?>&r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
<input type="hidden" name="action" value="dl">
|
||||
<input type="hidden" name="bannID" value="<?php echo $k;?>">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->user;?></th>
|
||||
<th><?php echo $sprache->lastNickname;?></th>
|
||||
<th><?php echo $sprache->ip;?></th>
|
||||
<th><?php echo $sprache->duration.' '.$sprache->seconds;?></th>
|
||||
<th><?php echo $sprache->ends;?></th>
|
||||
<th><?php echo $sprache->blocked;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -8,34 +8,36 @@
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
|
||||
<?php foreach ($table as $row) { ?>
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dt>ID</dt>
|
||||
<dd><?php echo $row['id'];?></dd>
|
||||
<dt>TS3 DNS</dt>
|
||||
<dd><?php echo $row['dns'];?></dd>
|
||||
<dt><?php echo $sprache->ip; ?></dt>
|
||||
<dd><?php echo $row['address'];?></dd>
|
||||
</dl>
|
||||
<dl class="dl-horizontal">
|
||||
<dt>ID</dt>
|
||||
<dd><?php echo $row['id'];?></dd>
|
||||
<dt>TS3 DNS</dt>
|
||||
<dd><?php echo $row['dns'];?></dd>
|
||||
<dt><?php echo $sprache->ip; ?></dt>
|
||||
<dd><?php echo $row['address'];?></dd>
|
||||
</dl>
|
||||
|
||||
<form role="form" action="userpanel.php" method="get">
|
||||
<form role="form" action="userpanel.php" method="get">
|
||||
|
||||
<input type="hidden" name="w" value="vd">
|
||||
<input type="hidden" name="d" value="md">
|
||||
<input type="hidden" name="id" value="<?php echo $row['id'];?>">
|
||||
<input type="hidden" name="r" value="vd">
|
||||
<input type="hidden" name="w" value="vd">
|
||||
<input type="hidden" name="d" value="md">
|
||||
<input type="hidden" name="id" value="<?php echo $row['id'];?>">
|
||||
<input type="hidden" name="r" value="vd">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->settings.' '.$gsprache->mod;?></button>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->settings.' '.$gsprache->mod;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
</section>
|
@ -10,34 +10,37 @@
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->defaultdns;?></label>
|
||||
<input type="text" class="form-control" placeholder="<?php echo $defaultdns;?>" disabled/>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->defaultdns;?></label>
|
||||
<input type="text" class="form-control" placeholder="<?php echo $defaultdns;?>" disabled/>
|
||||
<form role="form" action="userpanel.php?w=vd&d=md&id=<?php echo $id;?>&r=vd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="dns"><?php echo $sprache->dns;?></label>
|
||||
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ip"><?php echo $sprache->ip;?></label>
|
||||
<input class="form-control" id="ip" type="text" name="ip" value="<?php echo $ip;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="port"><?php echo $sprache->port;?></label>
|
||||
<input class="form-control" id="port" type="text" name="port" value="<?php echo $port;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form role="form" action="userpanel.php?w=vd&d=md&id=<?php echo $id;?>&r=vd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<div class="form-group">
|
||||
<label for="dns"><?php echo $sprache->dns;?></label>
|
||||
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ip"><?php echo $sprache->ip;?></label>
|
||||
<input class="form-control" id="ip" type="text" name="ip" value="<?php echo $ip;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="port"><?php echo $sprache->port;?></label>
|
||||
<input class="form-control" id="port" type="text" name="port" value="<?php echo $port;?>" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -22,26 +22,30 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="action" value="ad">
|
||||
<input type="hidden" name="action" value="ad">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="groupname"><?php echo $sprache->groupname;?></label>
|
||||
<select class="form-control" id="groupname" name="group">
|
||||
<?php foreach ($servergroups as $id => $name) { ?>
|
||||
<option value="<?php echo $id; ?>"><?php echo $name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<div class="form-group">
|
||||
<label for="groupname"><?php echo $sprache->groupname;?></label>
|
||||
<select class="form-control" id="groupname" name="group">
|
||||
<?php foreach ($servergroups as $id => $name) { ?>
|
||||
<option value="<?php echo $id; ?>"><?php echo $name; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -20,35 +20,45 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</p><a href="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&po=1"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->token;?></span></a></p>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body table-responsive no-padding">
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->groupname;?></th>
|
||||
<th><?php echo $sprache->token;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($pklist as $token) { ?>
|
||||
<tr>
|
||||
<td><?php echo $token['groupname'];?></td>
|
||||
<td><?php echo $token['token'];?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<input type="hidden" name="token" value="<?php echo $token['token'];?>" >
|
||||
<input type="hidden" name="action" value="dl" >
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a href="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&po=1"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->token;?></span></a>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="dataTable" class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $sprache->groupname;?></th>
|
||||
<th><?php echo $sprache->token;?></th>
|
||||
<th><?php echo $gsprache->del;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($pklist as $token) { ?>
|
||||
<tr>
|
||||
<td><?php echo $token['groupname'];?></td>
|
||||
<td><?php echo $token['token'];?></td>
|
||||
<td>
|
||||
<form method="post" action="userpanel.php?w=vo&d=pk&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
|
||||
<input type="hidden" name="token" value="<?php echo $token['token'];?>" >
|
||||
<input type="hidden" name="action" value="dl" >
|
||||
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -20,33 +20,37 @@
|
||||
|
||||
<!-- Content -->
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="panel box <?php if($table_row['stopped']=='Y') echo 'box-primary'; else if($table_row['stopped']=='C') echo 'box-danger'; else echo 'box-success';?>">
|
||||
<div class="box-body">
|
||||
<!-- Voiceserver Name -->
|
||||
<h4><?php echo $table_row['server'];?></h4>
|
||||
|
||||
<!-- Voiceserver Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=vo&d=st&id=<?php echo $table_row['id'];?>&action=re&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-success"><i class="icon-white icon-play"></i> <?php echo $gsprache->start;?></button></a>
|
||||
<a href="userpanel.php?w=vo&d=st&id=<?php echo $table_row['id'];?>&action=so&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> <?php echo $gsprache->stop;?></button></a>
|
||||
<a href="userpanel.php?w=vo&d=pk&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-key"></i> Token</span></a>
|
||||
<a href="userpanel.php?w=vo&d=bl&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-ban"></i> <?php echo $sprache->banList;?></span></a>
|
||||
<?php if($table_row['backup']=='Y'){ ?><a href="userpanel.php?w=vo&d=bu&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a><?php } ?>
|
||||
<a href="userpanel.php?w=vo&d=md&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
|
||||
<a href="userpanel.php?w=vo&d=rs&id=<?php echo $table_row['id'];?>&action=rs&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reset;?></button></a>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel box <?php if($table_row['stopped']=='Y') echo 'box-primary'; else if($table_row['stopped']=='C') echo 'box-danger'; else echo 'box-success';?>">
|
||||
<div class="box-body">
|
||||
<!-- Voiceserver Name -->
|
||||
<h4><?php echo $table_row['server'];?></h4>
|
||||
|
||||
<!-- Voiceserver Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=vo&d=st&id=<?php echo $table_row['id'];?>&action=re&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-success"><i class="icon-white icon-play"></i> <?php echo $gsprache->start;?></button></a>
|
||||
<a href="userpanel.php?w=vo&d=st&id=<?php echo $table_row['id'];?>&action=so&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> <?php echo $gsprache->stop;?></button></a>
|
||||
<a href="userpanel.php?w=vo&d=pk&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-key"></i> Token</span></a>
|
||||
<a href="userpanel.php?w=vo&d=bl&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-ban"></i> <?php echo $sprache->banList;?></span></a>
|
||||
<?php if($table_row['backup']=='Y'){ ?><a href="userpanel.php?w=vo&d=bu&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a><?php } ?>
|
||||
<a href="userpanel.php?w=vo&d=md&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
|
||||
<a href="userpanel.php?w=vo&d=rs&id=<?php echo $table_row['id'];?>&action=rs&r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reset;?></button></a>
|
||||
</div>
|
||||
<!-- Voiceserver Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<dt>ID</dt>
|
||||
<dd><?php echo $table_row['virtual_id'];?></dd>
|
||||
<dt><?php echo $sprache->usage; ?></dt>
|
||||
<dd><?php echo $table_row['usage'];?></dd>
|
||||
<dt>Uptime</dt>
|
||||
<dd><?php echo $table_row['uptime'];?></dd>
|
||||
<dt>Traffic</dt>
|
||||
<dd><?php echo $table_row['filetraffic'].'/'.$table_row['maxtraffic'];?> MB</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<!-- Voiceserver Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<dt>ID</dt>
|
||||
<dd><?php echo $table_row['virtual_id'];?></dd>
|
||||
<dt><?php echo $sprache->usage; ?></dt>
|
||||
<dd><?php echo $table_row['usage'];?></dd>
|
||||
<dt>Uptime</dt>
|
||||
<dd><?php echo $table_row['uptime'];?></dd>
|
||||
<dt>Traffic</dt>
|
||||
<dd><?php echo $table_row['filetraffic'].'/'.$table_row['maxtraffic'];?> MB</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
@ -21,110 +21,114 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=md&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=vo&d=md&id=<?php echo $id;?>&r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="md">
|
||||
|
||||
<?php if ($usedns=='Y'){ ?>
|
||||
<div class="form-group">
|
||||
<label for="defaultdns"><?php echo $sprache->defaultdns;?></label>
|
||||
<input class="form-control" id="defaultdns" type="text" name="defaultdns" value="<?php echo $defaultdns; ?>" disabled>
|
||||
<?php if ($usedns=='Y'){ ?>
|
||||
<div class="form-group">
|
||||
<label for="defaultdns"><?php echo $sprache->defaultdns;?></label>
|
||||
<input class="form-control" id="defaultdns" type="text" name="defaultdns" value="<?php echo $defaultdns; ?>" disabled>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="dns"><?php echo $sprache->dns;?></label>
|
||||
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns; ?>">
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="initialpassword"><?php echo $sprache->initialpassword;?></label>
|
||||
<input class="form-control" id="initialpassword" type="text" name="initialpassword" value="<?php echo $initialpassword; ?>" <?php if ($password=='Y') echo 'required';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_reserved_slots"><?php echo $sprache->virtualserver_reserved_slots;?></label>
|
||||
<input class="form-control" id="virtualserver_reserved_slots" type="text" name="virtualserver_reserved_slots" value="<?php echo $virtualserver_reserved_slots;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="name"><?php echo $sprache->name;?></label>
|
||||
<input class="form-control" id="name" type="text" name="name" value="<?php echo $name; ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="welcome"><?php echo $sprache->welcome;?></label>
|
||||
<input class="form-control" id="welcome" type="text" name="welcome" value="<?php echo $welcome; ?>"<?php if ($forcewelcome=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbanner_url"><?php echo $sprache->hostbanner_url;?></label>
|
||||
<input class="form-control" id="hostbanner_url" type="text" name="hostbanner_url" value="<?php echo $hostbanner_url; ?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbanner_gfx_url"><?php echo $sprache->hostbanner_gfx_url;?></label>
|
||||
<input class="form-control" id="hostbanner_gfx_url" type="text" name="hostbanner_gfx_url" value="<?php echo $hostbanner_gfx_url; ?>"<?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_hostbanner_gfx_interval"><?php echo $sprache->virtualserver_hostbanner_gfx_interval;?></label>
|
||||
<input class="form-control" id="virtualserver_hostbanner_gfx_interval" type="text" name="virtualserver_hostbanner_gfx_interval" value="<?php echo $virtualserver_hostbanner_gfx_interval;?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_url"><?php echo $sprache->hostbutton_url;?></label>
|
||||
<input class="form-control" id="hostbutton_url" type="text" name="hostbutton_url" value="<?php echo $hostbutton_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_gfx_url"><?php echo $sprache->hostbutton_gfx_url;?></label>
|
||||
<input class="form-control" id="hostbutton_gfx_url" type="text" name="hostbutton_gfx_url" value="<?php echo $hostbutton_gfx_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_tooltip"><?php echo $sprache->hostbutton_tooltip;?></label>
|
||||
<input class="form-control" id="hostbutton_tooltip" type="text" name="hostbutton_tooltip" value="<?php echo $hostbutton_tooltip; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_hostmessage_mode"><?php echo $sprache->virtualserver_hostmessage_mode;?></label>
|
||||
<select class="form-control" id="virtualserver_hostmessage_mode" name="virtualserver_hostmessage_mode">
|
||||
<option value="0"><?php echo $sprache->virtualserver_hostmessage_mode_0;?></option>
|
||||
<option value="1" <?php if($virtualserver_hostmessage_mode==1) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_1;?></option>
|
||||
<option value="2" <?php if($virtualserver_hostmessage_mode==2) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_2;?></option>
|
||||
<option value="3" <?php if($virtualserver_hostmessage_mode==3) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_3;?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_needed_identity_security_level"><?php echo $sprache->virtualserver_needed_identity_security_level;?></label>
|
||||
<input class="form-control" id="virtualserver_needed_identity_security_level" type="text" name="virtualserver_needed_identity_security_level" value="<?php echo $virtualserver_needed_identity_security_level;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_tick_reduce"><?php echo $sprache->virtualserver_antiflood_points_tick_reduce;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_tick_reduce" type="text" name="virtualserver_antiflood_points_tick_reduce" value="<?php echo $virtualserver_antiflood_points_tick_reduce;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_needed_command_block"><?php echo $sprache->virtualserver_antiflood_points_needed_command_block;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_needed_command_block" type="text" name="virtualserver_antiflood_points_needed_command_block" value="<?php echo $virtualserver_antiflood_points_needed_command_block;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_needed_ip_block"><?php echo $sprache->virtualserver_antiflood_points_needed_ip_block;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_needed_ip_block" type="text" name="virtualserver_antiflood_points_needed_ip_block" value="<?php echo $virtualserver_antiflood_points_needed_ip_block;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="dns"><?php echo $sprache->dns;?></label>
|
||||
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns; ?>">
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="initialpassword"><?php echo $sprache->initialpassword;?></label>
|
||||
<input class="form-control" id="initialpassword" type="text" name="initialpassword" value="<?php echo $initialpassword; ?>" <?php if ($password=='Y') echo 'required';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_reserved_slots"><?php echo $sprache->virtualserver_reserved_slots;?></label>
|
||||
<input class="form-control" id="virtualserver_reserved_slots" type="text" name="virtualserver_reserved_slots" value="<?php echo $virtualserver_reserved_slots;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="name"><?php echo $sprache->name;?></label>
|
||||
<input class="form-control" id="name" type="text" name="name" value="<?php echo $name; ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="welcome"><?php echo $sprache->welcome;?></label>
|
||||
<input class="form-control" id="welcome" type="text" name="welcome" value="<?php echo $welcome; ?>"<?php if ($forcewelcome=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbanner_url"><?php echo $sprache->hostbanner_url;?></label>
|
||||
<input class="form-control" id="hostbanner_url" type="text" name="hostbanner_url" value="<?php echo $hostbanner_url; ?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbanner_gfx_url"><?php echo $sprache->hostbanner_gfx_url;?></label>
|
||||
<input class="form-control" id="hostbanner_gfx_url" type="text" name="hostbanner_gfx_url" value="<?php echo $hostbanner_gfx_url; ?>"<?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_hostbanner_gfx_interval"><?php echo $sprache->virtualserver_hostbanner_gfx_interval;?></label>
|
||||
<input class="form-control" id="virtualserver_hostbanner_gfx_interval" type="text" name="virtualserver_hostbanner_gfx_interval" value="<?php echo $virtualserver_hostbanner_gfx_interval;?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_url"><?php echo $sprache->hostbutton_url;?></label>
|
||||
<input class="form-control" id="hostbutton_url" type="text" name="hostbutton_url" value="<?php echo $hostbutton_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_gfx_url"><?php echo $sprache->hostbutton_gfx_url;?></label>
|
||||
<input class="form-control" id="hostbutton_gfx_url" type="text" name="hostbutton_gfx_url" value="<?php echo $hostbutton_gfx_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="hostbutton_tooltip"><?php echo $sprache->hostbutton_tooltip;?></label>
|
||||
<input class="form-control" id="hostbutton_tooltip" type="text" name="hostbutton_tooltip" value="<?php echo $hostbutton_tooltip; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_hostmessage_mode"><?php echo $sprache->virtualserver_hostmessage_mode;?></label>
|
||||
<select class="form-control" id="virtualserver_hostmessage_mode" name="virtualserver_hostmessage_mode">
|
||||
<option value="0"><?php echo $sprache->virtualserver_hostmessage_mode_0;?></option>
|
||||
<option value="1" <?php if($virtualserver_hostmessage_mode==1) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_1;?></option>
|
||||
<option value="2" <?php if($virtualserver_hostmessage_mode==2) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_2;?></option>
|
||||
<option value="3" <?php if($virtualserver_hostmessage_mode==3) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_3;?></option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_needed_identity_security_level"><?php echo $sprache->virtualserver_needed_identity_security_level;?></label>
|
||||
<input class="form-control" id="virtualserver_needed_identity_security_level" type="text" name="virtualserver_needed_identity_security_level" value="<?php echo $virtualserver_needed_identity_security_level;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_tick_reduce"><?php echo $sprache->virtualserver_antiflood_points_tick_reduce;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_tick_reduce" type="text" name="virtualserver_antiflood_points_tick_reduce" value="<?php echo $virtualserver_antiflood_points_tick_reduce;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_needed_command_block"><?php echo $sprache->virtualserver_antiflood_points_needed_command_block;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_needed_command_block" type="text" name="virtualserver_antiflood_points_needed_command_block" value="<?php echo $virtualserver_antiflood_points_needed_command_block;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="virtualserver_antiflood_points_needed_ip_block"><?php echo $sprache->virtualserver_antiflood_points_needed_ip_block;?></label>
|
||||
<input class="form-control" id="virtualserver_antiflood_points_needed_ip_block" type="text" name="virtualserver_antiflood_points_needed_ip_block" value="<?php echo $virtualserver_antiflood_points_needed_ip_block;?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -20,22 +20,30 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->help_fdl_hl;?></label>
|
||||
<textarea class="form-control" rows="4"><?php echo $hlCfg;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->help_fdl_cod;?></label>
|
||||
<textarea class="form-control" rows="4"><?php echo $codCfg;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->help_fdl_hl;?></label>
|
||||
<textarea class="form-control" rows="4"><?php echo $hlCfg;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="cfg"><?php echo $sprache->help_fdl_cod;?></label>
|
||||
<textarea id="cfg" class="form-control" rows="4"><?php echo $codCfg;?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -9,36 +9,40 @@
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $table_row['dns'];?></h4>
|
||||
|
||||
<!-- Webspace Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=wv&d=pw&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-lock"></i> <?php echo $sprache->ftpPassword;?></span></a>
|
||||
<?php if($table_row['usageType']=='F'){ ?><a href="userpanel.php?w=wv&d=if&id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-info"><i class="fa fa-info-circle"></i> <?php echo $sprache->fdlInfo;?></button></a><?php }?>
|
||||
<a href="userpanel.php?w=wv&d=ri&id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button></a>
|
||||
<!--<a href="userpanel.php?w=wv&d=bu&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a>-->
|
||||
</div>
|
||||
|
||||
<!-- Webspace Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<?php if($table_row['quotaActive']=='Y'){ ;?>
|
||||
<dt><?php echo $sprache->usage;?></dt>
|
||||
<dd><?php echo $table_row['hddUsage'];?>MB</dd>
|
||||
<dt><?php echo $sprache->hdd;?></dt>
|
||||
<dd><?php echo $table_row['hdd'];?>MB</dd>
|
||||
<?php }?>
|
||||
<dt><?php echo $gsSprache->ftp_link;?></dt>
|
||||
<dd><a href="ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?>">ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?></a></dd>
|
||||
<dt><?php echo $sprache->ftpIP;?></dt>
|
||||
<dd>ftp://<?php echo $table_row['ftpIP'].':'.$table_row['ftpPort'];?></dd>
|
||||
<dt><?php echo $gsSprache->ftp_user;?></dt>
|
||||
<dd><?php echo $table_row['ftpUser'];?></dd>
|
||||
<dt><?php echo $sprache->ftpPassword;?></dt>
|
||||
<dd><?php echo $table_row['ftpPass'];?></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<h4><?php echo $table_row['dns'];?></h4>
|
||||
|
||||
<!-- Webspace Buttons -->
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=wv&d=pw&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-lock"></i> <?php echo $sprache->ftpPassword;?></span></a>
|
||||
<?php if($table_row['usageType']=='F'){ ?><a href="userpanel.php?w=wv&d=if&id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-info"><i class="fa fa-info-circle"></i> <?php echo $sprache->fdlInfo;?></button></a><?php }?>
|
||||
<a href="userpanel.php?w=wv&d=ri&id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button></a>
|
||||
<!--<a href="userpanel.php?w=wv&d=bu&id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a>-->
|
||||
</div>
|
||||
|
||||
<!-- Webspace Details -->
|
||||
<dl class="dl-horizontal">
|
||||
<?php if($table_row['quotaActive']=='Y'){ ;?>
|
||||
<dt><?php echo $sprache->usage;?></dt>
|
||||
<dd><?php echo $table_row['hddUsage'];?>MB</dd>
|
||||
<dt><?php echo $sprache->hdd;?></dt>
|
||||
<dd><?php echo $table_row['hdd'];?>MB</dd>
|
||||
<?php }?>
|
||||
<dt><?php echo $gsSprache->ftp_link;?></dt>
|
||||
<dd><a href="ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?>">ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?></a></dd>
|
||||
<dt><?php echo $sprache->ftpIP;?></dt>
|
||||
<dd>ftp://<?php echo $table_row['ftpIP'].':'.$table_row['ftpPort'];?></dd>
|
||||
<dt><?php echo $gsSprache->ftp_user;?></dt>
|
||||
<dd><?php echo $table_row['ftpUser'];?></dd>
|
||||
<dt><?php echo $sprache->ftpPassword;?></dt>
|
||||
<dd><?php echo $table_row['ftpPass'];?></dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</section>
|
@ -8,33 +8,51 @@
|
||||
<li class="active"><?php echo $dns;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<?php if (count($errors)>0){ ?>
|
||||
<div class="alert alert-danger">
|
||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||
<h4><?php echo $gsprache->errors;?></h4>
|
||||
<?php echo implode(', ',$errors);?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<form role="form" action="userpanel.php?w=wv&d=pw&id=<?php echo $id;?>&r=wv" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="pw">
|
||||
<div class="form-group">
|
||||
<label for="inputPassword1"><?php echo $sprache->ftpPassword;?></label>
|
||||
<input class="form-control" id="inputPassword1" type="password" name="password1" value="" maxlength="40">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputPassword2"><?php echo $sprache->ftpPasswordRepeat;?></label>
|
||||
<input class="form-control" id="inputPassword2" type="password" name="password2" value="" maxlength="40">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"></i> <?php echo $gsprache->save;?></button>
|
||||
</form>
|
||||
<?php if (count($errors)>0){ ?>
|
||||
<div class="box box-danger">
|
||||
<div class="box-header">
|
||||
<i class="fa fa-warning"></i>
|
||||
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=wv&d=pw&id=<?php echo $id;?>&r=wv" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="pw">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputPassword1"><?php echo $sprache->ftpPassword;?></label>
|
||||
<input class="form-control" id="inputPassword1" type="password" name="password1" value="" maxlength="40">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputPassword2"><?php echo $sprache->ftpPasswordRepeat;?></label>
|
||||
<input class="form-control" id="inputPassword2" type="password" name="password2" value="" maxlength="40">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"></i> <?php echo $gsprache->save;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
@ -10,20 +10,26 @@
|
||||
</section>
|
||||
<!-- Main Content -->
|
||||
<section class="content">
|
||||
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label><?php echo $sprache->dns?></label>
|
||||
<input class="form-control" value="<?php echo $dns;?>" disabled>
|
||||
</div>
|
||||
|
||||
<form role="form" action="userpanel.php?w=wv&d=ri&id=<?php echo $id;?>&r=wv" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ri">
|
||||
</div>
|
||||
</div>
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button>
|
||||
</form>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box box-info">
|
||||
<div class="box-body">
|
||||
<form role="form" action="userpanel.php?w=wv&d=ri&id=<?php echo $id;?>&r=wv" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
|
||||
|
||||
<input type="hidden" name="token" value="<?php echo token();?>">
|
||||
<input type="hidden" name="action" value="ri">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="dns"><?php echo $sprache->dns?></label>
|
||||
<input id="dns" class="form-control" value="<?php echo $dns;?>" disabled>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="inputEdit"></label>
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
Loading…
x
Reference in New Issue
Block a user