mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
parent
c423e91bab
commit
06c030508c
@ -88,6 +88,11 @@ if ($ui->smallletters('w', 9, 'get') == 'datatable') {
|
||||
|
||||
require_once(EASYWIDIR . '/stuff/ajax/datatable_appmasterserver.php');
|
||||
|
||||
// GS images
|
||||
} else if ($ui->smallletters('d', 10, 'get') =='gameimages' and isset($admin_id) and isset($reseller_id) and isset($resellerLockupID) and $pa['gimages']) {
|
||||
|
||||
require_once(EASYWIDIR . '/stuff/ajax/datatable_gameimages.php');
|
||||
|
||||
// Code wise it seems odd, but this way we can get plausible userIDs for following queries up front
|
||||
} else {
|
||||
|
||||
|
@ -95,6 +95,7 @@
|
||||
<templates>Images/Templates</templates>
|
||||
<traffic>Traffic</traffic>
|
||||
<update>Aktualisieren</update>
|
||||
<upload>Upload</upload>
|
||||
<use>Anwenden</use>
|
||||
<used>Belegt</used>
|
||||
<user>Benutzer</user>
|
||||
|
@ -77,6 +77,7 @@
|
||||
<templates>Images/Templates</templates>
|
||||
<traffic>Trafik</traffic>
|
||||
<update>Opdater</update>
|
||||
<upload>Upload</upload>
|
||||
<use>Brug</use>
|
||||
<used></used>
|
||||
<user>Bruger</user>
|
||||
|
@ -99,6 +99,7 @@
|
||||
<templates>Images/Templates</templates>
|
||||
<traffic>Traffic</traffic>
|
||||
<update>Update</update>
|
||||
<upload>Upload</upload>
|
||||
<use>Use</use>
|
||||
<used>Used</used>
|
||||
<user>User</user>
|
||||
|
@ -157,7 +157,7 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
}
|
||||
|
||||
// Figure out the class name
|
||||
$class_name = 'GameQ_Protocols_'.ucfirst(pathinfo($entry, PATHINFO_FILENAME));
|
||||
$class_name = 'GameQ_Protocols_' . ucfirst(pathinfo($entry, PATHINFO_FILENAME));
|
||||
|
||||
// Lets get some info on the class
|
||||
$reflection = new ReflectionClass($class_name);
|
||||
@ -523,51 +523,8 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
|
||||
}
|
||||
|
||||
} else {
|
||||
$o = $ui->st('o', 'get');
|
||||
if ($ui->st('o', 'get') == 'di') {
|
||||
$orderby = '`id` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ai') {
|
||||
$orderby = '`id` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'di') {
|
||||
$orderby = '`id` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ai') {
|
||||
$orderby = '`id` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'dd') {
|
||||
$orderby = '`description` DESC';
|
||||
} else if ($ui->st('o', 'get') == 'ad') {
|
||||
$orderby = '`description` ASC';
|
||||
} else if ($ui->st('o', 'get') == 'ds') {
|
||||
$orderby = '`shorten` DESC';
|
||||
} else {
|
||||
$orderby = '`shorten` ASC';
|
||||
$o = 'as';
|
||||
}
|
||||
$query = $sql->prepare("SELECT `id`,`shorten`,`steamgame`,`description`,`type` FROM `servertypes` $where ORDER BY $orderby LIMIT $start,$amount");
|
||||
$query->execute(array(':reseller_id' => $resellerLockupID));
|
||||
$table = array();
|
||||
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
|
||||
$table[] = array('id' => $row['id'], 'shorten' => $row['shorten'], 'steamgame' => $row['steamgame'], 'type' => $row['type'], 'description' => $row['description']);
|
||||
}
|
||||
$next = $start + $amount;
|
||||
|
||||
$query = $sql->prepare("SELECT COUNT(`id`) AS `amount` FROM `servertypes` $where");
|
||||
$query->execute(array(':reseller_id' => $resellerLockupID));
|
||||
$colcount = $query->fetchColumn();
|
||||
configureDateTables('-1', '1, "asc"', 'ajax.php?w=datatable&d=gameimages');
|
||||
|
||||
$vor = ($colcount>$next) ? $start + $amount : $start;
|
||||
$back = $start - $amount;
|
||||
$zur = ($back >= 0) ? $start - $amount : $start;
|
||||
$pageamount = ceil($colcount / $amount);
|
||||
$link = '<a href="admin.php?w=im&d=md&o=' . $o . '&a=';
|
||||
$link .= (!isset($amount)) ? 20 : $amount;
|
||||
$link .= ($start == 0) ? '&p=0" class="bold">1</a>' : '&p=0">1</a>';
|
||||
$pages[] = $link;
|
||||
$i = 2;
|
||||
while ($i <= $pageamount) {
|
||||
$selectpage = ($i - 1) * $amount;
|
||||
$pages[] = ($start == $selectpage) ? '<a href="admin.php?w=im&d=md&a=' . $amount . '&p=' . $selectpage . '&o=' . $o . '" class="bold">' . $i . '</a>' : '<a href="admin.php?w=im&d=md&a=' . $amount . '&p=' . $selectpage . '&o=' . $o . '">' . $i . '</a>';
|
||||
$i++;
|
||||
}
|
||||
$pages = implode(', ', $pages);
|
||||
$template_file = 'admin_images_list.tpl';
|
||||
}
|
@ -71,7 +71,7 @@ if (isset($orderFields[$iSortCol]) and is_array($orderFields[$iSortCol])) {
|
||||
} else if (isset($orderFields[$iSortCol]) and !is_array($orderFields[$iSortCol])) {
|
||||
$orderBy = $orderFields[$iSortCol] . ' ' . $sSortDir;
|
||||
} else {
|
||||
$orderBy = '`id` ASC';
|
||||
$orderBy = 'r.`id` ASC';
|
||||
}
|
||||
|
||||
if ($sSearch) {
|
||||
|
79
web/stuff/ajax/datatable_gameimages.php
Normal file
79
web/stuff/ajax/datatable_gameimages.php
Normal file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* File: datatable_gameimages.php.
|
||||
* Author: Ulrich Block
|
||||
* Date: 20.09.14
|
||||
* Contact: <ulrich.block@easy-wi.com>
|
||||
*
|
||||
* This file is part of Easy-WI.
|
||||
*
|
||||
* Easy-WI is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Easy-WI is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Easy-WI. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Diese Datei ist Teil von Easy-WI.
|
||||
*
|
||||
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
|
||||
* der GNU General Public License, wie von der Free Software Foundation,
|
||||
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
|
||||
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
|
||||
*
|
||||
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
|
||||
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
|
||||
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
|
||||
* Siehe die GNU General Public License fuer weitere Details.
|
||||
*
|
||||
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
|
||||
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (!defined('AJAXINCLUDED')) {
|
||||
die('Do not access directly!');
|
||||
}
|
||||
|
||||
$query = $sql->prepare("SELECT COUNT(`id`) AS `amount` FROM `servertypes` WHERE `resellerid`=?");
|
||||
$query->execute(array($resellerLockupID));
|
||||
|
||||
$array['iTotalRecords'] = $query->fetchColumn();
|
||||
|
||||
if ($sSearch) {
|
||||
$query = $sql->prepare("SELECT COUNT(`id`) AS `amount` FROM `servertypes` WHERE `resellerid`=:reseller_id AND (`id` LIKE :search OR `shorten` LIKE :search OR `description` LIKE :search)");
|
||||
$query->execute(array(':search' => '%' . $sSearch . '%',':reseller_id' => $resellerLockupID));
|
||||
$array['iTotalDisplayRecords'] = $query->fetchColumn();
|
||||
} else {
|
||||
$array['iTotalDisplayRecords'] = $array['iTotalRecords'];
|
||||
}
|
||||
|
||||
$orderFields = array(0 => '`description`', 1 => '`id`', 2 => '`shorten`');
|
||||
|
||||
if (isset($orderFields[$iSortCol]) and is_array($orderFields[$iSortCol])) {
|
||||
$orderBy = implode(' ' . $sSortDir . ', ', $orderFields[$iSortCol]) . ' ' . $sSortDir;
|
||||
} else if (isset($orderFields[$iSortCol]) and !is_array($orderFields[$iSortCol])) {
|
||||
$orderBy = $orderFields[$iSortCol] . ' ' . $sSortDir;
|
||||
} else {
|
||||
$orderBy = '`id` ASC';
|
||||
}
|
||||
|
||||
if ($sSearch) {
|
||||
|
||||
$query = $sql->prepare("SELECT `id`,`shorten`,`description` FROM `servertypes` WHERE `resellerid`=:reseller_id AND (`id` LIKE :search OR `shorten` LIKE :search OR `description` LIKE :search) ORDER BY $orderBy LIMIT {$iDisplayStart},{$iDisplayLength}");
|
||||
$query->execute(array(':search' => '%' . $sSearch . '%', ':reseller_id' => $resellerLockupID));
|
||||
|
||||
} else {
|
||||
$query = $sql->prepare("SELECT `id`,`shorten`,`description` FROM `servertypes` WHERE `resellerid`=? ORDER BY $orderBy LIMIT {$iDisplayStart},{$iDisplayLength}");
|
||||
$query->execute(array($resellerLockupID));
|
||||
}
|
||||
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
$array['aaData'][] = array($row['description'], $row['id'], $row['shorten'], returnButton($template_to_use, 'ajax_admin_buttons_ex.tpl', 'im', 'ex', $row['id'], $gsprache->export) . ' ' . returnButton($template_to_use, 'ajax_admin_buttons_dl.tpl', 'im', 'dl', $row['id'], $gsprache->del) . ' ' . returnButton($template_to_use, 'ajax_admin_buttons_md.tpl', 'im', 'md', $row['id'], $gsprache->mod));
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
<section class="content">
|
||||
|
||||
<div class="row hidden-xs">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-11">
|
||||
<div class="alert alert-info alert-dismissable">
|
||||
<i class="fa fa-info"></i>
|
||||
<?php echo $sprache->heading_addons;?>
|
||||
|
309
web/template/adminlte/admin/admin_images_add.tpl
Normal file
309
web/template/adminlte/admin/admin_images_add.tpl
Normal file
@ -0,0 +1,309 @@
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->template;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="admin.php?w=im"><?php echo $gsprache->template;?></a></li>
|
||||
<li class="active"><?php echo $gsprache->add;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<form role="form" action="admin.php?w=im&d=ad" enctype="multipart/form-data" 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="import" value="1">
|
||||
|
||||
<div class="box box-success">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><?php echo $gsprache->template;?> <?php echo $gsprache->import;?></h3>
|
||||
</div>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputUpload"></label>
|
||||
<div class="controls">
|
||||
<input id="inputUpload" type="file" name="file">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-success" id="inputEdit" type="submit"><i class="fa fa-upload"> <?php echo $gsprache->upload;?></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="box box-success">
|
||||
|
||||
<form role="form" action="admin.php?w=im&d=md&r=im" 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="box-body">
|
||||
|
||||
<div class="form-group<?php if(isset($errors['updates'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputUpdates">Autoupdate</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputUpdates" name="updates">
|
||||
<option value="1">Vendor + Rsync/FTP Sync</option>
|
||||
<option value="2" <?php if ($updates==2) echo 'selected="selected"'; ?>>Vendor</option>
|
||||
<option value="4" <?php if ($updates==4) echo 'selected="selected"'; ?>>Rsync/FTP Sync</option>
|
||||
<option value="3" <?php if ($updates==3) echo 'selected="selected"'; ?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['steamgame'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputSteamGame"><?php echo $sprache->steam;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputSteamGame" name="steamgame">
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
<option value="S" <?php if ($steamgame=="S") echo 'selected="selected"'; ?>>SteamCmd</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputSteamAppID">Steam appID</label>
|
||||
<div class="controls"><input class="form-control" id="inputSteamAppID" type="text" name="appID" value="<?php echo $appID;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['gamemod'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputMods"><?php echo $sprache->mods;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputMods" name="gamemod" onchange="SwitchShowHideRows(this.value,'switch',1);">
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
<option value="Y" <?php if($gamemod=='Y') echo 'selected="selected"'; ?>><?php echo $gsprache->yes;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Y switch form-group <?php if($gamemod=='N') echo 'display_none'; ?>">
|
||||
<label class="control-label" for="inputMods2"><?php echo $sprache->mods2;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputMods2" name="gamemod2">
|
||||
<option></option>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<option value="<?php echo $table_row['shorten'];?>" <?php if($table_row['shorten']==$gamemod2) echo 'selected="selected"'; ?>><?php echo $table_row['shorten'];?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputProtect"><?php echo $gssprache->protect;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputProtect" name="protected">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($protected=="N") echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputWorkshop">Steam Workshop</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputWorkshop" name="workShop">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($workShop=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputRamLimited"><?php echo $sprache->ramLimited;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputRamLimited" name="ramLimited">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($ramLimited=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputFtpAccess"><?php echo $sprache->ftpAccess;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputFtpAccess" name="ftpAccess">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($ftpAccess=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputOS"><?php echo $rsprache->os;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputOS" name="os">
|
||||
<option value="L">Linux</option>
|
||||
<option value="W" <?php if($os=='W') echo 'selected="selected"';?>>Windows</option>
|
||||
<option value="B" <?php if($os=='B') echo 'selected="selected"';?>>Linux + Windows</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['shorten'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputShorten"><?php echo $sprache->abkuerz;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputShorten" type="text" name="shorten" value="<?php echo $shorten;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputGameQ">GameQ</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputGameQ" name="gameq">
|
||||
<option value="">Other</option>
|
||||
<?php foreach ($protocols as $k=>$v){ ?>
|
||||
<option value="<?php echo $k;?>" <?php if($k==$gameq) echo 'selected="selected"';?>><?php echo $v;?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputDesc"><?php echo $sprache->description;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputDesc" type="text" name="description" value="<?php echo $description;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="L form-group switch <?php if($os=='W') echo 'display_none';if(isset($errors['gamebinary'])) echo 'error';?>">
|
||||
<label class="control-label" for="inputBin">Linux <?php echo $sprache->bin;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBin" type="text" name="gamebinary" value="<?php echo $gamebinary;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="W form-group switch <?php if($os=='L') echo 'display_none';if(isset($errors['gamebinaryWin'])) echo 'error';?>">
|
||||
<label class="control-label" for="inputBinWin">Windows <?php echo $sprache->bin;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBinWin" type="text" name="gamebinaryWin" value="<?php echo $gamebinaryWin;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputBinDir"><?php echo $sprache->bin_folder;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBinDir" type="text" name="binarydir" value="<?php echo $binarydir;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputModfolder"><?php echo $sprache->mod;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputModfolder" type="text" name="modfolder" value="<?php echo $modfolder;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputMap"><?php echo $sprache->startmap;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputMap" type="text" name="map" value="<?php echo $map;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputMapgroup"><?php echo $sprache->startmapgroup;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputMapgroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPortMax"><?php echo $sprache->portMax;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputPortMax" name="portMax">
|
||||
<option>1</option>
|
||||
<option <?php if($portMax==2) echo 'selected="selected"'; ?>>2</option>
|
||||
<option <?php if($portMax==3) echo 'selected="selected"'; ?>>3</option>
|
||||
<option <?php if($portMax==4) echo 'selected="selected"'; ?>>4</option>
|
||||
<option <?php if($portMax==5) echo 'selected="selected"'; ?>>5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPortStep"><?php echo $sprache->portStep;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputPortStep" type="text" name="portStep" value="<?php echo $portStep;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort1"><?php echo $sprache->port;?> 1</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort1" type="text" name="portOne" value="<?php echo $portOne;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort2"><?php echo $sprache->port;?> 2</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort2" type="text" name="portTwo" value="<?php echo $portTwo;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort3"><?php echo $sprache->port;?> 3</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort3" type="text" name="portThree" value="<?php echo $portThree;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort4"><?php echo $sprache->port;?> 4</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort4" type="text" name="portFour" value="<?php echo $portFour;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort5"><?php echo $sprache->port;?> 5</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort5" type="text" name="portFive" value="<?php echo $portFive;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['cmd'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputCmd"><?php echo $sprache->start;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputCmd" rows="5" name="cmd"><?php echo $cmd;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputConfigs"><?php echo $sprache->configs;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputConfigs" rows="5" name="configs"><?php echo $configs;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputConfigsEdit"><?php echo $sprache->configedit;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputConfigsEdit" rows="5" name="configedit"><?php echo $configedit;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputModsCmd"><?php echo $sprache->modcmds;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputModsCmd" rows="5" name="modcmds"><?php echo $modcmds;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<!--<div class="form-group">
|
||||
<label class="control-label" for="inputIptables"><?php echo $sprache->iptables;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputIptables" rows="5" name="iptables"><?php echo $iptables;?></textarea></div>
|
||||
</div>-->
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputProtectedSaveCFGs"><?php echo $sprache->protectedSaveCFGs;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputProtectedSaveCFGs" rows="5" name="protectedSaveCFGs"><?php echo $protectedSaveCFGs;?></textarea></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-success" id="inputEdit" type="submit"><i class="fa fa-plus-circle"> <?php echo $gsprache->add;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onDomReady = initReady;
|
||||
|
||||
function initReady(fn) {
|
||||
if(document.addEventListener) {
|
||||
document.addEventListener("DOMContentLoaded", fn, false);
|
||||
} else {
|
||||
document.onreadystatechange = function() {
|
||||
readyState(fn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function readyState(func) {
|
||||
if(document.readyState == "interactive" || document.readyState == "complete") {
|
||||
func();
|
||||
}
|
||||
}
|
||||
|
||||
window.onDomReady(onReady); function onReady() {
|
||||
SwitchShowHideRows('init_ready');
|
||||
}
|
||||
</script>
|
35
web/template/adminlte/admin/admin_images_dl.tpl
Normal file
35
web/template/adminlte/admin/admin_images_dl.tpl
Normal file
@ -0,0 +1,35 @@
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->template;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="admin.php?w=im"><?php echo $gsprache->template;?></a></li>
|
||||
<li><?php echo $gsprache->del;?></li>
|
||||
<li class="active"><?php echo $description;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="box box-info">
|
||||
|
||||
<form role="form" action="admin.php?w=im&d=dl&id=<?php echo $id;?>&r=im" 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="box-body">
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputDesc"><?php echo $sprache->description;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputDesc" type="text" name="description" value="<?php echo $description;?>" disabled="disabled"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash"> <?php echo $gsprache->del;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
48
web/template/adminlte/admin/admin_images_list.tpl
Normal file
48
web/template/adminlte/admin/admin_images_list.tpl
Normal file
@ -0,0 +1,48 @@
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->appRoot;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><?php echo $gsprache->template;?></li>
|
||||
<li class="active"><?php echo $gsprache->overview;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
|
||||
<?php if($reseller_id==0){ ?>
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<?php echo $gsprache->template;?> <a href="admin.php?w=im&d=ad"><span class="btn btn-success btn-sm"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->add;?></span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<?php }?>
|
||||
|
||||
<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->game;?></th>
|
||||
<th>ID</th>
|
||||
<th><?php echo $sprache->abkuerz;?></th>
|
||||
<th><?php echo $gsprache->action;?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th><?php echo $sprache->game;?></th>
|
||||
<th>ID</th>
|
||||
<th><?php echo $sprache->abkuerz;?></th>
|
||||
<th><?php echo $gsprache->action;?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
280
web/template/adminlte/admin/admin_images_md.tpl
Normal file
280
web/template/adminlte/admin/admin_images_md.tpl
Normal file
@ -0,0 +1,280 @@
|
||||
<section class="content-header">
|
||||
<h1><?php echo $gsprache->template;?></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
|
||||
<li><a href="admin.php?w=im"><?php echo $gsprache->template;?></a></li>
|
||||
<li><?php echo $gsprache->mod;?></li>
|
||||
<li class="active"><?php echo $description;?></li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-11">
|
||||
<div class="box box-info">
|
||||
|
||||
<form role="form" action="admin.php?w=gs&d=md&id=<?php echo $id;?>&r=im" 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="box-body">
|
||||
|
||||
<div class="form-group<?php if(isset($errors['updates'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputUpdates">Autoupdate</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputUpdates" name="updates">
|
||||
<option value="1">Vendor + Rsync/FTP Sync</option>
|
||||
<option value="2" <?php if ($updates==2) echo 'selected="selected"'; ?>>Vendor</option>
|
||||
<option value="4" <?php if ($updates==4) echo 'selected="selected"'; ?>>Rsync/FTP Sync</option>
|
||||
<option value="3" <?php if ($updates==3) echo 'selected="selected"'; ?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['steamgame'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputSteamGame"><?php echo $sprache->steam;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputSteamGame" name="steamgame">
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
<option value="S" <?php if ($steamgame=="S") echo 'selected="selected"'; ?>>SteamCmd</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputSteamAppID">Steam appID</label>
|
||||
<div class="controls"><input class="form-control" id="inputSteamAppID" type="text" name="appID" value="<?php echo $appID;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['gamemod'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputMods"><?php echo $sprache->mods;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputMods" name="gamemod" onchange="SwitchShowHideRows(this.value,'switch',1);">
|
||||
<option value="N"><?php echo $gsprache->no;?></option>
|
||||
<option value="Y" <?php if($gamemod=='Y') echo 'selected="selected"'; ?>><?php echo $gsprache->yes;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="Y switch form-group <?php if($gamemod=='N') echo 'display_none'; ?>">
|
||||
<label class="control-label" for="inputMods2"><?php echo $sprache->mods2;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputMods2" name="gamemod2">
|
||||
<option></option>
|
||||
<?php foreach ($table as $table_row) { ?>
|
||||
<option value="<?php echo $table_row['shorten'];?>" <?php if($table_row['shorten']==$gamemod2) echo 'selected="selected"'; ?>><?php echo $table_row['shorten'];?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputProtect"><?php echo $gssprache->protect;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputProtect" name="protected">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($protected=="N") echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputWorkshop">Steam Workshop</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputWorkshop" name="workShop">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($workShop=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputRamLimited"><?php echo $sprache->ramLimited;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputRamLimited" name="ramLimited">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($ramLimited=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputFtpAccess"><?php echo $sprache->ftpAccess;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputFtpAccess" name="ftpAccess">
|
||||
<option value="Y"><?php echo $gsprache->yes;?></option>
|
||||
<option value="N" <?php if($ftpAccess=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputOS"><?php echo $rsprache->os;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputOS" name="os">
|
||||
<option value="L">Linux</option>
|
||||
<option value="W" <?php if($os=='W') echo 'selected="selected"';?>>Windows</option>
|
||||
<option value="B" <?php if($os=='B') echo 'selected="selected"';?>>Linux + Windows</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['shorten'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputShorten"><?php echo $sprache->abkuerz;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputShorten" type="text" name="shorten" value="<?php echo $shorten;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputGameQ">GameQ</label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputGameQ" name="gameq">
|
||||
<option value="">Other</option>
|
||||
<?php foreach ($protocols as $k=>$v){ ?>
|
||||
<option value="<?php echo $k;?>" <?php if($k==$gameq) echo 'selected="selected"';?>><?php echo $v;?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputDesc"><?php echo $sprache->description;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputDesc" type="text" name="description" value="<?php echo $description;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="L form-group switch <?php if($os=='W') echo 'display_none';if(isset($errors['gamebinary'])) echo 'error';?>">
|
||||
<label class="control-label" for="inputBin">Linux <?php echo $sprache->bin;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBin" type="text" name="gamebinary" value="<?php echo $gamebinary;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="W form-group switch <?php if($os=='L') echo 'display_none';if(isset($errors['gamebinaryWin'])) echo 'error';?>">
|
||||
<label class="control-label" for="inputBinWin">Windows <?php echo $sprache->bin;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBinWin" type="text" name="gamebinaryWin" value="<?php echo $gamebinaryWin;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputBinDir"><?php echo $sprache->bin_folder;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputBinDir" type="text" name="binarydir" value="<?php echo $binarydir;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputModfolder"><?php echo $sprache->mod;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputModfolder" type="text" name="modfolder" value="<?php echo $modfolder;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputMap"><?php echo $sprache->startmap;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputMap" type="text" name="map" value="<?php echo $map;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputMapgroup"><?php echo $sprache->startmapgroup;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputMapgroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPortMax"><?php echo $sprache->portMax;?></label>
|
||||
<div class="controls">
|
||||
<select class="form-control" id="inputPortMax" name="portMax">
|
||||
<option>1</option>
|
||||
<option <?php if($portMax==2) echo 'selected="selected"'; ?>>2</option>
|
||||
<option <?php if($portMax==3) echo 'selected="selected"'; ?>>3</option>
|
||||
<option <?php if($portMax==4) echo 'selected="selected"'; ?>>4</option>
|
||||
<option <?php if($portMax==5) echo 'selected="selected"'; ?>>5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPortStep"><?php echo $sprache->portStep;?></label>
|
||||
<div class="controls"><input class="form-control" id="inputPortStep" type="text" name="portStep" value="<?php echo $portStep;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort1"><?php echo $sprache->port;?> 1</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort1" type="text" name="portOne" value="<?php echo $portOne;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort2"><?php echo $sprache->port;?> 2</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort2" type="text" name="portTwo" value="<?php echo $portTwo;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort3"><?php echo $sprache->port;?> 3</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort3" type="text" name="portThree" value="<?php echo $portThree;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort4"><?php echo $sprache->port;?> 4</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort4" type="text" name="portFour" value="<?php echo $portFour;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputPort5"><?php echo $sprache->port;?> 5</label>
|
||||
<div class="controls"><input class="form-control" id="inputPort5" type="text" name="portFive" value="<?php echo $portFive;?>"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group<?php if(isset($errors['cmd'])) echo ' error';?>">
|
||||
<label class="control-label" for="inputCmd"><?php echo $sprache->start;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputCmd" rows="5" name="cmd"><?php echo $cmd;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputConfigs"><?php echo $sprache->configs;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputConfigs" rows="5" name="configs"><?php echo $configs;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputConfigsEdit"><?php echo $sprache->configedit;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputConfigsEdit" rows="5" name="configedit"><?php echo $configedit;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputModsCmd"><?php echo $sprache->modcmds;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputModsCmd" rows="5" name="modcmds"><?php echo $modcmds;?></textarea></div>
|
||||
</div>
|
||||
|
||||
<!--<div class="form-group">
|
||||
<label class="control-label" for="inputIptables"><?php echo $sprache->iptables;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputIptables" rows="5" name="iptables"><?php echo $iptables;?></textarea></div>
|
||||
</div>-->
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputProtectedSaveCFGs"><?php echo $sprache->protectedSaveCFGs;?></label>
|
||||
<div class="controls"><textarea class="form-control" id="inputProtectedSaveCFGs" rows="5" name="protectedSaveCFGs"><?php echo $protectedSaveCFGs;?></textarea></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"> <?php echo $gsprache->save;?></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onDomReady = initReady;
|
||||
|
||||
function initReady(fn) {
|
||||
if(document.addEventListener) {
|
||||
document.addEventListener("DOMContentLoaded", fn, false);
|
||||
} else {
|
||||
document.onreadystatechange = function() {
|
||||
readyState(fn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function readyState(func) {
|
||||
if(document.readyState == "interactive" || document.readyState == "complete") {
|
||||
func();
|
||||
}
|
||||
}
|
||||
|
||||
window.onDomReady(onReady); function onReady() {
|
||||
SwitchShowHideRows('init_ready');
|
||||
}
|
||||
</script>
|
@ -10,7 +10,7 @@
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-11">
|
||||
<div class="box box-success">
|
||||
|
||||
<form role="form" action="admin.php?w=ma&d=ad&id=<?php echo $id;?>&r=ma" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post" >
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-11">
|
||||
<div class="box box-danger">
|
||||
|
||||
<form role="form" action="admin.php?w=ma&d=dl&id=<?php echo $id;?>&r=ma" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post" >
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<?php if($reseller_id==0){ ?>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-11">
|
||||
<?php echo $gsprache->gameroot;?> <a href="admin.php?w=ro&d=ad"><span class="btn btn-success btn-sm"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->add;?></span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
1
web/template/adminlte/ajax/ajax_admin_buttons_ex.tpl
Normal file
1
web/template/adminlte/ajax/ajax_admin_buttons_ex.tpl
Normal file
@ -0,0 +1 @@
|
||||
<a href="admin.php?w=<?php echo $what;?>&d=<?php echo $do;?>&id=<?php echo $id;?>"><span class="btn btn-primary btn-sm"><i class="fa fa-download"></i> <?php echo $description;?></span></a>
|
Loading…
x
Reference in New Issue
Block a user