<?php

/* ::base.html.twig */
class __TwigTemplate_a2dee29e85b78367a0e92a211906efe5 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
            'title' => array($this, 'block_title'),
            'stylesheets' => array($this, 'block_stylesheets'),
            'image' => array($this, 'block_image'),
            'clientname' => array($this, 'block_clientname'),
            'logout' => array($this, 'block_logout'),
            'navigation' => array($this, 'block_navigation'),
            'links' => array($this, 'block_links'),
            'body' => array($this, 'block_body'),
            'footer' => array($this, 'block_footer'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv=\"Content-Type\" content=\"text/html\"; charset=utf-8\" />
        <title>
            ";
        // line 6
        $this->displayBlock('title', $context, $blocks);
        // line 8
        echo " - Tabitha
        </title>
        <!--[if lt IE 9]>
            <script src=\"http://html5shim.googlecode.com/svn/trunk/html5.js\"></script>
        <![endif]-->
        ";
        // line 13
        $this->displayBlock('stylesheets', $context, $blocks);
        // line 25
        echo "        
    </head>
    <body>               
        <header id=\"header\">
            <div class=\"top\">
                ";
        // line 30
        $this->displayBlock('image', $context, $blocks);
        // line 32
        echo "          

                ";
        // line 34
        $this->displayBlock('clientname', $context, $blocks);
        // line 39
        echo "               
                ";
        // line 40
        $this->displayBlock('logout', $context, $blocks);
        // line 45
        echo "
            </div>
            ";
        // line 47
        $this->displayBlock('navigation', $context, $blocks);
        // line 54
        echo "\t\t\t</div>                
            </header>
\t\t\t
            <section style=\"border:1px solid gray; border-radius: 9px;\">
                ";
        // line 58
        $this->displayBlock('body', $context, $blocks);
        // line 59
        echo "            </section>

            <div id=\"footer\">
                ";
        // line 62
        $this->displayBlock('footer', $context, $blocks);
        // line 68
        echo "            </div>

            
        ";
        // line 71
        $this->displayBlock('javascripts', $context, $blocks);
        // line 112
        echo "    </body>
</html>";
    }

    // line 6
    public function block_title($context, array $blocks = array())
    {
        // line 7
        echo "                Dorcas Ministries Christian Community in Action 
            ";
    }

    // line 13
    public function block_stylesheets($context, array $blocks = array())
    {
        // line 14
        echo "            <link href=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/css/ui-lightness/jquery-ui-1.8.21.custom.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 15
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/clientinformationform.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/financeform.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/referralsform.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/assistanceform.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/navigation.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
            <link href=\"";
        // line 20
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/css/base.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\" />
\t\t\t
            <link rel=\"shortcut icon\" href=\"";
        // line 22
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/dorcastabitha/images/favicon.ico"), "html", null, true);
        echo "\"/>
\t

        ";
    }

    // line 30
    public function block_image($context, array $blocks = array())
    {
        // line 31
        echo "                    <img src=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/dorcastabitha/images/dorcas.png"), "html", null, true);
        echo "\" alt=\"Dorcas\" style=\"padding-right: 30%;\">
                ";
    }

    // line 34
    public function block_clientname($context, array $blocks = array())
    {
        // line 35
        echo "                    ";
        if (array_key_exists("client", $context)) {
            // line 36
            echo "                        Client Name: &nbsp; ";
            if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
            echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($_client_, "firstname")), "html", null, true);
            echo " ";
            if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
            echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute($_client_, "lastname")), "html", null, true);
            echo "
                    ";
        }
        // line 38
        echo "                ";
    }

    // line 40
    public function block_logout($context, array $blocks = array())
    {
        // line 41
        echo "                    ";
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($this->getAttribute($_app_, "user", array(), "any", false, true), "username", array(), "any", true, true)) {
            // line 42
            echo "                        <input type=button onClick=\"location.href='";
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("DorcasTabithaBundle_logout"), "html", null, true);
            echo "'\" value='logout ";
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_app_, "user"), "username"), "html", null, true);
            echo "' style=\"color:#00b5cb; background-color:white; float:right; margin:20px;\">
                    ";
        }
        // line 44
        echo "                ";
    }

    // line 47
    public function block_navigation($context, array $blocks = array())
    {
        // line 48
        echo "                <nav>
                    <ul class=\"navigation\">
                        ";
        // line 50
        $this->displayBlock('links', $context, $blocks);
        // line 51
        echo "                    </ul>
                </nav>
            ";
    }

    // line 50
    public function block_links($context, array $blocks = array())
    {
    }

    // line 58
    public function block_body($context, array $blocks = array())
    {
    }

    // line 62
    public function block_footer($context, array $blocks = array())
    {
        // line 63
        echo "            &copy; 2012, Copyright JLS Consulting
\t\t\t\t\t<br>&nbsp;<br> 
                     <center><h8>Developed By:</h8></center>
\t\t\t\t\t <center><img src=\"";
        // line 66
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/dorcastabitha/images/jlsLogo_aqua.png"), "html", null, true);
        echo "\" alt=\"JLSConsulting\" /></center>                
";
    }

    // line 71
    public function block_javascripts($context, array $blocks = array())
    {
        // line 72
        echo "                <script src=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/jquery-1.7.2.min.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
                <script src=\"";
        // line 73
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/jquery-ui-1.8.21.custom.min.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>
                <script src=\"";
        // line 74
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/jquery.maskedinput-1.3.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>     
<script src=\"";
        // line 75
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/DorcasTabitha/js/js/odometer.js"), "html", null, true);
        echo "\" type=\"text/javascript\"></script>           

                <script type=\"text/javascript\">

                \$(document).ready(function () {
                    \$('input').live('keydown', function(e) { 
                    if (e.keyCode==13) { 
                        var focusable = \$('input,a,select,button,textarea').filter(':visible'); 
                        focusable.eq(focusable.index(this)+1).focus(); 
                        return false; 
                    } 
                    });
                });            

                \$(function() { 
                    \$(\".phone\").mask(\"?(999) 999-9999\"); 
                    \$(\".phonex\").mask(\"?(999) 999-9999\");  
                    \$(\".tin\").mask(\"99-9999999\");   
                    \$(\".ssn\").mask(\"?999-99-9999\");
                    \$(\".ssnx\").mask(\"?999-99-9999\");
                    \$(\".zip\").mask(\"99999\");
                });

                function submitform(navnumber) {
                    var form = document.forms[\"clientform\"];
                    var hiddenField = document.createElement(\"input\"); 
                    hiddenField.setAttribute(\"type\", \"hidden\"); 
                    hiddenField.setAttribute(\"name\", \"passnav\"); 
                    hiddenField.setAttribute(\"value\", navnumber); 
                    form.appendChild(hiddenField);
                    form.submit();
                }
           
            </script>

    
        ";
    }

    public function getTemplateName()
    {
        return "::base.html.twig";
    }

    public function getDebugInfo()
    {
        return array (  252 => 75,  248 => 74,  244 => 73,  236 => 71,  230 => 66,  225 => 63,  222 => 62,  212 => 50,  204 => 50,  200 => 48,  197 => 47,  177 => 40,  160 => 35,  157 => 34,  126 => 18,  106 => 13,  98 => 6,  184 => 42,  181 => 77,  173 => 38,  163 => 36,  155 => 63,  139 => 22,  135 => 58,  133 => 57,  114 => 15,  110 => 49,  105 => 47,  93 => 112,  76 => 30,  69 => 47,  209 => 78,  206 => 51,  201 => 76,  194 => 71,  191 => 70,  186 => 67,  180 => 41,  176 => 61,  166 => 66,  158 => 64,  153 => 55,  143 => 49,  134 => 20,  123 => 40,  118 => 16,  90 => 37,  87 => 27,  66 => 27,  60 => 39,  146 => 50,  136 => 41,  122 => 17,  107 => 48,  101 => 7,  95 => 29,  82 => 25,  73 => 20,  67 => 17,  52 => 30,  109 => 14,  104 => 34,  96 => 32,  84 => 62,  80 => 24,  26 => 4,  34 => 6,  112 => 21,  102 => 19,  89 => 16,  63 => 40,  56 => 12,  43 => 13,  92 => 28,  79 => 59,  57 => 21,  46 => 7,  37 => 7,  33 => 4,  29 => 6,  19 => 1,  44 => 16,  27 => 1,  55 => 9,  45 => 25,  36 => 8,  50 => 18,  47 => 17,  30 => 4,  25 => 3,  249 => 96,  239 => 72,  235 => 88,  228 => 84,  224 => 82,  219 => 80,  217 => 58,  214 => 79,  211 => 77,  208 => 76,  202 => 72,  199 => 71,  193 => 44,  182 => 63,  178 => 76,  175 => 60,  172 => 59,  165 => 55,  161 => 57,  156 => 51,  154 => 50,  150 => 31,  147 => 30,  132 => 39,  127 => 55,  117 => 51,  113 => 34,  86 => 68,  83 => 25,  78 => 15,  68 => 9,  64 => 16,  61 => 15,  48 => 10,  39 => 8,  32 => 5,  24 => 4,  22 => 4,  23 => 3,  20 => 2,  17 => 1,  144 => 46,  138 => 46,  130 => 19,  124 => 54,  121 => 41,  115 => 40,  111 => 36,  108 => 31,  99 => 43,  94 => 29,  91 => 71,  88 => 16,  85 => 26,  77 => 58,  74 => 20,  71 => 54,  65 => 45,  62 => 15,  58 => 34,  54 => 32,  51 => 10,  42 => 9,  38 => 8,  35 => 7,  31 => 4,  28 => 3,);
    }
}
