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

118 lines
4.4 KiB
PHP
Raw Permalink Normal View History

2013-04-25 00:22:36 +00:00
<!DOCTYPE html>
<html>
<head>
<title><?php echo Site::Appname(); ?><?php echo $meta->title ? ' - '.$meta->title : '' ?></title>
<link rel="shortcut icon" href="<?php echo $meta->shortcut_icon ? $meta->shortcut_icon : '/media/img/favicon.ico' ?>" type="image/vnd.microsoft.icon" />
2013-04-25 00:22:36 +00:00
<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
2016-08-26 05:02:40 +00:00
if (Kohana::$environment >= Kohana::TESTING OR (is_object(Request::current()) AND Request::current()->secure())) {
2013-04-25 00:22:36 +00:00
echo HTML::style('media/theme/bootstrap/css/bootstrap.min.css');
echo HTML::style('media/vendor/font-awesome/css/font-awesome.min.css');
} else {
echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'));
echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css'));
2013-04-25 00:22:36 +00:00
}
2014-08-22 06:50:01 +00:00
echo HTML::style(Site::Protocol('fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,800italic,400,600,800'));
2013-04-25 00:22:36 +00:00
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">
2014-08-22 06:50:01 +00:00
<h1 id="title"><a href="<?php echo URL::site('/'); ?>"><?php echo Site::Appname(); ?><sup>+</sup></a></h1>
2013-04-25 00:22:36 +00:00
</div> <!-- /header -->
2014-08-22 06:50:01 +00:00
<?php if (! empty($shownavbar)) : ?>
2013-04-25 00:22:36 +00:00
<div id="nav" class="clearfix">
<div class="container">
<?php echo $navbar; ?>
</div> <!-- /container -->
</div> <!-- /nav -->
2014-08-22 06:50:01 +00:00
<?php endif ?>
2013-04-25 00:22:36 +00:00
2014-10-03 14:35:26 +00:00
<div class="error-container">
<div class="error_details">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<?php echo SystemMessage::factory()->render_all(); ?>
</div>
</div> <!-- /row -->
</div> <!-- /error_details -->
</div> <!-- /error_container -->
2013-04-25 00:22:36 +00:00
<div id="content">
<?php echo $content; ?>
</div> <!-- /content -->
<div id="footer">
<div class="container">
<div class="row">
2014-09-29 04:47:51 +00:00
<!--
2013-04-25 00:22:36 +00:00
<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>
2014-09-29 04:47:51 +00:00
</div>
-->
2014-10-09 12:21:28 +00:00
<?php if (class_exists('Company') AND Company::instance()->name()) : ?>
2013-04-25 00:22:36 +00:00
<div class="grid-4">
<h3><span class="slash">//</span> Contact Us</h3>
<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>
</div> <!-- /grid-4 -->
2014-10-09 12:21:28 +00:00
<?php endif ?>
2013-04-25 00:22:36 +00:00
</div> <!-- /row -->
</div> <!-- /container -->
</div> <!-- /footer -->
</div> <!-- /wrapper -->
<?php
2016-08-26 05:02:40 +00:00
if (Kohana::$environment >= Kohana::TESTING OR (is_object(Request::current()) AND Request::current()->secure())) {
2013-04-25 00:22:36 +00:00
echo HTML::script('media/js/jquery/jquery-1.9.1.min.js');
echo HTML::script('media/theme/bootstrap/js/bootstrap.min.js');
} else {
2014-08-22 06:50:01 +00:00
echo HTML::script(Site::Protocol('code.jquery.com/jquery-1.9.1.min.js'));
echo HTML::script(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'));
2013-04-25 00:22:36 +00:00
}
echo HTML::script('media/theme/focusbusiness/js/focus.js');
echo Script::factory()->render_all();
?>
</body>
</html>