* -------------------------------------------------------------------- *
* File : what-refbanner.php *
* -------------------------------------------------------------------- *
- * Short description : Manage all referal banner *
+ * Short description : Manage all referral banner *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Alle Banner fuer die Ref-Links verwalten *
* -------------------------------------------------------------------- *
$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),
} // 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');
}