- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
switch ($row['active']) {
case '1':
$st = '<font color="#008000">Вкл.</font></a>';
break;
case '0':
$st = '<font color="#FF0000">Выкл.</font>';
break;
}
Lure Of Chaos 14.04.2011 21:53 # +3
byss 14.04.2011 22:19 # +9
?)
Lure Of Chaos 14.04.2011 23:25 # 0
rO_ot 15.04.2011 12:00 # 0
'0' => 'выкл',
'0.5' => 'полувкл',
'1' => 'вкл'
);
echo $statuses[$row['active']];
:)
bugmenot 15.04.2011 12:07 # +1
rO_ot 15.04.2011 13:13 # +12
POPSuL 17.04.2011 04:44 # −1
guest 19.04.2011 10:05 # +1
De-Luxis 15.04.2011 05:33 # +1
guest 15.04.2011 10:53 # +4
Int 16.04.2011 11:25 # 0
random2 19.04.2011 16:48 # 0
guest 19.04.2011 16:55 # 0