public function block_input_attributes($context, array $blocks = array()) { // line 11 echo " type=\"text\"\n data-grav-field-datetime\n data-date-formats=\""; // line 13 echo twig_escape_filter($this->env, twig_jsonencode_filter(array("format" => isset($context["js_dateformat"]) ? $context["js_dateformat"] : null)), "html_attr"); echo "\"\n "; // line 14 if ($this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "min", array())) { echo "min=\""; echo null === $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "min", array()) ? $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "min", array()) : twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "min", array()), isset($context["php_dateformat"]) ? $context["php_dateformat"] : null); echo "\""; } // line 15 echo " "; if ($this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "max", array())) { echo "max=\""; echo null === $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "max", array()) ? $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "max", array()) : twig_date_format_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "max", array()), isset($context["php_dateformat"]) ? $context["php_dateformat"] : null); echo "\""; } // line 16 echo " "; $this->displayParentBlock("input_attributes", $context, $blocks); echo "\n"; }
public function block_page($context, array $blocks = array()) { // line 61 echo " <div id=\"micaso\" class=\"fullsize\" style=\" background-color: #F0F0D8;height: 550px;\">\n \n <div id=\"contenedor\">\n "; // line 64 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 65 echo " \n \n <a href=\""; // line 67 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("noticia_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\"> <div class= 'item_cliente' > <img style=\"width: 50px;\" src=\""; echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("public/images/noticia.png"), "html", null, true); echo "\" /> <h2 style=\"display: inline-block; margin-left: 25px; margin-right: 40px;\"> "; echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "titulo", array()), "html", null, true); echo " </h2> <h3>"; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["entity"], "fecha", array()), "m/d/Y"), "html", null, true); echo " </h3> </div> </a>\n\n \n \n \n \n \n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 75 echo " </div>\n \n \n \n \n \n <ul>\n <li>\n\n <a href=\""; // line 84 echo $this->env->getExtension('routing')->getPath("noticia_new"); echo "\" class=\"link\"> <div class=\"opcion\"> <img src=\""; echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("public/images/noticia.png"), "html", null, true); echo "\"/> <div class=\"label\">Agregar Noticia</div> </div> </a>\n \n </li>\n </ul>\n </div>\n \n "; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Noticias</h1>\n\n \n <tbody>\n "; // line 8 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["tabla"]) ? $context["tabla"] : $this->getContext($context, "tabla")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 9 echo " \n <a href=\""; // line 10 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("noticias_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tituloNoticias"), "html", null, true); echo "</a><br>\n \n <img src=\""; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/uniseries/imagenes/" . $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fotoNoticias") . ""), "html", null, true); echo "\" width=20% height=20%/>\n <br>\n "; // line 14 if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias")) { echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias"), "Y-m-d "), "html", null, true); } echo "<br><br>\n <p>By: "; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "autorNoticias"), "html", null, true); echo "</p><br><br>\n \n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo " </tbody>\n </table>\n\n "; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Utilisateur</h1>\n\n <table class=\"record_properties text-center table-bordered\">\n <tbody>\n\n <tr>\n <th>Civilité</th>\n <td>"; // line 11 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "civ", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Nom</th>\n <td>"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nom", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Prénom</th>\n <td>"; // line 19 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "prenom", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Email</th>\n <td>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "mail", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Pass</th>\n <td>"; // line 27 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "pass", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Date d'affectation</th>\n <td>"; // line 31 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "dateAffectation", array()), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Nombre de rapports</th>\n <td>"; // line 35 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "numRap", array()), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 42 echo $this->env->getExtension('routing')->getPath("utilisateur"); echo "\">\n Retour à la liste\n </a>\n </li>\n <li>\n <a href=\""; // line 47 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("utilisateur_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\">\n Editer\n </a>\n </li>\n <li>"; // line 51 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
public function block_body($context, array $blocks = array()) { $__internal_f9fb984cb7021ac3b2998ce347cd0b4c5345a284c502ce99925f63431bd0958a = $this->env->getExtension("native_profiler"); $__internal_f9fb984cb7021ac3b2998ce347cd0b4c5345a284c502ce99925f63431bd0958a->enter($__internal_f9fb984cb7021ac3b2998ce347cd0b4c5345a284c502ce99925f63431bd0958a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body")); // line 4 echo "<div class=\"col-lg-12\">\n <h1 class=\"page-header\">Station</h1>\n </div>\n <!-- /.col-lg-12 -->\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 13 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Name</th>\n <td>"; // line 17 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "name", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Createdat</th>\n <td>"; // line 21 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "createdAt", array()), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 28 echo $this->env->getExtension('routing')->getPath("station"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 33 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("station_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 37 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; $__internal_f9fb984cb7021ac3b2998ce347cd0b4c5345a284c502ce99925f63431bd0958a->leave($__internal_f9fb984cb7021ac3b2998ce347cd0b4c5345a284c502ce99925f63431bd0958a_prof); }
public function block_body($context, array $blocks = array()) { $__internal_d890bc2da6bf42658188d289d00baeda84e2c1908d82d21292bcf14e7f0b31db = $this->env->getExtension("native_profiler"); $__internal_d890bc2da6bf42658188d289d00baeda84e2c1908d82d21292bcf14e7f0b31db->enter($__internal_d890bc2da6bf42658188d289d00baeda84e2c1908d82d21292bcf14e7f0b31db_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body")); // line 4 echo "<h1>Fortune</h1>\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Title</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "title", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Author</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "author", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Content</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "content", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Createdat</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "createdAt", array()), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 33 echo $this->env->getExtension('routing')->getPath("fortune"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 38 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fortune_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 42 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; $__internal_d890bc2da6bf42658188d289d00baeda84e2c1908d82d21292bcf14e7f0b31db->leave($__internal_d890bc2da6bf42658188d289d00baeda84e2c1908d82d21292bcf14e7f0b31db_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_e29466b646aa5312093d5b560117c4b73c00765348aa73ac24e59f046156327f = $this->env->getExtension("native_profiler"); $__internal_e29466b646aa5312093d5b560117c4b73c00765348aa73ac24e59f046156327f->enter($__internal_e29466b646aa5312093d5b560117c4b73c00765348aa73ac24e59f046156327f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "::layout.html.twig")); // line 2 echo "\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>"; // line 9 $this->displayBlock('title', $context, $blocks); echo "</title>\n\n "; // line 11 $this->displayBlock('stylesheets', $context, $blocks); // line 14 echo "\n</head>\n\n<body>\n <div class=\"container\">\n <div id=\"header\" class=\"jumbotron\">\n <h1>Mon mini-site</h1>\n </div>\n\n <div class=\"row\">\n\n <div id=\"menu\" class=\"col-md-3\">\n "; // line 27 echo " "; $this->displayBlock('admin_menu', $context, $blocks); // line 29 echo " </div>\n\n <div id=\"content\" class=\"col-md-9\">\n "; // line 33 echo " "; $this->displayBlock('body', $context, $blocks); // line 35 echo " </div>\n </div>\n\n <hr>\n\n <footer>\n <p>Piotr401 © "; // line 41 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo ".</p>\n </footer>\n </div>\n\n "; // line 46 echo " "; $this->displayBlock('javascripts', $context, $blocks); // line 50 echo "\n</body>\n</html>\n"; $__internal_e29466b646aa5312093d5b560117c4b73c00765348aa73ac24e59f046156327f->leave($__internal_e29466b646aa5312093d5b560117c4b73c00765348aa73ac24e59f046156327f_prof); }
public function block_body($context, array $blocks = array()) { // line 6 echo " <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Nom</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nomutilisateur", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Prénom</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "prenomutilisateur", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Email</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "emailutilisateur", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Agence</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "agence", array()), "nomAgence", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Login</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "loginutilisateur", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Date de naissance</th>\n <td>"; // line 30 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "dtnaissanceutilisateur", array()), "d/m/Y"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n <div class=\"col-sm-3\">"; // line 34 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Retour listing utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_homepage"), "glyphicon" => "glyphicon glyphicon-arrow-left")); echo "</div>\n <div class=\"col-sm-3\">"; // line 35 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Modifier infos utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-pencil")); echo "</div>\n <div class=\"col-sm-3\">"; // line 36 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Supprimer utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_delete", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-remove")); echo "</div>\n"; }
public function block_esieablog_body($context, array $blocks = array()) { // line 10 echo "\n <h2>"; // line 11 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "titre", array()), "html", null, true); echo "</h2>\n <i1>Par "; // line 12 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "auteur", array()), "html", null, true); echo ", le "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "date", array()), "d/m/Y"), "html", null, true); echo "</i1>\n\n\n <div class=\"well\">\n\n <i2> Les ingrédients : "; // line 17 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "ingredients", array()), "html", null, true); echo " </i2>\n </div>\n\n <div class=\"well\">\n\n <i3> La préparation : "; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "preparation", array()), "html", null, true); echo " </i3>\n </div>\n\n\n <p>\n <a href=\""; // line 27 echo $this->env->getExtension('routing')->getPath("esiea_blog_home"); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-chevron-left\"></i>\n Retour à la liste des recettes\n </a>\n <a href=\""; // line 31 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("esiea_blog_edit", array("id" => $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "id", array()))), "html", null, true); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-edit\"></i>\n Modifier la recette\n </a>\n <a href=\""; // line 35 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("esiea_blog_delete", array("id" => $this->getAttribute(isset($context["advert"]) ? $context["advert"] : null, "id", array()))), "html", null, true); echo "\" class=\"btn btn-danger\">\n <i class=\"glyphicon glyphicon-trash\"></i>\n Supprimer la recette\n </a>\n </p>\n\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_bc23b2005a7c63078ceb225fbb47e9f44567676494f1c4c221121cbe3e3fed75 = $this->env->getExtension("native_profiler"); $__internal_bc23b2005a7c63078ceb225fbb47e9f44567676494f1c4c221121cbe3e3fed75->enter($__internal_bc23b2005a7c63078ceb225fbb47e9f44567676494f1c4c221121cbe3e3fed75_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "::layout.html.twig")); // line 1 echo "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <title>"; // line 7 $this->displayBlock('title', $context, $blocks); echo "</title>\n\n "; // line 9 $this->displayBlock('stylesheets', $context, $blocks); // line 13 echo "</head>\n\n<body>\n <div class=\"container\">\n <div id=\"header\" class=\"jumbotron\">\n <h1>Ma plateforme d'annonces</h1>\n <p>\n Ce projet est propulsé par Symfony2,\n et construit grâce au MOOC OpenClassrooms et SensioLabs.\n </p>\n <p>\n <a class=\"btn btn-primary btn-lg\" href=\"http://fr.openclassrooms.com/informatique/cours/developpez-votre-site-web-avec-le-framework-symfony2\">\n Participer au MOOC »\n </a>\n </p>\n </div>\n\n <div class=\"row\">\n <div id=\"menu\" class=\"col-md-3\">\n <h3>Les annonces</h3>\n <ul class=\"nav nav-pills nav-stacked\">\n <li><a href=\""; // line 34 echo $this->env->getExtension('routing')->getPath("oc_platform_home"); echo "\">Accueil</a></li>\n <li><a href=\""; // line 35 echo $this->env->getExtension('routing')->getPath("oc_platform_add"); echo "\">Ajouter une annonce</a></li>\n </ul>\n\n <h4>Dernières annonces</h4>\n "; // line 39 echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("OCPlatformBundle:Advert:menu", array("limit" => 3))); echo "\n </div>\n <div id=\"content\" class=\"col-md-9\">\n "; // line 42 $this->displayBlock('body', $context, $blocks); // line 44 echo " </div>\n </div>\n\n <hr>\n\n <footer>\n <p>The sky's the limit © "; // line 50 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo " and beyond.</p>\n </footer>\n </div>\n\n "; // line 54 $this->displayBlock('javascripts', $context, $blocks); // line 59 echo "\n</body>\n</html>\n\n"; $__internal_bc23b2005a7c63078ceb225fbb47e9f44567676494f1c4c221121cbe3e3fed75->leave($__internal_bc23b2005a7c63078ceb225fbb47e9f44567676494f1c4c221121cbe3e3fed75_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_af54b499ec7f8f9a5686163d8f990d03ef7708df21be2e7cd4f8239de4508115 = $this->env->getExtension("native_profiler"); $__internal_af54b499ec7f8f9a5686163d8f990d03ef7708df21be2e7cd4f8239de4508115->enter($__internal_af54b499ec7f8f9a5686163d8f990d03ef7708df21be2e7cd4f8239de4508115_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "::layout.html.twig")); // line 1 echo "<!DOCTYPE html>\n<html>\n\t<head>\n\t <meta charset=\"utf-8\">\n\t <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n\t <title>"; // line 7 $this->displayBlock('title', $context, $blocks); echo "</title>\n\n\t "; // line 9 $this->displayBlock('stylesheets', $context, $blocks); // line 15 echo "\t</head>\n\n\t<body>\n\t <div class=\"container\">\n\t\t<div id=\"header\" class=\"jumbotron\">\n\t\t <h1>Voyages</h1>\n\t\t <p>\n\t\t\tBienvenue sur ce blog, vous pouvez y partager des avis sur vos voyages ou simplement consulter les articles existants.\n\t\t </p>\n\t\t<!-- <p>\n\t\t\t<a class=\"btn btn-primary btn-lg\" href=\"http://www.esiea.fr/\">\n\t\t\t Allez sur le site web de l'ESIEA\n\t\t\t</a>\n\t\t </p> -->\n\t\t</div>\n\n\t\t<div class=\"row\">\n\t\t <div id=\"menu\" class=\"col-md-3\">\n\t\t\t<h3>Les articles</h3>\n\t\t\t<ul class=\"nav nav-pills nav-stacked\">\n\t\t\t <li><a href=\""; // line 35 echo $this->env->getExtension('routing')->getPath("cl_blog_home"); echo "\">Accueil</a></li>\n\t\t\t <li><a href=\""; // line 36 echo $this->env->getExtension('routing')->getPath("cl_blog_add"); echo "\">Ajouter un article</a></li>\n\t\t\t</ul>\n\n\t\t\t<h4>Derniers articles</h4>\n\t\t\t"; // line 40 echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("CLBlogBundle:Advert:menu", array("limit" => 3))); echo "\n\t\t </div>\n\t\t <div id=\"content\" class=\"col-md-9\">\n\t\t\t"; // line 43 $this->displayBlock('body', $context, $blocks); // line 45 echo "\t\t </div>\n\t\t</div>\n\n\t\t<hr>\n\n\t\t<footer>\n\t\t <p>Lévi Camille, Huret Sarah, élèves de 4A à l'ESIEA - "; // line 51 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo "</p>\n\t\t</footer>\n\t </div>\n\n\t "; // line 55 $this->displayBlock('javascripts', $context, $blocks); // line 60 echo "\n\t</body>\n</html>"; $__internal_af54b499ec7f8f9a5686163d8f990d03ef7708df21be2e7cd4f8239de4508115->leave($__internal_af54b499ec7f8f9a5686163d8f990d03ef7708df21be2e7cd4f8239de4508115_prof); }
public function block_page($context, array $blocks = array()) { // line 45 echo " <div id=\"micaso\" class=\"fullsize\" style=\" background-color: #F0F0D8;height: 540px;\">\n <h1 style=\" font-weight: 800;\n font-size: 25px;\n padding-top: 20px;\n padding-bottom: 20px;\n width: 600px;\n margin: 0px auto;\">Noticia </h1>\n \n\n <div class=\"conten_proceso\" >\n \n <div class=\"conten_img\"><img src=\""; // line 56 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("public/images/noticia.png"), "html", null, true); echo "\"/></div> \n <div> <h1 class=\"titulo_proceso\">"; // line 57 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "titulo", array()), "html", null, true); echo "</h1> </div> \n <div> <strong> Fecha: </strong> "; // line 58 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fecha", array()), "Y-m-d"), "html", null, true); echo "</div>\n <div> "; // line 59 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "noticia", array()), "html", null, true); echo "</div>\n <div> <strong> Abogado: </strong> "; // line 60 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "abogado", array()), "html", null, true); echo "</div>\n\n\n </div> \n\n <div class=\"conten_opciones\">\n <a href=\""; // line 66 echo $this->env->getExtension('routing')->getPath("noticia"); echo "\"> Volver a la lista </a>\n <br>\n <a href=\""; // line 68 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("noticia_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\"> editar</a>\n "; // line 69 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "\n </div>\n \n </div>\n"; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>SUPERHEROE</h1>\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Nombre</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nombre"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Descripcion</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "descripcion"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Habilidades</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "habilidades"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Edad</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "edad"), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Sexo</th>\n <td>"; // line 30 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "sexo"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 37 echo $this->env->getExtension('routing')->getPath("superheroe"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 42 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("superheroe_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 46 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
public function block_sdzblog_body($context, array $blocks = array()) { // line 9 echo "\t\n\t<h2> Liste des articles </h2>\n\t\n\t<ul>\n\t\t"; // line 13 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["articles"]) ? $context["articles"] : null); $context['_iterated'] = false; foreach ($context['_seq'] as $context["_key"] => $context["article"]) { // line 14 echo "\t\t\t<li>\n\t\t\t\t<a href=\""; // line 15 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("sdzblog_voir", array("id" => $this->getAttribute($context["article"], "id", array()))), "html", null, true); echo "\"> "; echo twig_escape_filter($this->env, $this->getAttribute($context["article"], "titre", array()), "html", null, true); echo " </a>\n\t\t\t\tpar "; // line 16 echo twig_escape_filter($this->env, $this->getAttribute($context["article"], "auteur", array()), "html", null, true); echo "\n\t\t\t\tle "; // line 17 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["article"], "date", array()), "d/m/Y"), "html", null, true); echo "\n\t\t\t</li>\n\t\t"; $context['_iterated'] = true; } if (!$context['_iterated']) { // line 20 echo "\t\t\t<li>Pas (encore !) d'articles</li>\n\t\t"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 22 echo "\t</ul>\n"; }
public function block_content($context, array $blocks = array()) { // line 8 echo " <table class=\"table table-bordered\">\n <tr>\n <th>ID</th>\n <th>UserName</th>\n <th>Email</th>\n <th>Last Login</th>\n <th>Active</th>\n <th>Created At</th>\n <th>#</th>\n </tr>\n "; // line 18 if (array_key_exists("users", $context) && !twig_test_empty(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users"))) { // line 19 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users")); foreach ($context['_seq'] as $context["_key"] => $context["user"]) { // line 20 echo " <tr>\n <td>"; // line 21 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "id", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "id", array()), "") : "", "html", null, true); echo "</td>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "username", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "username", array()), "") : "", "html", null, true); echo "</td>\n <td>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "email", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "email", array()), "") : "", "html", null, true); echo "</td>\n <td>"; // line 24 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "lastLogin", array(), "any", true, true) && !(null === $this->getAttribute($context["user"], "lastLogin", array())) ? twig_date_format_filter($this->env, $this->getAttribute($context["user"], "lastLogin", array())) : "", "html", null, true); echo "</td>\n <td>"; // line 25 echo $this->getAttribute($context["user"], "enabled", array(), "any", true, true) && $this->getAttribute($context["user"], "enabled", array()) ? "Yes" : "No"; echo "</td>\n <td>"; // line 26 echo twig_escape_filter($this->env, _twig_default_filter(twig_date_format_filter($this->env, $this->getAttribute($context["user"], "createdAt", array())), ""), "html", null, true); echo "</td>\n <td>\n <ul class=\"nav nav-pills\">\n <li class=\"dropdown\">\n <a id=\"drop5\" role=\"button\" data-toggle=\"dropdown\" href=\"#\">Action <span class=\"caret\"></span></a>\n <ul id=\"menu2\" class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop5\">\n <li role=\"presentation\"><a role=\"menuitem\" target=\"_blank\" tabindex=\"-1\" href=\""; // line 32 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("view_profile", array("id" => $this->getAttribute($this->getAttribute($context["user"], "profile", array()), "id", array()))), "html", null, true); echo "\">View</a></li>\n "; // line 33 if ($this->getAttribute($context["user"], "enabled", array(), "any", true, true) && $this->getAttribute($context["user"], "enabled", array())) { // line 34 echo " <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_ban", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true); echo "\">Disable</a></li>\n "; } else { // line 36 echo " <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_unban", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true); echo "\">Enable</a></li>\n "; } // line 38 echo " <li role=\"presentation\"><a role=\"menuitem\" onclick=\"return confirm('Are you sure?');\" tabindex=\"-1\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_delete", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true); echo "\">Delete</a></li>\n </ul>\n </li>\n </ul>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 45 echo " "; } // line 46 echo " </table>\n"; }
public function block_ocplatform_body($context, array $blocks = array()) { $__internal_1ee96a40b1b999a68584c3fe285f1b63422200ec5f03769f5b153d24ac9ee008 = $this->env->getExtension("native_profiler"); $__internal_1ee96a40b1b999a68584c3fe285f1b63422200ec5f03769f5b153d24ac9ee008->enter($__internal_1ee96a40b1b999a68584c3fe285f1b63422200ec5f03769f5b153d24ac9ee008_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "ocplatform_body")); // line 8 echo "\n <h2>"; // line 9 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "title", array()), "html", null, true); echo "</h2>\n <i>Par "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "author", array()), "html", null, true); echo ", le "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "date", array()), "d/m/Y"), "html", null, true); echo "</i>\n\n <div class=\"well\">\n "; // line 13 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "content", array()), "html", null, true); echo "\n </div>\n\n <p>\n <a href=\""; // line 17 echo $this->env->getExtension('routing')->getPath("oc_platform_home"); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-chevron-left\"></i>\n Retour à la liste\n </a>\n <a href=\""; // line 21 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_platform_edit", array("id" => $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "id", array()))), "html", null, true); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-edit\"></i>\n Modifier l'annonce\n </a>\n <a href=\""; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("oc_platform_delete", array("id" => $this->getAttribute(isset($context["advert"]) ? $context["advert"] : $this->getContext($context, "advert"), "id", array()))), "html", null, true); echo "\" class=\"btn btn-danger\">\n <i class=\"glyphicon glyphicon-trash\"></i>\n Supprimer l'annonce\n </a>\n </p>\n\n"; $__internal_1ee96a40b1b999a68584c3fe285f1b63422200ec5f03769f5b153d24ac9ee008->leave($__internal_1ee96a40b1b999a68584c3fe285f1b63422200ec5f03769f5b153d24ac9ee008_prof); }
public function block_content($context, array $blocks = array()) { // line 3 echo "<div class=\"row-fluid\">\n <div class=\" col-lg-8\">\n <div class=\"panel panel-default\">\n <!-- Default panel contents -->\n <div class=\"panel-heading\">Print Ticket</div>\n <div class=\"panel-body\">\n <div id=\"betting-form-container\">\n <table class=\"table table-striped table-hover table-striped\" id=\"ticket\">\n <table class=\"table table-striped table-hover table-striped\" id=\"ticket\">\n <tr>\n <td><strong>Draw ID:</strong></td>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "draw_id"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <td><strong>Ticket Number:</strong></td>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "ticket_number"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <td><strong>Security Code:</strong></td>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "security_code"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <td><strong>Numbers:</strong></td>\n <td>"; // line 26 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "numbers"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <td><strong>Lucky Pick:</strong></td>\n <td>\n "; // line 31 if ($this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "lucky_pick") == 1) { // line 32 echo " Yes\n "; } else { // line 34 echo " No\n "; } // line 36 echo " </td>\n </tr>\n <tr>\n <td><strong>Draw Date:</strong></td>\n <td>"; // line 40 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["ticket"]) ? $context["ticket"] : null, "created_at"), "F j,Y"), "html", null, true); echo "</td>\n </tr>\n </table>\n </table>\n <div style=\"text-align: center;\">\n <script type=\"text/javascript\">\n jQuery(document).ready(function(){\n jQuery('#print-ticket').click(function(){\n window.print();\n });\n });\n </script>\n <button class=\"btn btn-block btn-primary\" id=\"print-ticket\"><i class=\"glyphicon glyphicon-print\"></i> Print Ticket</button>\n </div> \n <div style=\"clear: both;\"></div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "\n\t<!--Affichage de l'article-->\n\t\n\t<div clas=\"container\">\n\t<div class=\"panel panel-primary\">\n\t\t<div class=\"categorie-label\">\n\t\t\t<h3>\n\t\t\t\t<span>"; // line 8 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "pays", array()), "pays", array()), "html", null, true); echo "</span>\n\t\t\t\t<i class=\"fa fa-caret-right\"></i>\n\t\t\t\t<span>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "categorie", array()), "categorie", array()), "html", null, true); echo "</span>\n\t\t\t</h3>\n\t\t</div>\n\t\t<div class=\"panel panel-titre\"><h1>"; // line 13 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "titre", array()), "html", null, true); echo "</h1></div>\n\t\t<img src=\""; // line 14 echo twig_escape_filter($this->env, $this->env->getExtension('vich_uploader')->asset(isset($context["entity"]) ? $context["entity"] : null, "introImgFile"), "html", null, true); echo "\" alt=\"image article\" class=\"img-responsive images_articles img-rounded \"/>\n\t\t<p class=\"contenu-article\">"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "contenu", array()), "html", null, true); echo "</p>\n\n\t\t<span class=\"date-article\">\n\t\t\tPublié le "; // line 18 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "creation", array()), "Y-m-d H:i:s"), "html", null, true); echo "\n\t\t</span>\n\t\t<div>\n\t\t\t<span>Lire d'autres articles ou <a href=\""; // line 21 echo $this->env->getExtension('routing')->getPath("cestom_home"); echo "\"> retourner à l'accueil</a> </span>\n\t\t\t\n\t\t\t<nav>\n\t\t\t <ul class=\"pager\">\n\t\t\t\t<li><a href=\"#\" title=\"Aller à l'article précédent\" onclick=\"javascript:getPage('"; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cestomarticlebundle_article_showPublic", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "id", array()) - 1)), "html", null, true); echo "','main-block');\">Précédent</a></li>\n\t\t\t\t<li><a href=\"#\" title=\"Aller à l'article suivant\" onclick=\"javascript:getPage('"; // line 26 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("cestomarticlebundle_article_showPublic", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : null, "id", array()) + 1)), "html", null, true); echo "','main-block');\" >Suivant</a></li>\n\t\t\t </ul>\n\t\t\t</nav>\n\t\t</div>\n\t\t\n\t</div>\n\t\n\t<style>\n\t\tp {\n\t\t\tmargin: 0 0 10px;\n\t\t\ttext-indent: 50px;\n\t\t\tfont-family: \"palatino linotype\", palatino, georgia, serif;\n\t\t\ttext-align: justify;\n\t\t\tfont-size: 1em;\n\t\t\tline-height: 1.4em;\n\t\t\tcolor: #333;\n\t\t\ttext-shadow: white 1px 1px 0px;\n\t\t\tpadding: 20px;\n\t\t}\n\t\t\n\t\t.date-article{\n\t\t\tvertical-align:center;\n\t\t\tmargin-top:30px;\n\t\t\tfont-size:12px;\n\t\t\tcolor: #ECBE0E;\n\t\t}\n\t\timg.images_articles{\n\t\t\tfloat: left;\n\t\t\tposition: relative;\n\t\t\t/* left: 10px; */\n\t\t\t/* margin: 15px; */\n\t\t\tmargin-right: 30px;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 600px;\n\t\t\tmax-width: 600px;\n\t\t\tvertical-align: text-top;\n\t\t}\n\t\t.categorie-label{\n\t\t\tbackground-color:#838383;\n\t\t\tborder-color:#838383;\n\t\t\tcolor: #fff;\n\t\t\tborder-radius: 15px;\n\t\t\ttext-decoration:uppercase;\n\t\t}\n\t\t.panel-primary {\n\t\t\tpadding: 10px;\n\t\t\tmargin: 10px;\n\t\t\tmax-width: 70%;\n\t\t\tposition: relative;\n\t\t\tleft: 15%;\n\t\t\tvertical-align: middle;\n\t\t\tborder-color: #838383;\n\t\t\tfont-size: 16px;\n\t\t\t-webkit-box-shadow: 3px 3px 6px #A9A9A9;\n\t\t\tbox-shadow: 3px 3px 6px 0 #A9A9A9;\n\t\t\tbackground-color: #F3F3F3;\n\t\t}\t\n\t\t.panel-primary>.panel-heading-article {\n\t\t\tcolor: #fff;\n\t\t\tbackground-color: #838383;\n\t\t\tborder-color: #838383;\n\t\t\ttext-decoration: uppercase;\t\t\n\t\t}\n\t\t.panel-titre {\n\t\t\tmargin: 10px;\n\t\t\tbackground-color: #E9EEF3;\n\t\t\ttext-align: center;\n\t\t}\n\t\t.panel-titre,.panel-primary>.panel-heading,.panel-primary{\n\t\t\tborder-radius:10px;\n\t\t}\n\t\t.rigth {\n\t\t\ttext-align: right;\n\t\t}\n\t\t.left {\n\t\t\ttext-align: left;\n\t\t}\n\t\t.pager li>a, .pager li>span {\n\t\t\tborder: 1px solid #838383;\n\t\t}\n\t\tspan a {\n\t\t\tcolor: blue;\n\t\t}\n\t\t.pager li>span: hover, .pager li>a:hover{\n\t\t\tbackground-color: #ECBE0E;\n\t\t}\n\t\t.categorie-label h3>span,.categorie-label h3>i{\n\t\t\tpadding: 10px;\n\t\t\tcolor: #fff;\n\t\t\t\n\t\t}\n\t\t.categorie-label h3>span{\n\t\t\ttext-decoration:underline;\n\t\t}\n\t</style>\n\t</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_ec8314a0d69a2c3e893f4bd9e70f1443b4bd30d60461f31236a94af95b00de79 = $this->env->getExtension("native_profiler"); $__internal_ec8314a0d69a2c3e893f4bd9e70f1443b4bd30d60461f31236a94af95b00de79->enter($__internal_ec8314a0d69a2c3e893f4bd9e70f1443b4bd30d60461f31236a94af95b00de79_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "LabsFrontBundle:includes:footer.html.twig")); // line 1 echo "<footer>\n <section class=\"footer-navbar dark\">\n <div class=\"container content nopad-xs\">\n <div class=\"row\">\n <div class=\"col-sm-6 col-md-3 col-lg-3 collapsed-block\">\n <h3>Information<a class=\"expander visible-xs\" href=\"#TabBlock-3\">+</a></h3>\n <div class=\"tabBlock\" id=\"TabBlock-3\">\n <ul class=\"menu\">\n <li><a href=\"about.html\">"; // line 9 echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("Qui sommes nous"), "html", null, true); echo "</a></li>\n <li><a href=\"#\">Shipping & Returns</a></li>\n <li><a href=\"#\">Privacy Notice</a></li>\n <li><a href=\"#\">Conditions of Use</a></li>\n </ul>\n </div>\n </div>\n <div class=\"col-sm-6 col-md-3 col-lg-3 collapsed-block\">\n <h3>SAV SERVICE<a class=\"expander visible-xs\" href=\"#TabBlock-4\">+</a></h3>\n <div class=\"tabBlock\" id=\"TabBlock-4\">\n <ul class=\"menu\">\n <li><a href=\"#\">Online support</a></li>\n <li><a href=\"#\">Help & FAQs</a></li>\n <li><a href=\"#\">Call Center</a></li>\n </ul>\n </div>\n </div>\n <div class=\"clearfix visible-sm\"></div>\n <div class=\"col-sm-6 col-md-3 col-lg-3 collapsed-block\">\n <h3>MON COMPTE<a class=\"expander visible-xs\" href=\"#TabBlock-5\">+</a></h3>\n <div class=\"tabBlock\" id=\"TabBlock-5\">\n <ul class=\"menu\">\n <li><a href=\"#\">My Account</a></li>\n <li><a href=\"#\">Order history</a></li>\n <li><a href=\"#\">Advanced search</a></li>\n <li><a href=\"#\">Reviews</a></li>\n </ul>\n </div>\n </div>\n <div class=\"col-sm-6 col-md-3 col-lg-3 collapsed-block\">\n <h3>ADRESSES<a class=\"expander visible-xs\" href=\"#TabBlock-6\">+</a></h3>\n <div class=\"tabBlock\" id=\"TabBlock-6\">\n <ul class=\"menu\">\n <li><span class=\"icon icon-house\"></span> 7563 St. Vincent Place, Glasgow</li>\n <li><span class=\"icon icon-phone-4\"></span> 321321321, 321321321</li>\n <li><span class=\"icon icon-envelop\"></span> <a href=\"mailto:info@mydomain.com\">info@mydomain.com</a></li>\n <li><span class=\"icon icon-skype-2\"></span> <a href=\"#\">shop.test</a></li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </section>\n <section class=\"footer-bottom-block container\">\n <div class=\"row\">\n <div class=\"col-sm-6 col-md-5 copyright-text\"> © "; // line 54 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo "<a href=\"#\"> Cdjidji Groupe</a>. Tous les droits reservés. </div>\n <div class=\"col-sm-6 col-md-6\">\n <ul class=\"payment-list pull-right\">\n <li><img src=\""; // line 57 echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/icon-payment-01.png"), "html", null, true); echo "\" width=\"36\" height=\"22\" alt=\"\"></li>\n <li><img src=\""; // line 58 echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/icon-payment-02.png"), "html", null, true); echo "\" width=\"36\" height=\"22\" alt=\"\"></li>\n <li><img src=\""; // line 59 echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/icon-payment-03.png"), "html", null, true); echo "\" width=\"36\" height=\"22\" alt=\"\"></li>\n <li><img src=\""; // line 60 echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/icon-payment-04.png"), "html", null, true); echo "\" width=\"36\" height=\"22\" alt=\"\"></li>\n <li><img src=\""; // line 61 echo twig_escape_filter($this->env, $this->env->getExtension('asset')->getAssetUrl("images/icon-payment-05.png"), "html", null, true); echo "\" width=\"36\" height=\"22\" alt=\"\"></li>\n </ul>\n </div>\n </div>\n </section>\n</footer>"; $__internal_ec8314a0d69a2c3e893f4bd9e70f1443b4bd30d60461f31236a94af95b00de79->leave($__internal_ec8314a0d69a2c3e893f4bd9e70f1443b4bd30d60461f31236a94af95b00de79_prof); }
public function block_cuerpo($context, array $blocks = array()) { // line 4 echo " <h1>comentarios</h1>\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Nombrecom</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nombreCom"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Desccom</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "descCom"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Fechacom</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaCom"), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Nickcom</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nickCom"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 33 echo $this->env->getExtension('routing')->getPath("comentarios"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 38 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("comentarios_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 42 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
public function block_content($context, array $blocks = array()) { // line 11 echo "<table class=\"records_list table table-hover table-striped table-bordered table-condensed\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Tema</th>\n <td>"; // line 19 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tema"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Descripcion</th>\n <td>"; // line 23 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "descripcion"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Fecha</th>\n <td>"; // line 27 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fecha"), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 34 echo $this->env->getExtension('routing')->getPath("ticket"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 39 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("ticket_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 43 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
public function block_main($context, array $blocks = array()) { $__internal_3fb7bd471ad72f9378990fee242a5fe6e56a63a5595703f19a0bdcabc3d8f35c = $this->env->getExtension("native_profiler"); $__internal_3fb7bd471ad72f9378990fee242a5fe6e56a63a5595703f19a0bdcabc3d8f35c->enter($__internal_3fb7bd471ad72f9378990fee242a5fe6e56a63a5595703f19a0bdcabc3d8f35c_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "main")); // line 6 echo " <h1>Liste des UE</h1>\n\n <table class=\"table table-striped\">\n <thead>\n <tr>\n <th>Title</th>\n <th><i class=\"fa fa-calendar\"></i> Published At</th>\n <th><i class=\"fa fa-cogs\"></i> Eléments UE</th>\n </tr>\n </thead>\n <tbody>\n "; // line 17 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["ues"]) ? $context["ues"] : $this->getContext($context, "ues")); foreach ($context['_seq'] as $context["_key"] => $context["ue"]) { // line 18 echo " <tr>\n <td>\n\t\t\t\t\t<a href=\""; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_ue_edit", array("id" => $this->getAttribute($context["ue"], "id", array()))), "html", null, true); echo "\" >\n\t\t\t\t\t"; // line 21 echo twig_escape_filter($this->env, $this->getAttribute($context["ue"], "title", array()), "html", null, true); echo "\n\t\t\t\t\t</a>\n\t\t\t\t</td>\n <td>"; // line 24 if ($this->getAttribute($context["ue"], "publishedAt", array())) { echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["ue"], "publishedAt", array()), "Y-m-d H:i"), "html", null, true); } echo "</td>\n <td>\n\t\t\t\t\t<a href=\""; // line 26 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_uegrp_list", array("id" => $this->getAttribute($context["ue"], "id", array()))), "html", null, true); echo "\" >\n\t\t\t\t\t\t<i class=\"fa fa-plus\"></i> admin_uegrp_list\n\t\t\t\t\t</a> \n\t\t\t\t</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ue'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 32 echo " </tbody>\n </table>\n"; $__internal_3fb7bd471ad72f9378990fee242a5fe6e56a63a5595703f19a0bdcabc3d8f35c->leave($__internal_3fb7bd471ad72f9378990fee242a5fe6e56a63a5595703f19a0bdcabc3d8f35c_prof); }
public function block_input($context, array $blocks = array()) { // line 10 echo " <div class=\"form-select-wrapper "; echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "size", array()); echo "\">\n <select class=\""; // line 11 echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "classes", array()); echo "\" name=\""; echo $this->env->getExtension('GravTwigExtension')->fieldNameFilter((isset($context["scope"]) ? $context["scope"] : null) . $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "name", array())) . ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()) ? "[]" : ""); echo "\"\n "; // line 12 if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autofocus", array()), array(0 => "on", 1 => "true", 2 => 1))) { echo "autofocus=\"autofocus\""; } // line 13 echo " "; if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "novalidate", array()), array(0 => "on", 1 => "true", 2 => 1))) { echo "novalidate=\"novalidate\""; } // line 14 echo " "; if (twig_in_filter($this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "required", array()), array(0 => "on", 1 => "true", 2 => 1))) { echo "required=\"required\""; } // line 15 echo " "; if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()), array(0 => "on", 1 => "true", 2 => 1))) { echo "multiple=\"multiple\""; } // line 16 echo " "; if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "form", array())) { echo "form=\""; echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "form", array()); echo "\""; } // line 17 echo " >\n "; // line 18 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "options", array())); foreach ($context['_seq'] as $context["key"] => $context["text"]) { // line 19 echo " <option "; if ($context["key"] == (isset($context["value"]) ? $context["value"] : null) || twig_in_filter($context["text"], isset($context["value"]) ? $context["value"] : null)) { echo "selected=\"selected\""; } echo " value=\""; echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()) ? $context["text"] : $context["key"]; echo "\">"; echo twig_test_empty($context["key"]) ? $context["text"] : twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", $context["key"])); echo "</option>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['text'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 21 echo " </select>\n </div>\n"; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Article</h1>\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Title</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "title", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Content</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "content", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Isread</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "isRead", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Publishedat</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "publishedAt", array()), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Tags</th>\n <td>"; // line 30 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tags", array()), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 37 echo $this->env->getExtension('routing')->getPath("article"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 42 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("article_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 46 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
public function block_body($context, array $blocks = array()) { // line 6 echo " <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Type</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "typeVehicule", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Dt mise en circulation</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "dateMiseCirculationVehicule", array()), "d/m/Y"), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Immatriculation</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "numImmatVehicule", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Tarif/journalier</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tarifJournalier", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Modele</th>\n <td>"; // line 26 echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "modele", array()), "nom", array()), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n <div class=\"col-sm-3\">"; // line 30 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Retour listing utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_homepage"), "glyphicon" => "glyphicon glyphicon-arrow-left")); echo "</div>\n <div class=\"col-sm-3\">"; // line 31 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Modifier infos utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-pencil")); echo "</div>\n <div class=\"col-sm-3\">"; // line 32 echo twig_include($this->env, $context, ":BackOffice:buttom.html.twig", array("nomButtom" => "Supprimer utilisateur", "routeButtom" => $this->env->getExtension('routing')->getPath("ro_utilisateur_delete", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "glyphicon" => "glyphicon glyphicon-remove")); echo "</div>\n"; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Products</h1>\n\n <table class=\"record_properties\">\n <tbody>\n <tr>\n <th>Id</th>\n <td>"; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Prodname</th>\n <td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "prodName", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Proddescription</th>\n <td>"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "prodDescription", array()), "html", null, true); echo "</td>\n </tr>\n <tr>\n <th>Deliverydate</th>\n <td>"; // line 22 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "deliveryDate", array()), "Y-m-d H:i:s"), "html", null, true); echo "</td>\n </tr>\n </tbody>\n </table>\n\n <ul class=\"record_actions\">\n <li>\n <a href=\""; // line 29 echo $this->env->getExtension('routing')->getPath("products"); echo "\">\n Back to the list\n </a>\n </li>\n <li>\n <a href=\""; // line 34 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("products_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id", array()))), "html", null, true); echo "\">\n Edit\n </a>\n </li>\n <li>"; // line 38 echo $this->env->getExtension('form')->renderer->renderBlock(isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form"), 'form'); echo "</li>\n</ul>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 3 echo "\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t\t\n\t\t<title>"; // line 10 $this->displayBlock('title', $context, $blocks); echo "</title>\n\t\t\n\t\t"; // line 12 $this->displayBlock('stylesheets', $context, $blocks); // line 16 echo "\t</head>\n\t\n\t<body>\n\t\t<div class=\"container\">\n\t\t\n\t\t\t<div id=\"header\" class=\"jumbotron\">\n\t\t\t\t<h1>Ma plateforme d'annonces</h1>\n\t\t\t\t<p>\n\t\t\t\t\tPlatforme réaliser avec Symfony2...\n\t\t\t\t</p>\n\t\t\t\t<p>\n\t\t\t\t\t<a class=\"btn btn-primary btn-lg\" href=\"#\">\n\t\t\t\t\t\tLire plus »\n\t\t\t\t\t</a>\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t\t\n\t\t\t<div class=\"row\">\n\t\t\t\t<div id=\"menu\" class=\"col-md-3\">\n\t\t\t\t\t<h3>Les annonces</h3>\n\t\t\t\t\t<ul class=\"nav nav-pills nav-stacked\">\n\t\t\t\t\t\t"; // line 38 echo "\t\t\t\t\t\t<li><a href=\""; echo $this->env->getExtension('routing')->getPath("kaiim_platform_home"); echo "\">Accueil</a></li>\n\t\t\t\t\t\t<li><a href=\""; // line 39 echo $this->env->getExtension('routing')->getPath("kaiim_platform_add"); echo "\">Ajouter une annonce</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t<h4>Dernières annonces</h4>\n\t\t\t\t\t"; // line 44 echo "\t\t\t\t\t"; echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('http_kernel')->controller("KaiimPlatformBundle:Advert:menu", array("limit" => 3))); echo "\n\t\t\t\t</div>\n\t\t\t\t<div id=\"content\" class=\"col-md-9\">\n\t\t\t\t\t"; // line 47 $this->displayBlock('body', $context, $blocks); // line 49 echo "\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t\n\t\t\t<hr>\n\t\t\t\n\t\t\t<footer>\n\t\t\t\t<p>© "; // line 55 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true); echo " Karim FATHI</p>\n\t\t\t</footer>\n\t\t</div>\n\t\t\n\t\t"; // line 59 $this->displayBlock('javascripts', $context, $blocks); // line 64 echo "\t\t\n\t</body>\n</html>"; }
public function block_pmtp_body($context, array $blocks = array()) { $__internal_4f2aafff4ad617acd363e93aa72fb36bd330d918db8fcb5a768d989bc433fbac = $this->env->getExtension("native_profiler"); $__internal_4f2aafff4ad617acd363e93aa72fb36bd330d918db8fcb5a768d989bc433fbac->enter($__internal_4f2aafff4ad617acd363e93aa72fb36bd330d918db8fcb5a768d989bc433fbac_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "pmtp_body")); // line 8 echo "\n <h2>"; // line 9 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "title", array()), "html", null, true); echo "</h2>\n <i>Par "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "author", array()), "html", null, true); echo ", le "; echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "date", array()), "d/m/Y"), "html", null, true); echo "</i>\n\n <div class=\"well\">\n "; // line 13 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "content", array()), "html", null, true); echo "\n </div>\n\n <p>\n <a href=\""; // line 17 echo $this->env->getExtension('routing')->getPath("pm_tp_home"); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-chevron-left\"></i>\n Retour à l'accueil\n </a>\n <a href=\""; // line 21 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pm_tp_edit", array("id" => $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "id", array()))), "html", null, true); echo "\" class=\"btn btn-default\">\n <i class=\"glyphicon glyphicon-edit\"></i>\n Modifier l'article\n </a>\n <a href=\""; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pm_tp_delete", array("id" => $this->getAttribute(isset($context["article"]) ? $context["article"] : $this->getContext($context, "article"), "id", array()))), "html", null, true); echo "\" class=\"btn btn-danger\">\n <i class=\"glyphicon glyphicon-trash\"></i>\n Supprimer l'article\n </a>\n </p>\n\n"; $__internal_4f2aafff4ad617acd363e93aa72fb36bd330d918db8fcb5a768d989bc433fbac->leave($__internal_4f2aafff4ad617acd363e93aa72fb36bd330d918db8fcb5a768d989bc433fbac_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["user"]) ? $context["user"] : $this->getContext($context, "user"), "firstName", array()), "html", null, true); echo ",\n\n<p>\nYou've made a \$"; // line 4 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "amount", array()) / 100, "html", null, true); echo " payment to "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["paymentRequest"]) ? $context["paymentRequest"] : $this->getContext($context, "paymentRequest"), "getUser", array(), "method"), "getOfficialName", array(), "method"), "html", null, true); echo ".\nThis charge will appear on your credit card statement as "; // line 5 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "appears_on_statement_as", array()), "html", null, true); echo ".\nPlease contact your community leadership if you have any questions or concerns regarding this information.\n</p>\n\n<p>Thank You!</p>\n\n<p>\n----------------------------------------------------------- <br>\n"; // line 13 echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["paymentRequest"]) ? $context["paymentRequest"] : $this->getContext($context, "paymentRequest"), "getUser", array(), "method"), "getType", array(), "method")), "html", null, true); echo ": "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["paymentRequest"]) ? $context["paymentRequest"] : $this->getContext($context, "paymentRequest"), "getUser", array(), "method"), "getOfficialName", array(), "method"), "html", null, true); echo " <br>\nCampaign: "; // line 14 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["paymentRequest"]) ? $context["paymentRequest"] : $this->getContext($context, "paymentRequest"), "getTitle", array(), "method"), "html", null, true); echo " <br>\nOrder Number: "; // line 15 echo twig_escape_filter($this->env, isset($context["order_number"]) ? $context["order_number"] : $this->getContext($context, "order_number"), "html", null, true); echo " <br>\nTransaction Number: "; // line 16 echo twig_escape_filter($this->env, isset($context["transaction_number"]) ? $context["transaction_number"] : $this->getContext($context, "transaction_number"), "html", null, true); echo " <br>\nDate: "; // line 17 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "created_at", array()), "D, d M y H:i:s O"), "html", null, true); echo "<br>\nAmount: \$"; // line 18 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : $this->getContext($context, "data"), "amount", array()) / 100, "html", null, true); echo " <br>\n----------------------------------------------------------- <br>\n</p>"; }
public function block_body($context, array $blocks = array()) { $__internal_35120e221c272d4d288f97be32b74182d57511879d790a503fc8d12732c530f0 = $this->env->getExtension("native_profiler"); $__internal_35120e221c272d4d288f97be32b74182d57511879d790a503fc8d12732c530f0->enter($__internal_35120e221c272d4d288f97be32b74182d57511879d790a503fc8d12732c530f0_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body")); // line 3 echo " <h1>User list</h1>\n\n <table class=\"table\"> \n <thead>\n <tr>\n <th>Nameinfull</th>\n <th>Nameinintials</th>\n <th>Username</th>\n <th>Empno</th>\n <th>Password</th>\n <th>Remembertoken</th>\n <th>Confirmationcode</th>\n <th>Sex</th>\n <th>Dob</th>\n <th>Nic</th>\n <th>Id</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n "; // line 23 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users")); foreach ($context['_seq'] as $context["_key"] => $context["user"]) { // line 24 echo " <tr>\n <td><a href=\""; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("user_show", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "nameInFull", array()), "html", null, true); echo "</a></td>\n <td>"; // line 26 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "nameInIntials", array()), "html", null, true); echo "</td>\n <td>"; // line 27 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "userName", array()), "html", null, true); echo "</td>\n <td>"; // line 28 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "empNo", array()), "html", null, true); echo "</td>\n <td>"; // line 29 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "password", array()), "html", null, true); echo "</td>\n <td>"; // line 30 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "rememberToken", array()), "html", null, true); echo "</td>\n <td>"; // line 31 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "confirmationCode", array()), "html", null, true); echo "</td>\n <td>"; // line 32 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "sex", array()), "html", null, true); echo "</td>\n <td>"; // line 33 if ($this->getAttribute($context["user"], "dob", array())) { echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["user"], "dob", array()), "Y-m-d"), "html", null, true); } echo "</td>\n <td>"; // line 34 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "nic", array()), "html", null, true); echo "</td>\n <td>"; // line 35 echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "id", array()), "html", null, true); echo "</td>\n <td>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 40 echo " </tbody>\n </table>\n\n <ul>\n <li>\n <a href=\""; // line 45 echo $this->env->getExtension('routing')->getPath("user_new"); echo "\">Create a new entry</a>\n </li>\n </ul>\n"; $__internal_35120e221c272d4d288f97be32b74182d57511879d790a503fc8d12732c530f0->leave($__internal_35120e221c272d4d288f97be32b74182d57511879d790a503fc8d12732c530f0_prof); }