• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

0.3.4&0.3.5[PHP]Top Frags

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'>";
}
yes, best code!!
 
Script php by masteuszx.
Lua Script by Texon.


BIG LOL

Take the already better not write anything because I did not I read this. You do not know lua, I tried to screw that he coded in PHP texoni, but did not know what to say <center>, <hr /> you say the table ...
 
yes, best code!!

Omg, It is not coded by him. Here I give a piece of my script

PHP:
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
}

and what chance does not look the same? ;>
Texon you're pathetic.
 
http://jumaronline.net/?subtopic=frags
Code:
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
 
Hey I have done everything you said I should do on your thread post, all scripts have been added but still when i click on my website at Top Frags (new) then i coming to the page but there is a text saynig : Invalid subtopic. Can't load page.

So whats wrong?

Rep will be giving as always! :)
 
Fatal error: Call to a member function query() on a non-object in C:\xampp\htdocs\Account Page\frags.php on line 2


^^^ plx help
 
Can someone help me? On the top frags I have something:

frg.png
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ac count_id' in 'field list'' in C:\xampp\xampp\htdocs\top_frags.php:47 Stack trace: #0 C:\xampp\xampp\htdocs\top_frags.php(47): PDO->query('SELECT `name`,`...') #1 C:\xampp\xampp\htdocs\top_frags.php(76): showTopExp() #2 C:\xampp\xampp\htdocs\index.php(231): include('C:\xampp\xampp\...') #3 {main} thrown in C:\xampp\xampp\htdocs\top_frags.php on line 47
 
Back
Top