This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/views/theme/focusbusiness/page.php
2014-08-22 16:52:45 +10:00

109 lines
4.2 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title><?php echo Site::Appname(); ?></title>
<link rel="shortcut icon" href="<?php echo $meta->shortcut_icon ? $meta->shortcut_icon : '/favicon.ico' ?>" type="image/vnd.microsoft.icon" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="<?php echo $meta->language; ?>" />
<meta name="keywords" content="<?php echo $meta->keywords; ?>" />
<meta name="description" content="<?php echo $meta->description; ?>" />
<meta name="copyright" content="<?php echo Config::copywrite(); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<?php
if (Kohana::$environment >= Kohana::TESTING OR Request::current()->secure()) {
echo HTML::style('media/theme/bootstrap/css/bootstrap.min.css');
echo HTML::style('media/theme/bootstrap/css/bootstrap-responsive.min.css');
echo HTML::style('media/vendor/font-awesome/css/font-awesome.min.css');
} else {
echo HTML::style(Site::Protocol('netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap.min.css'));
echo HTML::style(Site::Protocol('netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css'));
echo HTML::style(Site::Protocol('netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css'));
}
echo HTML::style(Site::Protocol('fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,800italic,400,600,800'));
echo HTML::style('media/theme/focusbusiness/css/focus-1.1.css');
echo HTML::style('media/theme/focusbusiness/css/focus-1.1-responsive.css');
echo HTML::style('media/theme/focusbusiness/css/custom.css');
echo Style::factory()->render_all();
?>
</head>
<body>
<div id="wrapper" class="clearfix">
<div id="header">
<h1 id="title"><a href="<?php echo URL::site('/'); ?>"><?php echo Site::Appname(); ?><sup>+</sup></a></h1>
</div> <!-- /header -->
<?php if (! empty($shownavbar)) : ?>
<div id="nav" class="clearfix">
<div class="container">
<?php echo $navbar; ?>
</div> <!-- /container -->
</div> <!-- /nav -->
<?php endif ?>
<div id="content">
<?php echo $content; ?>
</div> <!-- /content -->
<div id="footer">
<div class="container">
<div class="row">
<div class="grid-4">
<h1 id="footer-logo">Focus Business</h1>
<p></p>
</div>
<div class="grid-4">
<h3><span class="slash">//</span> Socialise with us!</h3>
<p>Connect with us online:</p>
<ul class="social-icons-container">
<li>
<a href="javascript:;" class="social-icon social-icon-twitter">Twitter</a>
</li>
<li>
<a href="javascript:;" class="social-icon social-icon-googleplus">Google +</a>
</li>
<li>
<a href="javascript:;" class="social-icon social-icon-facebook">Facebook</a>
</li>
</ul>
</div> <!-- /grid-4 -->
<div class="grid-4">
<h3><span class="slash">//</span> Contact Us</h3>
<?php if (class_exists('Company')) : ?>
<address>
<strong><?php echo Company::instance()->name(); ?></strong><br/>
<i class="icon-map-marker"></i> <?php echo Company::instance()->address(); ?><br/>
<i class="icon-phone"></i> <?php echo Company::instance()->phone(); ?><br/>
<i class="icon-envelope"></i> <?php echo Company::instance()->email(); ?>
</address>
<?php endif ?>
</div> <!-- /grid-4 -->
</div> <!-- /row -->
</div> <!-- /container -->
</div> <!-- /footer -->
</div> <!-- /wrapper -->
<?php
if (Kohana::$environment >= Kohana::TESTING OR Request::current()->secure()) {
echo HTML::script('media/js/jquery/jquery-1.9.1.min.js');
echo HTML::script('media/theme/bootstrap/js/bootstrap.min.js');
} else {
echo HTML::script(Site::Protocol('code.jquery.com/jquery-1.9.1.min.js'));
echo HTML::script(Site::Protocol('netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js'));
}
echo HTML::script('media/theme/focusbusiness/js/focus.js');
echo Script::factory()->render_all();
?>
</body>
</html>