yes, best code!!Code:function placeImages($count){ if($count > 300) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/blackskull.gif'><img src='images/blackskull.gif'><img src='images/blackskull.gif'>"; if($count > 260) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/blackskull.gif'><img src='images/blackskull.gif'>"; if($count > 230) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskullhalf.gif'>"; if($count > 190) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'>"; if($count > 150) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskullhalf.gif'>"; if($count > 120) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'>"; if($count > 90) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskullhalf.gif'>"; if($count > 70) return "<img src='images/redskull.gif'><img src='images/redskull.gif'>"; if($count > 50) return "<img src='images/redskull.gif'><img src='images/redskullhalf.gif'>"; if($count > 30) return "<img src='images/redskull.gif'>"; if($count > 10) return "<img src='images/redskullhalf.gif'>"; }
Script php by masteuszx.
Lua Script by Texon.
yes, best code!!
function placeImages($count){
if($count > 480) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'>"; ## RS
if($count > 460) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'>"; ## RS
if($count > 440) return "<img src='images/redskull.gif'><img src='images/redskull.gif'><img src='images/redskull.gif'>"; ## RS
if($count > 420) return "<img src='images/redskull.gif'><img src='images/redskull.gif'>"; ## RS
if($count > 400) return "<img src='images/redskull.gif'>"; ## RS
if($count > 380) return "<img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/>"; ## YS
if($count > 360) return "<img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/>"; ## YS
if($count > 340) return "<img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/>"; ## YS
if($count > 320) return "<img src='/images/yellowskull.gif'/><img src='/images/yellowskull.gif'/>"; ## YS
if($count > 300) return "<img src='/images/yellowskull.gif'/>"; ## YS
if($count > 280) return "<img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/>"; ## WS
if($count > 260) return "<img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/>"; ## WS
if($count > 240) return "<img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/>"; ## WS
if($count > 220) return "<img src='/images/whiteskull.gif'/><img src='/images/whiteskull.gif'/>"; ## WS
if($count > 200) return "<img src='/images/whiteskull.gif'/>"; ## WS
if($count > 180) return "<img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/>"; ## GS
if($count > 160) return "<img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/>"; ## GS
if($count > 140) return "<img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/>"; ## GS
if($count > 120) return "<img src='/images/greenskull.gif'/><img src='/images/greenskull.gif'/>"; ## GS
if($count > 100) return "<img src='/images/greenskull.gif'/>"; ## GS
}
It's not working!
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ac count_id' in 'field list'' in C:\xampp\htdocs\frags.php:47 Stack trace: #0 C:\xampp\htdocs\frags.php(47): PDO->query('SELECT `name`,`...') #1 C:\xampp\htdocs\frags.php(76): showTopExp() #2 C:\xampp\htdocs\index.php(141): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\frags.php on line 47