source: themes/townsvilleforums/page.tpl.php @ 77

Revision 77, 4.0 KB checked in by nigel, 5 years ago (diff)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
3<head>
4  <title><?php print $head_title ?></title>
5  <meta http-equiv="Content-Style-Type" content="text/css" />
6  <?php print $head ?>
7  <?php print $styles ?>
8</head>
9
10<body bgcolor="#ffffff">
11
12<div class="hide"><a href="#content" title="<?php print t('Skip navigation') ?>." accesskey="2"><?php print t('Skip navigation') ?></a>.</div>
13
14<table id="primary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
15  <tr>
16    <td id="home" width="10%">
17      <?php if ($logo) : ?>
18        <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" border="0" /></a>
19      <?php endif; ?>
20    </td>
21
22    <td id="site-info" width="20%">
23      <?php if ($site_name) : ?>
24        <div class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print($site_name) ?></a></div>
25      <?php endif;?>
26      <?php if ($site_slogan) : ?>
27        <div class='site-slogan'><?php print($site_slogan) ?></div>
28      <?php endif;?>
29    </td>
30    <td class="primary-links" width="70%" align="center" valign="middle">
31      <?php print theme('links', $primary_links) ?>
32    </td>
33  </tr>
34</table>
35
36<table id="secondary-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
37  <tr>
38    <td class="secondary-links" width="75%"  align="center" valign="middle">
39      <?php print theme('links', $secondary_links) ?>
40    </td>
41    <td  width="25%"  align="center" valign="middle">
42      <?php print $search_box ?>
43    </td>
44  </tr>
45  <tr>
46    <td colspan="2"><div><?php print $header ?></div></td>
47  </tr>
48</table>
49
50<table id="content" border="0" cellpadding="15" cellspacing="0" width="100%">
51  <tr>
52    <?php if ($sidebar_left != ""): ?>
53    <td id="sidebar-left">
54      <?php print $sidebar_left ?>
55    </td>
56    <?php endif; ?>
57
58    <td valign="top">
59      <?php if ($mission != ""): ?>
60      <div id="mission"><?php print $mission ?></div>
61      <?php endif; ?>
62
63      <div id="main">
64        <?php if ($title != ""): ?>
65          <?php print $breadcrumb ?>
66          <h1 class="title"><?php print $title ?></h1>
67
68          <?php if ($tabs != ""): ?>
69            <div class="tabs"><?php print $tabs ?></div>
70          <?php endif; ?>
71
72        <?php endif; ?>
73
74        <?php if ($help != ""): ?>
75            <div id="help"><?php print $help ?></div>
76        <?php endif; ?>
77
78        <?php if ($messages != ""): ?>
79          <?php print $messages ?>
80        <?php endif; ?>
81
82      <!-- start main content -->
83      <?php print($content) ?>
84      <!-- end main content -->
85
86      </div><!-- main -->
87    </td>
88    <?php if ($sidebar_right != ""): ?>
89    <td id="sidebar-right">
90      <?php print $sidebar_right ?>
91    </td>
92    <?php endif; ?>
93  </tr>
94</table>
95
96<table id="footer-menu" summary="Navigation elements." border="0" cellpadding="0" cellspacing="0" width="100%">
97  <tr>
98    <td align="center" valign="middle">
99    <?php if (isset($primary_links)) : ?>
100      <div class="primary-links">
101        <?php print theme('links', $primary_links) ?>
102      </div>
103    <?php endif; ?>
104    <?php if (isset($secondary_links)) : ?>
105      <div class="secondary-links">
106        <?php print theme('links', $secondary_links) ?>
107      </div>
108    <?php endif; ?>
109    </td>
110  </tr>
111</table>
112
113<?php if ($footer_message) : ?>
114<div id="footer-message">
115    <p><?php print $footer_message;?></p>
116<script id="stats_script" type="text/javascript"
117  src="http://metrics.performancing.com/drupal.js">
118</script>
119<a href="http://performancing.com"><img src="http://metrics.performancing.com/logo_small.png" height="14" width="125" border="0" alt="Performancing"></a>
120
121</div>
122<?php endif; ?>
123<?php print $closure;?>
124</body>
125</html>
Note: See TracBrowser for help on using the repository browser.