【php开源代码栏目提醒】:网学会员,鉴于大家对php开源代码十分关注,论文会员在此为大家搜集整理了“pic.php”一文,供大家参考学习!
<?php
if(!defined('ROOT')) {
exit('Access Denied');
}
print <<<EOT
<div class="showpic">
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr class="tdbheader">
<td nowrap>缂╃暐鍥?/td>
<td nowrap>鏂囦欢鍚?/td>
<td nowrap>涓婁紶鏃堕棿</td>
<td nowrap>涓嬭浇娆℃暟</td>
<td nowrap>鎵灞炴枃绔?/td>
</tr>
EOT;
foreach($attachdb as $key => $attach){print <<<EOT
<tr class="tablecell">
<td><a href="./attachment.php?id=$attach[attachmentid]" target="_blank" title="鐐瑰晩">$attach[thumb]</a></td>
<td><a href="./attachment.php?id=$attach[attachmentid]" target="_blank" title="$attach[filepath]">$attach[filename]</a></td>
<td nowrap>$attach[dateline]</td>
<td>$attach[downloads]</td>
<td nowrap><a title="$attach[article]" href="#" onclick="show($attach[articleid]);" >鏌ョ湅</a></td>
</tr>
EOT;
}print <<<EOT
<tr class="tablecell">
<td colspan="8" nowrap><br /><div class="records">璁板綍:$tatol
$Paginationpage</div></td>
</tr>
</table>
</div>
EOT;
?>