<{if $smarty.post}>
	<script>
	window.parent.ref();
	</script>
<{/if}>
<link href="templates/default/admin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	#list1{list-style-type:none; margin:0px; height:435px; overflow-y:scroll  }
	#list1 li{float:left; padding:5px; width:145px; height:170px; }
	#list1 div{ width:145px; height:170px; border:solid 1px #E8E8E8; text-align:center;}
	#list1 span{font-weight:bold;}
	*{font-size:12px;}
</style>
<form action="" method="post">
	<ul id="list1">
		<{foreach item=list key=num from=$re.list}>
			<li>
				<div>
					<{if !$list.pic}>
						<img width=143 src="<{$config.weburl}>/image/default/nopic.gif" />
					<{else}>
						<img width=143 src="<{$list.img}>" />
					<{/if}>
					<br /><span><input name="offerid[]" type="checkbox" value="<{$list.id}>" /> 
					<a target="_blank" href="<{$config.weburl}>/?m=offer&s=detail&id=<{$list.id}>"><{$list.title}></a></span>
				</div>
			</li>
		<{/foreach}>
	</ul>
	<div style="clear:both;"></div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="padding:3px;"><input name="" value="<{$lang.add_product}>" class="btn" type="submit" /></td>
		<td bgcolor="#CCCCCC"><{$list.page}></td>
	  </tr>
	</table>
</form>