nokia_.
Member
- Joined
- Sep 16, 2010
- Messages
- 109
- Reaction score
- 5
Hello guys, I'm trying to get a script here and I'm not getting
example of how would be:
is not going , he wanted to show the storage only if you if you have not goes blank characters.php Gęsior
Code:
$quests = array(
100001 => "Aura1",
100002 => "Aura2",
100003 => "Aura3",
);
$main_content .= '<br><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=3 CLASS=white><B>Quests Information</B></TD></TR>';
if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
$main_content .= '<TR BGCOLOR="'.$bgcolor.'"><td width=5%><center><b>Id.</b></center></td><td width=87%><b>Quest</b></td><td width=8%><b><center>Status</center></b></td></tr>';
$i = 1;
foreach($quests as $key => $value){
if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
if($player->getStorage($key) == 1){
$main_content .= '<TR BGCOLOR="'.$bgcolor.'"><td width=5%><center>'.$i.'.</center></td><td width=87%>'.$value.'</td><td align="center" width=8%><img src="true.png" title="Done!"/></td></tr>';
} $i++;
}
$main_content .= "</table>";
example of how would be:
is not going , he wanted to show the storage only if you if you have not goes blank characters.php Gęsior