[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/templates/new/ -> 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><?php echo META_TAG_TITLE; ?></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')); // BTSv1.5 ?>">
  12  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','main_layout.css')); // BTSv1.5 ?>">
  13  <link rel="stylesheet" type="text/css" href="<?php echo (bts_select('stylesheet','print.css')); // BTSv1.5 ?>" media="print">
  14  <style type="text/css">
  15  <!--
  16  body {
  17    text-align: center;
  18  }
  19  #wrapper {
  20    text-align: left;
  21    width: 780px;
  22    border: 3px ridge red;
  23    margin: auto;
  24    padding: 1em;
  25  } 
  26  -->
  27  </style>
  28  <?php if (isset($javascript) && file_exists(DIR_WS_JAVASCRIPT . basename($javascript))) { require(DIR_WS_JAVASCRIPT . basename($javascript)); } ?>
  29  </head>
  30  <body>
  31  
  32  <!-- warnings //-->
  33  <?php require (DIR_WS_INCLUDES . 'warnings.php'); ?>
  34  <!-- warning_eof //-->
  35  <!--
  36  "Fluid CSS Layout" template for PandA.nl, Copyright: Paul Mathot Haarlem, Netherlands 2004/02/15
  37  -->
  38  <?php
  39  // include i.e. template switcher in every template
  40  if(bts_select('common', 'common_top.php')) include (bts_select('common', 'common_top.php')); // BTSv1.5
  41  ?>
  42  <div id="wrapper">
  43  <h1>Sample file</h1>
  44  <p>This is a sample only please overwrite this file (<?php echo DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE; ?>) with your own <?php echo TEMPLATENAME_MAIN_PAGE; ?> .</p>
  45  <p>If you create a new templates directory (like this one for example), and it does not contain any files yet, the fallback files will be loaded. But if you take a template file (i.e. stylesheet.css), and copy it (after editting it) to this new template directory the new file inside this template directory will be used i.s.o. the one inside the fallback directory.</p>
  46  </div>
  47  </body>
  48  </html>


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