Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • isaack/VMS-SUEE_2.0
  • ztk.me/VMS-z
2 results
Show changes
Showing
with 596 additions and 5 deletions
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['STARTV']['VERDI'];?></label>
<input type="text" class="form-control" name="verdienst_start" value="<?php echo $grundconfig->verdienst_start;?>">
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['STARTV']['VERDIN'];?></small>
</div>
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['STARTV']['RELOAD'];?></label>
<input type="text" class="form-control" name="reload_start" value="<?php echo $grundconfig->reload_start;?>">
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['STARTV']['RELOADN'];?></small>
</div>
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['STARTV']['LOG'];?></label>
<select name="start_log" class="form-control">
<option value="0" <?php if($grundconfig->start_log == 0) echo 'selected="selected"';?>>deaktiviert</option>
<option value="1" <?php if($grundconfig->start_log == 1) echo 'selected="selected"';?>>aktiviert</option>
</select>
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['STARTV']['POPN'];?></small>
</div>
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['STARTV']['POP'];?></label>
<select name="popup_start" class="form-control">
<option value="0" <?php if($grundconfig->popup_start == 0) echo 'selected="selected"';?>>deaktiviert</option>
<option value="1" <?php if($grundconfig->popup_start == 1) echo 'selected="selected"';?>>aktiviert</option>
</select>
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['STARTV']['POPN'];?></small>
</div>
\ No newline at end of file
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header"><h2><?php echo GLOBALSETTING['SETTING']['GRUNDW']['GRUND'];?></h2></div>
<div class="card-body">
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['GRUNDW']['NAME'];?></label>
<input type="text" class="form-control" name="waehrung" value="<?php echo $grundconfig->waehrung;?>">
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUNDW']['NOTICE'];?></small>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card">
<div class="card-header"><h2><?php echo GLOBALSETTING['SETTING']['GRUNDZ']['GRUND'];?></h2></div>
<div class="card-body">
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['GRUNDZ']['STATUS'];?></label>
<select name="waehrung_zwei" class="form-control">
<option value="0" <?php if($grundconfig->waehrung_zwei == 0) echo 'selected="selected"';?>>deaktiviert</option>
<option value="1" <?php if($grundconfig->waehrung_zwei == 1) echo 'selected="selected"';?>>aktiv</option>
</select>
</div>
<div class="form-group">
<label><?php echo GLOBALSETTING['SETTING']['GRUNDZ']['NAME'];?></label>
<input type="text" class="form-control" name="waehrung" value="<?php echo $grundconfig->waehrung;?>">
<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUNDZ']['NOTICE'];?></small>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
<?php
$cron = Classloader('crons',true);
head("Crons (Übersicht und manuell Start)");
echo $cron->liste();
foot(); ?>
......@@ -10,9 +10,10 @@ if(!is_writable('backup')){
$alledateien = scandir('backup');
$ausgabe = '';
$i = 1;
foreach ($alledateien as $datei) {
if ($datei != "." && $datei != ".." && $datei != "index.html" && $datei != ".htaccess"){
$datum = str_replace("dump_".$db_base."_","",$datei);
$datum = str_replace("dump_". DB_BASS ."_","",$datei);
$datum = str_replace(".sql","",$datum);
$datum = str_replace("_"," ",$datum);
$inhalt = file_get_contents('backup/'.$datei);
......@@ -31,8 +32,8 @@ foreach ($alledateien as $datei) {
<form method="post" action="">
<input type="hidden" name="datei" value="'. $datei .'">
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#'.$i.'_'.$i.'">Inhalt Anzeigen</button>
<button type="submit" name="backup_loeschen" class="btn btn-danger">Backup l&ouml;schen</button>
<button type="submit" name="backup_wiederherstellen" class="btn btn-success">Backup wiederherstellen</button>
<button type="submit" name="run[backup_loeschen]" class="btn btn-danger">Backup l&ouml;schen</button>
<button type="submit" name="run[backup_wiederherstellen]" class="btn btn-success">Backup wiederherstellen</button>
</form>
</div>
......@@ -44,7 +45,7 @@ foreach ($alledateien as $datei) {
<h4 class="modal-title" id="meinModalLabel">Inhalt des Backups</h4>
</div>
<div class="modal-body">
<code>'. nl2br(entsch($inhalt)) .'</code>
<code>'. nl2br($inhalt) .'</code>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Schließen</button>
......@@ -64,4 +65,4 @@ foreach ($alledateien as $datei) {
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<?php echo $ausgabe;?>
</div>
\ No newline at end of file
</div>
<?php
$menue = Classloader('mver',true);
$menue->set_art('admin');
head("Men&uuml;verwaltung Adminbereich");
echo '<div class="text-center"><button class="btn btn-info" data-toggle="modal" data-target="#LinkNew">Neuen Link hinzuf&uuml;gen</button></div><hr>';
echo $menue->NewListen();
echo $menue->listen();
?>
<div class="modal fade" id="LinkNew" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<form method="post" action="">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Neuen Link eintragen</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<table class="table">
<tr>
<td>Pfad zur Datei</td>
<td>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">page/</span>
</div>
<input type="text" name="link" class="form-control" id="beispielFeldSumme" placeholder="Link zur Datei">
<div class="input-group-append">
<span class="input-group-text">.php</span>
</div>
</div>
</td>
</tr>
<tr>
<td>Name des Links<br><small>(F&uuml;r User sichtbar)</small></td>
<td><input type="text" class="form-control" name="name"></td>
</tr>
<tr>
<td>Box in der der Link stehen soll</td>
<td>
<select class="form-control" name="box" id="box" onchange="MenueAuswahl('admin');">';
<?php echo $menue->selectBox(0);?>
</select>
</td>
</tr>
<tr id="MenueInputGroupAdmin"></tr>
<tr>
<td>Ordnungszahl f&uuml;r Box</td>
<td><input type="text" class="form-control" name="ordnung"></td>
</tr>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<input type="submit" class="btn btn-success" name="run[menue_neu_save_admin]" value="Speichern">
</div>
</div>
</form>
</div>
</div>
<?php
require_once('lib/class/mver.class.php');
$menue = new mver;
$menue->set_art('user');
head("Men&uuml;verwaltung Userbereich");
echo '<div class="text-center"><button class="btn btn-info" data-toggle="modal" data-target="#LinkNew">Neuen Link hinzuf&uuml;gen</button></div><hr>';
echo $menue->NewListen();
echo $menue->listen();
?>
<div class="modal fade" id="LinkNew" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<form method="post" action="">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Neuen Link eintragen</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<table class="table">
<tr>
<td>Pfad zur Datei</td>
<td>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">page/</span>
</div>
<input type="text" name="link" class="form-control" id="beispielFeldSumme" placeholder="Link zur Datei">
<div class="input-group-append">
<span class="input-group-text">.php</span>
</div>
</div>
</td>
</tr>
<tr>
<td>Name des Links<br><small>(F&uuml;r User sichtbar)</small></td>
<td><input type="text" class="form-control" name="name"></td>
</tr>
<tr>
<td>Box in der der Link stehen soll</td>
<td>
<select class="form-control" name="box" id="box" onchange="MenueAuswahl('user');">';
<?php echo $menue->selectBox(0);?>
</select>
</td>
</tr>
<tr id="MenueInputGroupAdmin"></tr>
<tr>
<td>Ordnungszahl f&uuml;r Box</td>
<td><input type="text" class="form-control" name="ordnung"></td>
</tr>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<input type="submit" class="btn btn-success" name="run[menue_neu_save_user]" value="Speichern">
</div>
</div>
</form>
</div>
</div>
<?php
$Class = Classloader('multiKonten',true);
$row = $Class->ListeMultiKonten();
head("Liste aller Multikonten");
?>
<table class="table table-hover" id="DataTables">
<thead>
<?php echo $row['head'];?>
</thead>
<tbody>
<?php echo $row['body'];?>
</tbody>
</table>
<?php foot();?>
<script>
$( document ).ready(function() {
$('#DataTables').DataTable({
'paging' : true,
'lengthChange': false,
'searching' : true,
'ordering' : true,
'info' : true,
'autoWidth' : false,
"language": {
"lengthMenu": "Display _MENU_ Einträge pro Seite",
"zeroRecords": "Nichts gefunden Entschuldigung",
"info": "Zeige Seite _PAGE_ von _PAGES_",
"infoEmpty": "Keine Einträge vorhanden",
"infoFiltered": "(filtered from _MAX_ total records)",
"paginate": {
"first": "erste",
"last": "letzte",
"next": "Weiter",
"previous": "Zur&uuml;ck"
}
},
"order": [[ 0, "desc" ]]
});
});
</script>
\ No newline at end of file
<div class="alert alert-info">
Hier hast du die M&ouml;glichkeit die MySQL Daten von deinen gekauften Addons einfach und bequem in die Datenbank einzuf&uuml;gen.<br>
Durch dieses Script wird im gleichen Moment auch der Prefix auf dein System eingestellt.
<hr>
Um nun die Daten in die Datenbank zu laden, kannst du einmal den Inhalt der Datei in das Textfeld kopieren oder die komplette Datei hochladen.<br>
<b>!!!ACHTUNG!!! Es werden vom System nur .txt oder .mysql Datein erkannt.</b>
</div>
<form method="post" action="" enctype="multipart/form-data">
<div class="form-group">
<label for="exampleFormControlFile1">Datei w&auml;hlen</label>
<input type="file" class="form-control-file" name="mysqldatei">
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">MySQL Befehl</label>
<textarea class="form-control" name="mysqltxt" rows="3"></textarea>
</div>
<br>
<div class="alert alert-danger text-center">
<b>!!!ACHTUNG!!! Es erfolgt keinerlei Pr&uuml;fung des MySQL-Befehls</b>
</div>
<input type="submit" name="run[MySQL]" value="Ausf&uuml;hren" class="btn btn-success btn-block">
</form>
<?php
head("Webseiteneinstellungen"); ?>
<div>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li role="presentation" class="nav-item"><a href="#start" class="nav-link active" role="tab" data-toggle="tab">Seiteneinstellung</a></li>
<li role="presentation" class="nav-item"><a href="#waehrung" class="nav-link" role="tab" data-toggle="tab">W&auml;hrung</a></li>
<li role="presentation" class="nav-item"><a href="#bettel" class="nav-link" role="tab" data-toggle="tab">Bettellink</a></li>
<li role="presentation" class="nav-item"><a href="#startseite" class="nav-link" role="tab" data-toggle="tab">Startseite</a></li>
<li role="presentation" class="nav-item"><a href="#nutzer" class="nav-link" role="tab" data-toggle="tab">Nutzer</a></li>
<li role="presentation" class="nav-item"><a href="#smtp" class="nav-link" role="tab" data-toggle="tab">SMTP</a></li>
<li role="presentation" class="nav-item"><a href="#ref" class="nav-link" role="tab" data-toggle="tab">Refeinstellung</a></li>
<li role="presentation" class="nav-item"><a href="#admin_pw" class="nav-link" role="tab" data-toggle="tab">Admin PW</a></li>
</ul>
<br>
<div class="tab-content">
<div role="tabpanel" class="tab-pane fade show active" id="start">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/sitesetting.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="waehrung">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/waehrung.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="W&auml;hrung Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="bettel">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/betteln.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="Bettellink Einstellung Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="startseite">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/startseite.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="Startseiten Einstellung Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="nutzer">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/nutzer.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="Nutzer Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="smtp">
<form action="" method="post">
<?php require('page/interfacedaten/config_include/smtp.php');?>
<input type="submit" name="run[GrunConfigUpdate]" value="SMTP Speichern" class="btn btn-default">
</form>
</div>
<div role="tabpanel" class="tab-pane" id="ref">
<?php require('page/interfacedaten/config_include/ref.php');?>
</div>
<div role="tabpanel" class="tab-pane" id="admin_pw">
<?php require('page/interfacedaten/config_include/admin_pw.php');?>
</div>
</div>
</div>
<?php foot(); ?>
<?php
$Class = Classloader('start',true);
?>
<table class="table table-striped" id="DataTable">
<thead>
<tr>
<th>#</th>
<th>UID</th>
<th>Datum</th>
<th>Betrag</th>
</tr>
</thead>
<tbody>
<?php echo $Class->Liste();?>
</tbody>
</table>
\ No newline at end of file
<?php
require_once('lib/class/news.class.php');
$news = new NEWS;
if (!isset($titel)) $titel = '';
if (!isset($news)) $news = '';
if (!isset($id)) $id = '0';
if (!isset($_POST['auffuehren'])) $_POST['auffuehren'] = '0';
if (!isset($_POST['load'])) $_POST['load'] = '0';
if (!isset($_POST['loader'])) $_POST['loader'] = '0';
if (isset($_POST['load']) && $_POST['load'] == 'Editieren') {
$id = htmlspecialchars($_POST['id']);
$edit = $datenbank->get_row("SELECT * FROM " . PREFIX . NEWS . " WHERE id ='" . $datenbank->escape($id) . "'",true);
$titel = $edit['titel'];
$news = $edit['news'];
$id = $edit['id'];
}
head("News editieren / löschen");
echo $news->edit();
foot();
head("News schreiben");
?>
<form action="" method="post">
<div class="form-group">
<label>Newstitel</label>
<input type="text" name="titel" class="form-control" placeholder="Newstitel" required>
</div>
<div class="form-group">
<label>Newstext</label>
<textarea class="ckeditor" name="news" rows="10" required></textarea>
</div>
<center>
<div class="btn-group" role="group" aria-label="Basic example">
<input type="Submit" class="btn btn-info" name="run[news4]" value="Seite">
<input type="Submit" class="btn btn-warning" name="run[news2]" value="Newsletter und Seite">
<input type="Submit" class="btn btn-light" name="run[news3]" value="Newsletter">
</div>
</center>
</form>
<?php foot();?>
<div class="row">
<div class="col-xl-3 col-sm-6">
<div class="card card-mini mb-4">
<div class="card-body">
<h2 class="mb-1">71,503</h2>
<p>Online Signups</p>
<div class="chartjs-wrapper">
<canvas id="barChart"></canvas>
</div>
</div>
</div>
</div>
<div class="col-xl-3 col-sm-6">
<div class="card card-mini mb-4">
<div class="card-body">
<h2 class="mb-1">9,503</h2>
<p>New Visitors Today</p>
<div class="chartjs-wrapper">
<canvas id="dual-line"></canvas>
</div>
</div>
</div>
</div>
<div class="col-xl-3 col-sm-6">
<div class="card card-mini mb-4">
<div class="card-body">
<h2 class="mb-1">71,503</h2>
<p>Monthly Total Order</p>
<div class="chartjs-wrapper">
<canvas id="area-chart"></canvas>
</div>
</div>
</div>
</div>
<div class="col-xl-3 col-sm-6">
<div class="card card-mini mb-4">
<div class="card-body">
<h2 class="mb-1">9,503</h2>
<p>Total Revenue This Year</p>
<div class="chartjs-wrapper">
<canvas id="line"></canvas>
</div>
</div>
</div>
</div>
</div>
<?php
if($_SESSION['admin'] == 1){
require_once('lib/class/userliste.class.php');
$User = new USERLISTE;
$UserStat = $User->startseite();
$Chart = $User->Chart();
head("Bilanz der letzten 14 Tage");
echo '<canvas class="my-4" id="BilanzChart" width="100%" height="10"></canvas>';
foot();
head("");
echo '
<div class="row">
<div class="col-md-3">
<table class="table table-striped">
<tr>
<td width="55%">Angemeldete User</td>
<td align="right">'.@number_format($UserStat->kd_uid,0,",",".").'&nbsp;&nbsp;</td>
</tr>
<tr>
<td>Gesamtguthaben</td>
<td align="right">'.@number_format($UserStat->kd_kontostand,2,",",".").'&nbsp;&nbsp;</td>
</tr>
<tr>
<td width="55%">Guth. pro User</td>
<td align="right">'.@number_format($UserStat->kd_kontostand / $UserStat->kd_uid,2,",",".").'&nbsp;&nbsp;</td>
</tr>
</table>
</div>
</div>
';
foot();
echo '</td>
</tr></table>';
}
?>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
<script>
var ctx = document.getElementById("BilanzChart");
var myChart = new Chart(ctx, {
type: 'line',
data: {
labels: [<?php echo $Chart['label'];?>],
datasets: [{
data: [<?php echo $Chart['ges'];?>],
lineTension: 0,
backgroundColor: 'transparent',
borderColor: '#007bff',
borderWidth: 4,
pointBackgroundColor: '#007bff'
}]
},
options: {
scales: {
yAxes: [{
ticks: {
beginAtZero: false
}
}]
},
legend: {
display: false,
}
}
});
</script>
<?php
$texte = Classloader('texte',true);
$texteAus = $texte->AWerbung();
head("Alternativwerbung bearbeiten (html erlaubt!)");?>
<div align="center">
<br />
<form action="" method="post">
<b>Startseitenwerbung</b><br>
<textarea name="start" class="form-control"><?php echo base64_decode($texteAus->start);?></textarea><br>
<br>
<b>Startseitenwerbung</b><br>
<textarea name="start_popup" class="form-control"><?php echo base64_decode($texteAus->start_popup);?></textarea><br>
<br>
<b>Bettelwerbung</b><br>
<textarea name="bettelwerbung" class="form-control"><?php echo base64_decode($texteAus->bettelwerbung);?></textarea><br>
<br>
<input type="Submit" name="run[updaten_alternativwerbung]" value="Speichern">
</form>
</div>
<?php foot();?>
<?php
$texte = Classloader('texte',true);
$aus = $texte->Ausgabe();
?>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<?php echo $aus['kopf'];?>
</ul>
<br>
<div class="tab-content" id="myTabContent">
<?php echo $aus['body'];?>
</div>
<?php
require_once('lib/class/userliste.class.php');
$doppel = new USERLISTE;
head ("RefSchleifen-Pr&uuml;fung");
echo $doppel->Refschleifen();
foot ();
?>
<?php
$user = Classloader('userliste',true);
$user->set_uid($_GET['uid']);
$daten = $user->userinfo();
?>
<ul class="nav nav-tabs">
<li class="nav-item"><a class="nav-link active" href="#start" role="tab" data-toggle="tab">Start</a></li>
<li class="nav-item"><a class="nav-link" href="#buchungsliste" role="tab" data-toggle="tab">Buchungsliste</a></li>
<li class="nav-item"><a class="nav-link" href="#bettelref" role="tab" data-toggle="tab">Bettel Refferer</a></li>
<li class="nav-item"><a class="nav-link" href="#notizen" role="tab" data-toggle="tab">Notizen</a></li>
<li class="nav-item"><a class="nav-link" href="#berechtigung" role="tab" data-toggle="tab">Berechtigungen</a></li>
<li class="nav-item"><a class="nav-link" href="?content=/usersystem/liste" class="btn btn-default">Zur&uuml;ck</a></li>
</ul>
<hr>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="start">
<?php require_once(__dir__ .'/user_include/allgemeines.php'); ?>
</div>
<div role="tabpanel" class="tab-pane" id="buchungsliste">
<?php require_once(__dir__ .'/user_include/buchungen.php');?>
</div>
<div role="tabpanel" class="tab-pane" id="bettelref">
<?php require_once(__dir__ .'/user_include/bet_ref.php');?>
</div>
<div role="tabpanel" class="tab-pane" id="notizen">
<?php require_once(__dir__ .'/user_include/notizen.php');?>
</div>
<div role="tabpanel" class="tab-pane" id="berechtigung">
<?php require_once(__dir__ .'/user_include/rechte.php');?>
</div>
</div>
<?php
require_once('lib/class/userliste.class.php');
$user = new USERLISTE;
head("Doppelte IP Adressen");
echo $user->DoppelAcc();
if(isset($_GET['ip']) && $_GET['ip'] != ''){
echo $user->DoppelAccIP($_GET['ip']);
}
foot();
echo '<hr>';
head("Doppelte Passwörter");
echo $user->DoppelPass();
if(isset($_GET['md5']) && $_GET['md5'] != ''){
echo $user->DoppelPassList($_GET['md5']);
}
foot();
?>