w
user_agentT //Code to show the user's user agent information.
echo $_SERVER["HTTP_USER_AGENT"];Itf> Itf> ` custom_copyright7//set start to date your site was published
$startCopyRight='2010';
// check if start year is this year
if(date('Y') == $startCopyRight){
// it was, just print this year
echo $startCopyRight;
}else{
// it wasnt, print startyear and this year delimited with a dash
echo $startCopyRight.'-'. date('Y');
}Itf> fH @ generuj_sortiment$sortiment = array();
foreach ($smarty->get_template_vars('nodelist') as $node) {
$sortiment[] = '
"; print_r($gCms->variables); echo "";^H EH generuj_produkty$produkty = array(); $produkt_popis = $smarty->get_template_vars('produkt_popis'); if ($produkt_popis == '') $produkt_popis='SLOŽENÍ'; foreach ($smarty->get_template_vars('items') as $entry) { $fields = $entry->fields; $obrazek = $fields['obrazek']; $produkt = '
'.$entry->details.'
'; if ($entry->weight<>0) { $produkt = $produkt.''.$entry->weight.' g
'; }; $produkt = $produkt.'