$set(adv=GetAdv(advid)) $if(adv.type.GetHashCode()==3) $if(adv.isopen)
{$adv.htmlcode}
$end $elseif(adv.type.GetHashCode()==1) $if(adv.isopen)

$end $else $if(adv.RotationPics) $foreach(rotationPic in adv.RotationPics)
  • {$rotationPic.pictitle}
  • $end $end $end $end