* *
* -------------------------------------------------------------------- *
* File : what-categories.php *
* *
* -------------------------------------------------------------------- *
* File : what-categories.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Add description as navigation point
addMenuDescription('member', __FILE__);
// Add description as navigation point
addMenuDescription('member', __FILE__);
- array($UID, bigintval($cat)), __FILE__, __LINE__);
+ array(getMemberId(), bigintval($cat)), __FILE__, __LINE__);
- SQL_QUERY_ESC(trim($sql), array($UID, bigintval($cat)), __FILE__, __LINE__);
+ SQL_QUERY_ESC(trim($sql), array(getMemberId(), bigintval($cat)), __FILE__, __LINE__);
- loadTemplate('admin_settings_saved', false, sprintf(getMessage('CATS_LEAST'), getConfig('least_cats')));
+ loadTemplate('admin_settings_saved', false, '{--CATS_LEAST--}');
while ($content = SQL_FETCHARRAY($result)) {
// Default he has not joined
$content['jn'] = ' checked="checked"';
$content['jy'] = '';
// When we found an entry don't read it, just change the jx elements
while ($content = SQL_FETCHARRAY($result)) {
// Default he has not joined
$content['jn'] = ' checked="checked"';
$content['jy'] = '';
// When we found an entry don't read it, just change the jx elements
- if (countSumTotalData($UID, 'user_cats', 'id', 'userid', true, sprintf(" AND `cat_id`=%s", bigintval($content['id']))) == 1) {
+ if (countSumTotalData(getMemberId(), 'user_cats', 'id', 'userid', true, sprintf(" AND `cat_id`=%s", bigintval($content['id']))) == 1) {
// Load row template and switch colors
loadTemplate('member_cat_row', false, $content);
// Load row template and switch colors
loadTemplate('member_cat_row', false, $content);