Actions

Source Code of This Project

/apps/frontend/templates/layout.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <?php include_javascripts() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
    </head>
    <body>

        <script type="text/javascript">
            //<![CDATA[
            SEARCH_DEF_TXT = '<?php echo sfConfig::get('app_search_def') ?>';
            //]]>
        </script>

        <div id="header">
            <ul id="menu">
                <li>
                    <a href="<?php echo url_for('@resume_index') ?>"
                       class="<?php echo $sf_params->get('module') == 'resume' ? 'curr' : '' ?>" accesskey="1" title="Resume"
                       >Resume</a>
                </li>
                <li>
                    <a href="<?php echo url_for('@portfolio_index') ?>"
                       class="<?php echo $sf_params->get('module') == 'portfolio' ? 'curr' : '' ?>" accesskey="2" title="Portfolio"
                       >Portfolio</a>
                </li>
                <li>
                    <a href="<?php echo url_for('@news_index') ?>"
                       class="<?php echo $sf_params->get('module') == 'news' ? 'curr' : '' ?>" accesskey="3" title="News"
                       >News</a>
                </li>
                <li>
                    <a href="<?php echo url_for('@source_index') ?>"
                       class="<?php echo $sf_params->get('module') == 'source' ? 'curr' : '' ?>" accesskey="4" title="Source code"
                       >Source code</a>
                </li>
                <li>
                    <a href="<?php echo url_for('@contact_index') ?>"
                       class="<?php echo $sf_params->get('module') == 'contact' ? 'curr' : '' ?>" accesskey="4" title="Contact"
                       >Contact</a>
                </li>
            </ul>
            <form id="search" method="post" action="<?php echo url_for('@search_index') ?>">
                <fieldset>
                    <input name="query" type="text" id="searchQuery" class="fl" value="<?php echo $sf_request->getParameter('query', sfConfig::get('app_search_def')) ?>" />
                    <div id="searchBtn" class="fr ml10 ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-icons" style="margin-top: -1px;">
                        <a href="#" class="fl ml5" title="search">Search</a>
                        <span class="fl ui-icon ui-icon-search"></span>
                    </div>
                </fieldset>
            </form>
        </div>

        <div class="clear"></div>

        <div id="content">
            <div id="colOne">
                <?php include_slot('colOne') ?>
            </div>
            <div id="colTwo">
                <?php echo $sf_content ?>
            </div>
        </div>

        <div class="clear"></div>

        <div id="footer">
            <p>
                Copyright (c) 2009-2010 Victor Rad'. All rights reserved.
                Powered by <a href="http://www.symfony-project.org/" target="_blank">Symfony</a>.
                Design by <a href="http://freecsstemplates.org/" target="_blank">Free CSS Templates</a>.
            </p>
        </div>

     <?php include_partial('global/counter') ?>
    </body>
</html>