{cycle values="light,lucid" print=false} {section name=customernodes loop=$customernodes} {sectionelse} {/section}
{if $layout.module == 'ewxnodelist'} {t 0=$customernodes|@count|default:"0"}Channel Nodes ($0):{/t} {else} {t 0=$customernodes|@count|default:"0"}Customer Nodes ($0):{/t} {/if}
[ {if ! $customernodes[customernodes].access}{t}Connect{/t}{else}{t}Disconnect{/t}{/if} ] [ {if ! $customernodes[customernodes].warning}{t}Enable notice{/t}{else}{t}Disable notice{/t}{/if} ] {if $customernodes[customernodes].lastonline} {if ($smarty.now-$customernodes[customernodes].lastonline) > $_config.phpui.lastonline_limit} {else} {/if} {else} {/if} {$customernodes[customernodes].name}
{$customernodes[customernodes].ip} {if $customernodes[customernodes].ip_pub!="0.0.0.0"} ({$customernodes[customernodes].ip_pub}) {/if} / {$customernodes[customernodes].mac}
{$customernodes[customernodes].info|truncate:40:"...":true}

 

{t}No nodes found in database.{/t}