Function Reference / webcams_niches

Return a list of custom webcams niches that have been created via the admin interface. Each element in the list contains the following keys:

  • name

  • url_name

  • online

  • total

OVERVIEW

PHParray zestoi_webcams_niches()
SMARTY{webcams_niches var=NAME}

EXAMPLES

PHP

$niches = zestoi_webcams_niches();

foreach ($niches as $niche)
{
echo "NAME=" . $niche['name'] . "<br>";
echo "URL-NAME=" . $niche['url_name'] . "<br>";
echo "Currently " . $niche['online'] . " online out of a total of " .$niche['total'] . "<br>";
}

SMARTY

{webcams_niches var=niches}
{foreach from=$niches item=niche}
NAME={$niche.name}<br>
URL-NAME={$niche.url_name}<br>
Currently {$niche.online} online out of a total of {$niche.total}<br>
{foreach}

RELATED