include_once("../config/config.php"); include_once("../admin/phpdbform/phpdbform_mysql.php"); include_once("../admin/siteconfig.php"); $db = new phpdbform_db( $dbcfg["database"], $dbcfg["host"], $dbcfg["admuser"], $dbcfg["admpasswd"] ); $db->connect(); $id=$HTTP_GET_VARS["id"]; if ($id>0) { $query = "select texte_id,texte_datum,texte_titel,texte_einleitung"; $query .= ",texte_text,texte_autor"; $query .= ",texte_gruppen_id,texte_ort_id,gruppen.gruppen_name,orte.orte_name"; $query .= ",texte_url,texte_url_flag,texte_ruecktext_flag"; $query .= " from texte"; $query .= " left outer join gruppen on (texte_gruppen_id=gruppen.gruppen_id) "; $query .= " left outer join orte on (texte_ort_id=orte.orte_id) "; $query .= " where texte_id=".$id; //echo $query ; $ret=$db->query($query,"Fehler!"); } ?>
\n"; echo " | ".$datum.": ".$texte_titel." | \n";
echo " \n"; echo " |
\n"; echo " | ".$texte_einleitung." \n"; echo " | \n";
echo " \n"; echo " |
\n"; echo " | ".$texte_text." | \n"; echo "\n"; echo " |
\n"; echo " | Autor: ".$texte_autor." | \n";
echo " \n"; echo " |