[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/help/ -> 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  <head>
   5  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
   6  <?php require (DIR_WS_INCLUDES . 'meta_tags.php'); ?>
   7  <title>BTS/JTS help template</title>
   8  <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
   9  <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >
  10  <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >
  11  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','stylesheet.css')); ?>">
  12  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); ?>">
  13  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); ?>">
  14  <style type="text/css">
  15  <!--
  16  <?php
  17  if(isset($css_page_width))
  18  {
  19  echo 'div#pageFrame { width: ' . $css_page_width . 'px;}';
  20  }
  21  ?>
  22  #informationBox br {

  23  display: none;
  24  }
  25  #informationBox a {

  26  display: block;
  27  }
  28  #informationBox a:hover {

  29  background: #eee;
  30  }
  31  .infoBoxFL dl {
  32  text-align: left;    
  33  /* IE needs width setting */

  34  
  35  
  36      }
  37  
  38  .infoBoxFL dl, .infoBoxFL dt {
  39  margin: 0px;
  40  padding: 0px;
  41  
  42  color: white;
  43  font-size: normal;
  44  font-weight: normal;
  45  
  46  }
  47  .infoBoxFL dt {
  48  margin-top: 4px;
  49  margin-left: 4px;
  50  }
  51  .infoBoxFL dd  {
  52  margin: 0px;
  53  padding: 0px;
  54  color: black;
  55  font-size: 9px;
  56  white-space: nowrap;
  57  }
  58  .explain {
  59  color: white;
  60  background: #3c3;
  61  }
  62  
  63  -->
  64  </style>
  65  <?php if (isset($javascript) && file_exists(DIR_WS_JAVASCRIPT . basename($javascript))) { require(DIR_WS_JAVASCRIPT . basename($javascript)); } ?>
  66  </head>
  67  <body>
  68  
  69  <!-- warnings //-->
  70  <?php require (DIR_WS_INCLUDES . 'warnings.php'); ?>
  71  <!-- warning_eof //-->
  72  <!--
  73  "Fluid CSS Layout" template for PandA.nl, Copyright: Paul Mathot Haarlem, Netherlands 2004/02/15
  74  -->
  75  <?php
  76  // include i.e. template switcher in every template

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

  78  ?>
  79  <!-- begin pageFrame -->
  80  <div id="pageFrame">
  81  
  82  <div id="logoFrame">
  83    <img id="logo" src="<?php echo (bts_select('images','logo.gif')); // BTSv1.5 ?>" alt="Logo">

  84    <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>
  85  </div>
  86  
  87  <div class="navBarFrame" id="navTopFrame">
  88  <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>
  89  </div>
  90  
  91  
  92    <div id="middleFrame">
  93    
  94      <div id="middleContent"><h4 class="explain">File: <?php echo basename($PHP_SELF);?></h4><h4>Shown CSS id's and classes may be different for other templates!</h4><?php
  95          require (bts_select ('content')); // BTSv1.5

  96    ?>      <h4 class="explain" style="margin: auto; text-align: center;">End: <?php echo (bts_select ('content')); ?></h4><h4 class="explain" style="position: absolute; top: 0; right: 0;">Page template: <?php echo (bts_select ('content')); ?></h4>
  97  </div>
  98      <!-- end middleContent -->
  99  
 100      <div class="navBarFrame" id="navBottomFrame">
 101        <div class="navBarContent">
 102          <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>
 103        </div>
 104      </div>
 105  
 106  <!-- begin bannerFrame -->
 107  <div id="bannerFrame">
 108    <div id="copyRight"><?php
 109  /*

 110    The following copyright announcement can only be

 111    appropriately modified or removed if the layout of

 112    the site theme has been modified to distinguish

 113    itself from the default osCommerce-copyrighted

 114    theme.

 115  

 116    For more information please read the following

 117    Frequently Asked Questions entry on the osCommerce

 118    support site:

 119  

 120    http://oscdox.com/community.php/faq,26/q,50

 121  

 122    Please leave this comment intact together with the

 123    following copyright announcement.

 124  */
 125  
 126  //  echo FOOTER_TEXT_BODY

 127  ?>A <a href="http://www.panda.nl" target="_blank">PandA.nl</a> creation 2003<br>Powered by <a href="http://oscdox.com" target="_blank">osCommerce</a></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')); ?>
 142    </div>
 143    <!-- end boxes1Frame -->
 144  
 145    <!-- begin boxes2Frame -->
 146    <div class="boxesFrame" id="boxes2Frame">
 147  <?php require(bts_select('column', 'column_right.php')); ?>
 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