diff --git a/public/announce.php b/public/announce.php index 162ddfd1..8f223a04 100644 --- a/public/announce.php +++ b/public/announce.php @@ -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)) { diff --git a/public/viewrequests.php b/public/viewrequests.php index e08a134f..705b7550 100644 --- a/public/viewrequests.php +++ b/public/viewrequests.php @@ -81,13 +81,15 @@ else { print("{$lang_viewrequests['thead_name']}{$lang_viewrequests['thead_price_newest']}{$lang_viewrequests['thead_price_original']}{$lang_viewrequests['thead_comment_count']}{$lang_viewrequests['thead_on_request_count']}{$lang_viewrequests['thead_request_user']}{$lang_viewrequests['thead_created_at']}{$lang_viewrequests['thead_status']}\n"); while ($row = mysql_fetch_array($rows)) { print(" - " . $row["request"] . " - " . $row['amount'] . " - " . $row['ori_amount'] . " - " . ($row['comments']) . "" . ($row['Totalreq']) . " - " . get_username($row['userid']) . " - " . gettime($row['added'], true, false) . " - " . ($row['finish'] == "yes" ? $lang_viewrequests['request_status_resolved'] : ($row['userid'] == $CURUSER['id'] ? $lang_viewrequests['request_status_resolving'] : "{$lang_viewrequests['request_status_resolving']}")) . "\n"); + " . $row["request"] . " + " . $row['amount'] . " + " . $row['ori_amount'] . " + " . ($row['comments']) . " + " . ($row['Totalreq']) . " + " . get_username($row['userid']) . " + " . gettime($row['added'], true, false) . " + " . ($row['finish'] == "yes" ? $lang_viewrequests['request_status_resolved'] : ($row['userid'] == $CURUSER['id'] ? $lang_viewrequests['request_status_resolving'] : "{$lang_viewrequests['request_status_resolving']}")) . " + \n"); } } print("\n");