[eluser]edjon2000[/eluser]
Sorry about this here is the view.
Header:
Code:
<?php
$timezone = "Europe/London"; // My time zone
date_default_timezone_set($timezone); // set local time
?>
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $page_title; ?></title>
<link href="<?php echo base_url(); ?>_assets/css/sj-style.css" rel="stylesheet" type="text/css" media="screen, projection" />
[removed][removed]
[removed][removed]
[removed][removed]
<!-- the scriptaculous javascript library is available at http://script.aculo.us/ -->
<?php if (isset($extra_head_content))
echo $extra_head_content; ?>
</head>
<body>
<div id="container">
<!-- #masthead -->
<div id="masthead">
<h1><?php echo anchor('', 'Savannah James'); ?></h1>
<ul>
<li class="home"><?php echo anchor('home', 'Home'); ?></li>
<li class="vacancies"><?php echo anchor('vacancies', 'Vacancies'); ?></li>
<li class="candidates"><?php echo anchor('candidates', 'Candidates'); ?></li>
<li class="contact-us"><?php echo anchor('contact', 'Contact Us'); ?></li>
<li class="tips"><?php echo anchor('tips', 'Tips'); ?></li>
</ul>
</div><!-- end of div #masthead -->
<div id="topbar">
<?php
$link_name = '';
$admin_link = '';
if($this->session->userdata('admin_name') != NULL)
{
$admin_link = $this->session->userdata('admin_name');
$link_name = ('Hello ' .
'<strong> ' .
$admin_link .
'!</strong> - ' .
anchor('admin', 'Site Admin') .
' - ' .
anchor('logout', 'Log Out'));
}
else
{
$link_name = anchor('login', 'Log In to Site Admin');
}
?>
<div id="tb-1"><?php echo $link_name; ?></div>
<div id="tb-2">
<div id="tb-2-facebook">
<?php echo anchor('http://www.facebook.com', 'facebook'); ?>
</div>
<div id="tb-2-linkedin">
<?php echo anchor('http://www.linkedin.com', 'linked in'); ?>
</div>
<div id="tb-2-twitter">
<?php echo anchor('http://www.twitter.com', 'twitter'); ?>
</div>
</div>
<div id="tb-3">
<?php echo "<p>" . date("D d M Y g:i a") . "</p>"; ?>
</div>
</div>
for this page the main content is as follows
Code:
<div id="left-column">
<h2 id="about-us">About Us</h2>
<!-- insert about us content -->
<p>Here at Savannah James we make every effort to build solid relationships with both Clients and Candidates by using honesty, integrity and effective detailed communication supported by our commitment and determination to create career enhancing introductions.</p>
<p>Our approach is as rigorous and intensive as it's open minded, highly successful Candidates can often come from unexpected sources.</p>
<p>It is our aim to provide the perfect introduction, by gaining a comprehensive understanding of our Candidates' achievements to date, along with their key objectives this will enable us to identify their preferred new role and company they are actively seeking.</p>
<p>We are skilled in ensuring that our Clients' working environment, benefits package, vision and future plans give complete synergy to our Candidates' requirements.</p>
<p>Through our intensive research and networking ability we are being approached by national, multi-site organisations, along with niche recruitment businesses, gaining preferred supply/status to assist in their recruitment needs across all areas of the UK.</p>
<p>Our Service is delivered with Passion Professionalism and Speed to ensure all parties achieve the required outcome.</p>
</div><!-- end of div #left-column -->
and the footer is
Code:
</div>
<!-- end of div #container -->
<!-- #footer -->
<div id="footer">
<div id="ft-wrapper">
<div id="ft-1">
<p>
<?php echo anchor('home', 'Home |'); ?>
<?php echo anchor('vacancies', 'Vacancies |'); ?>
<?php echo anchor('candidates', 'Candidates |'); ?>
<?php echo anchor('contact', 'Contact Us |'); ?>
<?php echo anchor('tips', 'Tips'); ?>
</p>
</div>
<div id="ft-2"></div>
<div id="ft-3">
<p>© 2010 Savannah-James.com</p>
</div>
</div>
</div><!-- end of div #footer -->
<div class="benchmark"><?php echo 'Page loaded in ' . $this->benchmark->elapsed_time() . ' seconds'; ?></div>
</body>
</html>