<notempty name="ad_list">
<div class="slider">
              <div id="slideBox" class="slideBox">
                <div class="bd">
                  <ul>
				  <volist name="ad_list" id="ad">
                    <li>
                      <a href='{$ad.url}'  target='_blank'>
                        <img alt='{$ad.name}' src='{:attach($ad['content'],'banner')}' /></a>
                      <div class='list-body'>{$ad.desc}</div>
					</li>
				  </volist>	
                  </ul>
                </div>
                <div class="hd">
                  <ul>
				  <volist name="ad_list" id="ad">
                    <li>{$i-1}</li>
				  </volist>		                    
				  </ul>
                </div>
                <a class="prev" href="javascript:void(0)">
                  <i class="jzicon-angle-left"></i>
                </a>
                <a class="next" href="javascript:void(0)">
                  <i class="jzicon-angle-right"></i>
                </a>
              </div>
            </div>
</notempty>