[%if count($array) > 0%] [%forlist from=$array key=list%]
powercheck('communicate','advertedit')==true %]ondblClick="javascript:parent.onbotton('[%$array[list].title|addslashes('hc')%]-[%$ST.setedit_botton%]','index.php?archive=advertmain&action=advertedit&adid=[%$array[list].adid%]&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'articleeditbotton[%$array[list].adid%]',self.frameElement.getAttribute('name'));"[%/if%]>
[%$array[list].adid%] [%$array[list].title|cutstr(20)%] [%$array[list].adtypename%]
[%if $array[list].isclass==1%][%else%][%/if%]
[%if @this->powercheck('communicate','advertedit')==true %]
[%$ST.setedit_botton%] [%$ST.setcopy_botton%]
[%/if%]
[%/forlist%] [%else%]
[%$ST.list_nothing_title%]
[%/if%]