* -------------------------------------------------------------------- *
* File : what-refbanner.php *
* -------------------------------------------------------------------- *
- * Short description : Manage all referal banner *
+ * Short description : Manage all referral banner *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Alle Banner fuer die Ref-Links verwalten *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
$id = bigintval($id);
// Update entry
- SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refbanner` SET `url`='%s', `alternate`='%s', `visible`='%s' WHERE `id`=%s LIMIT 1",
+ SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_refbanner` SET `url`='%s',`alternate`='%s',`visible`='%s' WHERE `id`=%s LIMIT 1",
array(
postRequestElement('url', $id),
postRequestElement('alternate', $id),
$content = '{--SETTINGS_SAVED--}';
} else {
// Nothing has been updated
- $content = '<span class="notice">{--SETTINGS_NOT_SAVED--}</span>';
+ $content = '<span class="bad">{--SETTINGS_NOT_SAVED--}</span>';
}
// Display message
} // END - foreach
} // END - if
- // Referal levels
+ // Referral levels
$result = SQL_QUERY('SELECT `id`,`url`,`alternate`,`visible`,`counter`,`clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `url` ASC', __FILE__, __LINE__);
// Entries found?
if (!SQL_HASZERONUMS($result)) {
- // Make referal banner editable and deletable
+ // Make referral banner editable and deletable
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Load row template and switch color
loadTemplate('admin_list_refbanner', false, $OUT);
} // END - if
- // Form for adding new referal levels
+ // Form for adding new referral levels
loadTemplate('admin_add_refbanner');
}