X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-welcome.php;h=e0d37d162cef42450c88e5ed409538c0e497caf0;hb=62b4ef5bb0b63f7cac5f0dccd816246a108a5d83;hp=c8e885c4a06704585a8c8d3a0cd601073d2e40c0;hpb=7f104f6fe558bb56b4205241435a2357c2feece1;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] ?>