/* Decoded by unphp.net */ include("./includes/connection.php"); include("./includes/header.php"); $controlforminput = ''; if(!isset($_SESSION['userinfo'])){ @session_destroy(); header("Location: ../index.php?InvalidPrivilege=yes"); } if(isset($_SESSION['userinfo']['Setup_And_Configuration'])){ if($_SESSION['userinfo']['Setup_And_Configuration'] != 'yes'){ header("Location: ./index.php?InvalidPrivilege=yes"); } }else{ @session_destroy(); header("Location: ../index.php?InvalidPrivilege=yes"); } ;echo ' '; if(isset($_SESSION['userinfo'])){ if($_SESSION['userinfo']['Setup_And_Configuration'] == 'yes'){ ;echo ' BACK ';}};echo '

SELECTED REGION   : '; $select = mysqli_query($conn,"select * from tbl_regions where Region_Status = 'Selected'") or die(mysqli_error($conn)); $num = mysqli_num_rows($select); if($num >0){ while ($data = mysqli_fetch_array($select)) { $Selected_Region = $data['Region_Name']; } }else{ $Selected_Region = 'No Region Selected'; } ;echo '   ';echo ucwords(strtolower($Selected_Region));;echo '
DEFAULT REGION REGISTRATION SETTING '; $temp = 0; $select = mysqli_query($conn,"select * from tbl_regions") or die(mysqli_error($conn)); $num = mysqli_num_rows($select); if($num >0){ while ($data = mysqli_fetch_array($select)) { ;echo ' '; } } ;echo '
SN REGION NAME ACTION
';echo ++$temp;;echo ' ';echo ucwords(strtolower($data['Region_Name']));;echo '
'; include("./includes/footer.php");