X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-welcome.php;h=e0d37d162cef42450c88e5ed409538c0e497caf0;hb=566cbcf381d60410b4c5b3a2fc4cd7bfdf49b8fc;hp=c8e885c4a06704585a8c8d3a0cd601073d2e40c0;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/modules/guest/what-welcome.php b/inc/modules/guest/what-welcome.php index c8e885c4a0..e0d37d162c 100644 --- a/inc/modules/guest/what-welcome.php +++ b/inc/modules/guest/what-welcome.php @@ -1,7 +1,7 @@ 0", __FILE__, __LINE__); + +// Fetch rows +list($cnt) = SQL_FETCHROW($result); + +// Free result +SQL_FREERESULT($result); + +// Prepare content +$content = array( + 'register' => translateComma(getConfig('points_register')), + 'ref_levels' => $cnt, + 'ref_points' => translateComma(getConfig('points_ref')) +); // Load default template -LOAD_TEMPLATE(substr(basename(__FILE__), 5, -4)); +loadTemplate(substr(basename(__FILE__), 5, -4), false, $content); -// +// [EOF] ?>