예제 #1
0
            redirect_header(NW_MODULE_URL . '/index.php', 0, _NOPERM);
            exit();
        }
        echo"<table width='100%' border='0' cellspacing='1' class='outer'><tr><td class=\"odd\">";
        echo '<h4>' . _AM_NW_EDITARTICLE . '</h4>';
        $title = $story->title('Edit');
        $hometext = $story->hometext('Edit');
        $bodytext = $story->bodytext('Edit');
        $nohtml = $story->nohtml();
        $nosmiley = $story->nosmiley();
        $description = $story->description();
        $keywords = $story->keywords();
        $ihome = $story->ihome();
        $newsauthor=$story->uid();
        $topicid = $story->topicid();
        $notifypub = $story->notifypub();
        $picture = $story->picture();
        $approve = 0;
        $published = $story->published();
        if (isset($published) && $published > 0) {
            $approve = 1;
        }
        if ( $story -> published() != 0) {
            $published = $story->published();
        }
		if ( $story -> expired() != 0) {
            $expired = $story->expired();
        } else {
            $expired = 0;
        }
		$type = $story -> type();