include("../inc/inc.php"); include("./images.php"); include("../inc/user_settings.php"); $rssDate="Sun, 03 Jun 2007 18:47:45 CEST"; $usedate=true; $useauthor=false; $usedesc=true; $userating=true; $usecomments=true; $usecontrols=true; $title="Theresa und co in Schwarzenberg"; if(($_SESSION["admin"])&&(isset($_REQUEST["edit"]))){ $show=explode("/",$_SERVER["PHP_SELF"]); $show=$show[(count($show)-2)]; $_SESSION["gallery"]=array(); $_SESSION["slides"]=array(); $_SESSION["gallery"]["ref"]=$show; header("location: ../admin.php"); } if(isset($_REQUEST["makecomment"])){ if($_REQUEST["rstr"]!=$_SESSION["RSTR"]){ $error="Please enter the anti-spam code as it appears."; }else{ if(($_REQUEST["name"]=="")||($_REQUEST["comment"]=="")){ $error="Please complete Name and Comment fields in order to leave a comment."; }elseif(substr_count($_REQUEST["comment"], 'http') > 2){ $error="Limited to one link per comment to help combat spam!"; }elseif(substr_count($_REQUEST["comment"], '[URL=') > 0){ $error="Potential spam detected!"; }else{ // update individual comments file $rssfile="./slide_".$_REQUEST["slideN"]."_comments.xml"; $rsslnk=$imagesArray["lnk"][$_REQUEST["slideN"]]; $link=parse_url($rsslnk); $link=$link["scheme"]."://".$link["host"].$link["path"]; if(!is_file($rssfile)) include("../inc/rss_gen_comments.php"); $strBuffer=getFileContent($rssfile); if($_REQUEST["website"]!=""){ $web=" ( ".$_REQUEST["website"]." ) "; }else{ $web=" "; } $pubDate=date("D, d M Y H:i:s T"); $comm= "
Du befindest dich hier: > Theresa und co in Schwarzenberg
Erstellt:
}?>Beschreibung: Theresa und Berni besuchen Margrit und ihre Familie in Schwarzenberg.
}?>Zum Blättern auf das Vorschaubild klicken.