+require('inc/config-global.php');
+
+if ((isGetRequestElementSet('user')) && (isGetRequestElementSet('banner'))) {
+ // For later things... ;-)
+ $result = SQL_QUERY_ESC("SELECT `url` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `id`=%s LIMIT 1",
+ array(bigintval(getRequestElement('banner'))), __FILE__, __LINE__);
+
+ // Do we have the banner?
+ if (SQL_NUMROWS($result) == 1) {
+ // Load the URL
+ $data = SQL_FETCHARRAY($result);