mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
Merge remote-tracking branch 'refs/remotes/origin/php8' into php8
This commit is contained in:
@@ -70,8 +70,6 @@ $ip = getip(); // avoid to get the spoof ip from some agent
|
||||
$_GET['ip'] = $ip;
|
||||
if (!$port || $port > 0xffff)
|
||||
warn("invalid port");
|
||||
if (!ip2long($ip)) //Disable compact announce with IPv6
|
||||
$compact = 0;
|
||||
|
||||
$ipv4 = $ipv6 = '';
|
||||
if (isIPV4($ip)) {
|
||||
|
||||
@@ -81,13 +81,15 @@ else {
|
||||
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");
|
||||
while ($row = mysql_fetch_array($rows)) {
|
||||
print("<tr>
|
||||
<td align=left class='rowfollow'><a href='viewrequests.php?action=view&id=" . $row["id"] . "'><b>" . $row["request"] . "</b></a></td>
|
||||
<td align=center class='rowfollow nowrap'><font color=#ff0000><b>" . $row['amount'] . "</b></font></td>
|
||||
<td align=center class='rowfollow nowrap'>" . $row['ori_amount'] . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . ($row['comments']) . "</td><td align=center>" . ($row['Totalreq']) . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . get_username($row['userid']) . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . gettime($row['added'], true, false) . "</td>
|
||||
<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");
|
||||
<td align=left class='rowfollow'><a href='viewrequests.php?action=view&id=" . $row["id"] . "'><b>" . $row["request"] . "</b></a></td>
|
||||
<td align=center class='rowfollow nowrap'><font color=#ff0000><b>" . $row['amount'] . "</b></font></td>
|
||||
<td align=center class='rowfollow nowrap'>" . $row['ori_amount'] . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . ($row['comments']) . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . ($row['Totalreq']) . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . get_username($row['userid']) . "</td>
|
||||
<td align=center class='rowfollow nowrap'>" . gettime($row['added'], true, false) . "</td>
|
||||
<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");
|
||||
}
|
||||
}
|
||||
print("</table>\n");
|
||||
|
||||
Reference in New Issue
Block a user