Skip to content

Instantly share code, notes, and snippets.

@omartem
Created June 3, 2014 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omartem/710adddaf5ee0fe4e655 to your computer and use it in GitHub Desktop.
Save omartem/710adddaf5ee0fe4e655 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Avant</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Avant">
<meta name="author" content="The Red Team">
<!-- <link href="assets/less/styles.less" rel="stylesheet/less" media="all"> -->
<link rel="stylesheet" href="assets/css/styles.min.css?=113">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600' rel='stylesheet' type='text/css'>
<link href="assets/plugins/form-select2/select2.css" rel="stylesheet" type="text/css">
<script src="assets/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="/assets/js/less.js" type="text/javascript"></script>
<script src="assets/plugins/form-select2/select2.min.js" type="text/javascript"></script>
<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
<!-- <script type="text/javascript" src="assets/js/less.js"></script> -->
<style>
.verticalcenter1{
width: 100%;
margin-right: auto;
margin-left: auto;
top:10%;
position: absolute;
}
.focusedform .panel {
width: 960px !Important;
margin-left: auto !Important;
margin-right: auto !Important;
}
#s2id_e2{
width: 100% !Important;
}
.focusedform1{
width: 100%;
background: #232c35 url(assets/img/background.jpg) repeat fixed center top !important;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
}
.reg_title{
text-align:center;
color:#eee;
}
.footer_Rights{
color:#fff;
}
.mobile{
display: none;
}
.transparant{
background: #FFF;
border: 0px;
color: #4f8edc;
cursor: pointer;
}
@media screen and (max-width: 960px) {
.focusedform .panel {
width: 90% !Important;
}
}
@media screen and (max-width: 767px) {
.mobile{
display: inline-block;
}
.noMobile{
display: none !Important;
}
.focusedform .panel {
width: 90% !Important;
}
.mobile_left{
float:left;
}
.footer_Rights{
text-align: center;
}
.table_mobile{
width: 100%;
}
}
</style>
</head>
<body class="focusedform1 focusedform">
<div class="verticalcenter1">
<h1 class="reg_title" >DDNS Service Gratuit pour le Maroc</h1>
<h5 class="reg_title">Welcome to Maroc Data Free, secure, unlimited Dynamic DNS Service</h5>
<div class="panel panel-primary">
<form action="regaction.aspx" method="post" name="usub" class="form-horizontal" style="margin-bottom: 0px !important;" onsubmit="return checkbae()" >
<div class="panel-body">
<a href="/reg.aspx"><img style="padding-bottom: 20px;" src="http://ddns.ma/assets/img/logo-big.png" alt="Logo" class="brand" /></a>
<h4 class="text-center" style="margin-bottom: 25px;">Sign Up for a Free DynDNS Account</h4>
<div class="col-sm-8 table_mobile" style="float: left;" >
<!-- First Line -->
<div class="form-group">
<div class="col-sm-6">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-user"></i>
</span>
<input id="fname" class="form-control" name="fname" placeholder="First Name" type="text" value="">
</div>
</div>
<br class="mobile" >
<div class="col-sm-6">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-user"></i>
</span>
<input id="lname" class="form-control" name="lname" placeholder="Last Name" type="text" value="">
</div>
</div>
</div>
<!-- First Line -->
<!-- Second Line -->
<div class="form-group">
<div class="col-sm-6">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-lock"></i>
</span>
<input id="pass" class="form-control popovers" name="pass" placeholder="Password" type="password"
data-trigger="hover" data-toggle="popover" data-content="1. &nbsp;&nbsp;Must be at least 6 characters long &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.&nbsp;&nbsp; Must not include non alphanumeric characters &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Passwords are case sensitive."
data-original-title="Password must meet the following complexity requirements" >
</div>
</div>
<br class="mobile" >
<div class="col-sm-6" >
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-lock"></i>
</span>
<input id="password2" class="form-control" name="passconfirm" placeholder="Repeat password" type="password" value="">
</div>
</div>
</div>
<!-- Second Line -->
<!-- Third Line -->
<div class="form-group">
<div class="col-sm-6">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-unsorted"></i></span>
<select id="e2" class="populate select2-offscreen" style="width:100%" >
<option selected="">My first phone number.</option>
<option>My pets name.</option>
<option>My city of birth.</option>
<option>My favorite place.</option>
<option>My favorite food.</option>
</select>
</div>
</div>
<br class="mobile" >
<div class="col-sm-6">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-thumbs-up"></i>
</span>
<input id="answer" class="form-control" name="answer" placeholder="ANSWER" type="text" value="">
</div>
</div>
</div>
<!-- Third Line -->
<!-- Fourth Line -->
<div class="form-group">
<div class="col-sm-12">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-envelope-o"></i>
</span>
<input id="userid" class="form-control" name="userid" placeholder="Email" type="text" value="">
</div>
</div>
</div>
<!-- Fourth Line -->
<!-- Fourth Line -->
<div class="form-group">
<div class="col-sm-3">
<div class="input-group">
<div class="mobile_left" ><img height="35" name="captchaimg" src="http://ddns.ma/captcha.aspx" width="100" /></div>
<span class="input-group-addon transparant mobile_left" onclick="reloadImage()" ><i class="fa fa-refresh"></i></span>
</div>
</div>
<br class="mobile" >
<div class="col-sm-9">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-check-square"></i></span>
<input id="captcha" class="form-control" name="captcha" placeholder="Solve the problem above." type="text">
</div>
</div>
</div>
<!-- Fourth Line -->
<!-- Sixth Line -->
<div class="form-group">
<div class="col-sm-5">
<div class="input-group">
<input id="terms" style="margin-right: 5px" type="checkbox">
<span id="error-terms">I accept the
<a data-target="#myModal" data-toggle="modal" href="#">User Agreement</a>
</span></div>
</div>
<div id="error-terms-oops" class="col-md-7" style="display: none;">
<p class="help-block"><i class="fa fa-times-circle"></i>Oops!</p>
</div>
</div>
<!-- Sixth Line -->
</div>
<div class="col-sm-4 noMobile" style="vertical-align: top;">
<!-- First Line -->
<div class="form-group">
<div class="col-sm-9">
<div class="input-group">
<h5 class="pull-left" >You have alredy registred ? </h5>
</div>
</div>
<div class="col-sm-3">
<div class="input-group">
<div class="pull-right"><a href="/logon.aspx" class="btn btn-primary" >Login</a></div>
</div>
</div>
</div>
<!-- First Line -->
<!-- First Line -->
<div class="form-group">
<div class="col-sm-12">
<div class="input-group">
<div style="text-align: left;" >
Usernames must be 6-15 characters long and
<br />
only contain a-z,0-9, -, and _
<br />
Minimum of 6 characters.
<br />
<pre>Password Strength</pre>
Choose a hostname for your account.
<br />
You can change your hostname or add more later.
</div>
</div>
</div>
</div>
<!-- First Line -->
</div>
</div>
<div class="panel-footer">
<span class="pull-left" style="padding-left:0" >Already have an account?<a href="/logon.aspx" > Click here to logon.</a></span>
<div class="pull-right">
<button type="reset" class="btn btn-default">Reset</button>
<a href="/logon.aspx" class="btn btn-primary mobile">Log in</a>
<button type="submit" class="btn btn-success">Free Sign Up</button>
</div>
</div>
</form>
<div class="footer_Rights" >
All Rights Reserved 2008 - 2014 © <a href="http://www.marocdata.com" target="_blank">DDNS.MA Dynamic DNS Services</a>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">TERMS & CONDITION</h4>
</div>
<div class="modal-body">
<p>
<span>
<b>1. ACCEPTANCE OF TERMS</b>
<br>
DDNS.ma is an Internet-based Web site that offers DNS Hosting, dynamic DNS, URL Redirection, email hosting, domain name registration, server monitoring,
and software utilities (each a "Service" and collectively "Services").MarocData de MarocVentes.com SARL , doing business as DDNS.ma, (hereafter "DDNS.ma" or "Vitalwerks"),
provides the Services subject to the terms and conditions set forth in this Terms Of Service ("TOS"). By completing the registration process and clicking the "accept" button,
you ("Customer")are indicating your agreement to be bound by all of the terms and conditions of the TOS.
</span>
<br><br>
<span>
<b>2. USE OF CUSTOMER INFORMATION AND PRIVACY POLICY</b>
<br>
No personally identifiable information that you provide to DDNS.ma or information regarding the manner in which you use DDNS.ma will be disclosed by DDNS.ma except as permitted by this TOS.
By becoming a subscriber, you agree that DDNS.ma may share with other parties both aggregate information and limited individual information gathered during your use of DDNS.ma.
"Aggregate information" is information that describes the habits, usage patterns and/or demographics of customers as a group but does not indicate the identity of particular customers.
"Individual information" is information about a customer presented in a form distinguishable from information relating to other customers but not in a form that enables the recipient to identify any particular customer.
See our Privacy Policy for complete information on Vitalwerks' policies regarding customer information.
</span>
<br><br>
<span>
<b>3. OWNERSHIP OF SITE CONTENT</b>
<br>
Vitalwerks and/or its suppliers wholly own all articles, illustrations, programs, services, processes, designs, software, technologies, trademarks, trade names, inventions, and materials comprising DDNS.ma.
</span>
<br><br>
<span>
<b>4. ACCEPTABLE USE</b>
<br>
Customer certifies that he or she is at least 18 years of age.
Customer is solely responsible for his/her usage of the Services. Each Customer is responsible for ensuring that all authorized users of its system or network are aware of and follow this TOS.
Customer's use of the Services is subject to, and Customer agrees to comply with, all applicable local, state, national, and international laws and regulations,
including but not limited to (1) U.S. law regarding the transmission of technical data exported from the United States and (2) Internet regulations, policies, and procedures.
Customer may use the Service for any lawful purpose so long as he or she does not (i) abuse or fraudulently use the Service, (ii) use the Service in a manner that causes interference to or tampers with another subscriber's or authorized user's use of the DDNS.ma Services,
or (iii) otherwise use the Service in a manner that violates this TOS. The terms of this TOS apply to any application or use of the Services. Customer to use the DDNS.ma Free service for personal use.
Activities That Fall Within The Scope Of C(I), (Ii) Or (Iii) Above Include, But Are Not Limited To, The Following:
transmitting Unsolicited Commercial Email (UCE)
transmitting bulk email posting bulk Usenet articles Denial of Service attacks of any kind
copyright infringement failure to provide legitimate contact information misrepresentation of DDNS.ma's services
reselling or attempting to resell DDNS.ma's services unlawful or illegal activities of any kind use of web redirects for distributed file sharing software and networks
pointing DDNS.ma hostnames to a public IRC network pointing hostnames on DDNS.ma owned domains to an IRC server
causing lossage or creating service degradation for other DDNS.ma Users, whether intentional or inadvertent causing or attempting to cause harm to another computer or network
violating any applicable law or regulation utilizing the DDNS.ma Free service under more than one account utilizing the DDNS.ma Free or DDNS.ma Enhanced service for commercial use search engine spamming
distributing or promoting adult material utilizing the DDNS.ma Free or DDNS.ma Enhanced services
</span>
<br><br>
<span>
<b>5. TERMINATION OF SERVICE<b>
<br>
DDNS.ma may suspend or terminate your account or access rights to Services at any time,without notice, for conduct that DDNS.ma reasonably believes violates this TOS or any other applicable policies or guidelines that DDNS.ma has posted on the DDNS.ma Web site.
In addition to restricting or terminating Customer's access to the Service, DDNS.ma may remove any materials that we have reasonable grounds to believe are in violation of the copyright laws of the United States or may be otherwise illegal,
may subject us to liability or that violate this TOS. DDNS.ma may also cooperate with legal authorities and/or third parties in the investigation of any suspected criminal activity.
</span>
<br><br>
<span>
<b>6. INDEMNIFICATION</b>
<br>
Customer agrees to hold DDNS.ma harmless from any claims, whether brought by Customer or by a third party, and expenses, including reasonable attorney's fees and court costs, related to or arising from Customer's breach or violation of any of the terms of this TOS,
or from any information, software or content placed by Customer on a server accessible through a Service.
</span>
<br><br>
<span>
<b>7. CHOICE OF LAW</b>
<br>
This TOS shall be construed and controlled by the laws of the State of Nevada.
Any dispute arising from the terms of this TOS or a breach of this TOS will be governed by the laws of Nevada without regard to the conflicts of laws provisions thereof, and shall be brought in a state or federal court in Nevada.
Customer agrees to submit to the personal jurisdiction of any of those courts.
</span>
<br><br>
<span>
<b>8. ENTIRE AGREEMENT</b>
<br>
This TOS constitutes the entire agreement between the parties with respect to the subject matter contained herein and supersedes all previous and contemporaneous agreements, proposals and communications, written or oral between DDNS.ma representatives and Customer.
DDNS.ma may amend or modify this TOS or impose new conditions at any time upon written notice from DDNS.ma to Customer, either by email or by publication on the DDNS.ma Web site.
Any use of the Service by Customer after such notice shall be deemed to constitute acceptance by Customer of such amendments, modifications or new conditions.
</span>
<br><br>
<span>
<b>9. NO RESALE OF THIS SERVICE</b>
<br>
Customer's right to use the Service is personal to Customer. Customer agrees not to resell the Service without the express consent of DDNS.ma.
</span>
<br><br>
<span>
<b>10. DISCLAIMER OF RESPONSIBILITY FOR THIRD PARTY CONTENT</b>
<br>
Vitalwerks assumes no responsibility for the content of any material located on third party servers outside its control,
including all servers accessed through a Service. Vitalwerks has no control over Web sites or other material hosted on such external servers. Vitalwerks retains the right, in its sole discretion,
to terminate Services pursuant to Section 7 above if a Customer's conduct in hosting such content violates the TOS.
</span>
<br><br>
<span>
<b>11. LIMITATION OF LIABILITY AND WARRANTY</b>
<br>
CUSTOMER AGREES THAT USE OF THE SERVICE IS ENTIRELY AT CUSTOMER'S OWN RISK. DDNS.ma'S SERVICES ARE PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTY FOR INFORMATION,
SERVICES, UNINTERRUPTED ACCESS, OR PRODUCTS PROVIDED THROUGH OR IN CONNECTION WITH THE SERVICE, INCLUDING WITHOUT LIMITATION THE DDNS.ma SOFTWARE LICENSED TO THE CUSTOMER AND THE RESULTS OBTAINED THROUGH THE SERVICE. SPECIFICALLY,
DDNS.ma DISCLAIMS ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION: 1) ANY WARRANTIES CONCERNING THE AVAILABILITY, ACCURACY OR CONTENT OF INFORMATION, PRODUCTS OR SERVICES;
AND 2) ANY WARRANTIES OF TITLE OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.<br><br>THIS DISCLAIMER OF LIABILITY APPLIES TO ANY DAMAGES OR INJURY CAUSED BY ANY FAILURE OF PERFORMANCE, ERROR, OMISSION, INTERRUPTION,
DELETION, DEFECT, DELAY IN OPERATION OR TRANSMISSION, COMPUTER VIRUS, COMMUNICATION LINE FAILURE, THEFT OR DESTRUCTION OR UNAUTHORIZED ACCESS TO, ALTERATION OF, OR USE OF RECORD, WHETHER FOR BREACH OF CONTRACT, TORTIOUS BEHAVIOR, NEGLIGENCE,
OR UNDER ANY OTHER CAUSE OF ACTION. CUSTOMER SPECIFICALLY ACKNOWLEDGES THAT DDNS.ma IS NOT LIABLE FOR THE DEFAMATORY, OFFENSIVE OR ILLEGAL CONDUCT OF OTHER CUSTOMERS OR THIRD PARTIES AND THAT THE RISK OF INJURY FROM THE FOREGOING RESTS ENTIRELY WITH CUSTOMER.
<br><br>
NEITHER DDNS.ma NOR ANY OF ITS AGENTS, AFFILIATES OR CONTENT PROVIDERS SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF USE OF THE SERVICE OR INABILITY TO GAIN ACCESS TO OR USE THE SERVICE OR OUT OF ANY BREACH OF ANY WARRANTY. CUSTOMER HEREBY ACKNOWLEDGES THAT THE PROVISIONS OF THIS SECTION SHALL APPLY TO ALL CONTENT ON THE SERVICE.
CUSTOMER AGREES THATMarocData de MarocVentes.com SARL WILL NOT BE LIABLE FOR ANY LOSS OF OR USE OF CUSTOMER'S DOMAIN NAME, OR FOR INTERRUPTION OF BUSINESS, OR ANY INDIRECT, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES OR ANY KIND (INCLUDING LOST PROFITS) REGARDLESS OF THE FORM OF ACTION WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND REGARDLESS OF WHETHER VITALWERKS HAS BEEN NOTIFIED OF THE POSSIBILITY OF ANY SUCH DAMAGES.
</span>
<br><br>
<span>
<b>12. FEES, PAYMENT AND TERM OF SERVICE.</b>
<br>
As consideration for the Services you have selected, you agree to pay Vitalwerks the applicable service(s) fees set forth on our Web site at the time of your selection. All fees are due immediately and are non-refundable.
Vitalwerks may take all remedies available to collect fees owed. Unless otherwise specified, each Vitalwerks Service is for a one-year term.
Any renewal of your Services with us is subject to our then current terms and conditions and payment of all applicable service fees at the time of renewal.
</span>
<br><br>
<span>
<b>13. CUSTOMER DOMAIN MODIFICATIONS</b>
<br>
Customer understands that the domain for which a particular Service is purchased may be substituted only once during the term for which the particular Service fee has been paid, and that any additional substitutions will result in a fee being charged.
Customer also understands that there is no domain substitution in the case of domain name registration Service. DDNS.ma reserves the right to seek remedy in the event of fraudulent payment, chargeback or otherwise uncollectible fees including, but not limited to,
suspending all services rendered on said domain name or commencing litigation.
</span>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script language="JavaScript1.2">
function reloadImage(){
if(document.images){
document.images['captchaimg'].src = 'http://ddns.ma/captcha.aspx?' + Date.parse(new Date().toString());
}
}
function validatePwd(fieldname) {
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
var str=document.usub.userid.value
var errorMsg = "";
var space = " ";
var regex=/^[0-9A-Za-z]+$/; //^[a-zA-z]+$/
fieldname = document.usub.pass;
fieldvalue = fieldname.value;
fieldlength = fieldvalue.length;
if ($("#terms").is(':checked') == false){
$("#error-terms").css("color","#C90000");
$("#error-terms-oops").show();
$("#terms").parents(".form-group").addClass("has-error");
errorMsg += "\You must accept our User Agreement terms & Conditions.\n";
}else{
$("#error-terms").css("color","#000");
$("#error-terms-oops").hide();
$("#terms").parents(".form-group").removeClass("has-error");
}
//Invalid email address
if (filter.test(str)){
$('#userid').parent(".input-group").removeClass("has-error");
}
else{
$('#userid').parent(".input-group").addClass("has-error");
errorMsg += "\nInvalid email address.\n";
}
//must enter first name
if (document.usub.fname.value == "")
{
$('#fname').parent(".input-group").addClass("has-error");
errorMsg += "\nYou must enter your first name.\n";
}else{
$('#fname').parent(".input-group").removeClass("has-error");
}
//must enter last name
if (document.usub.lname.value == "")
{
$('#lname').parent(".input-group").addClass("has-error");
errorMsg += "\nYou must enter your last name.\n";
}else{
$('#lname').parent(".input-group").removeClass("has-error");
}
// Must answer the secret question
if (document.usub.answer.value == "")
{
$('#answer').parent(".input-group").addClass("has-error");
errorMsg += "\nYou must answer the secret question.\n";
}else{
$('#answer').parent(".input-group").removeClass("has-error");
}
var passvalide = true;
if (!(fieldlength >= 6)) {
$('#pass').parents(".input-group").addClass("has-error");
errorMsg += "\nPassword must be at least 6 characters long.\n";
passvalide = false;
}else{
$('#pass').parents(".input-group").removeClass("has-error");
}
if (fieldvalue.indexOf(space) > -1) {
$('#pass').parents(".input-group").addClass("has-error");
errorMsg += "\nPassword cannot include a space.\n";
passvalide = false;
}else{
$('#pass').parents(".input-group").removeClass("has-error");
}
if(regex.test(document.usub.pass.value)){
$('#pass').parents(".input-group").removeClass("has-error");
}
else{
$('#pass').parents(".input-group").addClass("has-error");
errorMsg += "\nYour Password contains non alphanumeric characters\n";
passvalide = false;
}
//Password do not match
if (document.usub.pass.value == document.usub.passconfirm.value && passvalide)
{
console.log(1);
$('#pass').parents(".input-group").removeClass("has-error");
$('#password2').parents(".input-group").removeClass("has-error");
}else{
$('#pass').parents(".input-group").addClass("has-error");
errorMsg += "\nPassword does not match confirmation password.\n";
$('#password2').parents(".input-group").addClass("has-error");
}
//Answer must be at least 3 characters long.
if (!(document.usub.answer.value.length >= 3)) {
$('#answer').parent(".input-group").addClass("has-error");
errorMsg += "\nSecurity answer must be at least three characters long.\n";
}else{
$('#answer').parent(".input-group").removeClass("has-error");
}
//It must contain at least one number character
//if (!(fieldvalue.match(/\d/))) {
// errorMsg += "\nPassword must contain at least one numeric character.\n";
//}
//It must contain at least one upper case character
//if (!(fieldvalue.match(/[A-Z]/))) {
//errorMsg += "\nPassword must contain at least one uppercase character.\n";
//}
//It must contain at least one lower case character
//if (!(fieldvalue.match(/[a-z]/))) {
// errorMsg += "\nPassword must contain at least one lower case character\n";
//}
//It must be at least 8 characters long.
//Your Password contains non alphanumeric characters
//If there is aproblem with the form then display an error
//The following errors were found!
if (errorMsg != ""){
msg = "The following errors were found!\n\n";
errorMsg += alert(msg + errorMsg + "\n\n");
document.usub.userid.focus();
return false;
}
return true;
}
function checkbae(){
if (document.layers||document.getElementById||document.all)
return validatePwd(document.usub.pass)
else
return true
}
</script>
<script>
$("#e2").select2({
width: 'resolve',
minimumResultsForSearch: -1
});
$('.popovers').popover({container: 'body', trigger: 'hover', placement: 'top'}); //bootstrap's popover
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment