user_info["user_email"]!=""){header("Location: /user_home.php");exit;} // DISPLAY ERROR PAGE IF USER IS NOT LOGGED IN AND ADMIN SETTING REQUIRES REGISTRATION $testers=array("joeblow2@aol.com", "bbird20@msn.com", "hookup43@yahoo.com", "benrd295@aol.com", "ali.bushell@gmail.com", "macgreg500@hotmail.com", "rodney2518@yahoo.com", "ctteddy2000@yahoo.com", "jackrabbit2c@yahoo.com", "jockbro22@yahoo.com", "midtownnycm4m@gmail.com", "undiesboy24uk@yahoo.com", "aztop4u@gmail.com", "randyirishboi@yahoo.co.uk", "simon44@gmail.com", "poptartxxx@gmail.com", "workinitm2m@yahoo.com", "moz815_99@yahoo.com", "massguy1977@yahoo.com", "sdtrvlr@att.net", "hookup43@yahoo.com", "leanhots@gmail.com", "bater.jeff@yahoo.com", "edwindavis1@gmail.com", "grflood@msn.com", "mnkaig@gmail.com", "pigletsatx@yahoo.com", "Ezduzit234@aol.com", "iagy7@aol.com", "jtpayne22@gmail.com", "jockedgedc@gmail.com", "dschwake@yahoo.com", "musclejock12@yahoo.com", "thosetwoguys_wa@yahoo.com", "michaeloz1@hotmail.com", "seattleplaytime@gmail.com", "jim-star@live.co.uk", "csangster@live.com", "sfmac1013@yahoo.com", "bearis40@yahoo.ca", "cumragbator@comcast.net", "risskov24@yahoo.it", "italjhnsn@yahoo.com", "haidjay@gmail.com", "philtomx@hotmail.com", "cjackbate@gmail.com", "leprakhauns@gmail.com", "maximail78@yahoo.com", "bateworld@gmail.com", "peterr2468@gmail.com"); //if(in_array(strtolower($user->user_info["user_email"]), $testers)){ if( !$user->user_exists && !$setting['setting_permission_portal'] ) { if (rc_imobile::is_mobile_display()) { //$page = "home_login_required"; $page = "error"; $home="true"; } else { $page = "error"; $home="true"; } $smarty->assign('home', $home); $smarty->assign('error_header', 9000005); $smarty->assign('error_message', 9000006); $smarty->assign('error_submit', 641); include "footer.php"; exit; } //}else{ if( !$user->user_exists && !$setting['setting_permission_portal'] ) { $page = "error"; // $smarty->assign('error_header', 9000005); $smarty->assign('error_message', 9000006); //$smarty->assign('error_submit', 641); include "footer.php"; exit; } //} if($_GET["show"]=="") { $actions_array = $actions->actions_display(0, $setting['setting_actions_actionsperuser']); $smarty->assign_by_ref('show', $_GET["show"]); } else { if($_GET["show"]==1){$_GET["show"]=0;} $actions_array = $actions->actions_display($_GET["show"], $setting['setting_actions_actionsperuser']); $smarty->assign_by_ref('show', $_GET["show"]); } $smarty->assign_by_ref('actions', $actions_array); // CREATE ARRAY OF ACTION TYPES $actiontypes_array = $actions->actions_allowed(); $smarty->assign_by_ref('actiontypes', $actiontypes_array); $smarty->assign('for', $for); // ASSIGN SMARTY VARIABLES AND DISPLAY pollS PAGE include "footer.php"; ?>