Tak się składa że requesty wypełniane są w reqfilled.php
<?php
require_once("include/bittorrent.php");
hit_start();
dbconn();
loggedinorreturn();
stdhead("Wypełnij requesta");
begin_main_frame();
$filledurl = $_GET["filledurl"];
$requestid = $_GET["requestid"];
$res = mysql_query("SELECT users.username, requests.userid, requests.request FROM requests inner join users on requests.userid = users.id where requests.id = $requestid") or sqlerr();
$arr = mysql_fetch_assoc($res);
$res2 = mysql_query("SELECT username FROM users where id =" . $CURUSER[id]) or sqlerr();
$arr2 = mysql_fetch_assoc($res2);
$msg = "Twój request, [url=reqdetails.php?id=" . $requestid . "][b]" . htmlspecialchars($arr[request]) . "[/b][/url] został wypełniony przez [url=userdetails.php?id=" . $CURUSER[id] . "][b]" . htmlspecialchars($arr2[username]) . "[/b][/url]. Możesz go pobrać pod linkiem: [url=" . $filledurl. "][b]" . $filledurl. "[/b][/url]. Nie zapomnij podziękować! Jeśli nie jest to to czego szukałeś, proszę, zresetuj requesta pod tym linkiem: [URL=reqreset.php?requestid=" . $requestid . "]Reset[/url]. [b]Nie używaj tego linka jeśli nie jesteś pewien czy to to[/b].";
mysql_query ("UPDATE requests SET filledurl = '$filledurl', filled = 'yes', filledby = $CURUSER[id] WHERE id = $requestid") or sqlerr();
mysql_query("INSERT INTO messages (poster, sender, receiver, added, msg) VALUES(0, 0, $arr[userid], '" . get_date_time() . "', " . sqlesc($msg) . ")") or sqlerr(__FILE__, __LINE__);
print("Request $requestid wypełniony przez <a href=$filledurl>$filledurl</a>. Użytkownik <a href=userdetails.php?id=$arr[userid]><b>$arr[username]</b></a> otrzymał PM. ");
end_main_frame();
stdfoot();
?>