Example #1
0
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      	<meta name="description" content="A Social Network Project"/>
        <meta name="keywords" content="Social, Network, Project"/>

        <title><?php 
echo $template_model->get_title();
?>
 | The Social Network Project</title>

        <link rel="shortcut icon" href="<?php 
echo graphic_content('favicon.ico');
?>
" />
        <link type="text/css" rel="Stylesheet" href="<?php 
echo stylesheet_content('layout.css');
?>
" />
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
        <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/base/jquery-ui.css" type="text/css" media="all" />
        <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
        <script type="text/javascript" src="<?php 
echo javascript_content('layout.js');
?>
"></script>
    </head>
Example #2
0
<?php

$user = get_user();
?>

<a href="<?php 
echo home_route();
?>
">
    <img src="<?php 
echo graphic_content('logo.png');
?>
" alt="logo"/>
</a>

<div id="navigation">
    <ul>
        <?php 
if (!is_authenticated()) {
    ?>
            <li><a href="<?php 
    echo home_route();
    ?>
">Home</a></li>
            <li><a href="<?php 
    echo signup_route();
    ?>
">Sign up</a></li>
            <li><a href="<?php 
    echo login_route();
    ?>