Here is where content goes on the catalogs page.
}}} ?>
if ( empty($mode)){ ?>


//ini_set('display_errors', 1); //ini_set('display_startup_errors', 1); //error_reporting(E_ALL); include("accesscontrol.php"); $mode = $_GET["m"]; $option = $_GET["o"]; $tun = $_SESSION['aid']; $tpw = $_SESSION['apw']; $usr_info = mysqli_query($con,"SELECT * FROM dealers WHERE user='$tun' and pass='$tpw'"); while($row_usr_info = mysqli_fetch_array($usr_info)) { $usr_contact = $row_usr_info["contact"] ; $usr_id = $row_usr_info['id']; $sup_perm = $row_usr_info['supplier']; // dont show pricing company name $no_price_company = $row_usr_info['company']; } header('Location: https://furniture.dealersportal.net/hires/demo.php'); exit(); ?>