initial commit

This commit is contained in:
Ben Ramey
2017-03-02 21:57:21 -06:00
commit fd8ad64063
22097 changed files with 1960930 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<!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" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body id='<?php echo isset($bodyId) ? $bodyId : $sf_context->getModuleName() ?>'>
<div id='main'>
<div id="header">
<div id="user-bar">
<?php echo image_tag("accents/top_swoop.gif") ?>
<span>
<?php echo 'Welcome to Pro Active English.' ?> |
<?php if($sf_user->isAuthenticated()): ?>
<?php echo link_to('Logout', "default/logout") ?>
<?php else: ?>
<?php echo link_to('Login', "default/login") ?>
<?php endif; ?>
</span>
</div>
<h1>
<?php echo link_to('Pro Active English', '') ?>
<?php echo image_tag('identity/running_man-small.gif', "alt=Running man on world") ?>
</h1>
<div class='orange-line'></div>
</div>
<div id='nav'>
<?php echo image_tag('accents/bottom_swoop_admin.gif') ?>
<?php if($sf_user->isAuthenticated()): ?>
<ul>
<li id='employees_nav'><?php echo link_to('Employees', 'employee') ?></li>
<li id='events_nav'><?php echo link_to('Events', 'event') ?></li>
<li id='courses_nav'><?php echo link_to('Courses', 'course') ?></li>
<!--
<li id='schedule_nav'><?php echo link_to('Schedule', 'schedule') ?></li>
<li id='references_nav'><?php echo link_to('References', 'reference') ?></li>
-->
</ul>
<?php endif; ?>
</div>
<?php if($sf_request->hasErrors()): ?>
<ul class='errors'>
<?php foreach($sf_request->getErrors() as $name => $error): ?>
<li><?php echo $name ?>: <?php echo $error ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<div id="content">
<?php echo $sf_data->getRaw('sf_content') ?>
</div>
</div>
<div id="footer">
<?php echo 'Copyright Pro Active English, All Rights Reserved.' ?>
| <?php echo 'Site created and maintained by' ?>
<?php echo link_to('Ben Ramey', 'http://www.benramey.com') ?>
</div>
</div>
</body>
</html>