SQL_FREERESULT($result);
OUTPUT_HTML("<div class=\"tiny\">{--YOUR_PERSONAL_REFLINK--}:<br />
-<strong><a href=\"{!URL!}/ref.php?refid=".getUserId()."\" target=\"_blank\">{!URL!}/ref.php?ref=".getUserId()."</a></strong><br />
+<strong><a href=\"{?URL?}/ref.php?refid=".getUserId()."\" target=\"_blank\">{?URL?}/ref.php?ref=".getUserId()."</a></strong><br />
<br />");
if (EXT_IS_ACTIVE('nickname')) {
if (!empty($nick)) {
// Display nickname link
OUTPUT_HTML("{--NICKNAME_YOUR_REFLINK--}:<br />
-<strong><a href=\"{!URL!}/ref.php?ref=".$nick."\" target=\"_blank\">{!URL!}/ref.php?ref=".$nick."</a></strong><br />
+<strong><a href=\"{?URL?}/ref.php?ref=".$nick."\" target=\"_blank\">{?URL?}/ref.php?ref=".$nick."</a></strong><br />
<br />");
} else {
// Display link to nickname form
OUTPUT_HTML("<div class=\"guest_note\">{--NO_NICKNAME_SET--}</strong><br />
-<a class=\"tiny\" href=\"{!URL!}/modules.php?module=login&what=nickname\">{--PLEASE_CLICK_NICKNAME_FORM--}</a>");
+<a class=\"tiny\" href=\"{?URL?}/modules.php?module=login&what=nickname\">{--PLEASE_CLICK_NICKNAME_FORM--}</a>");
}
}
// List available ref banners
$OUT = ''; $SW = 2;
while ($content = SQL_FETCHARRAY($result)) {
- $test = str_replace(constant('URL'), constant('PATH'), $content['url']); $size = 0;
+ $test = str_replace(getConfig('URL'), getConfig('PATH'), $content['url']); $size = 0;
if ($test == $content['url']) {
// Download banner (I hope you keep the banner on same server???)
$fp = sendGetRequest($content['url']); $bannerContent = '';