<? require_once("config.php"); require_once("common/xml.php"); if(empty($requestid)) require_once("req/req.php"); else require_once("req/req.dedication.php"); ?>
<? $data = Array(); $data["msg"] = "$rmessage"; $data["name"] = "$rname"; $db = new DBTable(); $db->connect($samlogin); $db->update("requestlist",$data,"(ID = $requestid)"); $db->open("SELECT * FROM songlist WHERE (ID = $songid)"); $song = $db->row(); $song["requestid"] = $requestid; PrepareSong($song); $dedicated = true; require("req.success.html"); ?>