set_file('middlecontent','contact_form.html'); $tpl->set_var('user_id',isset($_SESSION['user_id']) ? $_SESSION['user_id'] : ''); $tpl->set_var('name',$name); $tpl->set_var('email',$email); $tpl->set_var('comment',$comment); $tpl->set_var('disabled',$disabled); $tpl->set_var('ctype_options',vector2options($accepted_contactus_types,$ctype)); $middle_content=$tpl->process('','middlecontent',TPL_FINISH | TPL_INCLUDE); $title=$_messages['core'][251]; include('content_left.php'); include('content_right.php'); include('content_frame.php'); ?>