query("SELECT m.Username, m.Email, m.IRCKey, m.Paranoia, i.Info, i.Avatar, i.Country, i.StyleID, i.StyleURL, i.SiteOptions, p.Level AS Class FROM users_main AS m JOIN users_info AS i ON i.UserID = m.ID LEFT JOIN permissions AS p ON p.ID=m.PermissionID WHERE m.ID = '".db_string($UserID)."'"); list($Username,$Email,$IRCKey,$Paranoia,$Info,$Avatar,$Country,$StyleID,$StyleURL,$SiteOptions,$Class)=$DB->next_record(MYSQLI_NUM, array(3,9)); if($UserID != $LoggedUser['ID'] && !check_perms('users_edit_profiles', $Class)) { error(403); } $Paranoia = unserialize($Paranoia); if(!is_array($Paranoia)) { $Paranoia = array(); } function paranoia_level($Setting) { global $Paranoia; // 0: very paranoid; 1: stats allowed, list disallowed; 2: not paranoid return (in_array($Setting . '+', $Paranoia)) ? 0 : (in_array($Setting, $Paranoia) ? 1 : 2); } function display_paranoia($FieldName) { $Level = paranoia_level($FieldName); print '  '; print ''; } function checked($Checked) { return $Checked ? 'checked="checked"' : ''; } $DB->query("SELECT COUNT(x.uid) FROM xbt_snatched AS x INNER JOIN torrents AS t ON t.ID=x.fid WHERE x.uid='$UserID'"); list($Snatched) = $DB->next_record(); if ($SiteOptions) { $SiteOptions = unserialize($SiteOptions); } else { $SiteOptions = array(); } show_header($Username.' > Settings','user,validate'); echo $Val->GenerateJS('userform'); ?>

> Settings

Site preferences
Stylesheet      - Or -      External CSS:
Default Search Type
Torrent Grouping  
Discography View
Posts per page (Forum)
Hide release types
Collage album art view
Browse Page Tag list
Subscription checked="checked" />
Smileys checked="checked" />
Avatars checked="checked" />
Download torrents as text files checked="checked" />
User info
Avatar URL

Width should be 150 pixels (will be resized if necessary)

Email

If changing this field you must enter your current password in the "Current password" field before saving your changes.

Info
IRCKey

This field, if set will be used in place of the password in the IRC login.

Note: This value is stored in plaintext and should not be your password.

Note: In order to be accepted as correct, your IRCKey must be between 6 and 32 characters.

Paranoia settings
 

Note: Paranoia has nothing to do with your security on this site, the only thing affected by this setting is other users ability to see your site activity and taste in music.

Select the elements you want to show on your profile. For example, if you tick "Show count" for "Snatched", users will be able to see that you have snatched torrents. If you tick "Show list", they will be able to see the full list of torrents you've snatched.

Some information will still be available in the site log.

Recent activity
Preset
Stats      
Torrent comments
Collages started
Collages contributed to
Requests filled      
Requests voted      
Uploaded
Unique groups
"Perfect" FLACs
Seeding
Leeching
Snatched
Miscellaneous query("SELECT COUNT(UserID) FROM users_info WHERE Inviter='$UserID'"); list($Invited) = $DB->next_record(); ?>
query("SELECT COUNT(ta.ArtistID) FROM torrents_artists AS ta WHERE ta.UserID = ".$UserID); list($ArtistsAdded) = $DB->next_record(); ?>
Change password
Current password
New password
Re-type new password
Reset passkey