classes/class-destination.php 1 location
|
@@ 451-459 (lines=9) @@
|
| 448 |
|
} |
| 449 |
|
|
| 450 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 451 |
|
if($jdata) |
| 452 |
|
{ |
| 453 |
|
$adata=json_decode($jdata,true); |
| 454 |
|
if(!empty($adata)) |
| 455 |
|
{ |
| 456 |
|
$return = $this->import_row($adata,$wetu_id,$post_id,$team_members,$content,$safari_brands); |
| 457 |
|
$this->format_completed_row($return); |
| 458 |
|
} |
| 459 |
|
} |
| 460 |
|
|
| 461 |
|
die(); |
| 462 |
|
} |
classes/class-tours.php 1 location
|
@@ 472-480 (lines=9) @@
|
| 469 |
|
|
| 470 |
|
$jdata=file_get_contents("http://wetu.com/API/Itinerary/V7/Get?id=".$wetu_id); |
| 471 |
|
|
| 472 |
|
if($jdata) |
| 473 |
|
{ |
| 474 |
|
$jdata=json_decode($jdata,true); |
| 475 |
|
if(!empty($jdata)) |
| 476 |
|
{ |
| 477 |
|
$return = $this->import_row($jdata,$wetu_id,$post_id,$content); |
| 478 |
|
$this->format_completed_row($return); |
| 479 |
|
} |
| 480 |
|
} |
| 481 |
|
die(); |
| 482 |
|
} |
| 483 |
|
|
classes/class-accommodation.php 1 location
|
@@ 541-549 (lines=9) @@
|
| 538 |
|
} |
| 539 |
|
|
| 540 |
|
$jdata = file_get_contents( $this->url . '/Get?' . $this->url_qs . '&ids=' . $wetu_id ); |
| 541 |
|
if($jdata) |
| 542 |
|
{ |
| 543 |
|
$adata=json_decode($jdata,true); |
| 544 |
|
if(!empty($adata)) |
| 545 |
|
{ |
| 546 |
|
$return = $this->import_row($adata,$wetu_id,$post_id,$team_members,$content,$safari_brands); |
| 547 |
|
$this->format_completed_row($return); |
| 548 |
|
} |
| 549 |
|
} |
| 550 |
|
|
| 551 |
|
die(); |
| 552 |
|
} |