This blob has been accessed 334 times via Git panel.
- <?php
- session_start();
- header("Cache-control: private");
- error_reporting(E_ERROR);
- require("core.php");
- if (isset($_SESSION['logged_in']) and ($_SESSION['user_agent'] != $_SERVER['HTTP_USER_AGENT'])) {
- header("Location: login.php");
- }
- if (file_exists("data/lite.txt")) {
- }
- if (!file_exists("data/bb.txt")) {
- }
- if (file_exists("data/offset.txt")) {
- $offset = file_get_contents("data/offset.txt");
- }
- else {
- $offset = 0;
- }
- if (file_exists("data/bb-min-age.txt")) {
- $minage = file_get_contents("data/bb-min-age.txt");
- }
- else {
- $minage = 5;
- }
- if (file_exists("data/bb-max-age.txt")) {
- $maxage = file_get_contents("data/bb-max-age.txt");
- }
- else {
- $maxage = 125;
- }
- ?>
- <title>Options</title>
- <style>
- body {
- color: #666666;
- margin: 10px;
- padding: 0px;
- text-align: left;
- font-family: <?php
- if (file_exists("data/fonts/body.txt")) {
- $font_body = file_get_contents("data/fonts/body.txt");
- echo "{$font_body},";
- }
- ?> arial, helvetica, sans-serif;
- background-color: #FFFFFF;
- }
- p {
- font-size: 11px;
- }
- a {
- font-weight: bold;
- text-decoration: none;
- }
- a:link, a:visited {
- color: #666666;
- }
- a:hover {
- color: #336699;
- }
- a:active {
- color: #336699;
- }
- .input {
- color: #666666;
- background: #ffffff;
- border: #999999 solid 1px;
- width: 300px;
- font-family: <?php
- if (file_exists("data/fonts/input.txt")) {
- $font_input = file_get_contents("data/fonts/input.txt");
- echo "{$font_input},";
- }
- ?> arial, helvetica, sans-serif;
- font-size: 11px;
- font-weight: normal;
- }
- </style>
- <?php
- if (isset($_REQUEST['username']) and !empty($_REQUEST['username']) and isset($_REQUEST['key']) and !empty($_REQUEST['key'])) {
- $username = $_REQUEST['username'];
- if (file_exists("data/members/active/$username") and ($_REQUEST['key'] == file_get_contents("data/members/active/$username/key.txt"))) {
- unlink("data/members/active/$username/key.txt");
- unlink("data/members/active/$username/vacation.txt");
- unlink("data/members/active/$username/email.txt");
- echo "<p><font style=\"font-size: 12px;\"><b>Thanks!</b></font></p><p>You have successfully verified your new e-mail address.<br>Click <a href=index.php>here</a> to go to the index page.</p>";
- }
- }
- if (!isset($_SESSION['logged_in'])) {
- }
- if ($_SESSION['logged_in'] == file_get_contents("data/username.txt")) {
- }
- if (!file_exists("data/members/active/{$_SESSION['logged_in']}")) {
- }
- if (isset($_POST['email']) and !empty($_POST['email']) and (file_get_contents("data/members/active/{$_SESSION['logged_in']}/email.txt") != $_POST['email']) and (ereg("@", $_POST['email'])) and (ereg("\.", $_POST['email']))) {
- $email_write_content = strtolower($_POST['email']);
- $email_write_content = trim($email_write_content);
- $email_write_content = str_replace(" ","",$email_write_content);
- $email_write_content = htmlentities($email_write_content, ENT_NOQUOTES);
- function str_rand($length = 8, $seeds = 'abcdefghijklmnopqrstuvwxyz0123456789') {
- $str = '';
- list($usec, $sec) = explode(' ', microtime());
- $seed = (float) $sec + ((float) $usec * 100000);
- mt_srand($seed);
- for ($i = 0; $length > $i; $i++) {
- $str .= $seeds{mt_rand(0, $seeds_count - 1)};
- }
- return $str;
- }
- $key_email = str_rand(40);
- $firstname = file_get_contents("data/members/active/{$_SESSION['logged_in']}/firstname.txt");
- $lastname = file_get_contents("data/members/active/{$_SESSION['logged_in']}/lastname.txt");
- $old_email = file_get_contents("data/members/active/{$_SESSION['logged_in']}/email.txt");
- $mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
- $sig_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
- $sig_url = str_replace('//', '/', $sig_url);
- $sig_url = "http://" . $sig_url;
- $sig_author = file_get_contents("data/author.txt");
- $from_email = file_get_contents("data/email.txt");
- $confirm_change = "Hi $firstname,\n\nWe have received an e-mail address modification request ($old_email to $email_write_content) at $sig_url. To confirm this, simply visit this link:\n\n{$sig_url}options.php?username={$_SESSION['logged_in']}&key=$key_email\n\nIf you have any questions, send them to $from_email.\n\nThanks!\n\n--\n$sig_author\n$sig_url\n";
- $confirm_change = wordwrap($confirm_change);
- $email_to = '"' . "$firstname $lastname" . '" <' . $email_write_content . '>';
- $email_from = '"' . $sig_author . '" <' . $from_email . '>';
- mail($email_to, "confirm $key_email", $confirm_change,
- "From: $email_from\r\n" .
- "Reply-To: $email_from\r\n" .
- "X-Mailer: $mailer");
- echo "<p>Confirmation request sent. Check your $email_write_content inbox for details.</p>";
- }
- if ((!isset($_POST['url']) or empty($_POST['url'])) and isset($_POST['edit']) and ($_POST['edit'] == "on")) {
- unlink("data/members/active/{$_SESSION['logged_in']}/url.txt");
- }
- if (isset($_POST['url']) and !empty($_POST['url']) and (ereg("\.", $_POST['url']))) {
- $url = str_replace('http://', '', $_POST['url']);
- $url = strtolower($url);
- $url = trim($url);
- $url = 'http://' . $url;
- $url = str_replace(" ","",$url);
- $url = htmlentities($url, ENT_NOQUOTES);
- }
- if (isset($_POST['country']) and !empty($_POST['country'])) {
- $country = trim($_POST['country']);
- $country = strtoupper($country);
- $country = htmlentities($country, ENT_NOQUOTES);
- }
- if (isset($_POST['city']) and !empty($_POST['city'])) {
- $city = trim($_POST['city']);
- $city = ucwords($city);
- $city = htmlentities($city, ENT_NOQUOTES);
- }
- if ((!isset($_POST['sig']) or empty($_POST['sig'])) and isset($_POST['edit']) and ($_POST['edit'] == "on")) {
- unlink("data/members/active/{$_SESSION['logged_in']}/sig.txt");
- }
- if (isset($_POST['sig']) and !empty($_POST['sig'])) {
- $sig = strip_tags($_POST['sig']);
- $sig = str_replace("[b]","<b>",$sig);
- $sig = str_replace("[/b]","</b>",$sig);
- $sig = str_replace("[i]","<i>",$sig);
- $sig = str_replace("[/i]","</i>",$sig);
- $sig = str_replace("[u]","<u>",$sig);
- $sig = str_replace("[/u]","</u>",$sig);
- $sig = str_replace("[sup]","<sup>",$sig);
- $sig = str_replace("[/sup]","</sup>",$sig);
- $sig = str_replace("[sub]","<sub>",$sig);
- $sig = str_replace("[/sub]","</sub>",$sig);
- $sig = str_replace("[strike]","<strike>",$sig);
- $sig = str_replace("[/strike]","</strike>",$sig);
- $sig = str_replace("\n","<br>", $sig);
- $sig = ucfirst($sig);
- $sig = trim($sig);
- }
- if (isset($_POST['del_avatar']) and !empty($_POST['del_avatar']) and ($_POST['del_avatar'] == "on")) {
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.gif")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.gif");
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.jpg")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.jpg");
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.png")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.png");
- }
- }
- if (isset($_FILES['avatar']) and !empty($_FILES['avatar'])) {
- $max_image_size = 1000000;
- if (is_uploaded_file($_FILES['avatar']['tmp_name'])) {
- if ($_FILES['avatar']['size']<=$max_image_size) {
- if (($_FILES['avatar']['type']=="image/gif") || ($_FILES['avatar']['type']=="image/pjpeg") || ($_FILES['avatar']['type']=="image/jpeg") || ($_FILES['avatar']['type']=="image/png")) {
- if (!file_exists("images/members")) {
- mkdir("images/members");
- }
- if (!file_exists("images/members/{$_SESSION['logged_in']}")) {
- mkdir("images/members/{$_SESSION['logged_in']}");
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.gif")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.gif");
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.jpg")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.jpg");
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.png")) {
- unlink("images/members/{$_SESSION['logged_in']}/avatar.png");
- }
- if ($_FILES['avatar']['type']=="image/gif") {
- $res = copy($_FILES['avatar']['tmp_name'], "images/members/{$_SESSION['logged_in']}/avatar.gif");
- unlink($_FILES['avatar']['tmp_name']);
- }
- if (($_FILES['avatar']['type']=="image/jpeg") or ($_FILES['avatar']['type']=="image/pjpeg")) {
- $res = copy($_FILES['avatar']['tmp_name'], "images/members/{$_SESSION['logged_in']}/avatar.jpg");
- unlink($_FILES['avatar']['tmp_name']);
- }
- if ($_FILES['avatar']['type']=="image/png") {
- $res = copy($_FILES['avatar']['tmp_name'], "images/members/{$_SESSION['logged_in']}/avatar.png");
- unlink($_FILES['avatar']['tmp_name']);
- }
- }
- else {
- unlink($_FILES['avatar']['tmp_name']);
- }
- }
- else {
- unlink($_FILES['avatar']['tmp_name']);
- }
- }
- else {
- unlink($_FILES['avatar']['tmp_name']);
- }
- }
- if (isset($_POST['vacation']) and !empty($_POST['vacation']) and ($_POST['vacation'] == "on") and !file_exists("data/members/active/{$_SESSION['logged_in']}/vacation.txt")) {
- touch("data/members/active/{$_SESSION['logged_in']}/vacation.txt");
- }
- if (!isset($_POST['vacation']) or empty($_POST['vacation'])) {
- if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/vacation.txt")) {
- unlink("data/members/active/{$_SESSION['logged_in']}/vacation.txt");
- }
- }
- }
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/key.txt") and !file_exists("data/members/active/{$_SESSION['logged_in']}/vacation.txt")) {
- touch("data/members/active/{$_SESSION['logged_in']}/vacation.txt");
- }
- }
- if (isset($_POST['current_passwd']) and !empty($_POST['current_passwd']) and isset($_POST['new_passwd']) and !empty($_POST['new_passwd']) and isset($_POST['confirm_passwd']) and !empty($_POST['confirm_passwd'])) {
- if (file_exists("data/bb-passlen.txt")) {
- $pass_len = file_get_contents("data/bb-passlen.txt");
- }
- else {
- $pass_len = 8;
- }
- $current_passwd = trim($_POST['current_passwd']);
- $new_passwd = trim($_POST['new_passwd']);
- $confirm_passwd = trim($_POST['confirm_passwd']);
- echo "<p>Passwords must be composed of at least $pass_len characters.</p>";
- }
- else {
- /* Fun with crypt! */
- $current_passwd = sha1($current_passwd);
- $current_passwd = md5($current_passwd);
- $current_passwd = crypt($current_passwd, $current_passwd);
- $new_passwd = sha1($new_passwd);
- $new_passwd = md5($new_passwd);
- $new_passwd = crypt($new_passwd, $new_passwd);
- $confirm_passwd = sha1($confirm_passwd);
- $confirm_passwd = md5($confirm_passwd);
- $confirm_passwd = crypt($confirm_passwd, $confirm_passwd);
- if (($current_passwd != file_get_contents("data/members/active/{$_SESSION['logged_in']}/password.txt")) or ($new_passwd != $confirm_passwd)) {
- echo "<p>Passwords do not match.</p>";
- }
- else {
- $login_url = "http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/login.php";
- $login_url = str_replace("//login.php", "/login.php", $login_url);
- echo "<p>Password successfully changed and encrypted on record.</p>";
- }
- }
- }
- ?>
- <table border="0" cellspacing="1" cellpadding="2" bgcolor="#cccccc">
- <tr><td bgcolor="#ffffff" colspan="2" align="right"><p>you are logged in as <b><?php echo "<b>{$_SESSION['logged_in']}</b>"; ?> </b></p></td></tr>
- <tr><td bgcolor="#ffffff"><?php
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.jpg") or file_exists("images/members/{$_SESSION['logged_in']}/avatar.gif") or file_exists("images/members/{$_SESSION['logged_in']}/avatar.png")) {
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.gif")) {
- $avatar_gif_image_size = getimagesize("images/members/{$_SESSION['logged_in']}/avatar.gif");
- $avatar_gif_image_width = $avatar_gif_image_size[0];
- $avatar_gif_image_height = $avatar_gif_image_size[1];
- $max_avatar_gif_image_width = 80;
- if ($avatar_gif_image_width > $max_avatar_gif_image_width) {
- $sizefactor = (double) ($max_avatar_gif_image_width / $avatar_gif_image_width) ;
- $avatar_gif_image_width = (int) ($avatar_gif_image_width * $sizefactor);
- $avatar_gif_image_height = (int) ($avatar_gif_image_height * $sizefactor);
- }
- echo "<img src=images/members/{$_SESSION['logged_in']}/avatar.gif border=0 width=";
- echo $avatar_gif_image_width;
- echo " height=";
- echo $avatar_gif_image_height;
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.jpg")) {
- $avatar_jpg_image_size = getimagesize("images/members/{$_SESSION['logged_in']}/avatar.jpg");
- $avatar_jpg_image_width = $avatar_jpg_image_size[0];
- $avatar_jpg_image_height = $avatar_jpg_image_size[1];
- $max_avatar_jpg_image_width = 80;
- if ($avatar_jpg_image_width > $max_avatar_jpg_image_width) {
- $sizefactor = (double) ($max_avatar_jpg_image_width / $avatar_jpg_image_width) ;
- $avatar_jpg_image_width = (int) ($avatar_jpg_image_width * $sizefactor);
- $avatar_jpg_image_height = (int) ($avatar_jpg_image_height * $sizefactor);
- }
- echo "<img src=images/members/{$_SESSION['logged_in']}/avatar.jpg border=0 width=";
- echo $avatar_jpg_image_width;
- echo " height=";
- echo $avatar_jpg_image_height;
- }
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.png")) {
- $avatar_png_image_size = getimagesize("images/members/{$_SESSION['logged_in']}/avatar.png");
- $avatar_png_image_width = $avatar_png_image_size[0];
- $avatar_png_image_height = $avatar_png_image_size[1];
- $max_avatar_png_image_width = 80;
- if ($avatar_png_image_width > $max_avatar_png_image_width) {
- $sizefactor = (double) ($max_avatar_png_image_width / $avatar_png_image_width) ;
- $avatar_png_image_width = (int) ($avatar_png_image_width * $sizefactor);
- $avatar_png_image_height = (int) ($avatar_png_image_height * $sizefactor);
- }
- echo "<img src=images/members/{$_SESSION['logged_in']}/avatar.png border=0 width=";
- echo $avatar_png_image_width;
- echo " height=";
- echo $avatar_png_image_height;
- }
- echo ">";
- }
- ?></p></td><td bgcolor="#ffffff"><p>
- <?php
- echo "<b>";
- readfile("data/members/active/{$_SESSION['logged_in']}/firstname.txt");
- echo " ";
- readfile("data/members/active/{$_SESSION['logged_in']}/lastname.txt");
- echo "</b>";
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/rank.txt") and file_exists("data/rank.txt")) {
- $rank = file_get_contents("data/members/active/{$_SESSION['logged_in']}/rank.txt");
- echo "<br>$rank";
- }
- elseif (!file_exists("data/members/active/{$_SESSION['logged_in']}/rank.txt") and file_exists("data/rank.txt")) {
- echo "<br>member";
- }
- echo "</p><p align=right>";
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/bday.txt")) {
- $bday = file_get_contents("data/members/active/{$_SESSION['logged_in']}/bday.txt");
- $bday_year = substr($bday,0,4);
- $bday_month = substr($bday,4,2);
- $bday_day = substr($bday,6,2);
- echo "birthdate<code> $bday </code><br>";
- }
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/timestamp.txt")) {
- $joined = file_get_contents("data/members/active/{$_SESSION['logged_in']}/timestamp.txt");
- $joined_year = substr($joined,0,4);
- $joined_month = substr($joined,4,2);
- $joined_day = substr($joined,6,2);
- $joined_hh = substr($joined,8,2);
- $joined_mm = substr($joined,10,2);
- $member_since = date("d M Y H:i", mktime($joined_hh, $joined_mm, 0, $joined_month, $joined_day, $joined_year));
- echo "member since<code> $member_since </code><br>";
- }
- if (file_exists("data/members/active/{$_SESSION['logged_in']}/bb-last.txt")) {
- $lastlog = file_get_contents("data/members/active/{$_SESSION['logged_in']}/bb-last.txt");
- $lastlog_year = substr($lastlog,0,4);
- $lastlog_month = substr($lastlog,4,2);
- $lastlog_day = substr($lastlog,6,2);
- $lastlog_hh = substr($lastlog,8,2);
- $lastlog_mm = substr($lastlog,10,2);
- $last_login = date("d M Y H:i", mktime($lastlog_hh, $lastlog_mm, 0, $lastlog_month, $lastlog_day, $lastlog_year));
- echo "last login<code> $last_login </code>";
- }
- ?>
- </p></td></tr>
- <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
- <input type="hidden" name="edit" value="on">
- <?php if (!file_exists("data/members/active/{$_SESSION['logged_in']}/key.txt")) { ?>
- <tr><td bgcolor="#ffffff"><p>e-mail address*</p></td><td bgcolor="#ffffff" colspan="2"><input class="input" type="text" autocomplete="off" name="email" maxlength="60" value="<?php readfile("data/members/active/{$_SESSION['logged_in']}/email.txt"); ?>"></td></tr>
- <?php } ?>
- <tr><td bgcolor="#ffffff"><p>website</p></td><td bgcolor="#ffffff" colspan="2"><input class="input" type="text" autocomplete="off" name="url" maxlength="300" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/url.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/url.txt"); echo "\""; } ?>></td></tr>
- <tr><td bgcolor="#ffffff"><p>country</p></td><td bgcolor="#ffffff" colspan="2">
- <select class="input" name="country">
- <option<?php if (!file_exists("data/members/active/{$_SESSION['logged_in']}/country.txt")) { echo " selected"; } ?> value=""></option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AF") { echo " selected"; } ?> value="AF">Afghanistan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AX") { echo " selected"; } ?> value="AX">Aland (Ahvenanmaa) Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AL") { echo " selected"; } ?> value="AL">Albania</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DZ") { echo " selected"; } ?> value="DZ">Algeria</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AS") { echo " selected"; } ?> value="AS">American Samoa</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AD") { echo " selected"; } ?> value="AD">Andorra</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AO") { echo " selected"; } ?> value="AO">Angola</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AI") { echo " selected"; } ?> value="AI">Anguilla</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AQ") { echo " selected"; } ?> value="AQ">Antarctica</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AG") { echo " selected"; } ?> value="AG">Antigua & Barbuda</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AR") { echo " selected"; } ?> value="AR">Argentina</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AM") { echo " selected"; } ?> value="AM">Armenia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AW") { echo " selected"; } ?> value="AW">Aruba</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AU") { echo " selected"; } ?> value="AU">Australia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AT") { echo " selected"; } ?> value="AT">Austria</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AZ") { echo " selected"; } ?> value="AZ">Azerbaijan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BS") { echo " selected"; } ?> value="BS">Bahamas</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BH") { echo " selected"; } ?> value="BH">Bahrain</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BD") { echo " selected"; } ?> value="BD">Bangladesh</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BB") { echo " selected"; } ?> value="BB">Barbados</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BY") { echo " selected"; } ?> value="BY">Belarus</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BE") { echo " selected"; } ?> value="BE">Belgium</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BZ") { echo " selected"; } ?> value="BZ">Belize</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BJ") { echo " selected"; } ?> value="BJ">Benin</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BM") { echo " selected"; } ?> value="BM">Bermuda</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BT") { echo " selected"; } ?> value="BT">Bhutan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BO") { echo " selected"; } ?> value="BO">Bolivia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BA") { echo " selected"; } ?> value="BA">Bosnia & Herzegovina</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BW") { echo " selected"; } ?> value="BW">Botswana</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BV") { echo " selected"; } ?> value="BV">Bouvet Island</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BR") { echo " selected"; } ?> value="BR">Brazil</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IO") { echo " selected"; } ?> value="IO">British Indian Ocean Territory</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BN") { echo " selected"; } ?> value="BN">Brunei Darussalam</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BG") { echo " selected"; } ?> value="BG">Bulgaria</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BF") { echo " selected"; } ?> value="BF">Burkina Faso</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "BI") { echo " selected"; } ?> value="BI">Burundi</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KH") { echo " selected"; } ?> value="KH">Cambodia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CM") { echo " selected"; } ?> value="CM">Cameroon</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CA") { echo " selected"; } ?> value="CA">Canada</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CV") { echo " selected"; } ?> value="CV">Cape Verde</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KY") { echo " selected"; } ?> value="KY">Cayman Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CF") { echo " selected"; } ?> value="CF">Central African Republic</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TD") { echo " selected"; } ?> value="TD">Chad</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CL") { echo " selected"; } ?> value="CL">Chile</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CN") { echo " selected"; } ?> value="CN">China</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CX") { echo " selected"; } ?> value="CX">Christmas Island</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CC") { echo " selected"; } ?> value="CC">Cocos (Keeling) Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CO") { echo " selected"; } ?> value="CO">Colombia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KM") { echo " selected"; } ?> value="KM">Comoros</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CG") { echo " selected"; } ?> value="CG">Congo</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CD") { echo " selected"; } ?> value="CD">Congo (Democratic Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CK") { echo " selected"; } ?> value="CK">Cook Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CR") { echo " selected"; } ?> value="CR">Costa Rica</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CI") { echo " selected"; } ?> value="CI">Cote D'Ivoire</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HR") { echo " selected"; } ?> value="HR">Croatia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CU") { echo " selected"; } ?> value="CU">Cuba</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CY") { echo " selected"; } ?> value="CY">Cyprus</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CZ") { echo " selected"; } ?> value="CZ">Czech Republic</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DK") { echo " selected"; } ?> value="DK">Denmark</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DJ") { echo " selected"; } ?> value="DJ">Djibouti</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DM") { echo " selected"; } ?> value="DM">Dominica</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DO") { echo " selected"; } ?> value="DO">Dominican Republic</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "EC") { echo " selected"; } ?> value="EC">Ecuador</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "EG") { echo " selected"; } ?> value="EG">Egypt</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SV") { echo " selected"; } ?> value="SV">El Salvador</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GQ") { echo " selected"; } ?> value="GQ">Equatorial Guinea</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ER") { echo " selected"; } ?> value="ER">Eritrea</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "EE") { echo " selected"; } ?> value="EE">Estonia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ET") { echo " selected"; } ?> value="ET">Ethiopia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FK") { echo " selected"; } ?> value="FK">Falkland Islands (Malvinas)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FO") { echo " selected"; } ?> value="FO">Faroe Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FJ") { echo " selected"; } ?> value="FJ">Fiji</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FI") { echo " selected"; } ?> value="FI">Finland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FR") { echo " selected"; } ?> value="FR">France</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GF") { echo " selected"; } ?> value="GF">French Guiana</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PF") { echo " selected"; } ?> value="PF">French Polynesia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TF") { echo " selected"; } ?> value="TF">French Southern Territories</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GA") { echo " selected"; } ?> value="GA">Gabon</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GM") { echo " selected"; } ?> value="GM">Gambia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GE") { echo " selected"; } ?> value="GE">Georgia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "DE") { echo " selected"; } ?> value="DE">Germany</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GH") { echo " selected"; } ?> value="GH">Ghana</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GI") { echo " selected"; } ?> value="GI">Gibraltar</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GR") { echo " selected"; } ?> value="GR">Greece</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GL") { echo " selected"; } ?> value="GL">Greenland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GD") { echo " selected"; } ?> value="GD">Grenada</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GP") { echo " selected"; } ?> value="GP">Guadeloupe</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GU") { echo " selected"; } ?> value="GU">Guam</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GT") { echo " selected"; } ?> value="GT">Guatemala</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GG") { echo " selected"; } ?> value="GG">Guernsey</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GN") { echo " selected"; } ?> value="GN">Guinea</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GW") { echo " selected"; } ?> value="GW">Guinea-Bissau</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GY") { echo " selected"; } ?> value="GY">Guyana</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HT") { echo " selected"; } ?> value="HT">Haiti</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HM") { echo " selected"; } ?> value="HM">Heard Island & Mcdonald Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VA") { echo " selected"; } ?> value="VA">Holy See (Vatican City State)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HN") { echo " selected"; } ?> value="HN">Honduras</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HK") { echo " selected"; } ?> value="HK">Hong Kong</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "HU") { echo " selected"; } ?> value="HU">Hungary</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IS") { echo " selected"; } ?> value="IS">Iceland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IN") { echo " selected"; } ?> value="IN">India</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ID") { echo " selected"; } ?> value="ID">Indonesia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IR") { echo " selected"; } ?> value="IR">Iran (Islamic Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IQ") { echo " selected"; } ?> value="IQ">Iraq</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IE") { echo " selected"; } ?> value="IE">Ireland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IM") { echo " selected"; } ?> value="IM">Isle Of Man</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IL") { echo " selected"; } ?> value="IL">Israel</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "IT") { echo " selected"; } ?> value="IT">Italy</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "JM") { echo " selected"; } ?> value="JM">Jamaica</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "JP") { echo " selected"; } ?> value="JP">Japan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "JE") { echo " selected"; } ?> value="JE">Jersey</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "JO") { echo " selected"; } ?> value="JO">Jordan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KZ") { echo " selected"; } ?> value="KZ">Kazakhstan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KE") { echo " selected"; } ?> value="KE">Kenya</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KI") { echo " selected"; } ?> value="KI">Kiribati</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KP") { echo " selected"; } ?> value="KP">Korea (Democratic People's Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KR") { echo " selected"; } ?> value="KR">Korea (Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KW") { echo " selected"; } ?> value="KW">Kuwait</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KG") { echo " selected"; } ?> value="KG">Kyrgyzstan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LA") { echo " selected"; } ?> value="LA">Laos</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LV") { echo " selected"; } ?> value="LV">Latvia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LB") { echo " selected"; } ?> value="LB">Lebanon</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LS") { echo " selected"; } ?> value="LS">Lesotho</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LR") { echo " selected"; } ?> value="LR">Liberia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LY") { echo " selected"; } ?> value="LY">Libyan Arab Jamahiriya</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LI") { echo " selected"; } ?> value="LI">Liechtenstein</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LT") { echo " selected"; } ?> value="LT">Lithuania</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LU") { echo " selected"; } ?> value="LU">Luxembourg</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MO") { echo " selected"; } ?> value="MO">Macao</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MK") { echo " selected"; } ?> value="MK">Macedonia (Yugoslav Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MG") { echo " selected"; } ?> value="MG">Madagascar</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MW") { echo " selected"; } ?> value="MW">Malawi</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MY") { echo " selected"; } ?> value="MY">Malaysia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MV") { echo " selected"; } ?> value="MV">Maldives</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ML") { echo " selected"; } ?> value="ML">Mali</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MT") { echo " selected"; } ?> value="MT">Malta</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MH") { echo " selected"; } ?> value="MH">Marshall Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MQ") { echo " selected"; } ?> value="MQ">Martinique</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MR") { echo " selected"; } ?> value="MR">Mauritania</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MU") { echo " selected"; } ?> value="MU">Mauritius</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "YT") { echo " selected"; } ?> value="YT">Mayotte</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MX") { echo " selected"; } ?> value="MX">Mexico</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "FM") { echo " selected"; } ?> value="FM">Micronesia (Federated States)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MD") { echo " selected"; } ?> value="MD">Moldova (Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MC") { echo " selected"; } ?> value="MC">Monaco</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MN") { echo " selected"; } ?> value="MN">Mongolia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MS") { echo " selected"; } ?> value="MS">Montserrat</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MA") { echo " selected"; } ?> value="MA">Morocco</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MZ") { echo " selected"; } ?> value="MZ">Mozambique</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MM") { echo " selected"; } ?> value="MM">Myanmar</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NA") { echo " selected"; } ?> value="NA">Namibia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NR") { echo " selected"; } ?> value="NR">Nauru</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NP") { echo " selected"; } ?> value="NP">Nepal</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NL") { echo " selected"; } ?> value="NL">Netherlands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AN") { echo " selected"; } ?> value="AN">Netherlands Antilles</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NC") { echo " selected"; } ?> value="NC">New Caledonia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NZ") { echo " selected"; } ?> value="NZ">New Zealand</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NI") { echo " selected"; } ?> value="NI">Nicaragua</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NE") { echo " selected"; } ?> value="NE">Niger</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NG") { echo " selected"; } ?> value="NG">Nigeria</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NU") { echo " selected"; } ?> value="NU">Niue</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NF") { echo " selected"; } ?> value="NF">Norfolk Island</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "MP") { echo " selected"; } ?> value="MP">Northern Mariana Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "NO") { echo " selected"; } ?> value="NO">Norway</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "OM") { echo " selected"; } ?> value="OM">Oman</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PK") { echo " selected"; } ?> value="PK">Pakistan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PW") { echo " selected"; } ?> value="PW">Palau</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PS") { echo " selected"; } ?> value="PS">Palestinian Territory</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PA") { echo " selected"; } ?> value="PA">Panama</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PG") { echo " selected"; } ?> value="PG">Papua New Guinea</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PY") { echo " selected"; } ?> value="PY">Paraguay</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PE") { echo " selected"; } ?> value="PE">Peru</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PH") { echo " selected"; } ?> value="PH">Philippines</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PN") { echo " selected"; } ?> value="PN">Pitcairn</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PL") { echo " selected"; } ?> value="PL">Poland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PT") { echo " selected"; } ?> value="PT">Portugal</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PR") { echo " selected"; } ?> value="PR">Puerto Rico</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "QA") { echo " selected"; } ?> value="QA">Qatar</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "RE") { echo " selected"; } ?> value="RE">Reunion</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "RO") { echo " selected"; } ?> value="RO">Romania</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "RU") { echo " selected"; } ?> value="RU">Russian Federation</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "RW") { echo " selected"; } ?> value="RW">Rwanda</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SH") { echo " selected"; } ?> value="SH">Saint Helena</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "KN") { echo " selected"; } ?> value="KN">Saint Kitts & Nevis</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LC") { echo " selected"; } ?> value="LC">Saint Lucia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "PM") { echo " selected"; } ?> value="PM">Saint Pierre & Miquelon</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VC") { echo " selected"; } ?> value="VC">Saint Vincent & The Grenadines</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "WS") { echo " selected"; } ?> value="WS">Samoa</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SM") { echo " selected"; } ?> value="SM">San Marino</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ST") { echo " selected"; } ?> value="ST">Sao Tome & Principe</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SA") { echo " selected"; } ?> value="SA">Saudi Arabia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SN") { echo " selected"; } ?> value="SN">Senegal</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CS") { echo " selected"; } ?> value="CS">Serbia & Montenegro</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SC") { echo " selected"; } ?> value="SC">Seychelles</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SL") { echo " selected"; } ?> value="SL">Sierra Leone</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SG") { echo " selected"; } ?> value="SG">Singapore</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SK") { echo " selected"; } ?> value="SK">Slovakia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SI") { echo " selected"; } ?> value="SI">Slovenia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SB") { echo " selected"; } ?> value="SB">Solomon Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SO") { echo " selected"; } ?> value="SO">Somalia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ZA") { echo " selected"; } ?> value="ZA">South Africa</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GS") { echo " selected"; } ?> value="GS">South Georgia & The South Sandwich Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ES") { echo " selected"; } ?> value="ES">Spain</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "LK") { echo " selected"; } ?> value="LK">Sri Lanka</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SD") { echo " selected"; } ?> value="SD">Sudan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SR") { echo " selected"; } ?> value="SR">Suriname</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SJ") { echo " selected"; } ?> value="SJ">Svalbard & Jan Mayen</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SZ") { echo " selected"; } ?> value="SZ">Swaziland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SE") { echo " selected"; } ?> value="SE">Sweden</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "CH") { echo " selected"; } ?> value="CH">Switzerland</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "SY") { echo " selected"; } ?> value="SY">Syrian Arab Republic</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TW") { echo " selected"; } ?> value="TW">Taiwan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TJ") { echo " selected"; } ?> value="TJ">Tajikistan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TZ") { echo " selected"; } ?> value="TZ">Tanzania (United Republic)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TH") { echo " selected"; } ?> value="TH">Thailand</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TL") { echo " selected"; } ?> value="TL">Timor-Leste</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TG") { echo " selected"; } ?> value="TG">Togo</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TK") { echo " selected"; } ?> value="TK">Tokelau</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TO") { echo " selected"; } ?> value="TO">Tonga</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TT") { echo " selected"; } ?> value="TT">Trinidad & Tobago</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TN") { echo " selected"; } ?> value="TN">Tunisia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TR") { echo " selected"; } ?> value="TR">Turkey</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TM") { echo " selected"; } ?> value="TM">Turkmenistan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TC") { echo " selected"; } ?> value="TC">Turks & Caicos Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "TV") { echo " selected"; } ?> value="TV">Tuvalu</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "UG") { echo " selected"; } ?> value="UG">Uganda</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "UA") { echo " selected"; } ?> value="UA">Ukraine</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "AE") { echo " selected"; } ?> value="AE">United Arab Emirates</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "GB") { echo " selected"; } ?> value="GB">United Kingdom</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "US") { echo " selected"; } ?> value="US">United States</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "UM") { echo " selected"; } ?> value="UM">United States Minor Outlying Islands</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "UY") { echo " selected"; } ?> value="UY">Uruguay</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "UZ") { echo " selected"; } ?> value="UZ">Uzbekistan</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VU") { echo " selected"; } ?> value="VU">Vanuatu</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VE") { echo " selected"; } ?> value="VE">Venezuela</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VN") { echo " selected"; } ?> value="VN">Vietnam</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VG") { echo " selected"; } ?> value="VG">Virgin Islands (British)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "VI") { echo " selected"; } ?> value="VI">Virgin Islands (US)</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "WF") { echo " selected"; } ?> value="WF">Wallis & Futuna</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "EH") { echo " selected"; } ?> value="EH">Western Sahara</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "YE") { echo " selected"; } ?> value="YE">Yemen</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ZM") { echo " selected"; } ?> value="ZM">Zambia</option>
- <option<?php if (file_get_contents("data/members/active/{$_SESSION['logged_in']}/country.txt") == "ZW") { echo " selected"; } ?> value="ZW">Zimbabwe</option>
- </select>
- </td></tr>
- <tr><td bgcolor="#ffffff"><p>city or municipality</p></td><td bgcolor="#ffffff" colspan="2"><input class="input" type="text" autocomplete="off" name="city" maxlength="100" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/url.txt")) { echo "value=\""; readfile("data/members/active/{$_SESSION['logged_in']}/city.txt");echo "\""; } ?>></td></tr>
- <?php if (file_exists("data/bb.txt") and file_exists("data/bb-sig.txt")) { ?>
- <tr><td bgcolor="#ffffff"><p>signature</p></td><td bgcolor="#ffffff" colspan="2"><textarea class="input" name="sig"><?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/sig.txt")) {
- $get_sig = file_get_contents("data/members/active/{$_SESSION['logged_in']}/sig.txt");
- $get_sig = str_replace("<b>","[b]",$get_sig);
- $get_sig = str_replace("</b>","[/b]",$get_sig);
- $get_sig = str_replace("<i>","[i]",$get_sig);
- $get_sig = str_replace("</i>","[/i]",$get_sig);
- $get_sig = str_replace("<u>","[u]",$get_sig);
- $get_sig = str_replace("</u>","[/u]",$get_sig);
- $get_sig = str_replace("<sup>","[sup]",$get_sig);
- $get_sig = str_replace("</sup>","[/sup]",$get_sig);
- $get_sig = str_replace("<sub>","[sub]",$get_sig);
- $get_sig = str_replace("</sub>","[/sub]",$get_sig);
- $get_sig = str_replace("<strike>","[strike]",$get_sig);
- $get_sig = str_replace("</strike>","[/strike]",$get_sig);
- $get_sig = str_replace("<br>","\n",$get_sig);
- echo $get_sig;
- } ?></textarea></td></tr>
- <?php } ?>
- <tr><td bgcolor="#ffffff"><p>upload avatar</p></td><td bgcolor="#ffffff" colspan="2"><input type="file" autocomplete="off" name="avatar"></td></tr>
- <?php
- if (file_exists("images/members/{$_SESSION['logged_in']}/avatar.gif") or file_exists("images/members/{$_SESSION['logged_in']}/avatar.jpg") or file_exists("images/members/{$_SESSION['logged_in']}/avatar.png")) { ?>
- <tr><td bgcolor="#ffffff"><p></p></td><td bgcolor="#ffffff" colspan="2"><p><input type="checkbox" name="del_avatar">delete existing avatar</p></td></tr>
- <?php } if (file_exists("data/ml.txt") and !file_exists("data/members/active/{$_SESSION['logged_in']}/key.txt")) { ?>
- <tr><td bgcolor="#ffffff"><p></p></td><td bgcolor="#ffffff" colspan="2"><p><input type="checkbox" name="vacation" <?php if (file_exists("data/members/active/{$_SESSION['logged_in']}/vacation.txt")) { echo checked; } ?>>temporarily disable mailing list subscription</p></td></tr>
- <?php } ?>
- <?php if (!file_exists("data/members/active/{$_SESSION['logged_in']}/bday.txt")) { ?>
- <tr><td bgcolor="#ffffff"><p>birthdate (YYYYMMDD)</p></td><td bgcolor="#ffffff" colspan="2"><input class="input" type="text" autocomplete="off" name="bday" maxlength="8" value="<?php echo date("Ymd", time() + $offset); ?>"></td></tr>
- <?php } ?>
- <tr><td bgcolor="#ffffff"><p>current password</p></td><td bgcolor="#ffffff" colspan="2"><input class="input" type="password" autocomplete="off" name="current_passwd" maxlength="30"></td></tr>
- <tr><td bgcolor="#ffffff"><p>new password</p></td><td bgcolor="#ffffff" width="300"><input class="input" type="password" autocomplete="off" name="new_passwd" maxlength="30"></td></tr>
- <tr><td bgcolor="#ffffff"><p>confirm password</p></td><td bgcolor="#ffffff"><input class="input" type="password" autocomplete="off" name="confirm_passwd" maxlength="30"></td></tr>
- <tr><td bgcolor="#ffffff"><p></p></td><td bgcolor="#ffffff"><input class="input" type="submit" value="click here to activate new settings"></td></tr>
- </form>
- <form enctype="multipart/form-data" action="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); ?>" method="post">
- <tr><td bgcolor="#ffffff"><p></p></td><td bgcolor="#ffffff"><input class="input" type="submit" value="click here to go to the index page"></td></tr>
- </form>
- </table>