<?php

/* DorcasTabithaBundle:Search:searchloop.html.twig */
class __TwigTemplate_8cb1188d5685608b9eed627b2601c2da extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "


 <h4>Search Results</h4>
 
<div style=\"width:1200px; height: 300px; overflow-x: auto; overflow-y: auto;\">  
<div style=\"width:1800px; font-size: 14px; font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; padding-left: 5px;\">
 
 
\t
    <div style=\"width:8%; float:left; margin-left:8.5%;\">
        SSN
    </div>
    <div style=\"width:9%; float:left;\">
        Last Name           
    </div>
    <div style=\"width:9%; float:left;\">
        First Name        
    </div>
\t<div style=\"width:8%; float:left;\">
        Alias         
    </div>
    <div style=\"width:12%; float:left;\">
        Address         
    </div>
    <div style=\"width:9%; float:left;\">
        OA One   
\t\tLast Name     
    </div>
    <div style=\"width:9%; float:left; padding-left:43px;\">
        OA One 
\t\tFirst Name   
    </div>
    <div style=\"width:9%; float:left; padding-left:43px;\">
        OA Two 
\t\tLast Name        
    </div>
    <div style=\"width:9%; float:left; padding-left:63px;\">
        OA Two 
\t\tFirst Name   
    </div>
\t\t
";
        // line 43
        $context["clientEmailList"] = "";
        // line 44
        echo "
<br/>&nbsp;
<hr size=\"2\" color=\"black\" noshade/>

";
        // line 48
        if (array_key_exists("clients", $context)) {
            // line 49
            echo "Number of records returned = ";
            echo twig_escape_filter($this->env, $this->getContext($context, "numberrecords"), "html", null, true);
            echo " / Number of Records matched = ";
            echo twig_escape_filter($this->env, $this->getContext($context, "allnumberrecords"), "html", null, true);
            echo "
";
            // line 50
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getContext($context, "clients"));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["client"]) {
                // line 51
                echo "    
    <article style=\"background-color: #00b5cb; padding-top: 8px; padding-left: 5px;\">
        <div style=\"width:8%; float:left; position:relative; top:-4px;\">
            ";
                // line 54
                $context["urlpath"] = $this->env->getExtension('routing')->getPath("DorcasTabithaBundle_clientinformation_show", array("client_id" => $this->getAttribute($this->getContext($context, "client"), "client_id")));
                // line 55
                echo "            <input type=\"button\" value=\"Select\" onClick=\"location.href='";
                echo twig_escape_filter($this->env, $this->getContext($context, "urlpath"), "html", null, true);
                echo "'\"/>

            ";
                // line 57
                if ($this->env->getExtension('security')->isGranted("ROLE_ADMIN")) {
                    // line 58
                    echo "                ";
                    $context["urlpath"] = $this->env->getExtension('routing')->getPath("DorcasTabithaBundle_search_delete", array("client_id" => $this->getAttribute($this->getContext($context, "client"), "client_id")));
                    // line 59
                    echo "                <input type=\"button\" value=\"Delete\" onClick='warnUsersDelete(\"";
                    echo twig_escape_filter($this->env, $this->getContext($context, "urlpath"), "html", null, true);
                    echo "\")' />
          ";
                }
                // line 60
                echo "    
\t\t\t\t
        </div>
\t\t\t
        <div style=\"font-size: 14px; font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; background-color: #00b5cb; color:white;\">
\t\t
            <div style=\"width:8%; float:left;\">
                        ";
                // line 67
                echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "client"), "ssn"), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:9%; float:left;\">
                        ";
                // line 70
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "last_name"), 0, 16), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:9%; float:left;\">
                        ";
                // line 73
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "first_name"), 0, 20), "html", null, true);
                echo " &nbsp;
            </div>
\t\t\t<div style=\"width:8%; float:left;\">
                        ";
                // line 76
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "alias"), 0, 14), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:12%; float:left;\">
                        ";
                // line 79
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "current_address"), 0, 20), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:11%; float:left;\">
                        ";
                // line 82
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "other_adult_oneLastName"), 0, 16), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:12%; float:left;\">
                        ";
                // line 85
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "other_adult_oneFirstName"), 0, 16), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:12%; float:left;\">
                        ";
                // line 88
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "other_adult_twoLastName"), 0, 16), "html", null, true);
                echo " &nbsp;
            </div>
            <div style=\"width:11%; float:left;\">
                        ";
                // line 91
                echo twig_escape_filter($this->env, twig_slice($this->env, $this->getAttribute($this->getContext($context, "client"), "other_adult_twoFirstName"), 0, 16), "html", null, true);
                echo " &nbsp;
            </div>
           

             \t
        </div>
       <br>
            <hr size=\"0\" color=\"black\" noshade/>
    </article>

    ";
                // line 101
                if ((!twig_test_empty($this->getAttribute($this->getContext($context, "client"), "email")))) {
                    echo "\t
    ";
                    // line 102
                    $context["clientEmailList"] = twig_join_filter(array(0 => $this->getContext($context, "clientEmailList"), 1 => $this->getAttribute($this->getContext($context, "client"), "email")), "; ");
                    echo " 
    ";
                }
                // line 104
                echo "\t\t
";
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 106
                echo "    <p>There are no matches for the search criteria. </p>

";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 109
            echo "
</div>
</div>

";
        }
        // line 114
        echo "
<br />

<input type=button onClick=\"location.href='javascript: displayemail()'\" value='Display Email' style=\"color:#00b5cb; background-color:white; font-size: 12px;\">

<div id=\"emailList\" style=\"display:none;\">
    <br />
    <textarea rows=\"2\" cols=\"80\" readonly=true, style=\"font-size: 12px;\">";
        // line 121
        echo twig_escape_filter($this->env, $this->getContext($context, "clientEmailList"), "html", null, true);
        echo "</textarea> 
</div>

<br/><br/>




";
    }

    public function getTemplateName()
    {
        return "DorcasTabithaBundle:Search:searchloop.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  216 => 121,  207 => 114,  200 => 109,  192 => 106,  186 => 104,  181 => 102,  177 => 101,  164 => 91,  158 => 88,  152 => 85,  146 => 82,  140 => 79,  134 => 76,  128 => 73,  122 => 70,  116 => 67,  107 => 60,  101 => 59,  98 => 58,  96 => 57,  90 => 55,  88 => 54,  83 => 51,  78 => 50,  71 => 49,  69 => 48,  63 => 44,  61 => 43,  17 => 1,);
    }
}
