Onyx's smileys

For use on "Papa's Home", TGJ forums, or wherever else you need to grab that extra special sooper dooper smiley. Enjoy!

Hosted by DownTownHost
';//start table $rowcount=0; $tdcount=0; $bgcolour ="#ccc"; $bgcolour2="#eee"; // set initial variables $mydir = "images"; $d = scandir($mydir); while (list($key, $entry) = each($d)) { if ($entry!= "." && $entry!= ".." && $entry !="cow" && $entry !="avatars") { if ($rowcount == 0) echo ''; // start new row if ($tdcount <= 4 ) echo ''; //start new table cell //template output follows: echo '
'; echo'

http://smileys.papashome.com/images/'.$entry.'

'; $rowcount=1;$tdcount +=1;//increment tablecells $bgcolour ^= $bgcolour2 ^= $bgcolour ^= $bgcolour2; if ($tdcount == 4){ $rowcount = 0; $tdcount = 0; echo''; }//if table cells =4 start new row }} //$d->close(); echo'';//close table ?>