".$_SERVER ['REMOTE_ADDR'].""; $host = gethostbyaddr ($_SERVER ['REMOTE_ADDR']); $ref_link = $_SERVER['HTTP_USER_AGENT']; $q_link = $_SERVER['QUERY_STRING']; $fp = fopen("aufruf.txt", "a"); $dd = date("d.m.Y-G:i:s",time()); fputs($fp,"-----------------------------\r\n"); fputs($fp,$dd."\r\n"); $data = "Host: $host - IP:$ip - $ref_link - $q_link"; fputs($fp,$data."\r\n"); //fputs($fp,"-----------------------------\r\n"); fclose($fp); if($_REQUEST[reflect_base]) {echo "Hands off hackers!"; exit;} if(isset($_GET['noten_pdf'])){ file_put_contents("noten.txt",$dd." - ". $data."\n\n",FILE_APPEND ); $akt_type ="application/pdf"; $size = filesize("archiv/notenarchiv.pdf"); header("Content-Type:$akt_type"); header("Content-disposition: attachment; filename=notenarchiv.pdf"); header("Pragma: no-cache"); header("Expires: 0"); header("Content-length: ".$size); //readfile("tmp/".$dat['datei']); readfile("archiv/notenarchiv.pdf"); exit; } if(isset($_GET['demo_mac'])){ file_put_contents("noten.txt",$dd." - ". $data."\n\n",FILE_APPEND ); $akt_type ="application/zip"; $size = filesize("archiv/musiknoten_archiv_demo.zip"); header("Content-Type:$akt_type"); header("Content-disposition: attachment; filename=musiknoten_archiv_demo.zip"); header("Pragma: no-cache"); header("Expires: 0"); header("Content-length: ".$size); //readfile("tmp/".$dat['datei']); readfile("archiv/musiknoten_archiv_demo.zip"); exit; } include("config/config.inc.php"); include ("library/kopf.php"); include("library/class.phpmailer.php"); //debug($_REQUEST); $query = "select * from $pref{$tab['news']} order by datum desc limit 0,5"; $db1->query($query); $news = file_get_contents("templates/v_news.tpl"); $archiv = "Newsarchiv"; $i =0; while ($db1->nr()) { $tmp = $news; $datum = $db1->inhalt("datum"); $new_nr = $db1->inhalt("new_nr"); $titel = $db1->inhalt("titel"); $text = $db1->inhalt("text"); $text = text_kuerzen($text,60); $text = nl2br($text); $detail = "Details$archiv"; $tmp = str_replace("{datum}",$pers->d_a_d($datum),$tmp); $tmp = str_replace("{titel}",$titel,$tmp); $tmp = str_replace("{detail}",$detail,$tmp); $tmp = str_replace("{text}",$text."...",$tmp); $n_aus .= $tmp; $i++; } //echo $tmp; include("templates/kopf.tpl"); include("nav_h.inc.php"); switch ($_REQUEST['seite']) { case "projekt": include("projekt.inc.php"); break; case "noten": include("projekt.inc.php"); break; case "csv": include("projekt.inc.php"); break; case "ftp": include("projekt.inc.php"); break; case "kalender": include("projekt.inc.php"); break; case "geb": include("projekt.inc.php"); break; case "bingo": include("projekt.inc.php"); break; case "ibgeasy": include("projekt.inc.php"); break; case "sms": include("projekt.inc.php"); break; case "rechnung": include("projekt.inc.php"); break; case "postkarte": include("projekt.inc.php"); break; case "qr": include("projekt.inc.php"); break; case "3d": include("projekt.inc.php"); break; case "stadt": include("projekt.inc.php"); break; case "foto": include("projekt.inc.php"); break; case "verschieden": include("projekt.inc.php"); break; case "fischerei": include("projekt.inc.php"); break; case "detail": include("detail.inc.php"); break; case "archiv": include("archiv.inc.php"); break; case "leistung": include("leistung.inc.php"); break; case "internet": include("leistung.inc.php"); break; case "cbt": include("leistung.inc.php"); break; case "mobil": include("leistung.inc.php"); break; case "fotografie": include("leistung.inc.php"); break; case "aurahysil": include("leistung.inc.php"); break; case "referenz": include("referenz.inc.php"); break; case "impressum": include("impressum.inc.php"); break; case "kontakt": include("kontakt.inc.php"); break; case "cms": include("cms.inc.php"); break; default: include("start.inc.php"); break; } include("fuss.inc.php"); ?>