Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: attachments.php 2148 2006-08-27 04:10:33Z Tikitiki $
| * $Id: attachments.php 2995 2007-04-06 04:34:05Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 542 | Zeile 542 |
---|
while($attachment = $db->fetch_array($query)) { $bgcolor = getaltbg();
|
while($attachment = $db->fetch_array($query)) { $bgcolor = getaltbg();
|
| if(!$attachment['username']) { $attachment['username'] = "<s>".$lang->unknown."</s>"; }
|
echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../attachment.php?aid=".$attachment['aid']."\">".$attachment['filename']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../showthread.php?tid=".$attachment['tid']."&pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../member.php?action=profile&uid=".$attachment['uid']."\">".$attachment['username']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\">".$attachment['downloads']."</td>\n";
|
echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../attachment.php?aid=".$attachment['aid']."\">".$attachment['filename']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../showthread.php?tid=".$attachment['tid']."&pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../member.php?action=profile&uid=".$attachment['uid']."\">".$attachment['username']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\">".$attachment['downloads']."</td>\n";
|
echo "</tr>\n"; } endtable();
| echo "</tr>\n"; } endtable();
|
starttable(); tableheader($lang->largest_attachments, "", 4);
| starttable(); tableheader($lang->largest_attachments, "", 4);
|
Zeile 572 | Zeile 576 |
---|
{ $bgcolor = getaltbg(); $attachment['filesize'] = get_friendly_size($attachment['filesize']);
|
{ $bgcolor = getaltbg(); $attachment['filesize'] = get_friendly_size($attachment['filesize']);
|
| if(!$attachment['username']) { $attachment['username'] = "<s>".$lang->unknown."</s>"; }
|
echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../attachment.php?aid=".$attachment['aid']."\">".$attachment['filename']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../showthread.php?tid=".$attachment['tid']."&pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n";
| echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../attachment.php?aid=".$attachment['aid']."\">".$attachment['filename']."</a></td>\n"; echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../showthread.php?tid=".$attachment['tid']."&pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n";
|
Zeile 602 | Zeile 610 |
---|
{ $bgcolor = getaltbg(); $user['totalsize'] = get_friendly_size($user['totalsize']);
|
{ $bgcolor = getaltbg(); $user['totalsize'] = get_friendly_size($user['totalsize']);
|
| if(!$user['username']) { $user['username'] = "<s>".$lang->unknown."</s>"; }
|
echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../member.php?action=profile&uid=".$user['uid']."\">".$user['username']."</a></td>\n"; echo "<td class=\"$bgcolor\"><a href=\"attachments.php?".SID."&action=do_search&username=".urlencode($user['username'])."\">".$user['totalsize']."</a></td>\n";
| echo "<tr>\n"; echo "<td class=\"$bgcolor\"><a href=\"../member.php?action=profile&uid=".$user['uid']."\">".$user['username']."</a></td>\n"; echo "<td class=\"$bgcolor\"><a href=\"attachments.php?".SID."&action=do_search&username=".urlencode($user['username'])."\">".$user['totalsize']."</a></td>\n";
|