<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* backend/certif_conference/certifConferenceOfAttendancePdf.html.twig */
class __TwigTemplate_6faeaec87aa39b4d6fbebb40b30a62edd7e33daf0ee64c3364660dc7d1418e1b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "backend/certif_conference/certifConferenceOfAttendancePdf.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "backend/certif_conference/certifConferenceOfAttendancePdf.html.twig"));
// line 1
echo "<!doctype html>
<html lang=\"en\">
\t<head>
\t\t<meta charset=\"UTF-8\">
\t</head>
\t<body>
\t\t<style type=\"text/css\">
\t\t\t@font-face {
\t\t\t\tfont-family: 'Berlin_Sans_FB_Regular';
\t\t\t\tsrc: url('http://urotunisia.com/uploads/Berlin%20Sans%20FB%20Regular.ttf');
\t\t\t}
\t\t\t@page {
\t\t\t\tsize: 297mm 210mm;
\t\t\t\tmargin: 5mm;
\t\t\t\tsize: landscape
\t\t\t}
\t\t\t@media print {
\t\t\t\t.certificado_pagina {
\t\t\t\t\tpadding: 0;
\t\t\t\t\tbackground: transparent;
\t\t\t\t\tmargin: 0;
\t\t\t\t\tborder-radius: 0;
\t\t\t\t\tbox-shadow: none;
\t\t\t\t\t-webkit-box-shadow: none
\t\t\t\t}
\t\t\t}
\t\t\tp {
\t\t\t\tline-height: 15px;
\t\t\t}
\t\t\t#renderMe {
\t\t\t\tbackground-image: url('http://urotunisia.com/uploads/certificateConference.jpg');
\t\t\t\tbackground-size: cover;
\t\t\t\twidth: 100%;
\t\t\t\theight: 100%;
\t\t\t}
\t\t</style>
\t\t<div id=\"renderMe\">
\t\t\t<div style=\"position:relative; height:400px\">
\t\t\t\t<div style=\"position:absolute;z-index:1\">
\t\t\t\t\t";
// line 40
if ((twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 40, $this->source); })()), "isEvent", [], "any", false, false, false, 40) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 40, $this->source); })()), "event", [], "any", false, false, false, 40), null)))) {
// line 41
echo "\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificateConference.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t";
} elseif (((twig_get_attribute($this->env, $this->source, // line 42
(isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 42, $this->source); })()), "isCongres", [], "any", false, false, false, 42) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 42, $this->source); })()), "congres", [], "any", false, false, false, 42), "id", [], "any", false, false, false, 42), 9))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 42, $this->source); })()), "event", [], "any", false, false, false, 42), null)))) {
// line 43
echo "\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2023-presence.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t";
} elseif ((((twig_get_attribute($this->env, $this->source, // line 44
(isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "isCongres", [], "any", false, false, false, 44) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "congres", [], "any", false, false, false, 44), "id", [], "any", false, false, false, 44), 9))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "event", [], "any", false, false, false, 44), null))) && (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "isLecture", [], "any", false, false, false, 44), false)) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "isWorkshop", [], "any", false, false, false, 44), false))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 44, $this->source); })()), "isModerator", [], "any", false, false, false, 44), false))))) {
// line 45
echo "\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2023-participation.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t";
} elseif ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 46
(isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 46, $this->source); })()), "congres", [], "any", false, false, false, 46), "id", [], "any", false, false, false, 46), null)) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 46, $this->source); })()), "event", [], "any", false, false, false, 46), null))) && twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 46, $this->source); })()), "isEvent", [], "any", false, false, false, 46))) {
// line 47
echo "\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificateConference.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t";
} elseif (((twig_get_attribute($this->env, $this->source, // line 48
(isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 48, $this->source); })()), "isCongres", [], "any", false, false, false, 48) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 48, $this->source); })()), "congres", [], "any", false, false, false, 48), "id", [], "any", false, false, false, 48), 11))) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 48, $this->source); })()), "event", [], "any", false, false, false, 48), null)))) {
// line 49
echo "\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2025-presence.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t";
}
// line 51
echo "
\t\t\t\t</div>
\t\t\t\t<div style=\"position:absolute;top:75%; z-index:2;font-size:200%;left: 9%; right:10%\">
\t\t\t\t\t<p style=\"text-align: center;font-size: 30px;padding-bottom:0px;padding-top:20px\">
\t\t\t\t\t\tWe certifie thatt
\t\t\t\t\t</p>
\t\t\t\t\t<p style=\"color: #be0003; font-size: 40px;text-align: center;font-family:Berlin_Sans_FB_Regular;padding:0px;margin-top:-5px\">Dr.
\t\t\t\t\t\t";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 58, $this->source); })()), "orateur", [], "any", false, false, false, 58), "html", null, true);
echo "</p>
\t\t\t\t\t<p style=\"font-size: 30px;text-align: center;padding-bottom:0px;line-height: 30px;margin-top:-20px\">
\t\t\t\t\t\tParticipated in the
\t\t\t\t\t\t";
// line 61
if (twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 61, $this->source); })()), "isCongres", [], "any", false, false, false, 61)) {
// line 62
echo "\t\t\t\t\t\t\t<strong>\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 62, $this->source); })()), "congres", [], "any", false, false, false, 62), "labelEn", [], "any", false, false, false, 62), "html", null, true);
echo "\"</strong>
\t\t\t\t\t\t\tthe
\t\t\t\t\t\t\t<strong>";
// line 64
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 64, $this->source); })()), "congres", [], "any", false, false, false, 64), "dateDebut", [], "any", false, false, false, 64), "d-m-Y"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t";
// line 66
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 66, $this->source); })()), "congres", [], "any", false, false, false, 66), "dateFin", [], "any", false, false, false, 66), "d-m-Y"), "html", null, true);
echo "</strong>
\t\t\t\t\t\t";
} elseif (twig_get_attribute($this->env, $this->source, // line 67
(isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 67, $this->source); })()), "isEvent", [], "any", false, false, false, 67)) {
// line 68
echo "\t\t\t\t\t\t\t<strong>\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 68, $this->source); })()), "event", [], "any", false, false, false, 68), "title", [], "any", false, false, false, 68), "html", null, true);
echo "\"</strong>
\t\t\t\t\t\t\tthe
\t\t\t\t\t\t\t<strong>";
// line 70
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 70, $this->source); })()), "event", [], "any", false, false, false, 70), "startDate", [], "any", false, false, false, 70), "d-m-Y"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t";
// line 72
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["certifConference"]) || array_key_exists("certifConference", $context) ? $context["certifConference"] : (function () { throw new RuntimeError('Variable "certifConference" does not exist.', 72, $this->source); })()), "event", [], "any", false, false, false, 72), "endDate", [], "any", false, false, false, 72), "d-m-Y"), "html", null, true);
echo "</strong>
\t\t\t\t\t\t";
}
// line 74
echo "\t\t\t\t\t</p>
\t\t\t\t</p>
\t\t\t</div>
\t\t</body>
\t</body>
</html></div></body></html></div></body></html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "backend/certif_conference/certifConferenceOfAttendancePdf.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 160 => 74, 155 => 72, 150 => 70, 144 => 68, 142 => 67, 138 => 66, 133 => 64, 127 => 62, 125 => 61, 119 => 58, 110 => 51, 106 => 49, 104 => 48, 101 => 47, 99 => 46, 96 => 45, 94 => 44, 91 => 43, 89 => 42, 86 => 41, 84 => 40, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html lang=\"en\">
\t<head>
\t\t<meta charset=\"UTF-8\">
\t</head>
\t<body>
\t\t<style type=\"text/css\">
\t\t\t@font-face {
\t\t\t\tfont-family: 'Berlin_Sans_FB_Regular';
\t\t\t\tsrc: url('http://urotunisia.com/uploads/Berlin%20Sans%20FB%20Regular.ttf');
\t\t\t}
\t\t\t@page {
\t\t\t\tsize: 297mm 210mm;
\t\t\t\tmargin: 5mm;
\t\t\t\tsize: landscape
\t\t\t}
\t\t\t@media print {
\t\t\t\t.certificado_pagina {
\t\t\t\t\tpadding: 0;
\t\t\t\t\tbackground: transparent;
\t\t\t\t\tmargin: 0;
\t\t\t\t\tborder-radius: 0;
\t\t\t\t\tbox-shadow: none;
\t\t\t\t\t-webkit-box-shadow: none
\t\t\t\t}
\t\t\t}
\t\t\tp {
\t\t\t\tline-height: 15px;
\t\t\t}
\t\t\t#renderMe {
\t\t\t\tbackground-image: url('http://urotunisia.com/uploads/certificateConference.jpg');
\t\t\t\tbackground-size: cover;
\t\t\t\twidth: 100%;
\t\t\t\theight: 100%;
\t\t\t}
\t\t</style>
\t\t<div id=\"renderMe\">
\t\t\t<div style=\"position:relative; height:400px\">
\t\t\t\t<div style=\"position:absolute;z-index:1\">
\t\t\t\t\t{% if certifConference.isEvent and certifConference.event != null %}
\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificateConference.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t{% elseif certifConference.isCongres and certifConference.congres.id==9 and certifConference.event == null %}
\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2023-presence.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t{% elseif certifConference.isCongres and certifConference.congres.id==9 and certifConference.event == null and (certifConference.isLecture == false and certifConference.isWorkshop==false and certifConference.isModerator==false) %}
\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2023-participation.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t{% elseif certifConference.congres.id==null and certifConference.event!=null and certifConference.isEvent %}
\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificateConference.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t{% elseif certifConference.isCongres and certifConference.congres.id==11 and certifConference.event == null %}
\t\t\t\t\t\t<img src=\"https://urotunisia.com/uploads/certificat-2025-presence.jpg\" alt=\"Certificat-ATU\" style=\"width:100%;height:auto\" type=\"image/jpeg\">
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<div style=\"position:absolute;top:75%; z-index:2;font-size:200%;left: 9%; right:10%\">
\t\t\t\t\t<p style=\"text-align: center;font-size: 30px;padding-bottom:0px;padding-top:20px\">
\t\t\t\t\t\tWe certifie thatt
\t\t\t\t\t</p>
\t\t\t\t\t<p style=\"color: #be0003; font-size: 40px;text-align: center;font-family:Berlin_Sans_FB_Regular;padding:0px;margin-top:-5px\">Dr.
\t\t\t\t\t\t{{certifConference.orateur}}</p>
\t\t\t\t\t<p style=\"font-size: 30px;text-align: center;padding-bottom:0px;line-height: 30px;margin-top:-20px\">
\t\t\t\t\t\tParticipated in the
\t\t\t\t\t\t{% if certifConference.isCongres %}
\t\t\t\t\t\t\t<strong>\"{{certifConference.congres.labelEn}}\"</strong>
\t\t\t\t\t\t\tthe
\t\t\t\t\t\t\t<strong>{{certifConference.congres.dateDebut|date('d-m-Y')}}
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{{certifConference.congres.dateFin|date('d-m-Y')}}</strong>
\t\t\t\t\t\t{% elseif certifConference.isEvent %}
\t\t\t\t\t\t\t<strong>\"{{certifConference.event.title}}\"</strong>
\t\t\t\t\t\t\tthe
\t\t\t\t\t\t\t<strong>{{certifConference.event.startDate|date('d-m-Y')}}
\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t{{certifConference.event.endDate|date('d-m-Y')}}</strong>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</p>
\t\t\t\t</p>
\t\t\t</div>
\t\t</body>
\t</body>
</html></div></body></html></div></body></html>
", "backend/certif_conference/certifConferenceOfAttendancePdf.html.twig", "/home/urotunisuz/www/templates/backend/certif_conference/certifConferenceOfAttendancePdf.html.twig");
}
}