Viewing file: page.tpl.php (3.46 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <title><?php print $head_title ?></title> <?php print $head ?> <?php print $styles ?> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="<?php print base_path(). path_to_theme(); ?>/iestyles/ie6.css" /> <![endif]-->
<!--[if IE 7]> <link rel="stylesheet" type="text/css" href="<?php print base_path(). path_to_theme(); ?>/iestyles/ie7.css" /> <![endif]--> <?php print $scripts ?> </head>
<body>
<div id="utilities"> <?php print $search_box ?> <?php if (isset($primary_links)) : ?> <?php print '<div id="plinks">'; ?> <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?> <?php print '</div>'; ?> <?php endif; ?> </div>
<div id="page">
<div id="header"> <?php if ($site_name) : ?>
<?php if ($is_front) : /* if we are on the front page use <h1> for site title */ ?> <h1 class="sitetitle"> <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"> <?php print $site_name ?> </a> </h1> <?php endif; ?> <?php if (!$is_front) : /* otherwise use <p> and let node title use <h1> for SEO */ ?> <p class="sitetitle"> <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"> <?php print $site_name ?> </a> </p> <?php endif; ?> <?php endif; ?> <?php if ($site_slogan){?> <p class="slogan"><?php print $site_slogan ?></p> <?php } ?>
</div>
<?php if (($secondary_links)) : ?> <?php print '<div id="submenu">' ?> <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?> <?php print '</div><div class="stopfloat"></div>' ?> <?php endif; ?>
<div class="wrapper"><!--wrapper:defines whole content margins--> <!-- left --> <?php if ($left) { ?> <div class="lsidebar">
<?php print $left ?> </div><!-- end left --> <?php } ?>
<!-- right --> <?php if ($right) { ?> <div class="rsidebar"> <?php print $right ?> </div><!-- end right --> <?php } ?>
<div id="primary" style=<?php print '"width:'.marinelli_width( $left, $right).'px;">' ?> <div class="singlepage"> <?php print $breadcrumb; ?> <?php if ($mission): print '<div id="sitemission"><p>'. $mission .'</p></div>'; endif; ?> <?php if ($title): if ($is_front){/* if we are on the front page use <h2> for title */ print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; } else {print '<h1'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h1>'; /* otherwise use <h1> for node title */ } endif; ?> <?php if ($tabs): print '<div class="tabs">'.$tabs.'</div>'; endif; ?> <?php if ($help) { ?><div class="help"><?php print $help ?></div><?php } ?> <?php if ($messages) { ?><div class="messages"><?php print $messages ?></div><?php } ?> <div class="drdot"> <hr /> </div> <?php print $content ?> </div>
</div>
<div class="clear"></div>
</div> </div> <!-- Close Page --> <hr /> <div id="footer"> <?php print $footer ?> <?php print $footer_message ?> </div> <?php print $closure ?> </body> </html>
|