Function Reference / webcams_nichesReturn a list of custom webcams niches that have been created via the admin interface. Each element in the list contains the following keys:
OVERVIEW
EXAMPLESPHP $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 |
