cntact me in pm, i will help youCopied and paste the above code as instructed but cannot go to the home page, just go back to the dashboard!!! Need help!
You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
cntact me in pm, i will help youCopied and paste the above code as instructed but cannot go to the home page, just go back to the dashboard!!! Need help!
Home page like how send in More descriptionCopied and paste the above code as instructed but cannot go to the home page, just go back to the dashboard!!! Need help!
Is there any other script better that PHPTRALERS? because it seems not working well with most APIs like amadeus API or Sabre API...the version 7.3 works but just buggy on the apisUnfortunately it was not nulled properly. I had to null it again myself
From my experience it's by far the bestIs there any other script better that PHPTRALERS? because it seems not working well with most APIs like amadeus API or Sabre API...the version 7.3 works but just buggy on the apis
Thanks Nullsifu, Will try and see where i went wrong with my APIsFrom my experience it's by far the best
You're welcome. If you need any help you can always ask on the platformThanks Nullsifu, Will try and see where i went wrong with my APIs
Hi,we have two ways to null the script
one change line 56 to your ip address
for shared hosting add this to line 57
if ($whitelist || in_array($_SERVER['REMOTE_ADDR'], $whitelist) || $_SERVER['HTTP_HOST'] == "server") {
or simply pate this code to public function index
public function index() {
$license = $this->license;
$whitelist = array('127.0.9.1');
if ($whitelist || in_array($_SERVER['REMOTE_ADDR'], $whitelist) || $_SERVER['HTTP_HOST'] == "server") {
if ($this->validadmin()) {
$addnotes = $this->input->post('addnotes');
$updatenotes = $this->input->post('updatenotes');
if (!empty($updatenotes)) {
$this->Accounts_model->update_admin_notes($this->data['isadmin']);
} elseif (!empty($addnotes)) {
$this->Accounts_model->add_admin_notes($this->data['isadmin']);
}
//update pt_sessions table to remove all previous data
$this->updateSessionsTable();
if ($this->role != "webadmin") {
$this->data['canQuickBook'] = pt_permissions("addbooking", $this->data['userloggedin']);
} else {
$this->data['canQuickBook'] = TRUE;
}
$this->data['app_settings'] = $this->Settings_model->get_settings_data();
//Start Reports Code
$this->data['currCode'] = $this->data['app_settings'][0]->currency_code;
$this->defaultcurrencyset();
$this->data['oneEightyDays'] = modules::run('Admin/reports/diffLastDuration', '180');
$this->data['nintyDays'] = modules::run('Admin/reports/diffLastDuration', '90');
$this->data['sixtyDays'] = modules::run('Admin/reports/diffLastDuration', '60');
$this->data['yesterday'] = modules::run('Admin/reports/diffLastDuration', '1');
$this->data['today'] = modules::run('Admin/reports/today');
//for total amount paid
$this->data['thirtyDaysPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '30');
$this->data['oneEightyDaysPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '180');
$this->data['nintyDaysPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '90');
$this->data['sixtyDaysPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '60');
$this->data['yesterdayPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '1');
$this->data['todayPaid'] = modules::run('Admin/reports/diffLastDurationPaid', '0');
//end for total amount paid
$this->data['oneEightyDaysExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '180');
$this->data['nintyDaysExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '90');
$this->data['sixtyDaysExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '60');
$this->data['yesterdayExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '1');
$this->data['todayExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '0');
$this->data['thirtyDaysExpedia'] = modules::run('Admin/reports/diffLastDurationExpedia', '30');
$this->data['thirtyDays'] = modules::run('Admin/reports/thirtydays');
$this->data['graphReport'] = modules::run('Admin/reports/graphReport');
$this->data['graphReportHotels'] = modules::run('Admin/reports/graphReport', 'hotels');
$this->data['graphReportFlights'] = modules::run('Admin/reports/graphReport', 'flights');
$this->data['graphReportTours'] = modules::run('Admin/reports/graphReport', 'tours');
$this->data['graphReportCars'] = modules::run('Admin/reports/graphReport', 'cars');
$this->data['graphReportExpedia'] = modules::run('Admin/reports/graphReportExpedia');
// Travelport
$this->data['graphReportTravelport'] = modules::run('Admin/reports/graphReportTravelport'); // Chart Data
$this->data['travelportCurrentDaySale'] = modules::run('Admin/reports/travelport_today_sale'); // Current Day Sale Amount
$this->data['travelportLastThirtyDays'] = modules::run('Admin/reports/travelport_last_thirty_days_sale'); // Last 30 Days Sale Amount
$this->data['travelportLastNinghtyDays'] = modules::run('Admin/reports/travelport_last_ninghty_days_sale'); // Last 90 Days Sale Amount
// Travelhope Flight
$this->data['graphReportTravelhopeFlight'] = modules::run('Admin/reports/graphReportTravelhopeFlight'); // Chart Data
// Travelhope Hotel
$this->data['graphReportTravelhopeHotel'] = modules::run('Admin/reports/graphReportTravelhopeHotel'); // Chart Data
$modules = new stdClass;
$modules->hotels = (object) array("name" => "Hotels", "data" => $this->data['graphReportHotels']['amounts']);
$modules->flights = (object) array("name" => "Flights", "data" => $this->data['graphReportFlights']['amounts']);
$modules->tours = (object) array("name" => "Tours", "data" => $this->data['graphReportTours']['amounts']);
$modules->cars = (object) array("name" => "Cars", "data" => $this->data['graphReportCars']['amounts']);
$modules->ean = (object) array("name" => "Expedia", "data" => $this->data['graphReportExpedia']['amounts']);
$modules->travelport_flight = (object) array("name" => "Flights", "data" => $this->data['graphReportTravelport']);
$modules->travelhope_flight = (object) array("name" => "Thflights", "data" => $this->data['graphReportTravelhopeFlight']['amounts']);
$modules->travelhope_hotel = (object) array("name" => "Thhotels", "data" => $this->data['graphReportTravelhopeHotel']['amounts']);
$hotelsMod = isModuleActive('hotels');
$flightsMod = isModuleActive('flights');
$toursMod = isModuleActive('tours');
$carsMod = isModuleActive('cars');
$eanMod = isModuleActive('ean');
$travelport_flight = isModuleActive('travelport_flight');
if ($hotelsMod) {
$modules->graphModules[] = $modules->hotels;
}
if ($flightsMod) {
$modules->graphModules[] = $modules->flights;
}
if ($toursMod) {
$modules->graphModules[] = $modules->tours;
}
if ($carsMod) {
$modules->graphModules[] = $modules->cars;
}
if ($eanMod) {
$modules->graphModules[] = $modules->ean;
}
if ($travelport_flight) {
$this->data['travelportSeries'] = json_encode(array($modules->travelport_flight));
}
if (isModuleActive('TravelhopeFlights')) {
$modules->graphModules[] = $modules->travelhope_flight;
}
if (isModuleActive('TravelhopeHotels')) {
$modules->graphModules[] = $modules->travelhope_hotel;
}
$array = $modules->graphModules;
$this->data['resArray'] = json_encode($array);
// Accounts reports.
$this->data['adminAccountsCount'] = modules::run('Admin/reports/accountsCount', 'admin');
$this->data['supplierAccountsCount'] = modules::run('Admin/reports/accountsCount', 'supplier');
$this->data['customersAccountsCount'] = modules::run('Admin/reports/accountsCount', 'customers');
$this->data['guestAccountsCount'] = modules::run('Admin/reports/accountsCount', 'guest');
$this->data['totalBookings'] = modules::run('Admin/reports/totalBookings');
//End Reports Code
$this->data['quickmodules'] = app()->service('ModuleService')->getQuickBookingModules();
$this->data['chklib'] = $this->ptmodules;
$this->data['blogenabled'] = isModuleActive('blog');
$this->data['newsletterEnabled'] = isModuleActive('newsletter');
$this->data['thismonth'] = modules::run('Admin/reports/this_month_report');
$this->data['thisyear'] = modules::run('Admin/reports/this_year_report');
$this->data['thisday'] = modules::run('Admin/reports/this_day_report');
$this->data['mainmodules'] = $this->Modules_model->get_module_names();
$this->data['modules'] = $this->Modules_model->get_all_enabled_modules();
$this->data['customers'] = $this->Accounts_model->get_active_customers();
$this->data['smsaddon'] = $this->Modules_model->check_module("smsaddon");
$visits = $this->visitors_stats();
$this->data['totalDays'] = $visits->totalDays;
$this->data['uniqueVisits'] = $visits->uniqueVisits;
$this->data['totalHits'] = $visits->totalHits;
$xaxis = [];
for ($i = 0; $i <= 31; $i++) {
$xaxis[] = date("m-d", strtotime('-' . $i . ' days'));
}
sort($xaxis);
$this->data['xaxis'] = $xaxis;
$this->data['notes'] = $this->Accounts_model->admin_notes_image($this->data['isadmin']);
$this->data['main_content'] = 'dashboard/dashboard';
$this->data['page_title'] = 'Dashboard';
$this->data['stats'] = $this->Accounts_model->dashboard_stats();
$this->load->view('template', $this->data);
} else {
//secure login check
$slogin = $this->secure_url();
$skey = $this->secure_key();
if ($slogin) {
$key = $this->input->get('s');
if (!empty($key)) {
if ($skey) {
$this->data['pagetitle'] = 'Administator Login';
$this->load->view('login', $this->data);
} else {
backError_404();
}
} else {
backError_404();
}
} else {
$this->data['pagetitle'] = 'Administator Login';
$this->load->view('login', $this->data);
}
}
} else {
$this->login();
}
}
../application/modules/admin/controller/admin.phpHi,
Could you show me which file can I edit?
Thanks a lot,
Thanks @gNoM3, Do you know any other Script like phptravels that can integrate GDS APIs and already nulled? I spent hours trying to look for 1 but no luckthe v8 has not been released yet, we will have to wait for them to finish it first
Yes you can use your own APIs but they have to be supported by phptralers. In the Modules section you can find all supported APIs suppliers...So far i have tried Amadeus APIs but not working, maybe it will fixed in the upcoming V.8Can any one help me with PHP Travels
Can i Use our own Thirdparty API In this application ?
n i Us
update number 4298 it containe 2 folders (application and assets) the first one have the admin modules (the file name is Admin.php) if update it ask you for the license key but not in the localhost)Installs ok, but there are 8 updates available in the admin panel. One of them makes you have to input the license# again... Don't know what that update is...
for the lisence ky you need to chage som line in the dashboard file .phpupdate number 4298 it containe 2 folders (application and assets) the first one have the admin modules (the file name is Admin.php) if update it ask you for the license key but not in the localhost)
if you want to update i will give you the modiffied one with no issue i mean (Admin.php) just replace and make update
thanks for replying.i have the nulled onefor the lisence ky you need to chage som line in the dashboard file .php
it's so easy to null phptravels
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.