// PROFILE FIELDS SECTION print_table_header($vbphrase['user_profile_fields']); $profilefields = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "profilefield ORDER by displayorder"); while ($profilefield = $DB_site->fetch_array($profilefields)) { print_profilefield_row($profilefield, $userfield); }
//Give users points print_table_break('', $INNERTABLEWIDTH); print_table_header("Petz"); print_input_row("Points", "money", $user['money']); //Give users points
'options',
'money' => INT,
if ($modifyavatar) { define('CP_REDIRECT', "usertools.php?do=avatar&userid=$userid"); }
if ( $money ) { $DB_site->query("UPDATE " . TABLE_PREFIX . "user SET money = '".$money."' WHERE userid = '".$userid."'"); }
Show Your Support