- <?php
- /**
- * Magento
- *
- * NOTICE OF LICENSE
- *
- * This source file is subject to the Open Software License (OSL 3.0)
- * that is bundled with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://opensource.org/licenses/osl-3.0.php
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@magentocommerce.com so we can send you a copy immediately.
- *
- * @category design_default
- * @package Mage
- * @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- */
- ?>
- <?php
- /**
- * Template for Mage_Page_Block_Html
- */
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
- <head>
- <?php echo $this->getChildHtml('head') ?>
- </head>
- <body >
- <div class="main">
- <?php echo $this->getChildHtml('header') ?>
- <div class="body">
- <?php
- $curr_page=$_SERVER['PHP_SELF'];
- $curr_page=explode("/",$curr_page);
- $curr_page=$curr_page[count($curr_page) - 2];
- if($curr_page != "cart" && $curr_page != "onepage" && $curr_page != "success")
- {
- ?>
- <div class="left">
- <?php echo $this->getChildHtml('left') ?>
- </div>
- <?php
- }
- ?>
- <div class="right2">
- <?php
- $currentContentPage=$_SERVER['PHP_SELF'];
- $currentContentPage= explode("/",$currentContentPage);
- ($currentContentPage[count($currentContentPage)-2] == 'onepage') ? $isChkoutPage=1 : $isChkoutPage=0;
- ?>
- <div style="padding:7px; ">
- <!-- [start] content -->
- <?php echo $this->getChildHtml('breadcrumbs') ?>
- <?php echo $this->getChildHtml('content') ?>
- <?php
- $currentContentPage=$_SERVER['PHP_SELF'];
- $currentContentPage= explode("/",$currentContentPage);
- ($currentContentPage[count($currentContentPage)-2] == 'onepage') ? $isChkoutPage=1 : $isChkoutPage=0;
- $currentContentPage=$currentContentPage[count($currentContentPage)-1];
- if($currentContentPage == 'Home-content-details')
- {
- require_once('brand_pages/home-content-detail.php');
- echo '</div></div>';
- }
- else
- {
- $brandId=explode("?",$_SERVER['REQUEST_URI']);
- if(count($brandId) > 1)
- $brandId=explode("=",$brandId[1]);
- if($brandId[0] == 'bid')
- {
- require_once('brand_pages/brand_detail.php');
- }
- }
- ?>
- <!-- [end] content -->
- <div class="col-right side-col" style=" margin-left:120px;display:block; float:left;">
- <?php if($isChkoutPage)
- {
- echo $this->getChildHtml('right') . "";
- }
- ?>
- </div>
- </div>
- </div>
- </div>
- <?php echo $this->getChildHtml('footer') ?>
- </div>
- </body>
- </html>