Vergleich admin/attachments.php - 1.2.0 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 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 3030 2007-04-26 00:19:47Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 542Zeile 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']."&amp;pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n";
echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../member.php?action=profile&amp;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']."&amp;pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n";
echo "<td class=\"$bgcolor\" align=\"center\"><a href=\"../member.php?action=profile&amp;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 572Zeile 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']."&amp;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']."&amp;pid=".$attachment['pid']."#pid".$attachment['pid']."\">".$attachment['subject']."</a></td>\n";

Zeile 602Zeile 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&amp;uid=".$user['uid']."\">".$user['username']."</a></td>\n";
echo "<td class=\"$bgcolor\"><a href=\"attachments.php?".SID."&amp;action=do_search&amp;username=".urlencode($user['username'])."\">".$user['totalsize']."</a></td>\n";

			echo "<tr>\n";
echo "<td class=\"$bgcolor\"><a href=\"../member.php?action=profile&amp;uid=".$user['uid']."\">".$user['username']."</a></td>\n";
echo "<td class=\"$bgcolor\"><a href=\"attachments.php?".SID."&amp;action=do_search&amp;username=".urlencode($user['username'])."\">".$user['totalsize']."</a></td>\n";