Re: Список живых устройст
Добавлено: Вт окт 31, 2017 8:09 pm
Попробуйте поменять на
SetGlobal("AllAlive.AllAlive",implode('<br>',$list1));
SetGlobal("AllAlive.AllAlive",implode('<br>',$list1));
Код: Выделить всё
$list1 = getObjectsByProperty('alive', '=', 1);
$list0 = getObjectsByProperty('alive', '<', 1);
SetGlobal("AllAlive.AllAlive",implode('<br>',$list1));
SetGlobal("AllAlive.AllDead",implode('<br>',$list0));
Код: Выделить всё
<table width="100" border="0" cellpadding="4">
<tr>
<td>Alive</td>
<td>Off</td>
</tr>
<tr>
<td>%AllAlive.AllAlive%</td>
<td>%AllAlive.AllDead%</td>
</tr>
</table>