Wechselndes Bild in der Signatur???

gabweb
Problembeschreibung:
Also ich wollte eine hack bauen wo immer ein anderes Bild in der signatur auftaucht ( es sind insgesamt 3 bilder ) das ganze sieht so aus:

Global.php:
php:
1:
2:
3:
4:
$rand rand(1,3);
if ( $rand == ) { $end gif; }
if ( $rand == OR $rand == ) { $end png; }
$gabweb "http://g7a.daccurso.de/gabweb_signatur/gabweb".$rand.".".$end;


und in der thread_signature.tpl:

code:
1:
2:
3:
4:
5:
6:
7:
<if($username==Gabweb)><then>
<br /><br />
<img src="$gabweb" border="0" alt="Gabweb" title="Gabweb" />
<br/>
</then><else>
<br /><br />__________________<br />$posts[signature]<br />
</else></if>


Fehlermeldung:
Es steht nur Gabweb da.

Link zum Forum oder Screenshot:
Im anhang

Was wurde zuletzt geändert oder eingebaut?
Meine selbst gsbastelten hack eingebaut
[kamui]
Probier das mal so:
php:
1:
2:
3:
4:
$rand rand(1,3);
if ( $rand == ) { $end "gif"; }
if ( $rand == OR $rand == ) { $end "png"; }
$gabweb "http://g7a.daccurso.de/gabweb_signatur/gabweb".$rand.".".$end;
gabweb
kommt des gleiche unglücklich
[kamui]
Gib mal bitte den Link
gabweb
http://topsecret.daccurso.at/fast-page/index.php

aber das forum ist noch offline ähm könntest du dich vill in icq oder so bei mir melden ? hab dir ne pn geschickt