set_file('menu1file',$menu1file); $tpl->set_var('relative_path', $relative_path); $menu1file=$tpl->process('out','menu1file',0,1); $tpl->set_file('menu2file','menu_newestmodels.html'); $tpl->set_var('relative_path', $relative_path); $tpl->set_var('latestmembers',latestmembers_bit()); $tpl->set_var('most_viewed',mostviewed_bit()); $menu2file=$tpl->process('out','menu2file',0,1); $tpl->set_var('relative_path', $relative_path); $tpl->set_file('menu3file','menu_mostviewed.html'); $tpl->set_var('relative_path', $relative_path); $tpl->set_var('latestmembers',latestmembers_bit()); $tpl->set_var('most_viewed',mostviewed_bit()); $menu3file=$tpl->process('out','menu3file',0,1); if (get_site_option('use_ratings')) { $tpl->set_file('menu4file','menu_toprated.html'); $tpl->set_var('relative_path', $relative_path); $menu4file=$tpl->process('out','menu4file',0,1); } $tpl->set_file('menu5file','menu_lookupmodel.html'); $tpl->set_var('relative_path', $relative_path); $menu5file=$tpl->process('out','menu5file',0,1); $tpl->set_file('menuindex','menu_index.html'); $tpl->set_var('relative_path', $relative_path); $menuindex=$tpl->process('out','menuindex',0,1); if(!isset($myuser_id) || empty ($myuser_id)){ $tpl->set_file('menu_home_join','menu_home_join.html'); $menu_home_join=$tpl->process('out','menu_home_join',0,1);} else{$menu_home_join="";} if(!isset($myuser_id) || empty ($myuser_id)){ $tpl->set_file('menu_login','menu_login.html'); $menu_login=$tpl->process('out','menu_login',0,1);} else{$tpl->set_file('menu_login','menu_logout.html'); $menu_login=$tpl->process('out','menu_login',0,1);} $tpl->set_file('leftcontent',$theleftframe); $tpl->set_var('menu1file',$menu1file); $tpl->set_var('menu2file',$menu2file); $tpl->set_var('menu3file',$menu3file); if (get_site_option('use_ratings')) { $tpl->set_var('menu4file',$menu4file);} $tpl->set_var('menu5file',$menu5file); $tpl->set_var('most_viewed',mostviewed_bit()); $tpl->set_var('menulogin',$menu_login); //$tpl->set_var('menucnotices',$menucnotices); $tpl->set_var('menu_home_join',$menu_home_join); $tpl->set_var('menuindex',$menuindex); $left_content=$tpl->process('out','leftcontent',0,1); if (isset($_SESSION['topass']) && is_array($_SESSION['topass']) && !empty($_SESSION['topass'])) { $topass=$_SESSION['topass']; $_SESSION['topass']=''; unset($_SESSION['topass']); } $message=((isset($topass['message'])) ? ($topass['message']) : ("")); $eyeshape=""; $eyecolor=""; $eyelashes=""; $eyebrows=""; $hairtype=""; $haircolor=""; $hairlength=""; $hairpiece=""; $eyewear=""; $faceshape=""; $bodytype=""; $waist=""; $chest=""; $shoes=""; $hips_inseam=""; $dress_shirt=""; $ethnic=""; $tpl->set_file('middlecontent','advancedsearch.html'); $tpl->set_var('message',$message); $tpl->set_var('gender_options',vector2options($accepted_genders,_ANY_,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('agemin_options',vector2options($accepted_ages,18,array(_CHOOSE_))); $tpl->set_var('agemax_options',vector2options($accepted_ages,73,array(_CHOOSE_))); $tpl->set_var('country_options',vector2options($accepted_countries,_ANY_,array(_CHOOSE_))); $tpl->set_var('state_options',vector2options($accepted_states,_ANY_,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('heightmin_options',vector2options($accepted_heights,_ANY_,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('heightmax_options',vector2options($accepted_heights,18,array(_CHOOSE_,_ANY_,_NDISCLOSED_))); $tpl->set_var('weightmin_options',vector2options($accepted_weights,_ANY_,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('weightmax_options',vector2options($accepted_weights,8,array(_CHOOSE_,_ANY_,_NDISCLOSED_))); $tpl->set_var('eyeshape_options',vector2options($accepted_eyeshapes,$eyeshape,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('eyecolor_options',vector2options($accepted_eyes,$eyecolor,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('eyelashes_options',vector2options($accepted_eyelashes,$eyelashes,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('eyebrows_options',vector2options($accepted_eyebrows,$eyebrows,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('hairtype_options',vector2options($accepted_hairtypes,$hairtype,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('haircolor_options',vector2options($accepted_hair,$haircolor,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('hairlength_options',vector2options($accepted_hairlength,$hairlength,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('hairpiece_options',vector2options($accepted_hairpieces,$hairpiece,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('eyewear_options',vector2options($accepted_eyewear,$eyewear,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('faceshape_options',vector2options($accepted_faceshapes,$faceshape,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('bodytype_options',vector2options($accepted_bodies,$bodytype,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('waist_options',vector2options($accepted_waists,$waist,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('chest_options',vector2options($accepted_chests,$chest,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('shoes_options',vector2options($accepted_shoes,$shoes,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('hips_inseam_options',vector2options($accepted_hips_inseam,$hips_inseam,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('dress_shirt_options',vector2options($accepted_dress_shirt,$dress_shirt,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('ethnic_background_options',vector2options($accepted_ethnics,$ethnic,array(_CHOOSE_,_NDISCLOSED_))); $tpl->set_var('profession_options',vector2options($accepted_professions,_ANY_,array(_CHOOSE_,_NDISCLOSED_))); $middle_content=$tpl->process('out','middlecontent',0,1); $title="Perform a detailed search"; include('block_main_frame.php'); ?>