[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/CSS-fluid-1/ -> main_page.tpl.php (source)

   1  <?php require (DIR_WS_INCLUDES . 'counter.php'); ?>
   2  <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
   3  <html <?php echo HTML_PARAMS;
   4    // BOF Separate Pricing Per Customer

   5      if(!tep_session_is_registered('sppc_customer_group_id')) {
   6      $customer_group_id = '0';
   7      } else {
   8       $customer_group_id = $sppc_customer_group_id;
   9      }
  10    // EOF Separate Pricing Per Customer

  11  ?>>
  12  
  13  <head>
  14  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  15  <?php require (DIR_WS_INCLUDES . 'meta_tags.php'); ?>
  16  <title><?php echo META_TAG_TITLE; ?></title>
  17  <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
  18  <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >
  19  <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >
  20  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','stylesheet.css')); // BTSv1.5 ?>">

  21  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); // BTSv1.5 ?>">

  22  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); // BTSv1.5 ?>" media="print">

  23  <link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>coolmenu.css">
  24  <?php require ('includes/javascript/form_check.js.php'); ?>
  25  
  26  <style type="text/css">
  27  <!--
  28  <?php
  29  if(isset($css_page_width))
  30  {
  31  echo 'div#pageFrame { width: ' . $css_page_width . 'px;}';
  32  }
  33  ?>
  34  #informationBox br {

  35  display: none;
  36  }
  37  #informationBox a {

  38  display: block;
  39  }
  40  #informationBox a:hover {

  41  background: #eee;
  42  }
  43  
  44  -->
  45  </style>
  46  <?php if (isset($javascript) && file_exists(DIR_WS_JAVASCRIPT . basename($javascript))) { require(DIR_WS_JAVASCRIPT . basename($javascript)); } ?>
  47   <!-- coolMenu //-->
  48   <?php
  49   if (DISPLAY_DHTML_MENU == 'CoolMenu') {
  50       echo '<SCRIPT LANGUAGE="JavaScript1.2" SRC="includes/coolMenu.js"></SCRIPT>';
  51   }
  52   ?>
  53   <!-- coolMenu_eof //-->
  54  <?php
  55      //// BEGIN:  Added for Dynamic MoPics v3.000

  56  ?>
  57  <link rel="stylesheet" type="text/css" href="dynamic_mopics.css">
  58  <script language="javascript" type="text/javascript"><!--
  59  	function popupImage(url, imageHeight, imageWidth) {
  60          var newImageHeight = (parseInt(imageHeight) + 40);
  61          var yPos = ((screen.height / 2) - (parseInt(newImageHeight) / 2));
  62          var xPos = ((screen.width / 2) - (parseInt(imageWidth) / 2));
  63  
  64          imageWindow = window.open(url,'popupImages','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=' + imageWidth + ',height=' + newImageHeight + ',screenY=' + yPos + ',screenX=' + xPos + ',top=' + yPos + ',left=' + xPos);
  65  
  66          imageWindow.moveTo(xPos, yPos);
  67          imageWindow.resizeTo(parseInt(imageWidth), parseInt(newImageHeight));
  68  
  69          if (window.focus) {
  70              imageWindow.focus();
  71          }
  72      }
  73  //--></script>

  74  <?php
  75      //// END:  Added for Dynamic MoPics v3.000

  76  ?>
  77  </head>
  78  <body>
  79   <!-- coolMenu //-->
  80   <?php
  81   if (DISPLAY_DHTML_MENU == 'CoolMenu') {
  82       require (DIR_WS_INCLUDES . 'coolmenu.php');
  83   }
  84   ?>
  85   <!-- coolMenu_eof //-->
  86  
  87  <!-- warnings //-->
  88  <?php require (DIR_WS_INCLUDES . 'warnings.php'); ?>
  89  <!-- warning_eof //-->
  90  <!--
  91  "Fluid CSS Layout" template for PandA.nl, Copyright: Paul Mathot Haarlem, Netherlands 2004/02/15
  92  -->
  93  <?php
  94  // include i.e. template switcher in every template

  95  if(bts_select('common', 'common_top.php')) include (bts_select('common', 'common_top.php')); // BTSv1.5

  96  ?>
  97  <!-- begin pageFrame -->
  98  <div id="pageFrame">
  99  
 100  <div id="logoFrame">
 101    <img id="logo" src="<?php echo (bts_select('images','store_logo.gif')); // BTSv1.5 ?>" alt="osCMax">

 102    <div id="imageNav"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?></div>
 103  </div>
 104  
 105  <div class="navBarFrame" id="navTopFrame">
 106  <div class="navBarContent"><div class="breadCrumb"><?php echo $breadcrumb->trail(' &raquo; '); ?></div><div class="navAcc"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> &nbsp;|&nbsp; <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></div></div>
 107  </div>
 108  
 109  
 110    <div id="middleFrame">
 111    
 112      <div id="middleContent"><?php
 113          require (bts_select ('content')); // BTSv1.5

 114    ?></div>
 115      <!-- end middleContent -->
 116  
 117      <div class="navBarFrame" id="navBottomFrame">
 118        <div class="navBarContent">
 119          <div class="date"><?php echo strftime(DATE_FORMAT_SHORT); ?></div><div class="navAcc"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></div>
 120        </div>
 121      </div>
 122  
 123  <!-- begin bannerFrame -->
 124  <div id="bannerFrame">
 125    <div id="copyRight"><?php
 126    echo FOOTER_TEXT_BODY
 127  ?></div>
 128  <?php
 129    if ($banner = tep_banner_exists('dynamic', '468x50')) {
 130  ?>
 131    <div id="banner"><!-- <?php echo tep_display_banner('static', $banner); ?> --></div>
 132  <?php } ?>
 133    </div>
 134  <!-- end bannerFrame -->
 135  
 136    </div>
 137    <!-- end middleFrame -->
 138  
 139    <!-- begin boxes1Frame -->
 140    <div class="boxesFrame" id="boxes1Frame">
 141  <?php require(bts_select('column', 'column_left.php')); // BTSv1.5 ?>

 142    </div>
 143    <!-- end boxes1Frame -->
 144  
 145    <!-- begin boxes2Frame -->
 146    <div class="boxesFrame" id="boxes2Frame">
 147  <?php require(bts_select('column', 'column_right.php')); // BTSv1.5 ?>

 148    </div>
 149    <!-- end boxes2Frame -->
 150  
 151  </div>
 152  <!-- end pageFrame -->
 153  
 154  </body>
 155  </html>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7