Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Unbenanntes Dokument</title></head><?mysql_connect("localhost","root","");mysql_select_db("mediaran_de");$sid=isset($_GET["sid"])?$_GET["sid"]:0;if (!$sid){?><font size="+6" color="red">Keine Beitrags ID übergeben!</font><?}else{$sql="UPDATE gaestebuch_eintraege SET show_entry=1 WHERE md5(text)='$sid' AND site='mediraran.de'";$res=mysql_query($sql);if ($res){?><font size="+6" color="green">Beitrag erfolgreich freigeschaltet!</font><?}else{?><font size="+6" color="red">Beitrag konnte nicht freigeschaltet werden!</font><? echo mysql_error()."<br>$sql";?><?}}?><body></body></html>