<?php
if(count($current_user->items) > 0) {
?>
<tr><td>
<table style="border: solid 1 #666666" width="90%" align="center">
<tr>
<td>
<?php
include($ld_engine_path."class_items.php");
include($ld_engine_path."get_item_list.php");
$items_to_render = array();
$actions=array();
$items=$current_user->items;
@reset($items);
echo "<table cellspacing=2 cellpadding=2 align=CENTER bgcolor=#FFFFFF>\n";
echo "<tr><td align=left><FONT color=#bf0d0d><b>$w_roz_personal_items</b></FONT></td></tr>\n";
?>
<tr>
<td>
<table cellspacing=3 cellpadding=3 border=0 align="center">
<?php
$a = 0;
while(list($i,$curr_item)=@each($items) ){
if(intval($curr_item['ItemID']) == 0) continue;
if($a == 0) echo "<tr>\n";
echo "<td><img help=\"<small><font color=black><b>".htmlspecialchars($item_list[$curr_item['ItemID']]->title)."</b><br><center> ".wordwrap($curr_item["Reason"], 20, "<br>")."<br>(".date("d-m-Y", intval($curr_item["Date"])).", <i>".$curr_item["FromNick"]."</i>)</center></font></small>\" src=\"".$chat_url."items/".$item_list[$curr_item['ItemID']]->image."\" border=0></td>\n";
if($a == 4 or $a == count($items)-1) { echo "</tr>\n"; $a = 0; }
else $a++;
}
?>
</table>
</td>
</tr>
<?php
echo "</table>";
?>
</td></tr></table>
</td></tr>
<?php
}
include($file_path."designes/".$design."/fullinfo.php");
?>