X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=birthday_confirm.php;h=7d4068456c462d8c7e5361e42f581518ac754046;hp=24c46fcc56a945922d8907ba713932cf565b98a0;hb=5b37b49f283ef1c67015e626e483f21b837c36eb;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361 diff --git a/birthday_confirm.php b/birthday_confirm.php index 24c46fcc56..7d4068456c 100644 --- a/birthday_confirm.php +++ b/birthday_confirm.php @@ -67,7 +67,7 @@ FROM `{!_MYSQL_PREFIX!}_user_birthday` AS b INNER JOIN `{!_MYSQL_PREFIX!}_user_data` AS d ON b.userid=d.userid WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1", - array($uid, $chk), __FILE__, __LINE__); + array($uid, $chk), __FILE__, __LINE__); //* DEBUG: */ echo "uid=".$uid.",chk=".$chk." (".strlen($chk).'/'.strlen(REQUEST_GET('check')).'/'.SQL_NUMROWS($result).")
\n"; // Prepare content @@ -96,7 +96,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1", // Remove entry from table SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_user_birthday` WHERE userid=%s AND chk_value='%s' LIMIT 1", - array($uid, $chk), __FILE__, __LINE__); + array($uid, $chk), __FILE__, __LINE__); // "Translate" some data $data['gender'] = translateGender($data['gender']); @@ -120,7 +120,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1", $GLOBALS['module'] = 'birthday_confirm'; // Include header - loadInclude('inc/header.php'); + loadIncludeOnce('inc/header.php'); // Load birthday header template (for your banners, e.g.?) $content['header'] = LOAD_TEMPLATE('birthday_header', true); @@ -132,7 +132,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1", LOAD_TEMPLATE('birthday_confirm', false, $content); // Include footer - loadInclude('inc/footer.php'); + loadIncludeOnce('inc/footer.php'); } else { // You have to install first! redirectToUrl('install.php');