case "edit": include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->dirname() . "/class/wfscategory.php"; include_once XOOPS_ROOT_PATH . "/modules/" . $xoopsModule->dirname() . "/class/wfsarticle.php"; $story = new WfsArticle('articleid'); $subject = $story->title(); $message = $story->mainText(); $summary = $story->summary("Edit"); $url = $story->url(); $urlname = $story->urlname(); //$story->Uid(); //$story->setCategoryid($id); //$story->setNohtml($nohtml_db); $nosmiley = isset($nosmiley) ? intval($nosmiley) : 0; $notifypub = isset($notifypub) ? intval($notifypub) : 0; $story->setHtmlpage(""); $story->setIshtml(0); //$story->setGroupid($groupid); //$story->setNosmiley($nosmiley); //$story->setPublished(0); //$story->setExpired(0); //$story->setNotifyPub($notifypub); //$story->setType('user'); $xt = new WfsCategory($xoopsDB->prefix("wfs_article "), 14); $noname = 0; $nohtml = 0; $nosmiley = 0; $notifypub = 0; include XOOPS_ROOT_PATH . '/header.php'; indexmainheader(); include 'include/storyform.inc.php'; include XOOPS_ROOT_PATH . '/footer.php';