Location: PHPKode > scripts > WP Forum Server > forum-server/wpf-thread.php
	global $vasthtml, $forum_instance;

	if (!empty($forum_instance) && $forum_instance === true) {
		return false;
	if($user_ID || $this->allow_unreg()){
	$options = get_option("vasthtml_options");
	$this->current_view = NEWTOPIC;
	$out = $this->header();
	$out .= "<form action='".WPFURL."wpf-insert.php' name='addform' method='post'>";
	$out .= "<table class='wpf-table' width='100%'>
				<th colspan='2'>".__("Post new Topic", "vasthtml")."</th>
				<td>".__("Subject:", "vasthtml")."</td>
				<td><input type='text' name='add_topic_subject' /></td>
				<td valign='top'>".__("Message:", "vasthtml")."</td>

					<br /><textarea ".ROW_COL." name='message' ></textarea>
				$out .= $this->get_captcha();

			$out .= "<tr>
				<td><input type='submit' name='add_topic_submit' value='".__("Submit", "vasthtml")."' /></td>
				<input type='hidden' name='add_topic_forumid' value='".$this->check_parms($_GET['forum'])."'/>
				<input type='hidden' name='add_topic_plink' value='".get_permalink($this->page_id)."'/>

		$this->o .= $out;
		wp_die(__("Sorry. you don't have permission to post.", "vasthtml"))
Return current item: WP Forum Server