<!--
<?php
print <<<EOT
-->
 
        <table width="100%"  cellpadding="5" cellspacing="1" bgcolor="#CCCCCC" class="posttable">
          <tr>
            <td width="77%" rowspan="3" align="left" valign="top" bgcolor="#FFFFFF"><!--
EOT;
foreach($listdb as $rs){
print <<<EOT
-->
              <div style="float:left; width:130px; height:140px; text-align:center; padding:5px; margin:10px;"> <a href="?atn=piclist&amp;uid=$uid&amp;psid=$rs[psid]"><img src="$rs[faceurl].gif"  style="border:2px #CCCCCC solid;" width="90" height="90" onerror="this.src='$Murl/images/default/userpicsortdefault.gif';"/> <br />
                <strong>$rs[name]</strong></a><strong></strong> <br />
                <a href="?atn=pic&amp;edit_psid=$rs[psid]&uid=$uid">编辑</a> <a href="?atn=del_picsort&amp;psid=$rs[psid]&uid=$uid" onclick="return confirm('确定删除{$rs[name]}吗？');">删除</a></div>
              <!--
EOT;
}
print <<<EOT
-->            </td>
            <td width="23%" align="left" bgcolor="#F9F9F9"><a href="?atn=pic_upload&uid=$uid"></a><strong>添加图集</strong></td>
          </tr>
          
          <tr>
            <td bgcolor="#F9F9F9"><form id="form2" name="form2" method="post" action="?">
              <input name="psid" type="hidden" id="psid" value="$edit_psid" />
              <input name="uid" type="hidden" id="uid" value="$uid" />
              <input name="atn" type="hidden" id="atn" value="save_picsort" />
              图集名称：(2-8个字)<br />
  <input name="name" type="text" id="name" value="$rsdb[name]" size="20" />
  <br />
              图集描述：(0-50个字)<br />
  <textarea name="remarks" cols="20" rows="3" id="remarks">$rsdb[remarks]</textarea>
  <br />
              图集排序：<br />
  <input name="orderlist" type="text" id="orderlist" value="$rsdb[orderlist]" size="5" />
  <br />
              (填写数字，数字大在前)<br />
  <br />
  <input type="submit" name="Submit" value="保 存" />
            </form></td>
          </tr>
          <tr>
            <td height="150" align="center" valign="middle" bgcolor="#FFFFFF"><a href="?atn=pic_upload&amp;uid=$uid"><img src="$Murl/images/default/userpicupload.gif"  border="0"/></a></td>
          </tr>
        </table>
<!--
EOT;
?>
-->