Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kaip padaryti ikona prei zaidimo pavadinimo

Parašė bartascs· 2012 Bir. 18 18:06:41
#6

Aciu uz pagalba, taigi turiu dar viena klausima, turiu pasirases koda kuris yra maincore.php faile

$settings = dbarray(dbquery("SELECT * FROM ".DB_SETTINGS)); 
 $servers = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='cs' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $all = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $cs = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='cs' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $css = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='css' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $cz = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='cz' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $hl = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='hl' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $hl2dm = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='hl2dm' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $hl2zp = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='hl2zp' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $gm = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='gm' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $dod = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='dod' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $dods = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='dods' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $ff = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='ff' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $tfc = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='tfc' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $tf2 = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='tf2' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $l4d = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='l4d' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $l4d2 = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='l4d2' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 
 $otr = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='otr' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc");


pagrindinis dalykas yra toks kad sitoje eiluteje


$servers = dbquery("SELECT * FROM ".DB_SERVERS . " where server_new != 1 and server_game='cs' and server_status != 0 and server_off != 1 order by server_vip desc, votes desc"); 


yra rodomas pagrindinime puslapyje esantys serveriai, kai bandau dar keist sia veita

server_game='cs'
taip

server_game='all'
man nebepeta pagridniame puslapyje nei vieno serverio kai nekeiciu nieko man rodo tik cs serverius kur ica kladia yra bandziau cs, css ... taip rasyt irgi nieko gal patartumete ka daryt, kad rodytu mano visus serverius?