403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bsite.hellogtx.com/application/configs/airocityvisas/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bsite.hellogtx.com/application/configs/airocityvisas/constant.php
<?php
ini_set('MAX_EXECUTION_TIME', -1);
#define AdminEmail
define('Admin_Mail', 'sabir@catpl.co.in');
define('DEVELOPER_EMAIL', 'sabir@catpl.co.in');
define('BOOKINGREF', 'DMC');

define('ARR_SALUTION', serialize(array("" => "Salutation", "1" => "Mr.", "2" => "Mrs.", "3" => "Ms.", 4 => "Dr.")));
//define('ARR_SALUTION_CHILD', serialize(array("1" => "Mr", "2" => "Ms", "3" => "Mrs", "4" => "Mstr", "5" => "Miss")));
define('CONST_SALUTION', serialize(array(1 => 'Mr', 'Ms', 'Mrs')));

define('ARR_SALUTION_TJ', serialize(array("1" => "Mr", "2" => "Mrs", "3" => "Ms")));
define('ARR_SALUTION_CHILD', serialize(array("1" => "Ms", "2" => "Master")));

define('CONST_FOOTER_COL', serialize(['1' => 'Safari Tours', '2' => 'European Tours', '3' => 'Wild Life Tours', '6' => 'Blog Pages']));
define('CONST_PACKAGE_CAT', serialize(['1' => 'Budget', '2' => 'Standard', '3' => 'Deluxe', '4' => 'Luxury', '5' => 'Premium']));
define('CONST_YEAR_NAME', serialize(['01' => 'January', '02' => 'February', '03' => 'March', '04' => 'April', '05' => 'May', '06' => 'June', '07' => 'July', '08' => 'August', '09' => 'September', '10' => 'October', '11' => 'November', '12' => 'December']));
define('CONST_YEAR_NAME_SMALL', serialize(['01' => 'Jan', '02' => 'Feb', '03' => 'Mar', '04' => 'Apr', '05' => 'May', '06' => 'Jun', '07' => 'Jul', '08' => 'Aug', '09' => 'Sep', '10' => 'Oct', '11' => 'Nov', '12' => 'Dec']));
define('ARR_CUSTOMER_RELATION', serialize(array("0" => "Self", "1" => "Spouse", "2" => "Father", "3" => "Mother", "4" => "Brother", "5" => "Sister", "6" => "Friend", "7" => "Daughter", "8" => "Son", "9" => "Others")));
define('ARR_SALUTION_HOTEL', serialize(array("1" => "Mr", "2" => "Mrs", "3" => "Miss")));

define('CONST_TOURTYPE', serialize([
    ['TourType' => 1, 'TourTypeTitle' => 'Private'],
    ['TourType' => 2, 'TourTypeTitle' => 'Group']
]));
define('MarketPlaces', serialize([
    1 => 'MY B2C',
    2 => 'MY B2B',
]));
define('CONST_DEPARTURETIME', serialize([
    '00:00-10:00', '10:00-15:00', '15:00-20:00', '20:00-24:00'
]));

define('CONST_DEPARTURETIMETBO', serialize([
    '00:00-10:00', '10:00-15:00', '15:00-20:00', '20:00-24:00'
]));

define('CONST_PRICE_RANGE_1000', serialize([
    '1-1000', '1001-2000', '2001-3000', '3001-4000', '4001-5000', '5001-6000', '6001-7000', '7001-8000', '8001-9000', '9001-10000',
    '10001-11000', '11001-12000', '12001-13000', '13001-14000', '14001-15000', '15001-16000', '16001-17000', '17001-18000', '18001-19000', '19001-20000',
    '20001-21000', '21001-22000', '22001-23000', '23001-24000', '24001-25000', '25001-26000', '26001-27000', '27001-28000', '28001-29000', '29001-30000',
    '30001-31000', '31001-32000', '32001-33000', '33001-34000', '34001-35000', '35001-36000', '36001-37000', '37001-38000', '38001-39000', '39001-40000',
    '40001-41000', '51001-52000', '52001-53000', '53001-54000', '54001-55000', '55001-56000', '56001-57000', '57001-58000', '58001-59000', '59001-60000',
]));

define('CONST_PRICE_RANGE_2000', serialize([
    '1-2000', '2001-4000', '4001-6000', '6001-8000', '8001-10000', '10001-12000', '12001-14000', '14001-16000', '16001-18000', '18001-20000', '20001-22000'
]));

define('CONST_PRICE_RANGE_5000', serialize([
    '1-5000', '5001-10000', '10001-15000', '15001-20000', '20001-25000', '25001-30000', '30001-35000', '35001-40000', '40001-45000', '45001-50000',
    '51000-55000', '55001-60000', '61001-65000', '65001-70000', '70001-75000', '75001-80000', '80001-85000', '85001-90000', '90001-95000', '95001-100000',
    '100001-105000', '105001-110000', '110001-115000', '115001-120000', '120001-125000', '125001-130000', '130001-135000', '135001-140000', '140001-145000', '145001-150000',
    '151000-155000', '155001-160000', '161001-165000', '165001-170000', '170001-175000', '175001-180000', '180001-185000', '185001-190000', '190001-195000', '195001-200000',
    '200001-205000', '205001-210000', '210001-215000', '215001-220000', '220001-225000', '225001-230000', '230001-235000', '235001-240000', '240001-245000', '245001-250000',
    '251000-255000', '255001-260000', '261001-265000', '265001-270000', '270001-275000', '275001-280000', '280001-285000', '285001-290000', '290001-295000', '295001-300000'
]));
define('CONST_PRICE_RANGE_2000_FLIGHT', serialize([
    '1-2000', '2001-4000', '4001-6000', '6001-8000', '8001-10000', '10001-12000', '12001-14000', '14001-16000', '16001-18000', '18001-20000', '20001-22000', '22001-24000', '24001-26000', '26001-28000', '28001-30000', '30001-32000', '32001-34000', '34001-36000', '36001-38000', '38001-40000', '40001-42000', '42001-44000', '44001-46000', '46001-48000', '48001-50000', '50001-52000', '52001-54000', '54001-56000', '56001-58000', '58001-60000', '60001-62000', '62001-64000', '64001-66000', '66001-68000', '68001-70000'
]));

define('CONST_PRICE_RANGE_10000', serialize([
    '1-10000', '10001-20000', '20001-30000', '30001-40000', '40001-50000', '50001-60000', '60001-70000', '70001-80000', '80001-90000', '90001-100000'
]));

define('CONST_INCLUSIONS_MASTER', serialize([
    'Airport Transfers' => 'paper-plane',
    'Only Breakfast' => 'coffee',
    'Guided Tour' => 'tripadvisor',
    'Air Fare' => 'plane',
    'Intercity Transfers' => 'exchange',
    'All Meals' => 'cutlery',
    'BF & Dinner' => 'spoon',
    'Welcome Drink' => 'glass',
    'Visa' => 'cc-visa',
    'Cab' => 'taxi',
    'Train station transfers' => 'train',
    'Internet' => 'wifi',
    'Restaurant' => 'cutlery',
    'Kids Friendly' => 'child',
    'Transfers' => 'exchange',
    'Business Friendly' => 'briefcase',
    'Smoking' => 'fire',
    'Disabled Friendly' => 'wheelchair',
    'Cafe' => 'coffee',
    'Bar' => 'glass',
    'Sports' => 'futbol-o',
    'Flight' => 'plane',


]));


define('ROOM_TYPE_DATA', serialize([
    '1' => 'Delux',

    "1" => "Deluxe",
    "2" => "Luxury",
    "3" => "Super Deluxe",
    "4" => "Standard",
    "5" => "Standard Single",
    "7" => "Standard Double",
    "8" => "Standard Triple",
    "9" => "Standard Twin",
    "10" => "Deluxe Twin",
    "11" => "Premium",
    "12" => "Superior",
    "13" => "Suite Room",
    "14" => "Executive Suite",
    "15" => "Karumba Suite",
    "16" => "Club Suite",
    "17" => "AC Luxury Houseboat",
    "18" => "Wild Orchid Suite",
    "19" => "Deluxe Cottage with Private Garden",
    "20" => "Sea Facing Deluxe suite",
    "21" => "Premium Cottage Sea View",
    "22" => "Executive Suite Palace wing",
    "23" => "Periyar Cottage",
    "24" => "Cottage",
    "25" => "Heritage Wing",
    "26" => "Lake Facing Room",
    "27" => "Standard Bamboo Cottage",
    "28" => "Wooden Cottage",
    "29" => "Fixed Tent",
    "30" => "Comfort Tent",
    "31" => "Double Room A Block",
    "32" => "Double Room B Block",
    "33" => "Standard Hut",
    "34" => "Standard Cottage",
    "35" => "Deluxe Cottage",
    "36" => "Deluxe Swiss Tents"



]));
define('MEAL_TYPE', serialize([
    '9' => 'EP',
    '6' => 'CP',
    '8' => 'AP',
    '7' => 'MAP',


]));


define('CONST_DESTINATION_MASTER', serialize(['goa']));

define('CONST_MEAL_PLAN', serialize([
    'AP' => 'Breakfast, Lunch & Dinner',
    'CP' => 'Breakfast Only',
    'MAP' => 'Breakfast & Lunch/Dinner',
    'EP' => ''
]));

define('CONST_MEAL_PLAN_ARR', serialize([6 => "CP", 7 => "MAP", 8 => "AP", 9 => "EP"]));


define('CONST_FLIGHT_CABIN_CLASS', serialize(
    [
        1 => "Any",
        2 => "Economy",
        //3 => "PremiumEconomy",
        4 => "Business",
        //5 => "PremiumBusiness",
        6 => "First",
    ]
));

define('CONST_FLIGHT_PREFERRED_AIRLINES', serialize(
    [
        "GDS" => "GDS",
        "AK"  => "Air Asia",
        "TR"  => "TigerAirways",
        "2T"  => "TruJet",
        "FZ"  => "FlyDubai",
        "IX"  => "AirIndiaExpress",
        "SG"  => "SpiceJet",
        "G9"  => "AirArabia",
        "LB"  => "AirCosta",
        "6E"  => "Indigo"

    ]
));


define('CONST_FLIGHT_CUSTOM_ERRORS', serialize(
    [
        "0" => "Unauthorized Access", // Default
        "1" => "Error 1",
        "2"  => "We couldn't process your request due to some technical issue. Please contact Your Agent / Sales representative for details.", //We couldn't process your request due to some technical issue. Please contact Your Agent / Sales representative for details.
        "3"  => "Your session is expired / invalid.", //Invalid Meal Data
        "4"  => "Error 4",
        "5"  => "Error 5",
        "6"  => "Your session is expired / invalid.",  //Your session (TraceId) is expired.
        "14"  => "Your session is expired / invalid."   //Sell Failure.
    ]
));
define('TRANSPORT_SUB_CATEGORIES', serialize([
    '4' => 'Airport Transfer',
    '5' => 'Railway Station Transfer',
    '6' => 'Bus Stand Transfer',
    '7' => 'Port Transfer',
    '8' => 'Local/City Transfer',
    '9' => 'Meal Transfer',
]));
define('BOOKINGSTATUS', serialize(
    [
        0 => "Pending", 1 => "Confirmed", 2 => "Cancelled", 3 => "Payment Done Booking Failed", 4 => "Payment Failed",
        5 => "Booking Confirmed Ticket Failed", 6 => "Full Canc. In Process", 7 => "Partial Canc. In Process", 8 => 'Cancellation In Process',
        9 => 'Refund Processed', 10 => 'AIrlines Response Awaited', 11 => 'Ssr', 12 => 'Cancellation Quotation', 13 => 'Reissue Quotation', 14 => 'Re-Issue',
        15 => 'Fare Change', 16 => 'Miscellaneous', 17 => 'No Show', 18 => 'Void', 19 => 'Correction', 20 => 'Payment Made Booking Pending', 21 => 'Booking Aborted', 22 => 'Partial Cancelled',
    ]
));
define('FARETYPE', serialize(['PUBLISHED' => "PUBLISHED", 'CORPORATE' => "CORPORATE", 'SPECIAL_RETURN' => "SPECIAL RETURN", 'SME' => "SME", 'TACTICAL' => "TACTICAL", 'FLEXI_PLUS' => "FLEXI PLUS", 'SALE' => "SALE", 'COUPON' => "COUPON", 'PREMIUM_FLEX' => "PREMIUM FLEX", 'OFFER_FARE_WITHOUT_PNR' => "OFFER_FARE_WITHOUT_PNR", 'OFFER_FARE_WITH_PNR' => "OFFER_FARE_WITH_PNR", 'PROMO' => "PROMO"]));
define('PAYMENTMODE', serialize([
    'ONLINE' => "Pay Online", 'CHEQUE' => "Cheque", 'DRAFT' => "Draft", 'CASH' => "Cash", 'RTGS' => "RTGS", 'WITHDRAW' => "Withdraw", 'Bank Transfer' => "Bank Transfer"
]));
define('SERVICE_TYPE', serialize([
    1 => 'Flight',
    2 => 'Hotel',
]));
define('ITEM_SPURCE_TYPE', serialize([
    1 => 'Domestic',
    2 => 'International',
]));
  // $apiUrl = 'http://local.b2bzend.com';
//$apiUrl = 'http://st.globaltravelexchange.com';
$apiUrl = 'https://globaltravelexchange.com';
define('API_AGENT_AUTH_LOGIN', $apiUrl . '/gtxwebservices/agentapi/agencyagentloginforb2c/');
define('API_CUSTOMER_AUTH_SIGNUP', $apiUrl . '/gtxwebservices/customerapi/agencycustomersignup/');
define('API_B2B_AGENT_REGISTRATION', $apiUrl . '/gtxwebservices/create-b2b-agency/');    //added by sabir
define('API_ADD_AGENCY_USER', $apiUrl . '/gtxwebservices/create-b2b-agency/add-agency-user/');
define('API_AGENCY_USER_LIST', $apiUrl . '/gtxwebservices/create-b2b-agency/get-agency-user-detail/');
define('API_GET_AGENCY_USER_LIST_BY_ID', $apiUrl . '/gtxwebservices/create-b2b-agency/get-agency-user-detail-by-user-id/');
define('API_UPDATE_AGENCY_USER', $apiUrl . '/gtxwebservices/create-b2b-agency/update-agency-user-detail-by-user-id/');
define('API_DEACTIVATE_AGENCY_USER', $apiUrl . '/gtxwebservices/create-b2b-agency/deactivate/');
define('API_ACTIVATE_AGENCY_USER', $apiUrl . '/gtxwebservices/create-b2b-agency/activate/');
define('API_SEND_B2B_AGENT_FORGET_PASSWORD_MAIL', $apiUrl . '/gtxwebservices/create-b2b-agency/send-b2b-agent-forget-password-mail/');
define('API_AGENT_PROFILE', $apiUrl . '/gtxwebservices/agentapi/getagentprofiles/');
define('API_AGENT_FORGOTPASSWORD', $apiUrl . '/gtxwebservices/agentapi/agentforgotpassword/');
define('API_AGENT_UPDATE_FORGOTPASSWORD', $apiUrl . '/gtxwebservices/agentapi/updateagentforgotpasswordb2b/');
define('API_AGENT_UPDATE_PROFILE', $apiUrl . '/gtxwebservices/agentapi/updateprofile/');
define('API_AGENT_CHANGEPASSWORD', $apiUrl . '/gtxwebservices/agentapi/changepassword/');
define('API_CUSTOMER_CHANGEPASSWORDB2C', $apiUrl . '/gtxwebservices/agentapi/changepasswordb2c/');
define('API_CUSTOMER_AUTH_LOGIN', $apiUrl . '/gtxwebservices/agentapi/agencycustomerloginforb2c/');
define('API_CUSTOMER_LIST', $apiUrl . '/gtxwebservices/customerapi/getcustomerbooking/');
define('API_CUSTOMER_FLIGHTLIST', $apiUrl . '/gtxwebservices/customerapi/getcustomerbookingflight/');
define('API_CUSTOMER_FLIGHTINVOICE', $apiUrl . '/gtxwebservices/customerapi/customerinvoiceflight/');
define('API_CUSTOMER_FLIGHTVOUCHER', $apiUrl . '/gtxwebservices/customerapi/viewbookingvoucherflight/');
define('API_CUSTOMER_PROFILE', $apiUrl . '/gtxwebservices/customerapi/getcustomerprofiles/');
define('API_CUSTOMER_PROFILE_BYEMAIL_MOBILE', $apiUrl . '/gtxwebservices/customerapi/getcustomerprofilesbyemailmobile/');
define('API_CUSTOMER_CHANGEPASSWORD', $apiUrl . '/gtxwebservices/customerapi/changepassword/');
define('API_CUSTOMER_UPDATE_PROFILE', $apiUrl . '/gtxwebservices/customerapi/updateprofile/');
define('API_CUSTOMER_COUNTRYLIST', $apiUrl . '/gtxwebservices/customerapi/getcountrylist/');
define('API_CUSTOMER_CITYLIST', $apiUrl . '/gtxwebservices/customerapi/ajaxgetcitylist/');
define('API_CHECK_B2B_AGENCY', $apiUrl . '/gtxwebservices/check-b2b-agency/');

define('API_ADD_CUSTOMER', $apiUrl . '/webservice/agency/add-customer/');

define('API_GET_AGENCY_TERMS_AND_CONDITION', $apiUrl . '/webservice/agency/get-agency-term-and-condtions/');
define('API_AGENCY_CURRENCY_RATE', $apiUrl . '/webservice/currency/rate/');
define('API_GET_IV_KEY', $apiUrl . '/webservice/agency/get-iv-key/');
define('API_GET_AGENCY_DATA', $apiUrl . '/webservice/agency/get-agency-data/');
define('API_GET_AGENCY_BALANCE', $apiUrl . '/webservice/credit-balance/get-balance/');
define('API_GET_AGENCY_UPDATE_BALANCE', $apiUrl . '/webservice/credit-balance/update-credit-balance/');
define('API_DEPOSIT_REQUEST', $apiUrl . '/webservice/credit-balance/save-offline-request/');
define('API_WITHDRAWAL_REQUEST', $apiUrl . '/webservice/credit-balance/withdrawal-offline-request/');
define('API_BANK_DETAILS', $apiUrl . '/webservice/credit-balance/get-bank-detail/');
define('API_SUPPORT_CONTACT', $apiUrl . '/webservice/credit-balance/get-support-contact/');
define('API_GET_LEDGER', $apiUrl . '/webservice/credit-balance/get-ledger/');
define('API_DIRECT_CREDIT', $apiUrl . '/webservice/credit-balance/save-online-request/');
define('API_GET_QUERY', $apiUrl . '/gtxwebservices/get-query');
define('API_GET_QUERY_PROPOSAL', $apiUrl . '/gtxwebservices/get-query/get-proposal');
define('API_GET_QUERY_PROPOSAL_ADDONS', $apiUrl . '/gtxwebservices/get-query/get-addons-services');
define('API_BOOKING_VISA_DETAIL', $apiUrl.'/gtxwebservices/visa-booking-detail');
define('API_GET_MEMBER_LIST', $apiUrl.'/webservice/agency/get-member-list');
define('API_UPDATE_MEMBER_DOCUMENT_DETAIL', $apiUrl.'/webservice/agency/update-member-document-detail');
define('API_GET_CUSTOMER_VISA_DOCUMENT_DETAIL', $apiUrl.'/gtxwebservices/visa/get-customer-visa-document-detail');
define('SECURITYKEY', '0C8C9F79-CEC7-4049-833A-0B4874192F7A'); // Live
define('ELASTIKKEY', 'BA7CDED1F8E530B30977E54E4FEAF411B9B55C72F98B1AF217EE6D929058FA063ECB1C7CB82EC14E35E3C62FF10690FC'); // Live

/// for reference Type:- Flight:3,Hotel:4,
$mainCategory = array(
    "MOD01" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Dashboard', 'url' => 'dashboard', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => 0),

    "MOD02" => array('moduleName' => 'staff-management', 'ControllerName' => '', 'Title' => "Staff Management", 'url' => '', 'isDisplay' => 1, 'order' => 19, 'Type' => 1, 'Category' => 0),
    "STA01" => array('moduleName' => 'staff-management', 'ControllerName' => 'index', 'Title' => "Staff", 'url' => 'staff', 'isDisplay' => 1, 'order' => 20, 'Type' => 2, 'Category' => "MOD02"),

    "MOD03" => array('moduleName' => 'search', 'ControllerName' => '', 'Title' => "Search", 'url' => '', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => 0),
    "SRC09" => array('moduleName' => 'visa', 'ControllerName' => 'index', 'Title' => "Visa", 'url' => 'visa', 'isDisplay' => 1, 'order' => 11, 'Type' => 4, 'Category' => "MOD03"),
    
   
    "BOK04" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Booking", 'url' => 'bookings/hotel', 'isDisplay' => 1, 'order' => 12, 'Type' => 4, 'Category' => "MOD04"),
    "BOK05" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Amendment", 'url' => 'bookings/hotel/amendment', 'isDisplay' => 1, 'order' => 13, 'Type' => 4, 'Category' => "MOD04"),
    "BOK06" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Checkin", 'url' => 'bookings/hotel/checkin', 'isDisplay' => 1, 'order' => 14, 'Type' => 4, 'Category' => "MOD04"),
    
     
    "MOD05" => array('moduleName' => 'finance', 'ControllerName' => '', 'Title' => "Finance", 'url' => '', 'isDisplay' => 1, 'order' => 15, 'Type' => 1, 'Category' => 0),
    "FIN01" => array('moduleName' => 'finance', 'ControllerName' => 'deposit', 'Title' => "Deposit Payment", 'url' => 'finance/deposit', 'isDisplay' => 1, 'order' => 16, 'Type' => 2, 'Category' => "MOD05"),
    "FIN02" => array('moduleName' => 'finance', 'ControllerName' => 'ledger', 'Title' => "Ledger", 'url' => 'finance/ledger', 'isDisplay' => 1, 'order' => 17, 'Type' => 2, 'Category' => "MOD05"),

    "MOD09" => array('moduleName' => 'settings', 'ControllerName' => '', 'Title' => 'Settings', 'url' => '', 'isDisplay' => 1, 'order' => 21, 'Type' => 1, 'Category' => 0),
    "SET01" => array('moduleName' => 'default', 'ControllerName' => 'markup', 'Title' => 'Markup', 'url' => 'markup', 'isDisplay' => 1, 'order' => 22, 'Type' => 1, 'Category' => "MOD09"),
    "SET02" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Profile', 'url' => 'dashboard/index/myprofile', 'isDisplay' => 1, 'order' => 23, 'Type' => 1, 'Category' => "MOD09"),
    "SET03" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Change Password', 'url' => 'dashboard/index/changepassword', 'isDisplay' => 1, 'order' => 24, 'Type' => 1, 'Category' => "MOD09"),
    "SET04" => array('moduleName' => 'default', 'ControllerName' => 'markup', 'Title' => 'Secure Transaction', 'url' => 'markup/trans-management', 'isDisplay' => 1, 'order' => 25, 'Type' => 1, 'Category' => "MOD09"),
    "SET05" => array('moduleName' => 'default', 'ControllerName' => 'index', 'Title' => 'Logout', 'url' => 'index/logout', 'isDisplay' => 1, 'order' => 26, 'Type' => 1, 'Category' => "MOD09"),

    "MOD07" => array('moduleName' => 'list', 'ControllerName' => 'index', 'Title' => 'My Queries', 'url' => 'list/index/my-query', 'isDisplay' => 1, 'order' => 18, 'Type' => 1, 'Category' => 0),
    "MOD08" => array('moduleName' => 'list', 'ControllerName' => 'index', 'Title' => 'My Bookings', 'url' => 'list/index/my-query/type/confirmed', 'isDisplay' => 1, 'order' => 19, 'Type' => 1, 'Category' => 0),

);



$mainCategoryInsert = array(
    "MOD01" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Dashboard', 'url' => 'dashboard', 'isDisplay' => 1, 'order' => 1, 'Type' => 1, 'Category' => 0),

    "MOD02" => array('moduleName' => 'staff-management', 'ControllerName' => '', 'Title' => "Staff Management", 'url' => '', 'isDisplay' => 1, 'order' => 19, 'Type' => 1, 'Category' => 0),
    "STA01" => array('moduleName' => 'staff-management', 'ControllerName' => 'index', 'Title' => "Staff", 'url' => 'staff', 'isDisplay' => 1, 'order' => 20, 'Type' => 2, 'Category' => "MOD02"),

    "MOD03" => array('moduleName' => 'search', 'ControllerName' => '', 'Title' => "Search", 'url' => '', 'isDisplay' => 1, 'order' => 2, 'Type' => 1, 'Category' => 0),
    "SRC09" => array('moduleName' => 'visa', 'ControllerName' => 'index', 'Title' => "Visa", 'url' => 'visa', 'isDisplay' => 1, 'order' => 11, 'Type' => 4, 'Category' => "MOD03"),
    
    
    "BOK04" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Booking", 'url' => 'bookings/hotel', 'isDisplay' => 1, 'order' => 12, 'Type' => 4, 'Category' => "MOD04"),
    "BOK05" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Amendment", 'url' => 'bookings/hotel/amendment', 'isDisplay' => 1, 'order' => 13, 'Type' => 4, 'Category' => "MOD04"),
    "BOK06" => array('moduleName' => 'bookings', 'ControllerName' => 'hotel', 'Title' => "Hotel Checkin", 'url' => 'bookings/hotel/checkin', 'isDisplay' => 1, 'order' => 14, 'Type' => 4, 'Category' => "MOD04"),
     
    "MOD05" => array('moduleName' => 'finance', 'ControllerName' => '', 'Title' => "Finance", 'url' => '', 'isDisplay' => 1, 'order' => 15, 'Type' => 1, 'Category' => 0),
    "FIN01" => array('moduleName' => 'finance', 'ControllerName' => 'deposit', 'Title' => "Deposit Payment", 'url' => 'finance/deposit', 'isDisplay' => 1, 'order' => 16, 'Type' => 2, 'Category' => "MOD05"),
    "FIN02" => array('moduleName' => 'finance', 'ControllerName' => 'ledger', 'Title' => "Ledger", 'url' => 'finance/ledger', 'isDisplay' => 1, 'order' => 17, 'Type' => 2, 'Category' => "MOD05"),

    "MOD09" => array('moduleName' => 'settings', 'ControllerName' => '', 'Title' => 'Settings', 'url' => '', 'isDisplay' => 1, 'order' => 21, 'Type' => 1, 'Category' => 0),
    "SET01" => array('moduleName' => 'default', 'ControllerName' => 'markup', 'Title' => 'Markup', 'url' => 'markup', 'isDisplay' => 1, 'order' => 22, 'Type' => 1, 'Category' => "MOD09"),
    "SET02" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Profile', 'url' => 'dashboard/index/myprofile', 'isDisplay' => 1, 'order' => 23, 'Type' => 1, 'Category' => "MOD09"),
    "SET03" => array('moduleName' => 'dashboard', 'ControllerName' => 'index', 'Title' => 'Change Password', 'url' => 'dashboard/index/changepassword', 'isDisplay' => 1, 'order' => 24, 'Type' => 1, 'Category' => "MOD09"),
    "SET04" => array('moduleName' => 'default', 'ControllerName' => 'markup', 'Title' => 'Secure Transaction', 'url' => 'markup/trans-management', 'isDisplay' => 1, 'order' => 25, 'Type' => 1, 'Category' => "MOD09"),
    "SET05" => array('moduleName' => 'default', 'ControllerName' => 'index', 'Title' => 'Logout', 'url' => 'index/logout', 'isDisplay' => 1, 'order' => 26, 'Type' => 1, 'Category' => "MOD09"),

    "MOD07" => array('moduleName' => 'list', 'ControllerName' => 'index', 'Title' => 'My Queries', 'url' => 'list/index/my-query', 'isDisplay' => 1, 'order' => 18, 'Type' => 1, 'Category' => 0),
    "MOD08" => array('moduleName' => 'list', 'ControllerName' => 'index', 'Title' => 'My Bookings', 'url' => 'list/index/my-query/type/confirmed', 'isDisplay' => 1, 'order' => 19, 'Type' => 1, 'Category' => 0),

); 


define('MODULENAME', serialize($mainCategory));
define('MODULENAMEINSERT', serialize($mainCategoryInsert));
$isProductionEnabled = false;
if ($isProductionEnabled) { // For Production Only...

    // For Flight ...
    // define('FLIGHT_API_CLIENT_ID', 'tboprod');
    // define('FLIGHT_API_USER', 'DELC499');
    // define('FLIGHT_API_PASSWORD', 'travel-499@');

    define('FLIGHT_API_LOGS', true);
    define('HOTEL_API_LOGS', true);
    define('HOTEL_API_CITY_PROD', true);

    define('TBO_AGENCYBALANCE_URL','https://api.travelboutiqueonline.com/SharedAPI/SharedData.svc/rest/GetAgencyBalance');
    define('TBO_AUTHENTICATE_URL', 'https://api.travelboutiqueonline.com/SharedAPI/SharedData.svc/rest/authenticate');
    define('FLIGHT_API_SEARCH_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/Search/');
    define('FLIGHT_API_FARE_QUOTE_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/FareQuote/');
    define('FLIGHT_API_FARE_RULE_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/FareRule/');
    define('FLIGHT_API_SSR_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/SSR/');
    define('FLIGHT_API_BAGGAGE_INFO_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/FareRule/');
    define('FLIGHT_API_TICKET_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/Ticket/');
    define('FLIGHT_API_BOOKING_URL', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/Book/');
    define('FLIGHT_API_BOOKING_RELEASE_PNR', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/ReleasePNRRequest/');
    define('FLIGHT_API_BOOKING_CHANGE_REQUEST', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/SendChangeRequest/');
    define('FLIGHT_API_BOOKING_CHANGE_REQUEST_STATUS', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/GetChangeRequestStatus/');
    define('FLIGHT_API_BOOKING_DETAILS', 'http://tboapi.travelboutiqueonline.com/AirAPI_V10/AirService.svc/rest/GetBookingDetails/');
    //    
    //    // For Hotels ...
    //    define('GRN_HOTEL_API_KEY','9cb064fbb626dcddf018f7e920b791fa');
    //    define('GRN_HOTEL_API_URL','http://api-sandbox.grnconnect.com/api/v3/hotels');
    //    define('GRN_HOTEL_IMAGES_CDN_URL','https://cdn.grnconnect.com');
    //    define('GRN_HOTEL_API_SEARCH_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    //    define('GRN_HOTEL_API_CANCELLATION_POLICY_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    //    define('GRN_HOTEL_API_RATE_RECHECK_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    //    define('GRN_HOTEL_API_BOOKING_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');
    //    define('GRN_HOTEL_API_CANCELLATION_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');
    //    define('GRN_HOTEL_API_FETCH_BOOKINGS_URL','http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');

    define('APIKEY', '3994707aa35de95-ca79-442b-a2ac-3311db4d268c'); /// for tripjack live
    define('TRIPJACK_FL_SEARCHALL_URL', 'https://api.tripjack.com/fms/v1/air-search-all');
    define('TRIPJACK_FL_API_FARE_RULE_URL', 'https://api.tripjack.com/fms/v1/farerule');
    define('TRIPJACK_FL_API_REVIEW_URL', 'https://api.tripjack.com/fms/v1/review');
    define('TRIPJACK_FL_API_INSTANT_BOOK_URL', 'https://api.tripjack.com/oms/v1/air/book');
    define('TRIPJACK_FL_API_BOOKINGDETAILS_URL', 'https://api.tripjack.com/oms/v1/booking-details');
    define('TRIPJACK_FL_API_GETAMENDMENTCHARGES_URL', 'https://api.tripjack.com/oms/v1/air/amendment/amendment-charges');
    define('TRIPJACK_FL_API_SUBMITAMENDMENT_URL', 'https://api.tripjack.com/oms/v1/air/amendment/submit-amendment');
    define('TRIPJACK_FL_API_AMENDMENTDETAILS_URL', 'https://api.tripjack.com/oms/v1/air/amendment/amendment-details');
    define('TRIPJACK_FL_API_FAREVALIDATE_URL', 'https://api.tripjack.com/oms/v1/air/fare-validate');
    define('TRIPJACK_FL_API_SEAT_URL', 'https://api.tripjack.com/fms/v1/seat');

    // For Tripjack Hotels ...
    define('hotel_api_key', '3994707aa35de95-ca79-442b-a2ac-3311db4d268c'); /// for tripjack live
    define('hotel_searchquery_list', 'https://api.tripjack.com/hms/v1/hotel-searchquery-list');
    define('hotel_search', 'https://api.tripjack.com/hms/v1/hotel-search');
    define('hotelDetail_search', 'https://api.tripjack.com/hms/v1/hotelDetail-search');
    define('hotel_cancellation_policy', 'https://api.tripjack.com/hms/v1/hotel-cancellation-policy');
    define('hotel_review', 'https://api.tripjack.com/hms/v1/hotel-review');
    define('hotel_book', 'https://api.tripjack.com/oms/v1/hotel/book');
    define('booking_hotel_details', 'https://api.tripjack.com/oms/v1/hotel/booking-details');
    define('cancel_hotel_booking', 'https://api.tripjack.com/oms/v1/hotel/cancel-booking/id');
} else { // For Local,Demo,St Servers Only....

    // For Flight ...

    // For Flight ...
    define('FLIGHT_API_CLIENT_ID', 'ApiIntegrationNew');
    define('FLIGHT_API_USER', 'tripshows');
    define('FLIGHT_API_PASSWORD', 'tripshows@12345');

    define('FLIGHT_API_LOGS', TRUE);
    define('HOTEL_API_LOGS', TRUE);
    define('HOTEL_API_CITY_PROD', false);

    define('TBO_AGENCYBALANCE_URL','http://api.tektravels.com/SharedServices/SharedData.svc/rest/GetAgencyBalance');
    define('TBO_AUTHENTICATE_URL', 'http://api.tektravels.com/SharedServices/SharedData.svc/rest/Authenticate');
    define('FLIGHT_API_SEARCH_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/Search/');
    define('FLIGHT_API_FARE_QUOTE_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/FareQuote/');
    define('FLIGHT_API_FARE_RULE_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/FareRule/');
    define('FLIGHT_API_SSR_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/SSR/');
    define('FLIGHT_API_BAGGAGE_INFO_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/FareRule/');
    define('FLIGHT_API_TICKET_URL', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/Ticket/');
    define('FLIGHT_API_BOOKING_URL', 'http://api.tektravels.com/BookingEngineService_AirBook/AirService.svc/rest/Book/');
    define('FLIGHT_API_BOOKING_RELEASE_PNR', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/ReleasePNRRequest/');
    define('FLIGHT_API_BOOKING_CHANGE_REQUEST', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/SendChangeRequest/');
    define('FLIGHT_API_BOOKING_CHANGE_REQUEST_STATUS', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/GetChangeRequestStatus/');
    define('FLIGHT_API_GET_CANCELLATION_CHARGE', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/GetCancellationCharges/');
    define('FLIGHT_API_BOOKING_DETAILS', 'http://api.tektravels.com/BookingEngineService_Air/AirService.svc/rest/GetBookingDetails/');

    // For Hotel ...
    define('TBO_HOTEL_API_SEARCH_URL', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/GetHotelResult/');
    define('TBO_HOTEL_API_HOTEL_INFO', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/GetHotelInfo/');
    define('TBO_HOTEL_API_HOTEL_ROOM_INFO', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/GetHotelRoom/');
    define('TBO_HOTEL_API_HOTEL_ROOM_BLOCK', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/BlockRoom/');
    define('TBO_HOTEL_API_HOTEL_ROOM_BOOK', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/Book/');
    define('TBO_HOTEL_API_FETCH_BOOKING_DETAIL_URL', 'http://api.tektravels.com/BookingEngineService_Hotel/HotelService.svc/rest/GetBookingDetail/');
    define('TBO_HOTEL_API_CANCELLATION_URL', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/SendChangeRequest/');
    define('TBO_HOTEL_API_CANCELLATION_STATUS_URL', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/GetChangeRequestStatus/');
    define('TBO_HOTEL_API_TAGGINGSTATIC_DATA_URL', 'http://api.tektravels.com/SharedServices/StaticData.svc/rest/GetHotelStaticData');
    define('TBO_HOTEL_API_GENERATE_VOUCHER', 'http://api.tektravels.com/BookingEngineService_Hotel/hotelservice.svc/rest/GenerateVoucher/');

    // For Hotels ...
    define('GRN_HOTEL_API_KEY', '9cb064fbb626dcddf018f7e920b791fa');
    define('GRN_HOTEL_API_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels');
    define('GRN_HOTEL_IMAGES_CDN_URL', 'https://cdn.grnconnect.com');
    define('GRN_HOTEL_API_SEARCH_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    define('GRN_HOTEL_API_CANCELLATION_POLICY_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    define('GRN_HOTEL_API_RATE_RECHECK_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/availability');
    define('GRN_HOTEL_API_BOOKING_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');
    define('GRN_HOTEL_API_CANCELLATION_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');
    define('GRN_HOTEL_API_FETCH_BOOKINGS_URL', 'http://api-sandbox.grnconnect.com/api/v3/hotels/bookings');

    // For Tripjack
    define('APIKEY', '311588105d9884-721f-46d8-9e83-b7a77119c824'); /// for tripjack test

    define('TRIPJACK_FL_SEARCHALL_URL', 'https://apitest.tripjack.com/fms/v1/air-search-all');
    define('TRIPJACK_FL_API_FARE_RULE_URL', 'https://apitest.tripjack.com/fms/v1/farerule');
    define('TRIPJACK_FL_API_REVIEW_URL', 'https://apitest.tripjack.com/fms/v1/review');
    define('TRIPJACK_FL_API_INSTANT_BOOK_URL', 'https://apitest.tripjack.com/oms/v1/air/book');
    define('TRIPJACK_FL_API_BOOKINGDETAILS_URL', 'https://apitest.tripjack.com/oms/v1/booking-details');
    define('TRIPJACK_FL_API_CONFIRMFAREBEFORETICKETING_URL', 'https://apitest.tripjack.com/oms/v1/air/fare-validate');
    define('TRIPJACK_FL_API_GETAMENDMENTCHARGES_URL', 'https://apitest.tripjack.com/oms/v1/air/amendment/amendment-charges');
    define('TRIPJACK_FL_API_SUBMITAMENDMENT_URL', 'https://apitest.tripjack.com/oms/v1/air/amendment/submit-amendment');
    define('TRIPJACK_FL_API_AMENDMENTDETAILS_URL', 'https://apitest.tripjack.com/oms/v1/air/amendment/amendment-details');
    define('TRIPJACK_FL_API_FAREVALIDATE_URL', 'https://apitest.tripjack.com/oms/v1/air/fare-validate');
    define('TRIPJACK_FL_API_SEAT_URL', 'https://apitest.tripjack.com/fms/v1/seat');

    // For Tripjack Hotels ...
    define('hotel_api_key', '311588105d9884-721f-46d8-9e83-b7a77119c824');
    define('hotel_searchquery_list', 'https://apitest.tripjack.com/hms/v1/hotel-searchquery-list');
    define('hotel_search', 'https://apitest.tripjack.com/hms/v1/hotel-search');
    define('hotelDetail_search', 'https://apitest.tripjack.com/hms/v1/hotelDetail-search');
    define('hotel_cancellation_policy', 'https://apitest.tripjack.com/hms/v1/hotel-cancellation-policy');
    define('hotel_review', 'https://apitest.tripjack.com/hms/v1/hotel-review');
    define('hotel_book', 'https://apitest.tripjack.com/oms/v1/hotel/book');
    define('booking_hotel_details', 'https://apitest.tripjack.com/oms/v1/hotel/booking-details');
    define('cancel_hotel_booking', 'https://apitest.tripjack.com/oms/v1/hotel/cancel-booking/id');


    define('SERIES_FARE_SEARCHALL_URL', 'http://gtxapi.hellogtx.com/api/v2/index/');
    define('SERIES_FARE_INVENTORY_SECTOR_URL', 'http://gtxapi.hellogtx.com/api/v2/get-inventory/');
}

Youez - 2016 - github.com/yon3zu
LinuXploit