if (isset($_REQUEST["msg"]) and $_REQUEST["msg"] != "") { echo "<tr><td align=center class=warning><img src=pics/warning.gif width=16 height=16 vspace=4></td><td class=warning> " . $_REQUEST["msg"] . "</td><td class=lgrey> </td></tr>"; } echo " <tr>\n <td class=lgrey> </td>\n <td valign=top class=lblue>"; if ($mode == "edit") { if (!isset($slice_id)) { $slice_id = ''; } if (!isset($function)) { $function = ''; } // ------------------------------------------ START: MODULE EDITIEREN/ADDEN ETC. $CONT = new article(); $CONT->setArticleId($article_id); $CONT->setSliceId($slice_id); $CONT->setMode($mode); $CONT->setCLang($clang); $CONT->setCType($ctype); $CONT->setEval(TRUE); $CONT->setFunction($function); eval("?>" . $CONT->getArticle()); // ------------------------------------------ END: MODULE EDITIEREN/ADDEN ETC. } elseif ($mode == "meta") { // ------------------------------------------ START: META VIEW $extens = ""; if (isset($save) and $save == "1") { $meta_sql = new sql(); $meta_sql->setTable($REX['TABLE_PREFIX'] . "article"); // $meta_sql->debugsql = 1; $meta_sql->where("id='{$article_id}' and clang={$clang}"); $meta_sql->setValue("online_from", mktime(0, 0, 0, $monat_von, $tag_von, $jahr_von));