\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; // end error checking echo "
\n"; echo "
\n"; if (getconfigvar("multilinguel") == 1) { echo "
\n"; echo "
"._CHOSELANG.":
\n"; echo "
\n"; readlangdir($modulename, $itemlang); echo "
\n"; echo "
\n"; } echo "
\n"; echo "
"._NEWCAT.":
\n"; echo "
\n"; echo "
-- "._NEWPLSONE." --
\n"; $result = $db->sql_query("select id, title from ".$prefix."_".$mainprefix."_categories order by title"); $result2 = $db->sql_query("SELECT id, parentid, title FROM ".$prefix."_".$mainprefix."_categories order by parentid,title"); while(list($cid2, $parentid2, $ctitle2) = $db->sql_fetchrow($result2)) { if ($parentid2!=0) $ctitle2=getparent($parentid2,$ctitle2); if ($cid2==$newcategory) { $sel = "selected "; } echo "
$ctitle2
\n"; $sel = ""; } echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWAUTHOR.":
\n"; echo "
\n"; echo "
("._NEWITEMAUTHOR.".)\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWWEBSITE.":
\n"; echo "
\n"; echo "
("._NEWWEBMESS.".)\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWTITLE.":
\n"; echo "
\n"; echo "
("._NEWTITLEMESS.".)\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWYOURNAME.":
\n"; echo "
\n"; echo "
("._NEWNAMEMESS.".)\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWYOUREMAIL.".
\n"; echo "
("._NEWYOUREMESS.").\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWDESCRIP.":
\n"; echo "
("._NEWDESCRIPMESS.".)\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWCONTENT.":
\n"; echo " ("._NEWHTML.").\n"; echo "
\n"; echo "
"; $content2 = stripslashes($content); echo "
\n"; $form_name = "postnew"; $entrybox = "content"; wysiwyg_form($form_name, $entrybox); echo "
\n"; echo "
\n"; echo "
\n"; echo "
$content2
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "
"._NEWPREVIEW."
\n"; echo "
"._NEWPOST."
\n"; echo "
\n"; echo "
\n"; echo "
\n"; if (getconfigvar("multilinguel") == 0) { echo "
\n"; } echo "
\n"; CloseTable(); ?>