At first, this is just an addition to
Quest's Dynamic Signature Guide
Ok, this is for real PHP noobs who have just started with PHP or just created a dynamic signature.
In the guide, the copy and paste parts don't include Elite resets and online status.
I'll share my codes for these things with some funny extra things on it.
Elite reset;
Code:
if ($results1[3][0]==0){
imagestring($im , $font , 159 , 32, "NO" , $textcolor );
}
else{
imagestring($im , $font , 159 , 32, "Yes" , $textcolor4 );
}
You see I started an 'if, else' statement there.
I always do it as; Elite? No, yes.
If The elite row = '0' then display 'NO'.
And vice versa.
Online Status;
Code:
if ($results0[1][0]=="Online"){
imagestring($im, $font, 257, 26, "Online", $textcolor2);
}
else{
imagestring($im, $font, 257, 26, "Offline", $textcolorRED);
}
Again if else statement.
To get it offline and online.
I hope this helped you guys out a bit and maybe you learned a bit from it as well
Quest's Dynamic Signature Guide
Use it, USE IT!