0)) $select = 'list'; else if ($_POST['list2']) $select = 'list2'; else if ($_POST['back']) $select = 'main'; else if ($_POST['cancel']) $select = 'cancel'; else if ($_POST['create']) $select = 'create'; else if ($_POST['pdf']) { createUserPDF($_SESSION['accounts']); $select='pdf'; } } if ($select!='pdf') { switch ($select) { case 'cancel' : // go back to user list page metaRefresh($_SESSION['lamurl']."templates/lists/listusers.php"); die; break; case 'list' : // refreh to masscreate if (!is_array($accounts)) $accounts = array(); $groups = array(); if (loadfile()) { $_SESSION['group_suffix'] = $_POST['f_group_suffix']; $_SESSION['group_selectprofile'] = $_POST['f_selectgroupprofile']; metaRefresh($_SESSION['lamurl']."templates/masscreate.php?list2"); die; } else { echo $_SESSION['header']; echo '