#   James      12-31-14     Created.
#              01-01-15     removed dependency.php from local directory.
#              01-08-15     Identifies primary vs. secondary owner.
#              01-22-15     If not logged in, cannot see the detailed info.
#              01-31-15     Added license status and available rooms.
#              06-22-15     Loads amenities and services providded and sets the check boxes accordingly.
#              06-27-15     Loads prices, discount and available info.
#                           All the values are read only.
#
#
#
#######################################################
//header('Cache-Control: no cache');           // This created problem.
//session_cache_limiter('private_no_expire');
require_once '../common/dependency.php';
vConnectDB("baboom");
session_start();
//If not logged in, cannot see the detailed information.
//This forces people to register with us.
if ($_SESSION['user'] != 'member') {
    popup('Please register in order to see the detail info.', MEMBER_LOGIN_PAGE);
}
$facility_number = urldecode($_GET['facility_num']);
$state = urldecode($_GET['state']);
$facility_name = urldecode($_GET['facility_name']);
$facility_address = urldecode($_GET['address']);
$city = urldecode($_GET['city']);
$zipcode = urldecode($_GET['zipcode']);
$telephone = urldecode($_GET['telephone']);
$licensee = urldecode($_GET['licensee']);
$facility_type = urldecode($_GET['facility_type']);
Example #2
0
//
//         This will be a great historcal data.
//
//  DESCRIPTION:  THis script updates a data of a facility.
//
//  WHO      WHEN         WHAT
//                        Created
//
//
//
//
//
//
//
require_once '../common/dependency.php';
vConnectDB('baboom');
global $mysqli;
////////////////////////////////////////////////////////////////////////////////////////
//
//       GENERAL INFORMATION  PROVIDED
//
////////////////////////////////////////////////////////////////////////////////////////
$facility_number = $_GET['license_number'];
////////////////////////////////////////////////////////////////////////////////////////
//
//       UPDATE ACCOMODATION  PROVIDED
//
////////////////////////////////////////////////////////////////////////////////////////
if (isset($_GET['accomodation'])) {
    //
    //$Accomodations receives an array of  that looks like ([0]=>1 [1]=>2 [2]=>3 ).