Aktives Mitglied
Bekomme beim aufrufen meiner Seite folgende Meldung:
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\demo\modules\mod_jawlatestarticle\tmpl\default.php on line 63
Vielen Dank
Hier mal der code, falls das hilft:
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\demo\modules\mod_jawlatestarticle\tmpl\default.php on line 63
Vielen Dank
Hier mal der code, falls das hilft:
HTML:
<div class="title1">
<div class="jaw-latestarticle-title">
<h3 class="title" style="visibility: visible;"><?php echo $params->get('title_text') ?></h3>
</div>
<div class="jaw-latestarticle-image">
<?php if (strlen($params->get('rss_link')) > 0) { ?>
<a href="<?php echo $params->get('rss_link') ?>">
<img src="templates/sport/images/body/rss.gif">
</a>
<?php } else { ?>
<img src="templates/sport/images/body/rss.gif">
<?php } ?>
</div>
<div class="clear"></div>
</div>
<? } ?>
<div class="jaw-latestarticle">
<ul class="rp_posts_popular<?php echo $moduleclass_sfx; ?>">
<?php $count = 1; ?>
<?php foreach ($list as $item) : ?>
<?php if ($count == $params->get('count')) {
$class = 'class="last-item"';
} ?>
<li <?php echo $class; ?>>
<?php
if (strlen($item->intro_image) > 0) {
$cesta = $item->intro_image;
} else {
// nacteni cesty k obrazku
preg_match('/< *img[^>]*src *= *["\']?([^"\']*)/i', $item->introtext, $imgsrc);
// cesta k obrazku
$cesta = $imgsrc[1];
}
?>
<?php if($cesta) { ?>
<a href="<?php echo $item->link; ?>">
<img class="rp_thumb" src="templates/sport/scripts/timthumb.php?src=<?php echo $cesta; ?>&h=65&w=106&zc=1&f=2" alt="img" />
<img style="display: none;" class="rp_thumb" src="templates/sport/scripts/timthumb.php?src=<?php echo $cesta; ?>&h=65&w=106&zc=1" alt="img" />
</a>
<?php } ?>
<a class="rp_title" href="<?php echo $item->link ?>"><?php echo $item->title ?></a>
<div class="jaw-latestarticle-info">
<div class="rp_cat"><?php echo $item->cat_url ?></div>
<div class="rp_date"><?php echo $item->createddate ?></div>
</div>
<div class="clear"></div>
</li>
<?php $count++ ?>
<div class="clear"></div>
<?php endforeach; ?>
</ul>
</div>
Zuletzt bearbeitet von einem Moderator: