PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
<?php
include('includes/connect.php');
include('includes/functions.php');
session_start();
if(isset($_POST['u'])){
//CREATE SESSION VARIABLES TO BE USED IN FORM TO AVOID RETYPING IF ERROR OCCURE
$email = $_POST['email'];
//die($_POST['f']);
if(EmailExist($email)){
header('location: signup.php?n=error');
die();
}
if (!empty($_POST['honeypot_field'])) {
die("Bot detected! Registration blocked.");
}
$username = trim($_POST['u']);
$password = $_POST['p'] ;
$fullName = $_POST['f'] ;
$city = trim($_POST['cit']);
$address = trim($_POST['adr']);
$at = trim($_POST['at']);
$currency = trim($_POST['sym']);
$referral = trim($_POST['c']);
$phone = trim($_POST['pn']);
$dateJoined = date('M/d/Y h:i:sa');
$_SESSION["email"] = $_POST['email'];
$DateJoined = date('M/d/Y h:i:sa');
$DateJoined = date('M/d/Y h:i:sa');
$length = 6;
$randomNumber = rand(pow(10, $length-1), pow(10, $length)-1);
$rann = $randomNumber;
$sql = sprintf("INSERT INTO members
( Email, Uname,code ,city,adr,at, Pass, sym, full_name, Date, ref, phone)
VALUES
('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s')",
$email,
$username,
$rann,
$city,
$address,
$at,
$password,
$currency,
$fullName,
$DateJoined,
$_POST['c'],
$_POST['pn']
);
if(mysqli_query($conn, $sql))
{
$to = $email; // Send email to our user
$subject = 'Signup | Verification'; // Give the email a subject
$message = '
Thank you for choosing Quantumfxt.com as your trading platform.
Your Live trading account/mining pool has been successfully created.
Make sure to keep your login details safe for future references.For safety and security ,never share your login details or password with anyone.
As a registered trader of Quantumfxt.com ,
you can now access: A large list of tradeable assets-Forex, Indices, Stocks and Commodities CFD and Forex trading using the MTA trading platform And Bitcoin mining. Important notice:Trading account reflects the trading conditions of a platinum account type. Should you have any questions or concerns, please contact us at support@Quantumfxt.com with your email or your updated contact number or visit our page. If you prefer to contact us directly, or use the live chat in our site.
NOTE: Quantumfxt.com is offering to rent hardware to clients for mining purposes.
Clients that only rent hardware under investment considerations are reminded to carefully assess the underlying
risks of such an investment in hardware themselves.
Thanks for choosing Quantumfxt.com
For more enquires contact:
Email: support@Quantumfxt.com
------------------------
';
$header .= 'MIME-Version: 1.0' ."\r\n";
$headers = 'From: Quantumfxt.com<support@Quantumfxt.com>' . "\r\n" .'Reply-To: support@Quantumfxt.com' . "\r\n" .'X-Mailer: PHP/' . phpversion(); // Set from headers
mail($to, $subject, $message, $headers); // Send our email
header("Location: signin.php");
}
else{
header("Location: signup.php?er=error");
}
}
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Link of CSS files -->
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="flaticon.css">
<link rel="stylesheet" href="remixicon.css">
<link rel="stylesheet" href="owl.carousel.min.css">
<link rel="stylesheet" href="odometer.min.css">
<link rel="stylesheet" href="fancybox.css">
<link rel="stylesheet" href="aos.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="responsive.css">
<link rel="stylesheet" href="dark-theme.css">
<title>Signup</title>
<link rel="icon" type="image/png" href="favicon.png">
<script src="https://Quantumfxt.com/plugins/sweetalerts/promise-polyfill.js"></script>
<link href="https://Quantumfxt.com/plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" />
<script src="https://www.google.com/recaptcha/api/siteverify"></script>
<script src="https://www.google.google.com/recaptcha/api.js?render=6Lfx_skqAAAAAB-XJadkjGEtps7bq9vi1UsDGWH8"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<!-- Theme Switcher Start -->
<div class="switch-theme-mode">
<label id="switch" class="switch">
<input type="checkbox" onchange="toggleTheme()" id="slider">
<span class="slider round"></span>
</label>
</div>
<!-- Theme Switcher End -->
<!-- Content Wrapper Start -->
<!-- Header Section Start -->
<!-- Header Section Start -->
<header class="header-wrap style2">
<div class="header-bottom">
<div class="container">
<nav class="navbar navbar-expand-md navbar-light">
<a class="navbar-brand" href="signin.php" method="POST" action="signup.php" id="registration-form" enctype="multipart/form-data">
<img class="logo-light" width="200px" src="logo.png" alt="logo">
</a>
<div class="collapse navbar-collapse main-menu-wrap" id="navbarSupportedContent">
<div class="menu-close d-lg-none">
<a href="javascript:void(0)"> <i class="ri-close-line"></i></a>
</div>
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a href="signin.php" class="nav-link active">
Home
<i class=""></i>
</a>
<li class="nav-item d-lg-none">
<a href="signin.php" class="nav-link btn style1">LOGIN ACCOUNT<i class="ri-arrow-right-s-line"></i></a>
</li>
</ul>
<div class="other-options md-none">
<div class="option-item">
<div class="user-login">
<span><i class="ri-user-add-line"></i></span>
<ul class="list-style">
<li><a href="signin.php">Sign In</a></li>
<li><a href="signup.php">Sign Up</a></li>
</ul>
</div>
</div>
<div class="option-item">
<a href="signin.php" class="btn style1">LOGIN ACCOUNT<i class=""></i></a>
</div>
</div>
</div>
</nav>
<div class="mobile-bar-wrap">
<div class="user-login d-lg-none">
<span><i class="ri-user-add-line"></i></span>
<ul class="list-style">
<li><a href="signin.php">Sign In</a></li>
<li><a href="signup.php">Sign Up</a></li>
</ul>
</div>
<div class="mobile-menu d-lg-none">
<a href="javascript:void(0)"><i class="ri-menu-line"></i></a>
</div>
</div>
</div>
</div>
</header>
<!-- Header Section End --> <!-- Header Section End -->
<!-- Breadcrumb Start -->
<!-- Breadcrumb End -->
<!-- Account Section start -->
<section class="Login-wrap ptb-100">
<div class="container">
<div class="row ">
<div class="col-xl-6 offset-xl-3 col-lg-8 offset-lg-2 col-md-10 offset-md-1">
<div class="login-form-wrap">
<div class="login-header">
<?php if(isset($_GET['n'])){ ?>
<h3 style="color:red;"class="form-heading animated">Email Already Used</h3>
<?php } else{?>
<h3>Create New Account</h3>
<p>Welcome!! Create Your Account</p>
<?php } ?>
</div>
<div class="login-form" id="users">
<div class="login-body">
<form class="form-wrap" method="POST" action="signup.php" enctype="multipart/form-data" onsubmit="return validateForm()">
<div class="col-lg-12">
<div class="form-group">
<label for="username">Fullname</label>
<input id="fullname" v-model="newUser.fullname" type="text" name="f" placeholder="Full Name" required>
</div>
</div>
<input type="text" name="honeypot_field" class="honeypot" style="display: none;" autocomplete="off">
<div class="col-lg-12">
<div class="form-group">
<label for="email">Username</label>
<input id="username" v-model="newUser.username" type="text" name="u" placeholder="Username" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd">Home Address</label>
<input id="home_address" v-model="newUser.home_address" type="text" name="adr" placeholder="Home Address" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">City</label>
<input id="city" v-model="newUser.city" type="text" name="cit" placeholder="City" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Zipcode/postal- code (optional)</label>
<input id="postal_code" name="pcode" v-model="newUser.postal_code" type="text" placeholder="Zipcode/postal-code (Optional)">
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Please Select Currency</label>
<select input name="sym" required inputmode="text">
<option disabled="" selected="" value="">Currency</option>
<option value="$">USD</option>
<option value="£">GBP</option>
<option value="€">EUR</option>
</select>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Please Select Country</label>
<select input id="country" name="c" v-model="newUser.country" @change="getCurrency" required inputmode="text" required>
<option disabled="" selected="">Please Select Country</option>
<option value='Afghanistan'>Afghanistan (؋)</option>
<option value='Albania'>Albania (Lek)</option>
<option value='Algeria'>Algeria (دج)</option>
<option value='American Samoa'>American Samoa ($)</option>
<option value='Andorra'>Andorra (€)</option>
<option value='Angola'>Angola (Kz)</option>
<option value='Anguilla'>Anguilla ($)</option>
<option value='Antarctica'>Antarctica ($)</option>
<option value='Antigua and Barbuda'>Antigua and Barbuda ($)</option>
<option value='Argentina'>Argentina ($)</option>
<option value='Armenia'>Armenia (֏)</option>
<option value='Aruba'>Aruba (ƒ)</option>
<option value='Australia'>Australia ($)</option>
<option value='Austria'>Austria (€)</option>
<option value='Azerbaijan'>Azerbaijan (AZN)</option>
<option value='Bahamas'>Bahamas ($)</option>
<option value='Bahrain'>Bahrain (د.)</option>
<option value='Bangladesh'>Bangladesh (ó)</option>
<option value='Barbados'>Barbados ($)</option>
<option value='Belarus'>Belarus (Br)</option>
<option value='Belgium'>Belgium (€)</option>
<option value='Belize'>Belize ($)</option>
<option value='Benin'>Benin (CFA)</option>
<option value='Bermuda'>Bermuda ($)</option>
<option value='Bhutan'>Bhutan (Nu)</option>
<option value='Bolivia'>Bolivia (Bs)</option>
<option value='Bosnia and Herzegovina'>Bosnia and Herzegovina (KM)</option>
<option value='Botswana'>Botswana (P)</option>
<option value='Bouvet Island'>Bouvet Island (kr)</option>
<option value='Brazil'>Brazil (R$)</option>
<option value='British Indian Ocean Territory'>British Indian Ocean Territory ($)</option>
<option value='Brunei Darussalam'>Brunei Darussalam (B$)</option>
<option value='Bulgaria'>Bulgaria (Лв.)</option>
<option value='Burkina Faso'>Burkina Faso (CFA)</option>
<option value='Burundi'>Burundi (FBu)</option>
<option value='Cambodia'>Cambodia (៛)</option>
<option value='Cameroon'>Cameroon (FCFA)</option>
<option value='Canada'>Canada ($)</option>
<option value='Cape Verde'>Cape Verde ($)</option>
<option value='Cayman Islands'>Cayman Islands ($)</option>
<option value='Central African Republic'>Central African Republic (FCFA)</option>
<option value='Chad'>Chad (FCFA)</option>
<option value='Chile'>Chile ($)</option>
<option value='China'>China (¥)</option>
<option value='Christmas Island'>Christmas Island ($)</option>
<option value='Cocos (Keeling) Islands'>Cocos (Keeling) Islands ($)</option>
<option value='Colombia'>Colombia ($)</option>
<option value='Comoros'>Comoros (CF)</option>
<option value='Congo'>Congo (FC)</option>
<option value='Democratic Republic of the Congo'>Democratic Republic of the Congo (FC)</option>
<option value='Cook Islands'>Cook Islands ($)</option>
<option value='Costa Rica'>Costa Rica (₡)</option>
<option value="Cote D'Ivoire">Cote D'Ivoire (CFA)</option>
<option value='Croatia'>Croatia (Kn)</option>
<option value='Cuba'>Cuba ($)</option>
<option value='Cyprus'>Cyprus (€)</option>
<option value='Czech Republic'>Czech Republic (Kč)</option>
<option value='Denmark'>Denmark (kr)</option>
<option value='Djibouti'>Djibouti (Fdj)</option>
<option value='Dominica'>Dominica ($)</option>
<option value='Dominican Republic'>Dominican Republic (RD$)</option>
<option value='Ecuador'>Ecuador (S/.)</option>
<option value='Egypt'>Egypt (E£)</option>
<option value='El Salvador'>El Salvador (₡)</option>
<option value='Equatorial Guinea'>Equatorial Guinea (FCFA)</option>
<option value='Eritrea'>Eritrea (Nkf)</option>
<option value='Estonia'>Estonia (kr)</option>
<option value='Ethiopia'>Ethiopia (Br)</option>
<option value='Falkland Islands (Malvinas)'>Falkland Islands (Malvinas) (£)</option>
<option value='Faroe Islands'>Faroe Islands (kr)</option>
<option value='Fiji'>Fiji (FJ$)</option>
<option value='Finland'>Finland (mk)</option>
<option value='France'>France (€)</option>
<option value='French Guiana'>French Guiana (€)</option>
<option value='French Polynesia'>French Polynesia (F)</option>
<option value='French Southern Territories'>French Southern Territories (€)</option>
<option value='Gabon'>Gabon (FCFA)</option>
<option value='Gambia'>Gambia (D)</option>
<option value='Georgia'>Georgia (GEL)</option>
<option value='Germany'>Germany (€)</option>
<option value='Ghana'>Ghana (GH₵)</option>
<option value='Gibraltar'>Gibraltar (£)</option>
<option value='Greece'>Greece (€)</option>
<option value='Greenland'>Greenland (Kr.)</option>
<option value='Grenada'>Grenada ($)</option>
<option value='Guadeloupe'>Guadeloupe (€)</option>
<option value='Guam'>Guam ($)</option>
<option value='Guatemala'>Guatemala (Q)</option>
<option value='Guernsey'>Guernsey (£)</option>
<option value='Guinea'>Guinea (FG)</option>
<option value='Guinea-Bissau'>Guinea-Bissau (CFA)</option>
<option value='Guyana'>Guyana (G$)</option>
<option value='Haiti'>Haiti (G)</option>
<option value='Heard Island and McDonald Islands'>Heard Island and McDonald Islands ($)</option>
<option value='Holy See (Vatican City State)'>Holy See (Vatican City State) (₤)</option>
<option value='Honduras'>Honduras (HNL)</option>
<option value='Hong Kong'>Hong Kong (HK$)</option>
<option value='Hungary'>Hungary (Ft)</option>
<option value='Iceland'>Iceland (kr)</option>
<option value='India'>India (₹)</option>
<option value='Indonesia'>Indonesia (Rp)</option>
<option value='Islamic Republic of Iran'>Islamic Republic of Iran (IRR)</option>
<option value='Iraq'>Iraq (د.ع)</option>
<option value='Ireland'>Ireland (€)</option>
<option value='Isle of Man'>Isle of Man (£)</option>
<option value='Israel'>Israel (₪)</option>
<option value='Italy'>Italy (€)</option>
<option value='Jamaica'>Jamaica (J$)</option>
<option value='Japan'>Japan (¥)</option>
<option value='Jersey'>Jersey (£)</option>
<option value='Jordan'>Jordan (د.ا)</option>
<option value='Kazakhstan'>Kazakhstan (₸)</option>
<option value='Kenya'>Kenya (KSh)</option>
<option value='Kiribati'>Kiribati ($)</option>
<option value="Democratic People's Republic of Korea">Democratic People's Republic of Korea (₩)</option>
<option value='Republic of Korea'>Republic of Korea (₩)</option>
<option value='Kuwait'>Kuwait (د.ك)</option>
<option value='Kyrgyzstan'>Kyrgyzstan (лв)</option>
<option value="Lao People's Democratic Republic">Lao People's Democratic Republic (₭)</option>
<option value='Latvia'>Latvia (LVL)</option>
<option value='Lebanon'>Lebanon (ل.ل)</option>
<option value='Lesotho'>Lesotho (L)</option>
<option value='Liberia'>Liberia (L$)</option>
<option value='Libyan Arab Jamahiriya'>Libyan Arab Jamahiriya (LD)</option>
<option value='Liechtenstein'>Liechtenstein (CHF)</option>
<option value='Lithuania'>Lithuania (Lt)</option>
<option value='Luxembourg'>Luxembourg (€)</option>
<option value='Macao'>Macao (MOP$)</option>
<option value='The Former Yugoslav Republic of Macedonia'>The Former Yugoslav Republic of Macedonia (den)</option>
<option value='Madagascar'>Madagascar (Ar)</option>
<option value='Malawi'>Malawi (K)</option>
<option value='Malaysia'>Malaysia (RM)</option>
<option value='Maldives'>Maldives (Rf)</option>
<option value='Mali'>Mali (MAF)</option>
<option value='Malta'>Malta (€)</option>
<option value='Marshall Islands'>Marshall Islands ($)</option>
<option value='Martinique'>Martinique (€)</option>
<option value='Mauritania'>Mauritania (MRU</option>
<option value='Mauritius'>Mauritius (₨)</option>
<option value='Mayotte'>Mayotte (€)</option>
<option value='Mexico'>Mexico ($)</option>
<option value='Federated States of Micronesia'>Federated States of Micronesia ($)</option>
<option value='Republic of Moldova'>Republic of Moldova (L)</option>
<option value='Monaco'>Monaco (€)</option>
<option value='Mongolia'>Mongolia (₮)</option>
<option value='Montenegro'>Montenegro (€)</option>
<option value='Montserrat'>Montserrat ($)</option>
<option value='Morocco'>Morocco (MAD)</option>
<option value='Mozambique'>Mozambique (MT)</option>
<option value='Myanmar'>Myanmar (K)</option>
<option value='Namibia'>Namibia (N$)</option>
<option value='Nauru'>Nauru ($)</option>
<option value='Nepal'>Nepal (Rs)</option>
<option value='Netherlands'>Netherlands (ANG)</option>
<option value='Netherlands Antilles'>Netherlands Antilles (NAf)</option>
<option value='New Caledonia'>New Caledonia (F)</option>
<option value='New Zealand'>New Zealand ($)</option>
<option value='Nicaragua'>Nicaragua (C$)</option>
<option value='Niger'>Niger (XOF)</option>
<option value='Nigeria'>Nigeria (₦)</option>
<option value='Niue'>Niue ($)</option>
<option value='Norfolk Island'>Norfolk Island ($)</option>
<option value='Northern Mariana Islands'>Northern Mariana Islands ($)</option>
<option value='Norway'>Norway (kr)</option>
<option value='Oman'>Oman (ر.ع.)</option>
<option value='Pakistan'>Pakistan (₨)</option>
<option value='Palau'>Palau ($)</option>
<option value='Occupied Palestinian Territory'>Occupied Palestinian Territory ($)</option>
<option value='Panama'>Panama (B/)</option>
<option value='Papua New Guinea'>Papua New Guinea (K)</option>
<option value='Paraguay'>Paraguay (₲)</option>
<option value='Peru'>Peru (S/)</option>
<option value='Philippines'>Philippines (₱)</option>
<option value='Pitcairn'>Pitcairn ($)</option>
<option value='Poland'>Poland (zł)</option>
<option value='Portugal'>Portugal (€)</option>
<option value='Puerto Rico'>Puerto Rico ($)</option>
<option value='Qatar'>Qatar (QR)</option>
<option value='Reunion'>Reunion (€)</option>
<option value='Romania'>Romania (lei)</option>
<option value='Russian Federation'>Russian Federation (₽)</option>
<option value='Rwanda'>Rwanda (FRw)</option>
<option value='Saint Barthélemy'>Saint Barthélemy (€)</option>
<option value='Saint Helena'>Saint Helena (£)</option>
<option value='Saint Kitts and Nevis'>Saint Kitts and Nevis ($)</option>
<option value='Saint Lucia'>Saint Lucia ($)</option>
<option value='Saint Martin'>Saint Martin (ƒ)</option>
<option value='Saint Pierre and Miquelon'>Saint Pierre and Miquelon (€)</option>
<option value='Saint Vincent and the Grenadines'>Saint Vincent and the Grenadines (X$)</option>
<option value='Samoa'>Samoa ($)</option>
<option value='San Marino'>San Marino (€)</option>
<option value='Sao Tome and Principe'>Sao Tome and Principe (Db)</option>
<option value='Saudi Arabia'>Saudi Arabia (﷼)</option>
<option value='Senegal'>Senegal (CFA)</option>
<option value='Serbia'>Serbia (din)</option>
<option value='Seychelles'>Seychelles (SCR)</option>
<option value='Sierra Leone'>Sierra Leone (Le)</option>
<option value='Singapore'>Singapore (S$)</option>
<option value='Slovakia'>Slovakia (SKK)</option>
<option value='Slovenia'>Slovenia (€)</option>
<option value='Solomon Islands'>Solomon Islands (Si$)</option>
<option value='Somalia'>Somalia (Sh.so.)</option>
<option value='South Africa'>South Africa (R)</option>
<option value='South Georgia and the South Sandwich Islands'>South Georgia and the South Sandwich Islands (£)</option>
<option value='Spain'>Spain (€)</option>
<option value='Sri Lanka'>Sri Lanka (Rs)</option>
<option value='Sudan'>Sudan (£SD)</option>
<option value='Suriname'>Suriname ($)</option>
<option value='Svalbard and Jan Mayen'>Svalbard and Jan Mayen (kr)</option>
<option value='Swaziland'>Swaziland (L)</option>
<option value='Sweden'>Sweden (kr)</option>
<option value='Switzerland'>Switzerland (CHf)</option>
<option value='Syrian Arab Republic'>Syrian Arab Republic (LS)</option>
<option value='Taiwan, Province Of China'>Taiwan, Province Of China (NT$)</option>
<option value='Tajikistan'>Tajikistan (SM)</option>
<option value='United Republic of Tanzania'>United Republic of Tanzania (TSh)</option>
<option value='Thailand'>Thailand (฿))</option>
<option value='Timor-Leste'>Timor-Leste ($)</option>
<option value='Togo'>Togo (CFA)</option>
<option value='Tokelau'>Tokelau ($)</option>
<option value='Tonga'>Tonga (T$)</option>
<option value='Trinidad and Tobago'>Trinidad and Tobago (TT$)</option>
<option value='Tunisia'>Tunisia (د.ت)</option>
<option value='Turkey'>Turkey (₺)</option>
<option value='Turkmenistan'>Turkmenistan (T)</option>
<option value='Turks and Caicos Islands'>Turks and Caicos Islands ($)</option>
<option value='Tuvalu'>Tuvalu ($)</option>
<option value='Uganda'>Uganda (USh)</option>
<option value='Ukraine'>Ukraine (₴)</option>
<option value='United Arab Emirates'>United Arab Emirates (د.إ)</option>
<option value='United Kingdom'>United Kingdom (£)</option>
<option value='United States'>United States ($)</option>
<option value='United States Minor Outlying Islands'>United States Minor Outlying Islands ($)</option>
<option value='Uruguay'>Uruguay ($)</option>
<option value='Uzbekistan'>Uzbekistan (лв)</option>
<option value='Vanuatu'>Vanuatu (VT)</option>
<option value='Venezuela'>Venezuela (Bs.)</option>
<option value='Vietnam'>Vietnam (₫)</option>
<option value='British, Virgin Islands'>British, Virgin Islands ($)</option>
<option value='U.S., Virgin Islands'>U.S., Virgin Islands ($)</option>
<option value='Wallis And Futuna'>Wallis And Futuna (Fr)</option>
<option value='Western Sahara'>Western Sahara (د.م.)</option>
<option value='Yemen'>Yemen (﷼)</option>
<option value='Zambia'>Zambia (ZK)</option>
<option value='Zimbabwe'>Zimbabwe (Z$)</option>
</select>
<input id="currency" v-model="newUser.currency" type="hidden">
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Phone Number:</label>
<input id="phone" name="pn" v-model="newUser.phone" type="tel" placeholder="Phone number : +xxxxxxxxx" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Email Address</label>
<input id="email" v-model="newUser.email" type="email" name="email" placeholder="Email address" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Password</label>
<input id="password" v-model="newUser.password" type="password" placeholder="Password" maxlength="16" ng-minlength="8" required pattern=".{8,}" title="8 characters minimum" required>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<label for="pwd_2">Confirm Password</label>
<input id="confirm_password" type="password" name="p" v-model="newUser.confirm_password" type="password" placeholder="Confirm Password" maxlength="16" ng-minlength="8" pattern=".{6,}" title="8 characters minimum" required>
<p id="password_error" style="color:red;"></p>
</div>
</div>
<div class="g-recaptcha" data-sitekey="6Lfx_skqAAAAAB-XJadkjGEtps7bq9vi1UsDGWH8"></div>
<div class="col-12">
<p></p>
</div>
<div class="col-sm-12 col-12 mb-20">
<div class="checkbox style3">
<input type="checkbox" id="test_1">
<label for="test_1">
I Agree with the <a class="link style1" href="term.php">Terms & conditions</a>
</label>
</div>
</div>
<div class="col-lg-12">
<div class="form-group">
<button class="btn style1" type="submit">
CREATE ACCOUNT <i class="ri-arrow-right-s-line"></i>
</button>
</div>
</div>
<div class="col-md-12">
<p class="mb-0">Have an Account? <a class="link style1"
href="signin.php">Sign In</a></p>
</div>
</div>
<script type="text/javascript">
var onloadCallback = function() {
alert("grecaptcha is ready!");
};
</script>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
async defer>
</script>
<script>
function validateForm() {
var response = grecaptcha.getResponse();
if (response.length === 0) {
alert("Please complete the reCAPTCHA");
return false;
}
return true;
}
</script>
<script type="text/javascript">
var onloadCallback = function() {
alert("grecaptcha is ready!");
};
</script>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
</form>
</div>
</div>
</div>
</div>
</div>
</div><script>
// Function to check if the passwords match
function checkPassword() {
var password = document.getElementById('password').value;
var confirm_password = document.getElementById('confirm_password').value;
if (password !== confirm_password) {
document.getElementById('password_error').innerHTML = 'Passwords do not match';
} else {
document.getElementById('password_error').innerHTML = '';
}
}
// Add an event listener to the confirm password input
document.getElementById('confirm_password').addEventListener('input', checkPassword);
</script>
</section>
<!-- Account Section end -->
</div>
<!-- Content Wrapper End -->
</div>
<!-- Page Wrapper End -->
<!-- Back-to-top button Start -->
<a href="javascript:void(0)" class="back-to-top bounce"><i class="ri-arrow-up-s-line"></i></a>
<!-- Back-to-top button End -->
<!-- Link of JS files -->
<script src="jquery.min.js"></script>
<script src="bootstrap.bundle.min.js"></script>
<script src="form-validator.min.js"></script>
<script src="contact-form-script.js"></script>
<script src="aos.js"></script>
<script src="owl.carousel.min.js"></script>
<script src="odometer.min.js"></script>
<script src="jquery.countdown.min.js"></script>
<script src="fancybox.js"></script>
<script src="jquery.appear.js"></script>
<script src="tweenmax.min.js"></script>
<script src="main.js"></script>
<script src="https://chalanfx-markets.online/plugins/jquery-3.1.1.min.js"></script>
<script src="sweetalert2.min.js"></script>
<script src="https://unpkg.com/@popperjs/core@2/dist/umd/popper.js"></script>
<script src="vue.js"></script>
<script src="axios.js"></script>
<script>
// Site Under Maintenance
/*swal({
html: '<span style="font-size:25px!important;">Users please note:<br><b>Site is under maintenance.</b><br><br>We\'ll be back soon.</span>',
type: 'info',
showConfirmButton: false,
allowOutsideClick: false,
allowEscapeKey: false,
});*/
// BASE URL and API Inclusion
const BASE_URL = 'https://Quantumfxt.com/';
// // const API = `${BASE_URL}api/users.php`;
</script>
<!--<script src="vuejs/users.js"></script>-->
<script>
var app = new Vue({
el: '#users',
data: {
newUser: { fullname:'', username:'', country:'', currency:'', phone:'', email:'', password:'', confirm_password:'' }
},
methods: {
// 2.1. Check Sign Up Form
checkSignUpForm(){ // Check Form for any error before signing up User
var UserForm = app.toFormData(app.newUser);
if (!this.newUser.password){ // check if password is empty
this.swalEmptyNotice('password');
}
else if (!this.newUser.confirm_password){ // check if confirm_password is empty
this.swalEmptyNotice('confirm_password');
}
else if ( this.newUser.confirm_password != this.newUser.password ){
swal({
html: `Sorry! <b>Passwords</b> do not match, please try again.`,
type: "error",
confirmButtonColor: "rgb(0, 104, 0)",
confirmButtonText: "Okay!",
allowOutsideClick: false,
allowEscapeKey: false,
padding: '2em'
});
}
else {
this.saveUser(UserForm);
}
},
// clear form after successfully submitting new Student data
clearSignUpForm: function(){
app.newUser=app.newUser = { fullname:'', username:'', country:'', currency:'', phone:'', email:'', password:'', confirm_password:'' };
},
// Filter Email to Make Valid
validEmail: function (email){ // Validate Email
var re = RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
return re.test(email);
},
// Get Country's Currency
getCurrency(){
country_curr = this.newUser.country;
//alert( country_curr );
if ( country_curr == "Afghanistan" ){ this.newUser.currency = '؋'; }
else if ( country_curr == "Albania" ){ this.newUser.currency = 'Lek'; }
else if ( country_curr == "Algeria" ){ this.newUser.currency = 'دج'; }
else if ( country_curr == "American Samoa" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Andorra" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Angola" ){ this.newUser.currency = 'Kz'; }
else if ( country_curr == "Anguilla" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Antarctica" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Antigua and Barbuda" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Argentina" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Armenia" ){ this.newUser.currency = '֏'; }
else if ( country_curr == "Aruba" ){ this.newUser.currency = 'ƒ'; }
else if ( country_curr == "Australia" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Austria" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Azerbaijan" ){ this.newUser.currency = 'AZN'; }
else if ( country_curr == "Bahamas" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Bahrain" ){ this.newUser.currency = 'د.'; }
else if ( country_curr == "Bangladesh" ){ this.newUser.currency = 'ó'; }
else if ( country_curr == "Barbados" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Belarus" ){ this.newUser.currency = 'Br'; }
else if ( country_curr == "Belgium" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Belize" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Benin" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Bermuda" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Bhutan" ){ this.newUser.currency = 'Nu'; }
else if ( country_curr == "Bolivia" ){ this.newUser.currency = 'Bs'; }
else if ( country_curr == "Bosnia and Herzegovina" ){ this.newUser.currency = 'KM'; }
else if ( country_curr == "Botswana" ){ this.newUser.currency = 'P'; }
else if ( country_curr == "Bouvet Island" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Brazil" ){ this.newUser.currency = 'R$'; }
else if ( country_curr == "British Indian Ocean Territory" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Brunei Darussalam" ){ this.newUser.currency = 'B$'; }
else if ( country_curr == "Bulgaria" ){ this.newUser.currency = 'Лв.'; }
else if ( country_curr == "Burkina Faso" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Burundi" ){ this.newUser.currency = 'FBu'; }
else if ( country_curr == "Cambodia" ){ this.newUser.currency = '៛'; }
else if ( country_curr == "Cameroon" ){ this.newUser.currency = 'FCFA'; }
else if ( country_curr == "Canada" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Cape Verde" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Cayman Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Central African Republic" ){ this.newUser.currency = 'FCFA'; }
else if ( country_curr == "Chad" ){ this.newUser.currency = 'FCFA'; }
else if ( country_curr == "Chile" ){ this.newUser.currency = '$'; }
else if ( country_curr == "China" ){ this.newUser.currency = '¥'; }
else if ( country_curr == "Christmas Island" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Cocos (Keeling) Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Colombia" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Comoros" ){ this.newUser.currency = 'CF'; }
else if ( country_curr == "Congo" ){ this.newUser.currency = 'FC'; }
else if ( country_curr == "Democratic Republic of the Congo" ){ this.newUser.currency = 'FC'; }
else if ( country_curr == "Cook Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Costa Rica" ){ this.newUser.currency = '₡'; }
else if ( country_curr == "Cote D'Ivoire" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Croatia" ){ this.newUser.currency = 'Kn'; }
else if ( country_curr == "Cuba" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Cyprus" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Czech Republic" ){ this.newUser.currency = 'Kč'; }
else if ( country_curr == "Denmark" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Djibouti" ){ this.newUser.currency = 'Fdj'; }
else if ( country_curr == "Dominica" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Dominican Republic" ){ this.newUser.currency = 'RD$'; }
else if ( country_curr == "Ecuador" ){ this.newUser.currency = 'S/.'; }
else if ( country_curr == "Egypt" ){ this.newUser.currency = 'E£'; }
else if ( country_curr == "El Salvador" ){ this.newUser.currency = '₡'; }
else if ( country_curr == "Equatorial Guinea" ){ this.newUser.currency = 'FCFA'; }
else if ( country_curr == "Eritrea" ){ this.newUser.currency = 'Nkf'; }
else if ( country_curr == "Estonia" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Ethiopia" ){ this.newUser.currency = 'Br'; }
else if ( country_curr == "Falkland Islands (Malvinas)" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Faroe Islands" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Fiji" ){ this.newUser.currency = 'FJ$'; }
else if ( country_curr == "Finland" ){ this.newUser.currency = 'mk'; }
else if ( country_curr == "France" ){ this.newUser.currency = '€'; }
else if ( country_curr == "French Guiana" ){ this.newUser.currency = '€'; }
else if ( country_curr == "French Polynesia" ){ this.newUser.currency = '₣'; }
else if ( country_curr == "French Southern Territories" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Gabon" ){ this.newUser.currency = 'FCFA'; }
else if ( country_curr == "Gambia" ){ this.newUser.currency = 'D'; }
else if ( country_curr == "Georgia" ){ this.newUser.currency = 'GEL'; }
else if ( country_curr == "Germany" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Ghana" ){ this.newUser.currency = 'GH₵'; }
else if ( country_curr == "Gibraltar" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Greece" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Greenland" ){ this.newUser.currency = 'Kr.'; }
else if ( country_curr == "Grenada" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Guadeloupe" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Guam" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Guatemala" ){ this.newUser.currency = 'Q'; }
else if ( country_curr == "Guernsey" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Guinea" ){ this.newUser.currency = 'FG'; }
else if ( country_curr == "Guinea-Bissau" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Guyana" ){ this.newUser.currency = 'G$'; }
else if ( country_curr == "Haiti" ){ this.newUser.currency = 'G'; }
else if ( country_curr == "Heard Island and McDonald Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Holy See (Vatican City State)" ){ this.newUser.currency = '₤'; }
else if ( country_curr == "Honduras" ){ this.newUser.currency = 'HNL'; }
else if ( country_curr == "Hong Kong" ){ this.newUser.currency = 'HK$'; }
else if ( country_curr == "Hungary" ){ this.newUser.currency = 'Ft'; }
else if ( country_curr == "Iceland" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "India" ){ this.newUser.currency = '₹'; }
else if ( country_curr == "Indonesia" ){ this.newUser.currency = 'Rp'; }
else if ( country_curr == "Islamic Republic of Iran" ){ this.newUser.currency = 'IRR'; }
else if ( country_curr == "Iraq" ){ this.newUser.currency = 'د.ع'; }
else if ( country_curr == "Ireland" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Isle of Man" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Israel" ){ this.newUser.currency = '₪'; }
else if ( country_curr == "Italy" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Jamaica" ){ this.newUser.currency = 'J$'; }
else if ( country_curr == "Japan" ){ this.newUser.currency = '¥'; }
else if ( country_curr == "Jersey" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Jordan" ){ this.newUser.currency = 'د.ا'; }
else if ( country_curr == "Kazakhstan" ){ this.newUser.currency = '₸'; }
else if ( country_curr == "Kenya" ){ this.newUser.currency = 'KSh'; }
else if ( country_curr == "Kiribati" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Democratic People's Republic of Korea" ){ this.newUser.currency = '₩'; }
else if ( country_curr == "Republic of Korea" ){ this.newUser.currency = '₩'; }
else if ( country_curr == "Kuwait" ){ this.newUser.currency = 'د.ك'; }
else if ( country_curr == "Kyrgyzstan" ){ this.newUser.currency = 'лв'; }
else if ( country_curr == "Lao People's Democratic Republic" ){ this.newUser.currency = '₭'; }
else if ( country_curr == "Latvia" ){ this.newUser.currency = 'LVL'; }
else if ( country_curr == "Lebanon" ){ this.newUser.currency = 'ل.ل'; }
else if ( country_curr == "Lesotho" ){ this.newUser.currency = 'L'; }
else if ( country_curr == "Liberia" ){ this.newUser.currency = 'L$'; }
else if ( country_curr == "Libyan Arab Jamahiriya" ){ this.newUser.currency = 'LD'; }
else if ( country_curr == "Liechtenstein" ){ this.newUser.currency = 'CHF'; }
else if ( country_curr == "Lithuania" ){ this.newUser.currency = 'Lt'; }
else if ( country_curr == "Luxembourg" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Macao" ){ this.newUser.currency = 'MOP$'; }
else if ( country_curr == "The Former Yugoslav Republic of Macedonia" ){ this.newUser.currency = 'den'; }
else if ( country_curr == "Madagascar" ){ this.newUser.currency = 'Ar'; }
else if ( country_curr == "Malawi" ){ this.newUser.currency = 'K'; }
else if ( country_curr == "Malaysia" ){ this.newUser.currency = 'RM'; }
else if ( country_curr == "Maldives" ){ this.newUser.currency = 'Rf'; }
else if ( country_curr == "Mali" ){ this.newUser.currency = 'MAF'; }
else if ( country_curr == "Malta" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Marshall Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Martinique" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Mauritania" ){ this.newUser.currency = 'MRU'; }
else if ( country_curr == "Mauritius" ){ this.newUser.currency = '₨'; }
else if ( country_curr == "Mayotte" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Mexico" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Federated States of Micronesia" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Republic of Moldova" ){ this.newUser.currency = 'L'; }
else if ( country_curr == "Monaco" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Mongolia" ){ this.newUser.currency = '₮'; }
else if ( country_curr == "Montenegro" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Montserrat" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Morocco" ){ this.newUser.currency = 'MAD'; }
else if ( country_curr == "Mozambique" ){ this.newUser.currency = 'MT'; }
else if ( country_curr == "Myanmar" ){ this.newUser.currency = 'K'; }
else if ( country_curr == "Namibia" ){ this.newUser.currency = 'N$'; }
else if ( country_curr == "Nauru" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Nepal" ){ this.newUser.currency = 'Rs'; }
else if ( country_curr == "Netherlands" ){ this.newUser.currency = 'ANG'; }
else if ( country_curr == "Netherlands Antilles" ){ this.newUser.currency = 'NAf'; }
else if ( country_curr == "New Caledonia" ){ this.newUser.currency = '₣'; }
else if ( country_curr == "New Zealand" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Nicaragua" ){ this.newUser.currency = 'C$'; }
else if ( country_curr == "Niger" ){ this.newUser.currency = 'XOF'; }
else if ( country_curr == "Nigeria" ){ this.newUser.currency = '₦'; }
else if ( country_curr == "Niue" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Norfolk Island" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Northern Mariana Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Norway" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Oman" ){ this.newUser.currency = 'ر.ع.'; }
else if ( country_curr == "Pakistan" ){ this.newUser.currency = '₨'; }
else if ( country_curr == "Palau" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Occupied Palestinian Territory" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Panama" ){ this.newUser.currency = 'B/'; }
else if ( country_curr == "Papua New Guinea" ){ this.newUser.currency = 'K'; }
else if ( country_curr == "Paraguay" ){ this.newUser.currency = '₲'; }
else if ( country_curr == "Peru" ){ this.newUser.currency = 'S/'; }
else if ( country_curr == "Philippines" ){ this.newUser.currency = '₱'; }
else if ( country_curr == "Pitcairn" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Poland" ){ this.newUser.currency = 'zł'; }
else if ( country_curr == "Portugal" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Puerto Rico" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Qatar" ){ this.newUser.currency = 'QR'; }
else if ( country_curr == "Reunion" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Romania" ){ this.newUser.currency = 'lei'; }
else if ( country_curr == "Russian Federation" ){ this.newUser.currency = '₽'; }
else if ( country_curr == "Rwanda" ){ this.newUser.currency = 'FRw'; }
else if ( country_curr == "Saint Barthélemy" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Saint Helena" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Saint Kitts and Nevis" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Saint Lucia" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Saint Martin" ){ this.newUser.currency = 'ƒ'; }
else if ( country_curr == "Saint Pierre and Miquelon" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Saint Vincent and the Grenadines" ){ this.newUser.currency = 'X$'; }
else if ( country_curr == "Samoa" ){ this.newUser.currency = '$'; }
else if ( country_curr == "San Marino" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Sao Tome and Principe" ){ this.newUser.currency = 'Db'; }
else if ( country_curr == "Saudi Arabia" ){ this.newUser.currency = '﷼'; }
else if ( country_curr == "Senegal" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Serbia" ){ this.newUser.currency = 'din'; }
else if ( country_curr == "Seychelles" ){ this.newUser.currency = 'SCR'; }
else if ( country_curr == "Sierra Leone" ){ this.newUser.currency = 'Le'; }
else if ( country_curr == "Singapore" ){ this.newUser.currency = 'S$'; }
else if ( country_curr == "Slovakia" ){ this.newUser.currency = 'SKK'; }
else if ( country_curr == "Slovenia" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Solomon Islands" ){ this.newUser.currency = 'Si$'; }
else if ( country_curr == "Somalia" ){ this.newUser.currency = 'Sh.so.'; }
else if ( country_curr == "South Africa" ){ this.newUser.currency = 'R'; }
else if ( country_curr == "South Georgia and the South Sandwich Islands" ){ this.newUser.currency = '£'; }
else if ( country_curr == "Spain" ){ this.newUser.currency = '€'; }
else if ( country_curr == "Sri Lanka" ){ this.newUser.currency = 'Rs'; }
else if ( country_curr == "Sudan" ){ this.newUser.currency = '£SD'; }
else if ( country_curr == "Suriname" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Svalbard and Jan Mayen" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Swaziland" ){ this.newUser.currency = 'L'; }
else if ( country_curr == "Sweden" ){ this.newUser.currency = 'kr'; }
else if ( country_curr == "Switzerland" ){ this.newUser.currency = 'CHf'; }
else if ( country_curr == "Syrian Arab Republic" ){ this.newUser.currency = 'LS'; }
else if ( country_curr == "Taiwan, Province Of China" ){ this.newUser.currency = 'NT$'; }
else if ( country_curr == "Tajikistan" ){ this.newUser.currency = 'SM'; }
else if ( country_curr == "United Republic of Tanzania" ){ this.newUser.currency = 'TSh'; }
else if ( country_curr == "Thailand" ){ this.newUser.currency = '฿)'; }
else if ( country_curr == "Timor-Leste" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Togo" ){ this.newUser.currency = 'CFA'; }
else if ( country_curr == "Tokelau" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Tonga" ){ this.newUser.currency = 'T$'; }
else if ( country_curr == "Trinidad and Tobago" ){ this.newUser.currency = 'TT$'; }
else if ( country_curr == "Tunisia" ){ this.newUser.currency = 'د.ت'; }
else if ( country_curr == "Turkey" ){ this.newUser.currency = '₺'; }
else if ( country_curr == "Turkmenistan" ){ this.newUser.currency = 'T'; }
else if ( country_curr == "Turks and Caicos Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Tuvalu" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Uganda" ){ this.newUser.currency = 'USh'; }
else if ( country_curr == "Ukraine" ){ this.newUser.currency = '₴'; }
else if ( country_curr == "United Arab Emirates" ){ this.newUser.currency = 'د.إ'; }
else if ( country_curr == "United Kingdom" ){ this.newUser.currency = '£'; }
else if ( country_curr == "United States" ){ this.newUser.currency = '$'; }
else if ( country_curr == "United States Minor Outlying Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Uruguay" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Uzbekistan" ){ this.newUser.currency = 'лв'; }
else if ( country_curr == "Vanuatu" ){ this.newUser.currency = 'VT'; }
else if ( country_curr == "Venezuela" ){ this.newUser.currency = 'Bs.'; }
else if ( country_curr == "Vietnam" ){ this.newUser.currency = '₫'; }
else if ( country_curr == "British, Virgin Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "U.S., Virgin Islands" ){ this.newUser.currency = '$'; }
else if ( country_curr == "Wallis And Futuna" ){ this.newUser.currency = 'Fr'; }
else if ( country_curr == "Western Sahara" ){ this.newUser.currency = 'د.م.'; }
else if ( country_curr == "Yemen" ){ this.newUser.currency = '﷼'; }
else if ( country_curr == "Zambia" ){ this.newUser.currency = 'ZK'; }
else if ( country_curr == "Zimbabwe" ){ this.newUser.currency = 'Z$'; }
},
//---- Notices: BEFORE LOGIN
// For Empty Input Fields - Sign In; Sign Up & Others
swalEmptyNotice: function(field){
fieldAlert = field.split('_').join(' ').toUpperCase(); // convert to uppercase
swal({
html: `Sorry! <b>${fieldAlert}</b> cannot be left empty, please try again.`,
type: "error",
confirmButtonColor: "rgb(0, 104, 0)",
confirmButtonText: "Try again!",
allowOutsideClick: false,
allowEscapeKey: false,
padding: '2em'
}).then(function(){
document.getElementById(`${field}`).focus(); // send focus to input field
});
},
// Invalid Email & File Type
swalIEFTNotice: function(field){
fieldAlert = field.split('_').join(' ').toUpperCase(); // convert to uppercase
swal({
//title: 'Are you sure you want to delete your account?',
html: `Sorry! <b>${fieldAlert}</b> is not valid, please try again.`,
type: "error",
confirmButtonColor: "rgb(0, 104, 0)",
confirmButtonText: 'Oops, sorry!',
allowOutsideClick: false,
allowEscapeKey: false,
padding: '2em'
});
},
toFormData: function(obj){
var form_data = new FormData();
for(var key in obj){
form_data.append(key, obj[key]);
}
return form_data;
},
}
});
</script>
<script>
</script>
</body>
</html>
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E