<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <tr  class="head" > 
    <td colspan="4">&nbsp;</td>
  </tr>
<!--
EOT;
foreach($listdb AS $key=>$array){
print <<<EOT
-->
  <tr> 
<!--
EOT;
foreach($array AS $key=>$pic){
print <<<EOT
-->
    <td width="25%">&nbsp;<a href="$pic" target=_blank><img width=50 height=50 src="$pic" border="0"></a>[<a href="#" onclick="getpic('$pic')">選擇</a>]</td>
<!--
EOT;
}
print <<<EOT
-->
  </tr>
<!--
EOT;
}
print <<<EOT
-->
<tr> 
    <td colspan="4">提示:你可以收集更多的小圖標放在/images/diy.style/$type/目錄.他就會自動在這里顯示出來了.以方便平時調用</td>
  </tr>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function getpic(va){
	window.opener.document.getElementById("$Input").value=va;
	window.self.close();
}
//-->
</SCRIPT>

<!--
EOT;
?>
-->