query("UPDATE ".$db->prefix."users SET cm_cash = cm_cash - ".$amount." WHERE id = ".$pun_user['id']) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); $db->query("UPDATE ".$db->prefix."users SET cm_cash = cm_cash + ".$amount." WHERE id = ".$userid) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); message("The cash has been transferred to the selected user."); break; case 'do_buy_title': $title = $db->escape($_POST['new_title']); if($pun_user['cm_cash'] < 1000) message("Sorry, you don't have enough cash."); $db->query("UPDATE ".$db->prefix."users SET title = '".$title."', cm_cash = cm_cash - 1000 WHERE id = ".$pun_user['id']) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); message("Your user title has been changed"); break; case 'do_buy_title2': $title = $db->escape($_POST['new_title']); if($pun_user['cm_cash'] < 10000) message("Sorry, you don't have enough cash."); $db->query("UPDATE ".$db->prefix."users SET cm_cash = cm_cash - 10000 WHERE id = ".$pun_user['id']) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); $db->query("UPDATE ".$db->prefix."users SET title = '".$title."' WHERE id = ".$userid) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); message("The title of the user you selected has been changed."); break; case 'do_buy_postcount': $title = $db->escape($_POST['submit']); if($pun_user['cm_cash'] < 5000) message("Sorry, you don't have enough cash."); $db->query("UPDATE ".$db->prefix."users SET cm_cash = cm_cash - 5000 WHERE id = ".$pun_user['id']) or error('Unable to update user infomation', __FILE__, __LINE__, $db->error()); $db->query("UPDATE ".$db->prefix."users SET num_posts = num_posts + 15 WHERE id =".$pun_user['id']) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); message("Your post count had been changed."); break; case 'do_buy_vip': $title = $db->escape($_POST['submit']); if($pun_user['cm_cash'] < 50000) message("Sorry, you don't have enough cash."); $db->query("UPDATE ".$db->prefix."users SET cm_cash = cm_cash - 50000 WHERE id = ".$pun_user['id']) or error('Unable to update user information....', __FILE__, __LINE__, $db->error()); $db->query("UPDATE ".$db->prefix."users SET group_id = 5 WHERE id = ".$pun_user['id']) or error('Unable to update user information', __FILE__, __LINE__, $db->error()); message("Your user group has been changed to VIP."); break; case 'main': default: ?>

Donate



Buy a new title

Enter a new title
\n"; echo 'Cost: 1,000 '.ucwords($pun_config['cm_cur_name'])."
\n"; ?>

Buy another user a new title

Enter a new title
\n"; echo 'Cost: 10,000 '.ucwords($pun_config['cm_cur_name'])."
\n"; ?>

Increase post count by 15

Increase Post count
\n"; echo 'Cost: 5,000 '.ucwords($pun_config['cm_cur_name'])."
\n"; ?>

Change to VIP user group

Change to a VIP
\n"; echo 'Cost: 50,000 '.ucwords($pun_config['cm_cur_name'])."
\n"; ?>