Skip to content

Commit 971a4b7

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/php8' into php8
2 parents 403a944 + 071fd67 commit 971a4b7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

public/announce.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@
7070
$_GET['ip'] = $ip;
7171
if (!$port || $port > 0xffff)
7272
warn("invalid port");
73-
if (!ip2long($ip)) //Disable compact announce with IPv6
74-
$compact = 0;
7573

7674
$ipv4 = $ipv6 = '';
7775
if (isIPV4($ip)) {

public/viewrequests.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,15 @@
8181
print("<tr><td class=colhead align=left>{$lang_viewrequests['thead_name']}</td><td class=colhead align=center>{$lang_viewrequests['thead_price_newest']}</td><td class=colhead align=center>{$lang_viewrequests['thead_price_original']}</td><td class=colhead align=center>{$lang_viewrequests['thead_comment_count']}</td><td class=colhead align=center>{$lang_viewrequests['thead_on_request_count']}</td><td class=colhead align=center>{$lang_viewrequests['thead_request_user']}</td><td class=colhead align=center>{$lang_viewrequests['thead_created_at']}</td><td class=colhead align=center>{$lang_viewrequests['thead_status']}</td></tr>\n");
8282
while ($row = mysql_fetch_array($rows)) {
8383
print("<tr>
84-
<td align=left class='rowfollow'><a href='viewrequests.php?action=view&id=" . $row["id"] . "'><b>" . $row["request"] . "</b></a></td>
85-
<td align=center class='rowfollow nowrap'><font color=#ff0000><b>" . $row['amount'] . "</b></font></td>
86-
<td align=center class='rowfollow nowrap'>" . $row['ori_amount'] . "</td>
87-
<td align=center class='rowfollow nowrap'>" . ($row['comments']) . "</td><td align=center>" . ($row['Totalreq']) . "</td>
88-
<td align=center class='rowfollow nowrap'>" . get_username($row['userid']) . "</td>
89-
<td align=center class='rowfollow nowrap'>" . gettime($row['added'], true, false) . "</td>
90-
<td align=center class='rowfollow nowrap'>" . ($row['finish'] == "yes" ? $lang_viewrequests['request_status_resolved'] : ($row['userid'] == $CURUSER['id'] ? $lang_viewrequests['request_status_resolving'] : "<a href='viewrequests.php?action=res&id=" . $row["id"] . "'>{$lang_viewrequests['request_status_resolving']}</a>")) . "</td></tr>\n");
84+
<td align=left class='rowfollow'><a href='viewrequests.php?action=view&id=" . $row["id"] . "'><b>" . $row["request"] . "</b></a></td>
85+
<td align=center class='rowfollow nowrap'><font color=#ff0000><b>" . $row['amount'] . "</b></font></td>
86+
<td align=center class='rowfollow nowrap'>" . $row['ori_amount'] . "</td>
87+
<td align=center class='rowfollow nowrap'>" . ($row['comments']) . "</td>
88+
<td align=center class='rowfollow nowrap'>" . ($row['Totalreq']) . "</td>
89+
<td align=center class='rowfollow nowrap'>" . get_username($row['userid']) . "</td>
90+
<td align=center class='rowfollow nowrap'>" . gettime($row['added'], true, false) . "</td>
91+
<td align=center class='rowfollow nowrap'>" . ($row['finish'] == "yes" ? $lang_viewrequests['request_status_resolved'] : ($row['userid'] == $CURUSER['id'] ? $lang_viewrequests['request_status_resolving'] : "<a href='viewrequests.php?action=res&id=" . $row["id"] . "'>{$lang_viewrequests['request_status_resolving']}</a>")) . "</td>
92+
</tr>\n");
9193
}
9294
}
9395
print("</table>\n");

0 commit comments

Comments
 (0)