[GUIDA] Installare due server con la stessa home

Stato
Discussione chiusa ad ulteriori risposte.
D

Deleted member 172943

Ultima modifica da un moderatore:
Salve ragazzi! Oggi vi posto una guida che ho tradotto da Ragezone, in questo modo potrete installare piu' di un server sul vostro spazio web mantenendo una sola homepage con i vari collegamenti :)

Come prima cosa installate il secondo server in una cartella chiamata s2 (o come volete voi), durante l'installazione come index lasciate quella che porta al file index nella cartella principale del vostro dominio (per capirci: www.dominio.it/index.php) e nel db usate il prefisso _s2 per le tabelle di questo server.
Cancellate il file index all interno della cartella s2 e modificate quello nella root del vostro host in questo modo:

Cercate

Codice:
[LEFT][COLOR=#0000BB][FONT=monospace]$users [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"users WHERE tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]));[/FONT][/COLOR][/LEFT]

e sostituite con:

Codice:
[LEFT][COLOR=#0000BB][FONT=monospace]$users1 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"users WHERE tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM s2_users WHERE tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]+[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][/LEFT]


Cercate:

Codice:
[LEFT][COLOR=#0000BB][FONT=monospace]$active [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"-timestamp < (3600*24) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]));[/FONT][/COLOR][/LEFT]

e sostituite con:

Codice:
[LEFT][COLOR=#0000BB][FONT=monospace]$active1 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"-timestamp < (3600*24) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active2 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM s2_users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"-timestamp < (3600*24) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active1 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]+ [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active2[/FONT][/COLOR][COLOR=#007700][FONT=monospace];[/FONT][/COLOR][/LEFT]



Cercate:

Codice:
[LEFT][COLOR=#0000BB][FONT=Verdana]$online [/FONT][/COLOR][COLOR=#007700][FONT=Verdana]= [/FONT][/COLOR][COLOR=#0000BB][FONT=Verdana]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=Verdana]([/FONT][/COLOR][COLOR=#0000BB][FONT=Verdana]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=Verdana]([/FONT][/COLOR][COLOR=#DD0000][FONT=Verdana]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=Verdana]. [/FONT][/COLOR][COLOR=#0000BB][FONT=Verdana]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=Verdana]. [/FONT][/COLOR][COLOR=#DD0000][FONT=Verdana]"users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=Verdana]. [/FONT][/COLOR][COLOR=#0000BB][FONT=Verdana]time[/FONT][/COLOR][COLOR=#007700][FONT=Verdana]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=Verdana]"-timestamp < (60*5) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=Verdana]));  [COLOR=#333333]
[/COLOR]
[/FONT][/COLOR][/LEFT]
e sostituite con:

Codice:
[LEFT][COLOR=#0000BB][FONT=monospace]$online1 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]TB_PREFIX [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"-timestamp < (60*5) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2 [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_num_rows[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]mysql_query[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"SELECT * FROM s2_users WHERE " [/FONT][/COLOR][COLOR=#007700][FONT=monospace]. [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() . [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"-timestamp < (60*5) AND tribe!=0 AND tribe!=4 AND tribe!=5"[/FONT][/COLOR][COLOR=#007700][FONT=monospace])); 
                                           [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online [/FONT][/COLOR][COLOR=#007700][FONT=monospace]= [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]+[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2[/FONT][/COLOR][COLOR=#007700][FONT=monospace];[/FONT][/COLOR][/LEFT]


Cercate:

Codice:
[LEFT][COLOR=#000000][FONT=monospace]               <li class="w_big c3" style="background-image:url('img/en/welten/en1_big_g.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="login.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li>[/FONT][/COLOR][/LEFT]

E sostituite con:

Codice:
[LEFT][COLOR=#000000][FONT=monospace]       <li class="w_big c3" style="background-image:url('img/en/welten/en1_big_g.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="login.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                <li class="w_big c3" style="background-image:url('img/en/welten/en2_big_g.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="TravianZ/login.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li>[/FONT][/COLOR][/LEFT]


Cercate:

Codice:
[LEFT][COLOR=#000000][FONT=monospace]             <li class="w_big c4" style="background-image:url('img/en/welten/en1_big.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="anmelden.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li>[/FONT][/COLOR][/LEFT]

Sostituite con:

Codice:
[LEFT][COLOR=#000000][FONT=monospace]                <li class="w_big c4" style="background-image:url('img/en/welten/en1_big.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="anmelden.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online1[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                <li class="w_big c4" style="background-image:url('img/en/welten/en2_big.jpg');"> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <a href="anmelden.php"><img class="w_button" src="img/un/x.gif" alt="World" title="[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$active2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ACTIVE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;|&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]"&nbsp;"[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]" /></a> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_players c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]PLAYERS[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="label_online c0">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]ONLINE[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]:</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="players c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$users2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                    <div class="online c1">[/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]echo [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]$online2[/FONT][/COLOR][COLOR=#007700][FONT=monospace]; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]</div> [/FONT][/COLOR]
[COLOR=#000000][FONT=monospace]                </li>[/FONT][/COLOR][/LEFT]


Spero vi sia utile... Se avete problemi o vi serve aiuto chiedete pure :)
 
  • Mi piace
Reazioni: Troll91 ™
Stato
Discussione chiusa ad ulteriori risposte.