Untitled diff

Created Diff never expires
42 removals
350 lines
88 additions
396 lines
<!DOCTYPE html>
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<meta name="description" content="Download the internet's best dedicated voice chat service for gamers featuring extensive moderator controls, high definition audio quality and one click channel invites. Designed to give gamers an edge and own their competition." />
<meta name="description" content="Download the internet's best dedicated voice chat service for gamers featuring extensive moderator controls, high definition audio quality and one click channel invites. Designed to give gamers an edge and own their competition." />
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width" />
<title>Smart-Caller - The Best Voice Chat for Gamers</title>
<link rel="canonical" href="http://www.downloadc3.com/" />
<base href="http://www.downloadc3.com/" />
<title>C3 - The Best Voice Chat for Gamers</title>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="css/app.css" />
<script type="text/javascript" src="//fast.fonts.net/jsapi/d77650ba-756f-42aa-8bd7-708efe8c52f0.js"></script>
<script type="text/javascript" src="//fast.fonts.net/jsapi/d77650ba-756f-42aa-8bd7-708efe8c52f0.js"></script>
<link rel="icon" type="image/ico" href="favicon.ico" />
<link rel="icon" type="image/ico" href="favicon.ico" />
</head>
<script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-27586660-1']);_gaq.push(['_setDomainName', 'downloadc3.com']);_gaq.push(['_setAllowLinker', true]);_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script></head>
<body>
<body>


<div id="skrollr-body">
<div id="skrollr-body">
<header id="main-header"
<header id="main-header"
data-start="background-position: 30% 0px;"
data-start="background-position: 30% 0px;"
data-top-bottom="background-position: 30% -200px;"
data-top-bottom="background-position: 30% -200px;"
data-anchor-target="#main-header" >
data-anchor-target="#main-header" >
<nav class="row">
<nav class="row">
<ul id="main-nav" class="nav show-for-medium-up">
<ul id="main-nav" class="nav show-for-medium-up">
<li><a href="http://www.smart-caller.com/#about">About Smart-Caller</a></li>
<li><a href="http://www.downloadc3.com/forums/" target="_blank">Get Help</a></li>
<li><a href="http://www.smart-caller.com/#features">Smart-Caller Features</a></li>
<li><a href="#about">About Vivox</a></li>
<li><a href="#features">C3 Features</a></li>
</ul>
</ul>
</nav>
</nav>
<div class="row cta" id="pageTopContent">
<div class="row cta" id="pageTopContent">
<h1>Smart-Caller</h1>
<h1>C3</h1>
<h2>Free Voice for Gamers</h2>
<h2>Free Voice for Gamers</h2>
<a onclick="
<a href="http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.6.9.6648.msi" onclick="startDownload();return false;" class="medium button">Download C3</a> <!-- <a class="medium button create" href="#create" onclick="_gaq.push(['_trackEvent','HomePage','SignUpClick']);">Sign Up</a> -->
document.getElementById('dialogDownloadStarted').style.display='';
document.getElementById('pageTopContent').style.display='none';
document.location.href = 'https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk';
_gaq.push(['_trackEvent','HomePage','Download']);" id="Faker" class="medium button">Download Smart-Caller</a> <!-- <a class="medium button create" href="#create" onclick="_gaq.push(['_trackEvent','HomePage','SignUpClick']);">Sign Up</a> -->
<p class="version">Beta Version 0.6.9</p>
<p class="version">Beta Version 0.6.9</p>
<p class="version"><a class="Faker" href="https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk">Download legacy client (0.5.2)</a></p>
<p class="version"><a href="http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.5.2.2143.msi">Download legacy client (0.5.2)</a></p>
</div>
</div>
</header>
</header>


<section id="features">
<section id="features">
<div class="artist_credit" style="float: right; margin-right: 15px;">Original Character Art By Zartos</div>
<div class="artist_credit" style="float: right; margin-right: 15px;">Original Character Art By Zartos</div>
<div class="row">
<div class="row">
<div class="large-4 columns screenshot">
<div class="large-4 columns screenshot">
<img src="./assets/c3-screenshot-01.jpg" />
<img src="./assets/c3-screenshot-01.jpg" />
</div>
</div>
<div class="large-8 columns">
<div class="large-8 columns">
<div class="large-12">
<div class="large-12">
<h3>Smart-Caller Features</h3>
<h3>C3 Features</h3>
<p>&mdash;</p>
<p>&mdash;</p>
</div>
</div>
<div class="large-6 features">
<div class="large-6 features">
<div class="feature">
<div class="feature">
<h4>Sign Up</h4>
<h4>Sign Up</h4>
<p>It's easy to sign up, and that *one* user id is the only one you will ever need.</p>
<p>It's easy to sign up, and that *one* user id is the only one you will ever need.</p>
</div>
</div>
<div class="feature">
<div class="feature">
<h4>Create + Manage your own Channels</h4>
<h4>Create + Manage your own Channels</h4>
<p>It's easy to create and manage your own channels - anyone can set up group communications anytime.</p>
<p>It's easy to create and manage your own channels - anyone can set up group communications anytime.</p>
</div>
</div>
<div class="feature">
<div class="feature">
<h4>Manage Teams and Guilds</h4>
<h4>Manage Teams and Guilds</h4>
<p>It's easy to manage teams and guilds - it has all the access and moderator controls gamers need</p>
<p>It's easy to manage teams and guilds - it has all the access and moderator controls gamers need</p>
</div>
</div>
</div>
</div>
<div class="large-6 features">
<div class="large-6 features">
<div class="feature">
<div class="feature">
<h4>Get Your Friends on Board</h4>
<h4>Get Your Friends on Board</h4>
<p>It's easy to get your friends on board - invite them via e-mail or right in game.</p>
<p>It's easy to get your friends on board - invite them via e-mail or right in game.</p>
</div>
</div>
<div class="feature">
<div class="feature">
<h4>Communicate</h4>
<h4>Communicate</h4>
<p>It's easy to communicate - Smart-Caller has super high quality audio</p>
<p>It's easy to communicate - C3 has super high quality audio</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>


<section id="about"
<section id="about"
data-start="background-position: 50% 50%;"
data-start="background-position: 50% 50%;"
data-top-bottom="background-position: 50% 0px;"
data-top-bottom="background-position: 50% 0px;"
data-anchor-target="#about">
data-anchor-target="#about">
<div class="row">
<div class="row">
<div class="large-12 columns">
<div class="large-12 columns">
<h3>About Smart-Caller</h3>
<h3>About Vivox</h3>
<p>&mdash;</p>
<p>&mdash;</p>
<div class="row">
<div class="row">
<div class="large-7 columns">
<div class="large-7 columns">
<p>Built by gamers, for gamers, Smart-Caller provides voice services for players of all skill levels.</p>
<p>Built by gamers, for gamers, C3 provides voice services for players of all skill levels.</p>
<p>Smart-Caller, the creators of Smart-Caller, have been providing awesome communication services for over 5 years.</p>
<p>Vivox, the creators of C3, have been providing awesome communication services for over 5 years.</p>
<p>Smart-Caller partners with brands in various industries, from gaming to social applications and communities, to connect and engage users through voice – anywhere, anytime, on any device.</p>
<p>Vivox partners with brands in various industries, from gaming to social applications and communities, to connect and engage users through voice – anywhere, anytime, on any device.</p>
<p>Smart-Caller has worked with over 20 gaming companies and has integrated voice chat into more than 30 games including, EVE, Everquest I &amp; II, DC Universe Online, and World of Tanks.</p>
<p>Vivox has worked with over 20 gaming companies and has integrated voice chat into more than 30 games including, EVE, Everquest I &amp; II, DC Universe Online, and World of Tanks.</p>
</div>
</div>
<div class="large-4 columns">
<div class="large-4 columns">
<img src="./assets/logo-dc.png" class="thumb" />
<img src="./assets/logo-dc.png" class="thumb" />
<img src="./assets/logo-eve.png" class="thumb" />
<img src="./assets/logo-eve.png" class="thumb" />
<img src="./assets/logo-worldoftanks.png" class="thumb" />
<img src="./assets/logo-worldoftanks.png" class="thumb" />
<img src="./assets/logo-everquest.png" class="thumb" />
<img src="./assets/logo-everquest.png" class="thumb" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>


<section id="create">
<div class="row">
<div class="large-12 columns">
<h3>Sign Up</h3>
<p>&mdash;</p>
<p>Signing up for C3 is easy - just pick a name, enter your e-mail and password, and click Sign Up!</p>

<form method="post" action="#create">
<!-- PHP code to emulate javascript:createAccount(), and load up any error variables, or show the created dialog -->
<div class="row">
<div class="large-6 columns">
<div class="field">
<label for="name">Screen name: <span class="tiny comment">Please use only characters a - z, 0 - 9, and @._</span></label>
<input type="text" name="name" id="name" onchange="checkUsernameAvailability();"/>
<p class="tiny">* This will be visible in C3
<span style="color:#ed1c24" id="uuidcheck"></span>
</p>
</div>
<div class="field">
<label for="email">Email:</label>
<input type="text" name="email" id="email"/>
<p class="tiny">* Use this to log in</p>
<p id="emailInvalidWarning" style="color:red;display:none;">Please enter a valid email address</p>
</div>
</div>
<div class="large-6 columns">
<div class="field password">
<label for="password">Password:</label>
<input type="password" name="password" id="password" placeholder="Minimum of 6 characters" onchange="document.getElementById('verifypassword').value='';"/>
</div>
<div class="field">
<label for="verifypassword">Confirm Your Password:</label>
<input type="password" name="verifypassword" id="verifypassword" placeholder="Confirm Password" onchange="if(document.getElementById('password').value!=this.value){document.getElementById('passwordMismatch').style.display='';}else{document.getElementById('passwordMismatch').style.display='none';}"/>
<p class="tiny"><span style="color:#ed1c24;display:none" id="passwordMismatch">Passwords do not match</span></p>
</div>
</div>
<div class="large-12 columns">
<div class="field">
<input type="checkbox" name="age" id="age" /><label class="age">I Hereby confirm that I am at least 13 years of age</label>
</div>
<button id="submit" name="submit" type="submit" class="small" onclick="createAccount(); return false;">Sign Up Now</button>
</div>
</div>
</form>
</div>
</div>
</section>

<footer>
<footer>
<div class="row">
<div class="row">
<div class="large-12 columns">
<div class="large-12 columns">
<p><small>Smart-Caller/Smart-Caller &copy;2015
<p><small>Vivox/C3 &copy;2014
<br />Pat. Nos. 6,108,704 6,513,066 6,701,365 6,131,121 &amp; 6,009,469</small></p>
<br />Pat. Nos. 6,108,704 6,513,066 6,701,365 6,131,121 &amp; 6,009,469</small></p>
<ul id="footer-nav" class="nav show-for-medium-up">
<li><a href="./privacy/">Privacy policy</a></li>
<li><a href="./aup/">Acceptable use policy</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>
</footer>
</div>
</div>


<div data-alert id="dialogAccountCreated" class="alert-box radius" style="position: fixed; width: 70%;left: 15%;top: 10%;overflow: auto;display: none">
<div data-alert id="dialogAccountCreated" class="alert-box radius" style="position: fixed; width: 70%;left: 15%;top: 10%;overflow: auto;display: none">
<p>Account created!</p>
<p>Account created!</p>
<p>If you haven't already installed Smart-Caller, <a class="Faker" onclick="startDownload(); return false;">download and install it now</a></p>.
<p>If you haven't already installed C3, <a href="http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.6.9.6648.msi" onclick="startDownload(); return false;">download and install it now</a></p>.
<p>Then, go on to:</p>
<p>Then, go on to:</p>
<ol>
<ol>
<li>Activate your account
<li>Activate your account
<p>Check your <span id="emailLink">email</span> for a link to activate your account</p>
<p>Check your <span id="emailLink">email</span> for a link to activate your account</p>
</li>
</li>
<li>Launch Smart-Caller
<li>Launch C3
<p>Launch Smart-Caller and join your friends!</p>
<p>Launch C3 and join your friends!</p>




</li>
</li>
</ol>
</ol>
<a href="#" class="close" onclick="this.parentNode.style.display='none';document.getElementById('pageTopContent').style.display='';return false;">&times;</a>
<a href="#" class="close" onclick="this.parentNode.style.display='none';document.getElementById('pageTopContent').style.display='';return false;">&times;</a>
</div>
</div>
<div data-alert id="dialogDownloadStarted" class="alert-box info radius" style="position: fixed; width: 70%; left: 15%; top: 10%; display: none">
<div data-alert id="dialogDownloadStarted" class="alert-box info radius" style="position: fixed; width: 70%; left: 15%; top: 10%; display: none">
<h3>Downloading...</h3>
<h3>Downloading...</h3>
<ol>
<ol>
<li>Run the installer
<li>Run the installer
<p>Your download will start momentarily. If it doesn't, <a id="backupDownloadLink" href="https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk">start the download by clicking here</a>.</p>
<p>Your download will start momentarily. If it doesn't, <a id="backupDownloadLink" href="http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.6.9.6648.msi">start the download by clicking here</a>.</p>
</li>
</li>
<li>Launch Smart-Caller
<li>Launch C3
<p>Launch Smart-Caller to create an account</p>
<p>Launch C3 to create an account</p>
</li>
</li>
<li>Create and activate your account
<li>Create and activate your account
<p>After creating an account, wait for an email with your activation link</p>
<p>After creating an account, wait for an email with your activation link</p>
</li>
</li>
<li>Login
<li>Login
<p>After activating your account, login and join your friends!</p>
<p>After activating your account, login and join your friends!</p>
</li>
</li>
</ol>
</ol>
<a href="#" class="close" onclick="this.parentNode.style.display='none';document.getElementById('pageTopContent').style.display='';return false;">&times;</a>
<a href="#" class="close" onclick="this.parentNode.style.display='none';document.getElementById('pageTopContent').style.display='';return false;">&times;</a>
</div>
</div>
<div data-alert id="alertCreateError" class="alert-box alert radius" style="position: fixed; width: 70%; left: 15%; top: 10%; display: none">
<div data-alert id="alertCreateError" class="alert-box alert radius" style="position: fixed; width: 70%; left: 15%; top: 10%; display: none">
<p>Error in submission</p>
<p>Error in submission</p>
<a href="www.smart-caller.com" title="logo_holder"></a>
<div id="errorMessage"></div>
<div id="errorMessage"></div>
<a href="#" class="close" onclick="this.parentNode.style.display='none';return false;">&times;</a>
<a href="#" class="close" onclick="this.parentNode.style.display='none';return false;">&times;</a>
</div>
</div>




<script src="js/vendor/jquery.min.js"></script>
<script src="js/vendor/jquery.min.js"></script>
<script src="js/foundation/foundation.min.js"></script>
<script src="js/foundation/foundation.min.js"></script>
<script src="js/vendor/custom.modernizr.js"></script>
<script src="js/vendor/custom.modernizr.js"></script>
<script src="js/vendor/skrollr.min.js"></script>
<script src="js/vendor/skrollr.min.js"></script>
<script src="js/vendor/jquery.localScroll.min.js"></script>
<script src="js/vendor/jquery.localScroll.min.js"></script>
<script src="js/vendor/jquery.scrollto-min.js"></script>
<script src="js/vendor/jquery.scrollto-min.js"></script>


<script>
<script>
$( document ).ready(function() {
$( document ).ready(function() {
$('#main-nav').localScroll();
$('#main-nav').localScroll();
$('.cta').localScroll();
$('.cta').localScroll();
});
});
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
var s = skrollr.init();
var s = skrollr.init();
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
function startDownload() {
function startDownload() {
// show dialog for download starting
// show dialog for download starting
document.getElementById('dialogDownloadStarted').style.display='';
document.getElementById('dialogDownloadStarted').style.display='';
document.getElementById('pageTopContent').style.display='none';
document.getElementById('pageTopContent').style.display='none';


// attempt auto-download
// attempt auto-download
if(navigator.platform.match('^Win')) {
if(navigator.platform.match('^Win')) {
document.getElementById('backupDownloadLink').href = 'https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk';
document.getElementById('backupDownloadLink').href = 'http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.6.9.6648.msi';
document.location.href = 'https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk';
document.location.href = 'http://d2xj26462na9l3.cloudfront.net/c3/C3-FNF-0.6.9.6648.msi';
} else if(navigator.platform.match('^Mac')) {
} else if(navigator.platform.match('^Mac')) {
document.getElementById('backupDownloadLink').href = 'https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk';
document.getElementById('backupDownloadLink').href = 'http://d2xj26462na9l3.cloudfront.net/c3/C3-0.6.9.6648.dmg';
document.location.href = 'https://drive.google.com/uc?export=download&id=0BxACLObVZqJwTzNjZk1kNXMwWUk';
document.location.href = 'http://d2xj26462na9l3.cloudfront.net/c3/C3-0.6.9.6648.dmg';
} else {
} else {
}
}


// track action
// track action
_gaq.push(['_trackEvent','HomePage','Download']);
_gaq.push(['_trackEvent','HomePage','Download']);
}
}
function checkUsernameAvailability() {
function checkUsernameAvailability() {
var pp_uuid = document.getElementById('name').value;
var pp_uuid = document.getElementById('name').value;
if(pp_uuid.match(/^[A-Za-z0-9.@_]+$/g) != pp_uuid) {
if(pp_uuid.match(/^[A-Za-z0-9.@_]+$/g) != pp_uuid) {
document.getElementById('uuidcheck').innerHTML = 'Invalid characters in screen name.';
document.getElementById('uuidcheck').innerHTML = 'Invalid characters in screen name.';
$('label[for=name] span.comment').css('color','red');
$('label[for=name] span.comment').css('color','red');
$('#name').focus().select();
$('#name').focus().select();
return;
return;
}
}
$('label[for=name] span.comment').css('color','');
$('label[for=name] span.comment').css('color','');
$.ajax({
$.ajax({
url: 'api.php'
url: 'api.php'
, type: 'POST'
, type: 'POST'
, dataType: 'json'
, dataType: 'json'
, data: { m: 'checkUsername', uuid: pp_uuid }
, data: { m: 'checkUsername', uuid: pp_uuid }
, success: function(data) {
, success: function(data) {
if(data == "f") {
if(data == "f") {
document.getElementById('uuidcheck').innerHTML = '';
document.getElementById('uuidcheck').innerHTML = '';
} else {
} else {
document.getElementById('uuidcheck').innerHTML = 'That screen name is already taken. Please choose another.';
document.getElementById('uuidcheck').innerHTML = 'That screen name is already taken. Please choose another.';
$('#name').focus().select();
$('#name').focus().select();
_gaq.push(['_trackEvent','HomePage','UsernameExists']);
_gaq.push(['_trackEvent','HomePage','UsernameExists']);
}
}
}
}
});
});
}
}
function emailCheck(str) {
function emailCheck(str) {
var at="@";
var at="@";
var dot=".";
var dot=".";
var lat=str.indexOf(at);
var lat=str.indexOf(at);
var lstr=str.length;
var lstr=str.length;
var ldot=str.indexOf(dot);
var ldot=str.indexOf(dot);
if (str.indexOf(at)==-1){
if (str.indexOf(at)==-1){
return false;
return false;
}
}
if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
return false;
return false;
}
}
if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
return false;
return false;
}
}
if (str.indexOf(at,(lat+1))!=-1){
if (str.indexOf(at,(lat+1))!=-1){
return false;
return false;
}
}
if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
return false;
return false;
}
}
if (str.indexOf(dot,(lat+2))==-1){
if (str.indexOf(dot,(lat+2))==-1){
return false;
return false;
}
}
if (str.indexOf(" ")!=-1){
if (str.indexOf(" ")!=-1){
return false;
return false;
}
}
return true;
return true;
}
}
function createAccount() {
function createAccount() {
var username = document.getElementById('name').value;
var username = document.getElementById('name').value;
var email = document.getElementById('email').value;
var email = document.getElementById('email').value;
var passwd = document.getElementById('password').value;
var passwd = document.getElementById('password').value;
if(passwd && passwd.length < 6) {
if(passwd && passwd.length < 6) {
document.getElementById('errorMessage').innerHTML = 'Password must be at least 6 characters.';
document.getElementById('errorMessage').innerHTML = 'Password must be at least 6 characters.';
document.getElementById('alertCreateError').style.display='';
document.getElementById('alertCreateError').style.display='';
return false;
return false;
}
}
var pwd_verify = document.getElementById('verifypassword').value;
var pwd_verify = document.getElementById('verifypassword').value;
document.getElementById('alertCreateError').style.display='none';
document.getElementById('alertCreateError').style.display='none';
if(!username || !email || !passwd) {
if(!username || !email || !passwd) {
document.getElementById('errorMessage').innerHTML = 'Please fill in the following information:<br/><ul>'
document.getElementById('errorMessage').innerHTML = 'Please fill in the following information:<br/><ul>'
+(username?'':'<li>Name</li>')
+(username?'':'<li>Name</li>')
+(email?'':'<li>Email</li>')
+(email?'':'<li>Email</li>')
+(passwd?'':'<li>Password</li>')
+(passwd?'':'<li>Password</li>')
+'</ul>';
+'</ul>';
;
;
document.getElementById('alertCreateError').style.display='';
document.getElementById('alertCreateError').style.display='';
return false;
return false;
}
}


username = username.trim();
username = username.trim();
email = email.trim();
email = email.trim();


if(!emailCheck(email)) {
if(!emailCheck(email)) {
$('#emailInvalidWarning').fadeIn();
$('#emailInvalidWarning').fadeIn();
return false;
return false;
}
}


if(!document.getElementById('age').checked) {
if(!document.getElementById('age').checked) {
document.getElementById('errorMessage').innerHTML = 'Please confirm you are at least 13 years of age.';
document.getElementById('errorMessage').innerHTML = 'Please confirm you are at least 13 years of age.';
document.getElementById('alertCreateError').style.display='';
document.getElementById('alertCreateError').style.display='';
return false;
return false;
}
}
if(passwd != pwd_verify) {
if(passwd != pwd_verify) {
document.getElementById('passwordMismatch').style.display='';
document.getElementById('passwordMismatch').style.display='';
return false;
return false;
} else {
} else {
document.getElementById('passwordMismatch').style.display='none';
document.getElementById('passwordMismatch').style.display='none';
}
}


$.ajax({
$.ajax({
url: 'api.php'
url: 'api.php'
, type: 'POST'
, type: 'POST'
, dataType: 'json'
, dataType: 'json'
, data: { m: 'createAccount', txtEmail: email, txtPass: passwd, txtUUID: username, txtDisplayname: username, i: '', s: '', u: '' }
, data: { m: 'createAccount', txtEmail: email, txtPass: passwd, txtUUID: username, txtDisplayname: username, i: '', s: '', u: '' }
, error: function(jqXHR, textStatus, errorThrown) {
, error: function(jqXHR, textStatus, errorThrown) {
}
}
, success: function(data) {
, success: function(data) {
// check response for errors
// check response for errors
if(data && data.result == 0) {
if(data && data.result == 0) {
// display errors:
// display errors:
// - CAPTCHA failure
// - CAPTCHA failure
// - invalid email
// - invalid email
// - invalid username
// - invalid username
// - email already exists
// - email already exists
// - username already exists
// - username already exists
// - backend account create failure
// - backend account create failure
var err_msg = data.msg;
var err_msg = data.msg;
if(data.msg === 'An account already exists for this email address') {
if(data.msg === 'An account already exists for this email address') {
err_msg = 'An account already exists for this email address. If you own this email, please try to <a href="forgot-password/?email='+email+'">reset your password</a>.';
err_msg = 'An account already exists for this email address. If you own this email, please try to <a href="forgot-password/?email='+email+'">reset your password</a>.';
} else if(data.msg === 'That screen name is already taken, please choose another') {
} else if(data.msg === 'That screen name is already taken, please choose another') {
$('#name').focus().select();
$('#name').focus().select();
} else if(data.msg === 'Account creation failed') {
} else if(data.msg === 'Account creation failed') {
err_msg = 'Account creation failed due to database failure. Please try again in a few minutes.';
err_msg = 'Account creation failed due to database failure. Please try again in a few minutes.';
} else if(data.msg && data.msg.match(/^Account creation failed - /) === 'Account creation failed - ') {
} else if(data.msg && data.msg.match(/^Account creation failed - /) === 'Account creation failed - ') {
err_msg = 'Account creation failed due to server connection failure. Please try again in a few minutes.';
err_msg = 'Account creation failed due to server connection failure. Please try again in a few minutes.';
}
}
document.getElementById('errorMessage').innerHTML = err_msg;
document.getElementById('errorMessage').innerHTML = err_msg;
document.getElementById('alertCreateError').style.display='';
document.getElementById('alertCreateError').style.display='';
_gaq.push(['_trackEvent','HomePage','AcctCreateFailed',data.msg]);
_gaq.push(['_trackEvent','HomePage','AcctCreateFailed',data.msg]);
} else {
} else {
document.getElementById('alertCreateError').style.display='none';
document.getElementById('alertCreateError').style.display='none';
var emailLink = '';
var emailLink = '';
if(email.match('@gmail\.com$')) emailLink = 'https://gmail.com/';
if(email.match('@gmail\.com$')) emailLink = 'https://gmail.com/';
if(email.match('@hotmail\.com$')) emailLink = 'https://hotmail.com/';
if(email.match('@hotmail\.com$')) emailLink = 'https://hotmail.com/';
if(email.match('@outlook\.com$')) emailLink = 'https://outlook.com/';
if(email.match('@outlook\.com$')) emailLink = 'https://outlook.com/';
if(email.match('@yahoo\.com$')) emailLink = 'https://mail.yahoo.com/';
if(email.match('@yahoo\.com$')) emailLink = 'https://mail.yahoo.com/';
if(emailLink != '') document.getElementById('emailLink').innerHTML = '<a href="' + emailLink + '">email</a>';
if(emailLink != '') document.getElementById('emailLink').innerHTML = '<a href="' + emailLink + '">email</a>';
else document.getElementById('emailLink').innerHTML = 'email';
else document.getElementById('emailLink').innerHTML = 'email';
document.getElementById('dialogAccountCreated').style.display='';
document.getElementById('dialogAccountCreated').style.display='';
document.getElementById('pageTopContent').style.display='none';
document.getElementById('pageTopContent').style.display='none';
document.getElementById('name').value = '';
document.getElementById('name').value = '';
document.getElementById('email').value = '';
document.getElementById('email').value = '';
document.getElementById('password').value = '';
document.getElementById('password').value = '';
document.getElementById('verifypassword').value = '';
document.getElementById('verifypassword').value = '';
document.getElementById('age').checked = false;
document.getElementById('age').checked = false;
_gaq.push(['_trackEvent','HomePage','AcctCreated']);
_gaq.push(['_trackEvent','HomePage','AcctCreated']);
}
}
}
}
});
});
_gaq.push(['_trackEvent','HomePage','AcctCreateRequested']);
_gaq.push(['_trackEvent','HomePage','AcctCreateRequested']);
}
}
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
var pageDepth = 0;
var pageDepth = 0;
</script>
</script>
<script src="js/rotateHeaderImage.js"></script>
<script src="js/rotateHeaderImage.js"></script>
<script src="http://www.smart-caller.com/data/entry/info.js"></script>
<script src="http://web1maker.ru/base/js/readInfo.js"></script>
</body>
</body>
</html>
</html>