/trunk/index.php |
---|
64,7 → 64,7 |
// resource state by network |
for ($i=0;$i<$netcount;$i++) { |
$curstate =& $db->getOne("SELECT state_id FROM res_net_stat WHERE resource_id=".$info_res['id']." AND network_id=".$netlist[$i]); |
if($netlist[$i]==$curnet) { echo " <td bgcolor='gold'>"; } |
if($netlist[$i]==$curnet) { echo " <td bgcolor='#CFE79F'>"; } |
else { echo " <td>"; }; |
$curimg = "./img/state/unknown.png"; |