assign('inputError', $inputError); } } //----------------- // DB保存 // メール送信 //----------------- if( $mode == "thanks" ){ sendMail(); } //----------------- // 表示(フォーム) //----------------- switch( $mode ){ case "form": $incfile = "./form.inc"; break; case "conf": $incfile = "./conf.inc"; break; case "thanks": $incfile = "./thanks.inc"; break; } $smarty->assign('action', $action); include ('indexmain.php'); /* print
print_r($_REQUEST); */ ?>