PHP4 #..*/ foreach ($HTTP_GET_VARS as $key=>$val) { eval ("\$$key=\$_GET['$key'];"); } foreach ($HTTP_POST_VARS as $key=>$val) { eval ("\$$key=\$_POST['$key'];"); } /*..## PHP5 -> PHP4 #..*/ ?>
".mysql_error()); $m_cms=mysql_fetch_array($q_cms); $headline=$m_cms[headline]; $description_short=$m_cms[description_short]; $description=$m_cms[description]; for ($i=1;$i<=10;$i++) { eval("\$pic_p=\$m_cms[pic$i];"); eval("\$pic_t=\$m_cms[title$i];"); $description=eregi_replace("\[bild".$i.":links\]", "", $description); $description=eregi_replace("\[bild".$i.":mitte\]", "", $description); $description=eregi_replace("\[bild".$i.":rechts\]", "", $description); } $description=eregi_replace("\\[url=http://([^\\[]+)\\]([^\\[]*)\\[/url\\]", "\\2", $description); ?>