define('SERVER_URL', "http://www.mxchange.org");
// Current SVN revision
-define('CURR_SVN_REVISION', "684");
+define('CURR_SVN_REVISION', "685");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
// Add description as navigation point
ADD_DESCR("admin", __FILE__);
-if (!empty($_GET['id']))) {
+if (!empty($_GET['id'])) {
// Check for selected sponsor
$result = SQL_QUERY_ESC("SELECT email, gender, surname, family FROM "._MYSQL_PREFIX."_sponsor_data WHERE id='%s' LIMIT 1",
- array(bigintval($_GET['id'])), __FILE__, __LINE__);
+ array(bigintval($_GET['id'])), __FILE__, __LINE__);
if (SQL_NUMROWS($result) == 1) {
// Remove sponsor
if (isset($_POST['ok'])) {
unset($_POST['pass2']);
$PASS = false;
}
+
+ // Convert time selection
+ $DATA = array(); $id = "warning_interval_ye"; $skip = false;
+ CONVERT_SELECTIONS_TO_TIMESTAMP($_POST, $DATA, $id, $skip);
+
+ // Save the sponsor
SPONSOR_HANDLE_SPONSOR($_POST);
// Convert some data for the email template