system/storage/cache/template/07/076fb81554493a656c431f237fda3b6e4af7516e9cbe8437d420672133dfdfaa.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?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;
/* default/template/extension/module/banner.twig */
class __TwigTemplate_d0c480134070681a1cfd36f3e26b75a4b04cf643ef4978920ba980873f416010 extends \Twig\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;
// line 1
echo "<div class=\"swiper-viewport\">
<div id=\"banner";
// line 2
echo ($context["module"] ?? null);
echo "\" class=\"swiper-container\">
<div class=\"swiper-wrapper\">
\t";
// line 4
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["banners"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 5
echo " <div class=\"swiper-slide\">";
if (twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 5)) {
echo "<a href=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "link", [], "any", false, false, false, 5);
echo "\"><img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 5);
echo "\" alt=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 5);
echo "\" class=\"img-responsive\" /></a>";
} else {
echo "<img src=\"";
echo twig_get_attribute($this->env, $this->source, $context["banner"], "image", [], "any", false, false, false, 5);
后面还有 97 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
