include "config.php"; mysql_connect( "$dbhost", "$dbuser", "$dbpass") or die("$wort_konnte_datenbankverbindung_nicht_herstellen"); @mysql_select_db( "$dbname") or die("$wort_datenabank_nicht_gefunden"); $result=mysql_query("SELECT soll_level from $tabledownload where id='$_GET[fileid]'"); $row = mysql_fetch_array($result); $soll_level=$row["soll_level"]; require "login.php"; include "header.inc.php"; if (check_rights($fileid)){ $result=mysql_query("SELECT * from $tabledownload where id='$_GET[fileid]'"); $row = mysql_fetch_array($result); $downloadfile=$row["downloadfile"]; $soll_level=$row["soll_level"]; $downloads=$row["downloads"]; $downloads++ ; mysql_query("update $tabledownload set downloads='$downloads' where id = '$_GET[fileid]'"); mysql_query("update $tableuser set downloads=downloads+1 where uin='$_SESSION[uin]'"); ?> echo "
$wort_vielen_dank_fuer_ihr_interesse. $wort_falls_der_download_nicht $wort_hier |
$wort_zurueck |
Zutritt nicht erlaubt !!"; } include "footer.inc.php"; ?>