var/cache/dev/twig/e2/e29f8c4541649e8484fcfc3ecc109a17fdae80a90699f84e14a7b339b11c8095.php line 16

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @user_data/shopcalendar.twig */
  14. class __TwigTemplate_2f866dedabb0e9b258fa3e24a5fa28aab4b4c215bf9fe529b6b1181a41037a81 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/shopcalendar.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/shopcalendar.twig"));
  40.         $this->parent $this->loadTemplate("default_frame.twig""@user_data/shopcalendar.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_main($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  55.         // line 4
  56.         echo "
  57. 本店【営業日・学校販売日】
  58. <html lang=\"en\">
  59. <head>
  60.     <meta charset=\"UTF-8\">
  61.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  62.     <title>Google Calendar Embed</title>
  63.     <style>
  64.         .calendar-container {
  65.             position: relative;
  66.             width: 100%;
  67.             height: 0;
  68.             padding-bottom: 75%;
  69.         }
  70.         .calendar-container iframe {
  71.             position: absolute;
  72.             top: 0;
  73.             left: 0;
  74.             width: 100%;
  75.             height: 100%;
  76.             border: solid 1px #777;
  77.         }
  78.         @media (max-width: 768px) {
  79.             .calendar-container {
  80.                 padding-bottom: 150%; /* 2倍の高さ */
  81.             }
  82.         }
  83.     </style>
  84. </head>
  85. <body>
  86.     <div class=\"calendar-container\">
  87.         <iframe src=\"https://calendar.google.com/calendar/embed?height=600&wkst=2&ctz=Asia%2FTokyo&bgcolor=%23ffffff&showCalendars=0&showPrint=0&title=%E6%9C%AC%E5%BA%97&showTabs=0&src=NmNkMTdlMjliN2M1M2ZmYWJmMjc0OTkzNzM3OTI3NWViYmE0YTUzZDJiNWNmZjM0NzU1YzQ3MzA3OGVlNzJlOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=Y2FjNTUxMGE3MTYyOGRmZTQxMmNlYmNlYjU4Mzk5OTdhYTY3OTIzYjAzZjU2ODA3MThlYjhiMzI4MDJkYTBjN0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=amEuamFwYW5lc2UjaG9saWRheUBncm91cC52LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23D50000&color=%233F51B5&color=%23D50000\"
  88.                 frameborder=\"0\" scrolling=\"no\"></iframe>
  89.     </div>
  90. </body>
  91. </html>
  92. <span style=\"color: red; font-weight: bold;\">赤 : 定休日</span><br>
  93. 日曜・祝日・7月~8月の土曜日<br>
  94. <span style=\"color: blue; font-weight: bold;\">青 : 学校販売日</span><br>
  95. ※学校行事・天候等により、日程が変更になる場合がございます。<br><br>
  96. 店舗営業時間 : 9:30~17:00※ <br>
  97. 6/21~8/20・10/21~12/20 は「10:00~17:00」 <br>
  98. 6月・9月~12月の土曜日は「10:30~17:00」 <br>
  99. ";
  100.         
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  102.         
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  104.     }
  105.     public function getTemplateName()
  106.     {
  107.         return "@user_data/shopcalendar.twig";
  108.     }
  109.     public function isTraitable()
  110.     {
  111.         return false;
  112.     }
  113.     public function getDebugInfo()
  114.     {
  115.         return array (  70 => 4,  60 => 3,  37 => 1,);
  116.     }
  117.     public function getSourceContext()
  118.     {
  119.         return new Source("{% extends 'default_frame.twig' %}
  120. {% block main %}
  121. 本店【営業日・学校販売日】
  122. <html lang=\"en\">
  123. <head>
  124.     <meta charset=\"UTF-8\">
  125.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  126.     <title>Google Calendar Embed</title>
  127.     <style>
  128.         .calendar-container {
  129.             position: relative;
  130.             width: 100%;
  131.             height: 0;
  132.             padding-bottom: 75%;
  133.         }
  134.         .calendar-container iframe {
  135.             position: absolute;
  136.             top: 0;
  137.             left: 0;
  138.             width: 100%;
  139.             height: 100%;
  140.             border: solid 1px #777;
  141.         }
  142.         @media (max-width: 768px) {
  143.             .calendar-container {
  144.                 padding-bottom: 150%; /* 2倍の高さ */
  145.             }
  146.         }
  147.     </style>
  148. </head>
  149. <body>
  150.     <div class=\"calendar-container\">
  151.         <iframe src=\"https://calendar.google.com/calendar/embed?height=600&wkst=2&ctz=Asia%2FTokyo&bgcolor=%23ffffff&showCalendars=0&showPrint=0&title=%E6%9C%AC%E5%BA%97&showTabs=0&src=NmNkMTdlMjliN2M1M2ZmYWJmMjc0OTkzNzM3OTI3NWViYmE0YTUzZDJiNWNmZjM0NzU1YzQ3MzA3OGVlNzJlOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=Y2FjNTUxMGE3MTYyOGRmZTQxMmNlYmNlYjU4Mzk5OTdhYTY3OTIzYjAzZjU2ODA3MThlYjhiMzI4MDJkYTBjN0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t&src=amEuamFwYW5lc2UjaG9saWRheUBncm91cC52LmNhbGVuZGFyLmdvb2dsZS5jb20&color=%23D50000&color=%233F51B5&color=%23D50000\"
  152.                 frameborder=\"0\" scrolling=\"no\"></iframe>
  153.     </div>
  154. </body>
  155. </html>
  156. <span style=\"color: red; font-weight: bold;\">赤 : 定休日</span><br>
  157. 日曜・祝日・7月~8月の土曜日<br>
  158. <span style=\"color: blue; font-weight: bold;\">青 : 学校販売日</span><br>
  159. ※学校行事・天候等により、日程が変更になる場合がございます。<br><br>
  160. 店舗営業時間 : 9:30~17:00※ <br>
  161. 6/21~8/20・10/21~12/20 は「10:00~17:00」 <br>
  162. 6月・9月~12月の土曜日は「10:30~17:00」 <br>
  163. {% endblock %}""@user_data/shopcalendar.twig""/home/nmhata01/nmhata01.xsrv.jp/public_html/app/template/user_data/shopcalendar.twig");
  164.     }
  165.     
  166.     public function checkSecurity()
  167.     {
  168.         static $tags = array();
  169.         static $filters = array();
  170.         static $functions = array();
  171.         try {
  172.             $this->sandbox->checkSecurity(
  173.                 [],
  174.                 [],
  175.                 []
  176.             );
  177.         } catch (SecurityError $e) {
  178.             $e->setSourceContext($this->source);
  179.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  180.                 $e->setTemplateLine($tags[$e->getTagName()]);
  181.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  182.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  183.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  184.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  185.             }
  186.             throw $e;
  187.         }
  188.     }
  189. }