Beispiel #1
0
    		<form id="top-search" method="post" action="/search">
    			<label id="top-search-label" accesskey="2" for="top-search-input">Search <?php 
echo $this->config->item('site_name');
?>
...</label>
    			<input type="text" value="" id="top-search-input" name="search_term"/>
    			<input type="image" alt="Search" src="/inc/img/top-search-submit.gif" id="top-search-submit"/>
    		</form>
    		<div class="clear"></div>
    	</div>
    	<div class="clear"></div>
    </div>
</div>

<?php 
if (menu_get_current_area() == 'home') {
    ?>

<div id="splash">
    <div class="container_12">
    	<div class="grid_12">
			<?php 
    if (!$this->session->userdata('ID')) {
        ?>
    		<a href="/user/register"><img src="/inc/img/splash.jpg" border="0" alt="Join <?php 
        echo $this->config->item('site_name');
        ?>
 now!"/></a>
			<?php 
    }
    ?>
Beispiel #2
0
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <?php 
if (!empty($feedurl)) {
    echo '<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="' . $feedurl . '" />';
}
if (isset($reqkey)) {
    echo "\n\t" . '<script type="text/javascript">var reqk="' . $reqkey . '";</script>';
}
if (isset($seckey)) {
    echo "\n\t" . '<script type="text/javascript">var seck="' . $seckey . '";</script>';
}
?>
</head>
<body id="page-<?php 
echo menu_get_current_area();
?>
">

<div id="hd">
    <div class="container_12 top">
        <div class="grid_12">
            <div class="usr">
                <div class="wrapper">
                <?php 
if (user_is_auth()) {
    ?>
                    Logged in as <strong><a href="/user/view/<?php 
    echo user_get_id();
    ?>
"><?php