So, nach langer Übung bin ich so weit erst gekommen!
Der Code unten zeigt mir jetzt die Ausgabe immer doppelt.
PHP-Code:
<table cellpadding="0" cellspacing="0" class="all_records" summary="">
<thead>
<tr>
<?php foreach ($this->thead as $col): ?>
<th class="head<?php echo $col['class']; ?>"><a href="<?php echo $col['href']; ?>" title="<?php echo $col['title']; ?>"><?php echo $col['link']; ?></a></th>
<?php endforeach; ?>
<th class="head col_last"> </th>
</tr>
</thead>
<tbody>
<?php foreach ($this->tbody as $class=>$row): ?>
<tr class="<?php echo $class; ?>">
<?php foreach ($row as $col): ?>
<td class="body <?php echo $row['field']; ?>"><?php echo $col['raw']['lastname']; ?></td>
<td class="body <?php echo $row['field']; ?>"><?php echo $col['raw']['firstname']; ?></td>
<?php endforeach; ?>
<td class="body avatar">{{avatar::<?php echo $col['id']; ?>}}</td>
<td class="body <?php echo $this->col_last; ?> col_last"><a href="<?php echo $this->url; ?>?show=<?php echo $col['id']; ?>"><img src="system/modules/memberlist/html/details.gif" alt="" /></a></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
Wie kann man das ändern?
Gruss
Steven
Lesezeichen