{include file="header.html"}

{$layout.pagetitle}

{if $emptydb}


{trans("No such devices in database.")}
{elseif !$ming && $type == 'flash'}


{trans("Your PHP does not support Ming library required for map generation!")}
{elseif $ming && (!$type || $type=='flash')}

{elseif $type=='openlayers'}
{elseif $gd} {* default if $type is not set or not 'flash' *}

{section name=devicemap loop=$devicemap} {/section} {section name=nodemap loop=$nodemap} {/section}

{else}


{trans("Your PHP does not support GD library required for map generation!")}
{/if} {if !$emptydb && $type != 'openlayers'}

{trans("Start map from:")} {trans("only devices")}

{/if} {include file="footer.html"}