Commit d8762f8b authored by Eric Laufer's avatar Eric Laufer

die letzten fehler

es sind die letzten fehler die gefunden und beseitigt wurden :-)
parent 3730c1c9
<FilesMatch "(\.htaccess)">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/(adminforce/index\.php|adminforce/dashboard\.css)?$ [NC]
RewriteCond %{REQUEST_URI} !^/img(/|$) [NC]
RewriteRule ^.*$ /adminforce/index.php [L,R=301]
\ No newline at end of file
RewriteRule ^.*$ /adminforce/index.php [L,R=301]
......@@ -17,7 +17,6 @@ class mver{
public function set_art($art){
if($art == 'user'){ $this->art = M_US; $this->artB = B_US;}
if($art == 'admin'){ $this->art = M_AD; $this->artB = B_AD;}
echo $this->art;
}
public function select($id){
......@@ -84,7 +83,6 @@ class mver{
$this->array[$key] = $this->db->escape($value);
}
}
print_r($this->array);
}
public function delete($post){
......
<?php
$menue = Classloader('mver',true);
if(isset($_POST['run']['link_admin_update'])){
if(isset($_POST['run']['link_menu_admin_update'])){
$menue->set_art('admin');
}
if(isset($_POST['run']['link_user_update'])){
if(isset($_POST['run']['link_menu_user_update'])){
$menue->set_art('user');
}
$menue->save($_POST);
......
......@@ -206,6 +206,7 @@ class Verdienen{
public function ReloadZahlung($Abfrage){
$aus = array();
$aus['wartezeit'] = 0;
$bilanz = Classloader('bilanz');
$reload = $this->db->num_rows("SELECT * FROM ". PREFIX . RELOAD ." WHERE tan = '$this->tan' AND bis > '". time() ."' AND (uid = '". $this->session['uid'] ."' OR ip = '$this->ip' ) ");
$forced = $this->db->get_row("SELECT * FROM ". PREFIX . WERBUNG ." WHERE tan = '$this->tan' ",true);
......
<?php
session_start();
require_once('lib/functions.lib.php');
require_once('lib/db_config.php');
require_once('lib/datenbank.inc.php');
$datenbank = new DB;
$grundconfig = $datenbank->get_row("SELECT * FROM ". PREFIX . CONFIG ." ",true);
require_once('lib/functions.lib.php');
require_once('lib/session.lib.php');
$_GET['uid'] = (int)$_GET['uid'];
$_GET['tan'] = addslashes ($_GET['tan']);
$mail = $datenbank->get_row("SELECT ziel FROM ". PREFIX . WERBUNG ." WHERE tan='". $datenbank->escape($_GET['tan'])."' LIMIT 1",true);
$grundconfig = $datenbank->get_row("SELECT * FROM ". PREFIX . CONFIG ." ",true);
echo '
<!DOCTYPE HTML>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment