Hi,
hier mein Code:
Code:
<div class="guestbook_default<?php echo $this->class; ?>" id="<?php echo $this->id; ?>">
<div class="guestbook_info">
<b><?php
$aid = $this->id;
echo substr_replace($aid, "", strpos($aid, "c"), 1); ?>. </b><?php echo $this->by; ?> <?php if ($this->email): ?><span class="guestbook_author"><?php endif; echo $this->name; ?></span><?php if ($this->email): ?></a><?php endif; ?> <?php if ($this->website): ?><a href="<?php echo $this->website; ?>" onclick="window.open(this.href); return false;"><?php echo '<img src="tl_files/">'; ?></a><?php endif; ?><span class="guestbook_date"><?php echo $this->date; ?></span>
</div>
<div class="guestbook">
<?php echo $this->comment; ?>
</div>
</div>
Da wird eingentlich nur die ID ausgegeben und fertig. Denke das wird in der Datenbank geändert werden müssen. Die Frage ist nur wo?
Gruss
lgerd
Lesezeichen