require_once("./dbconn_inc.php");
$solo= $_GET["solo"];
?>
// Umleitung falls Datei in content
if (stristr($myID,"UNION")) header("Location: ../");
if (stristr($myID,"./")) echo "";
if (stristr($myID,"www")) echo "";
if (stristr($myID,"http")) echo "";
if ($myID) $WHERE = "WHERE ID = '$myID' ";
else
$WHERE = "WHERE ID = 'XXX' ";
$sql = "SELECT ID, TITEL, KURZTEXT, MAINTEXT FROM $TableWebsites $WHERE";
$result = mysql_query($sql);
while ($row = mysql_fetch_row ($result)) {
$ID = $row[0];
$TITEL = $row[1];
$KURZTEXT = $row[2];
$MAINTEXT = $row[3];
}
$MAINTEXT = str_replace("http://www.woidwejd.de/content/","",$MAINTEXT);
$MAINTEXT = str_replace("http://localhost/www.woidwejd.de/content/","",$MAINTEXT);
echo "$MAINTEXT";
?>
if (! $solo) {
echo "";
}
?>