Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. <?php // ob_start('ob_gzhandler');
  2. error_reporting(E_ERROR);
  3. require_once 'rwdGate.php';
  4.  
  5. define(AFFILIATE_ID, '7b61dbd02f9d2f');
  6. define(FLIGHT_WIDGET, '120387199');
  7.  
  8. $rwdgate = new rwdGate(AFFILIATE_ID);
  9. $widgets = array(FLIGHT_WIDGET);
  10. $rwdgate->fetch($widgets);
  11.  
  12. if ($rwdgate->isRawResult()){
  13. $rwdgate->printRawResult();
  14. die();
  15. }
  16. ?>
  17. <!DOCTYPE html>
  18. <!--[if IE 9]><html class="ie ie9"><![endif]--> <html lang="en">
  19.  
  20. <head>
  21. <title>Test IBE</title>
  22. <!--VCMS CSS-->
  23. <?php echo $rwdgate->getSection('HEAD'); ?>
  24. <!--END VCMS CSS-->
  25. <!--VCMS CSS-->
  26. <?php $list = $rwdgate->getSectionsList(); ?>
  27. <!--END VCMS CSS-->
  28.  
  29. </head>
  30. <body>
  31. <!-- FLIGHT WIDGET AREAR-->
  32. <div class="container" style="padding-left: 0px; padding-bottom: 100px; position: relative; margin-top: 0px; z-index: 5;">
  33.  
  34. <?php $list = $rwdgate ->getSectionsList (); ?>
  35.  
  36.  
  37. <?php
  38. if (in_array ('BODY' , $list )) {
  39. echo $rwdgate ->getSection ('BODY' );
  40. } else { ?>
  41. <div id="content">
  42.  
  43. <div class="container" style="padding-left: 0px;">
  44. <div class="col-md-12" style="padding-left: 0px;">
  45. <?php // CHANGE THE 0000 TO THE WIDGET ID..
  46. if (in_array ('81482032' , $list )) {
  47. echo $rwdgate ->getSection ('81482032' );
  48. }
  49. ?>
  50. </div>
  51. </div>
  52. </div>
  53.  
  54. <?php } ?>
  55.  
  56. </div>
  57. <!-- END FLIGHT WIDGET AREAR-->
  58. </body>
  59. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement