"; print_r($p); print ""; } bsc_session(); $cook_list = ""; for($i=1;$i<=10;$i++){ if((array_key_exists('method'.$i,$_SESSION['param'])) and ($_SESSION['param']['method'.$i] != "")){ $cook_list .= "■作り方".$i."
\n"; $cook_list .= htmlspecialchars($_SESSION['param']['method'.$i])."
\n"; } } $this->db = cs4_open(); $template =& loadTemplate( $p ); $template->setVariable('cook_list',$cook_list); $template->setVariable('contents_top',BBS_NAME); $template->show(); cs4_close($this->db); } bbs_howtoconf($p); ?>