[Help] Guilds mark code

Gasolincho

Well-Known Member
Joined
May 15, 2008
Messages
682
Reaction score
690
i need guilds mark code :) becouse on my web don't show me guild logo ...
 

Mephisto

New Member
Joined
Apr 10, 2008
Messages
451
Reaction score
240
Guild mark logo function
PHP:
function logo($code,$xy) {
$color[0]    = ''; 
$color[1]='#000000'; 
$color[2]='#8c8a8d'; 
$color[3]='#ffffff'; 
$color[4]='#fe0000'; 
$color[5]='#ff8a00'; 
$color[6]='#ffff00'; 
$color[7]='#8cff01'; 
$color[8]='#00ff00'; 
$color[9]='#01ff8d'; 
$color['a']='#00ffff'; 
$color['b']='#008aff'; 
$color['c']='#0000fe'; 
$color['d']='#8c00ff'; 
$color['e']='#ff00fe'; 
$color['f']='#ff008c'; 
$i = 0; 
$ii = 0;
$it = "<table class=table cellpadding=0 cellspacing=0><tr>";
while ($i<64) {
$place = $code{$i};
$i++;
$ii++;
$add = $color[$place];
$it .= "<td style=background-color:$add; width=$xy height=$xy></td>";
if ($ii==8) { 
$it .= "</tr>"; 
if ($ii != 64) 
$it .="<tr>"; $ii =0; 
}
}
$it .= "</table>";
return $it;
}
guild mark decode
PHP:
$logo = urlencode(bin2hex($row['G_Mark']));
$mark = logo($logo,3);
Number in logo() function is for size bigger number => bigger logo
 
Thread starter Similar threads Forum Replies Date
M [Help] Delete Guilds Help 6
gogik [Help] Guilds Exit Personal ID Help 8
Protect [Help] How To Delete Guilds Without Members Help 9
Break House [Help] Guilds Create Problem Help 26
M [Help] Market System Help 0
SharkY971 [Help] Web Market Help 5
total4o [Help] Web Market Help 3
crazzybg [Help] Проблем с ShopMarket Help 4
XSSecurety. [Help] Market System Help 16
HellYeahMU [Help] MD5 encode/decode Help 3
D [Help] Personal ID Code Help 1
crazzybg [Help] Add command source code Help 5
HOLIGAN [Help] Q-A code for godlike items Help 0
S [Help] Query Analyzer Code Help 6
hrisiz [Help] Items code Help 4
hrisiz [Help] Zen Code Help 4
K [Help] Query Code Help 1
d00k13 [Help] Webshop item codes Help 2
enemysss [Help] Need Me Coder Help 0
oveRLuckEd [Help] Hex code or offset to increase max zen in vault Help 2
drbryan [Help] Star of sacred birth code Help 0
MadBoy [Help] Land Of Trial Gate Number code Help 3
P [Help] SQL Code Help 7
H [Help] Who have code Quest 3 evo in DarksWeb 0.3 Help 0
Y [Help] how to make unicode\UTF-8 charset to main Help 0
H [Help] MuWeb Personal ID Code Help 6
antistaro [Help] kanturu gate code Help 6
imorala [Help] 3 level wings codes Help 3
FroggerPL [Help] A work for the web coders Help 5
V [Help] Code for site Help 3
Dea7h [Help] Source code in GS.exe Help 3
R [Help] Condor flame shop code? Help 1
diablo21 [Help] Job or Code Help 0
FreestyleR [Help] Codes Help 12
diablo21 [Help] Need index code Help 8
Evanescence [Help] Stone Code Help 2
Evanescence [Help] WebSite Code Help 0
D [Help] Baner code Help 4
Stifi [Help] Sources codes Help 0
MorgaN [Help] I wait one coder or somthing to help me with old version 97d+99 or 99+ Help 0
MorgaN [Help] i need code for cant see html code on my website] Help 6
MorgaN [Help] I need code for cant right click on website Help 10

Similar threads