PHP Classes

File: pri/abk/_tpl/shell.phtml

Recommend this page to a friend!
  Classes of Vallo Reima  >  Tiny PHP Address Book  >  pri/abk/_tpl/shell.phtml  >  Download  
File: pri/abk/_tpl/shell.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Tiny PHP Address Book
Manage address book stored in a database with PDO
Author: By
Last change:
Date: 4 years ago
Size: 1,582 bytes
 

Contents

Class file image Download
<?php
/*
 * layout template
 *
 * @package Application
 * @author Vallo Reima
 * @copyright (C)2013
 */
echo ::HtmlDoc();
?>
<html <?= ::HtmlHtml(); ?>>
  <head>
    <?= ::HtmlHead([$base]); ?>
<style type="text/css">
<?php
$nme
= basename(__FILE__, TPL); /* example's filename */
$file = CSSD . $nme . '.css';
include(
$file);
?>
</style>
    <?= ::HtmlScript([$base, 'common']); ?>
<script type="text/javascript">
<?php
$nme
= basename(__FILE__, TPL); /* example's filename */
$file = JSD . $abk . '.js';
include(
$file);
?>
</script>
    <script type="text/javascript">

      window.onload = function() {
        ts = new Transit(); /* activate commons */
        ts.abk = new <?= ::$_->cln; ?>('<?= ::$_->fid; ?>');
      };

    </script>
  </head>
  <body>
    <div class="shell">
      <div id="head" class="head">
        <span><?= ::_('head'); ?></span>
      </div>
      <div class="contents">
        <div class="info">
          <div class="section" id="section"></div>
          <button type="button" id="finish" name="E" class="button-link finish"><?= ::_('txt.end'); ?></button>
          <div class="msgraw" id="msgraw">
            <noscript><?= ::_('txt.jsd'); ?></noscript>
          </div>
          <div class="endFloat"></div>
        </div>
        <div id="content" class="content">
          <?php include($mod); ?>
</div>
      </div>
      <div id="foot" class="foot">
        <?= ::_('foot'); ?>
</div>
    </div>
  </body>
</html>

For more information send a message to info at phpclasses dot org.