746 lines
35 KiB
PHP
Executable File
746 lines
35 KiB
PHP
Executable File
<!-- footer -->
|
|
<?php $preflang = get_cookie('pref_language'); ?>
|
|
<footer class="footerbg paddingbody">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<div class="footerblk footerlogoblock">
|
|
<div class="footerlogo"><img src="<?php echo base_url(); ?>common/frontend/assets/images/footerlogo.png" alt=""></div>
|
|
<div class="socialbox">
|
|
<ul>
|
|
<li><a href="<?=$basic->facebook_id?>" target="_blank"><i class="fab fa-facebook-square"></i></a></li>
|
|
<li><a href="<?=$basic->twitter_id?>" target="_blank"><i class="fab fa-twitter"></i></a></li>
|
|
<li><a href="<?=$basic->skype_id?>" target="_blank"><i class="fab fa-skype"></i></a></li>
|
|
<li><a href="<?=$basic->youtube_id?>" target="_blank"><i class="fab fa-youtube"></i></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="footerblk footeraddress">
|
|
<div class="footertext"><h3><?=$basic->address?></h3></div>
|
|
<div class="copyrighttext"><p>© 2023 <span>WeCuro.</span> All rights reserved.</p></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="footerblk footerlist">
|
|
<ul>
|
|
<li><a href="#about"><?php echo lang("About Us"); ?></a></li>
|
|
<li><a href="#service"><?php echo lang("Services"); ?></a></li>
|
|
<li><a href="#process"><?php echo lang("Application Process"); ?></a></li>
|
|
<li><a href="<?php base_url()?>privacy_policy"><?php echo lang("Privacy Policy"); ?></a></li>
|
|
<li><a href="<?php base_url()?>terms_conditions "><?php echo lang("Terms"); ?> & <?php echo lang("Conditions"); ?></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="footerblk">
|
|
<div class="fourthblkfooter"><h3>Download our app from</h3></div>
|
|
<div class="footerappbtn">
|
|
<div class="btnapp"><img src="<?php echo base_url(); ?>common/frontend/assets/images/appbtn1.png" alt=""></div>
|
|
<div class="btnapp"><img src="<?php echo base_url(); ?>common/frontend/assets/images/appbtn2.png" alt=""></div>
|
|
</div>
|
|
<div class="copyrighttext mobview"><p>© 2023 <span>WeCuro.</span> All rights reserved.</p></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<!-- signlanding_modal -->
|
|
<div class="modal signlanding_modal" >
|
|
<div class="modal-dialog modal_small md_mr">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<!-- <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button> -->
|
|
<header class="page-header">
|
|
<!-- <h2><?php //echo lang("Register"); ?></h2> -->
|
|
<div class="signup_logo">
|
|
<img src="<?php echo base_url(); ?>common/frontend/assets/images/logo.png" alt="medical city">
|
|
</div>
|
|
</header>
|
|
</div>
|
|
<div class="modal-body">
|
|
<h4>I would like to:</h4>
|
|
<div class="sign_btn_group">
|
|
<a class="sign_btn_solid outline_sign" data-toggle="modal" data-dismiss="modal" aria-hidden="true" data-target=".signup_form">
|
|
Find a job
|
|
</a>
|
|
<a class="sign_btn_solid" data-toggle="modal" data-dismiss="modal" aria-hidden="true" data-target=".signup_caregiver">
|
|
Find a Caregiver
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div>
|
|
<!-- signlanding_modal -->
|
|
|
|
|
|
|
|
<!-- patient Registration form (within modal) -->
|
|
<div class="modal signup_caregiver" >
|
|
<div class="modal-dialog modal_small md_mr">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button>
|
|
<header class="page-header">
|
|
<h2><?php echo lang("Register_Patient"); ?></h2>
|
|
</header>
|
|
</div>
|
|
<div class="modal-body">
|
|
<!-- <form action="<?php echo base_url(); ?>auth/register<?=$code?>" method="post" onsubmit="return validateForm()">
|
|
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
|
|
<input type="hidden" name="form_tab_status" value="1">
|
|
<input type="hidden" name="id" id="caregiver_id" value="">
|
|
<input type="hidden" name="form_status" value="1">
|
|
<input type="hidden" name="form_mode" value="Add">
|
|
<input type="hidden" name="form_mode" value="Add"> -->
|
|
|
|
<form role="form" action="<?php echo base_url(); ?>auth/register_patient"
|
|
method="post" enctype="multipart/form-data" name="newGenInfo" onsubmit="return validateForm_patient()">
|
|
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>"/>
|
|
<input type="hidden" name="pid" value="">
|
|
<input type="hidden" name="tabPgs" value="10">
|
|
<input type="hidden" name="fromType" value="addRef">
|
|
<input type="hidden" name="form_status" value="0">
|
|
<input type="hidden" name="form_mode" value="Add">
|
|
|
|
<fieldset class="register_fields register_fields2">
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" name="fname" placeholder="<?php echo lang('First Name'); ?>" required="">
|
|
</div>
|
|
</div>
|
|
<!-- <div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" class="form-control" placeholder="<?php echo lang('Middle Name'); ?>" name="mname">
|
|
</div>
|
|
</div> -->
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" placeholder="<?php echo lang('Last Name'); ?>" name="lname" required="">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" name="phone" placeholder="<?php echo lang('Mobile Number'); ?>" onkeypress="return isNumberKey(event)" onkeyup="USformatPhoneNumber(this.value,this);" onblur="USformatPhoneNumber(this.value,this);" required="">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="email" class="form-control" name="email" placeholder="<?php echo lang('Your email'); ?>" id="emailModal_patient">
|
|
<input type="hidden" id="freeemail_patient" value="">
|
|
</div>
|
|
<div class="input-group-append" id="emailcheckTab_patient"></div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="password" name="password" id="password_patient" required class="form-control">
|
|
<span toggle="#password_patient" class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
|
<label class="label_css"><?php echo lang('Your password'); ?></label>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="password" name="confirmpass" id="confirmpass_patient" required class="form-control">
|
|
<span toggle="#confirmpass_patient" class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
|
<label class="label_css"><?php echo lang('Please confirm your password'); ?></label>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" value="general" name="oauth_provider" id="oauth_provider" required class="form-control">
|
|
<div class="divider"></div>
|
|
<div class="form-group checkbox-field">
|
|
<label for="check_box2" class="text-small">
|
|
<input type="checkbox" id="check_box2" />
|
|
<span class="ion-ios-checkmark-empty22 custom-check"></span>
|
|
<?php echo lang("By clicking on sign up, you agree to terms and privacy policy"); ?>
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
<div class="card-action no-border text-right">
|
|
<input type="submit" id="submitBtn" name="submit" value="<?php echo lang('Sign Up'); ?>" class="btn btn-md btn-color-line">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- patient Registration form (within modal) -->
|
|
|
|
|
|
|
|
|
|
<div class="modal signup_form" >
|
|
<div class="modal-dialog modal_small md_mr">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button>
|
|
<header class="page-header">
|
|
<h2><?php echo lang("Register_Caregiver"); ?></h2>
|
|
</header>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form action="<?php echo base_url(); ?>auth/register<?=$code?>" method="post" onsubmit="return validateForm()">
|
|
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
|
|
<input type="hidden" name="form_tab_status" value="1">
|
|
<input type="hidden" name="id" id="caregiver_id" value="">
|
|
<input type="hidden" name="form_status" value="1">
|
|
<input type="hidden" name="form_mode" value="Add">
|
|
<input type="hidden" name="form_mode" value="Add">
|
|
<fieldset class="register_fields register_fields2">
|
|
|
|
<div class="card-action no-border text-right d_flex">
|
|
<?php if($linkedInEmail == ""){ ?><a href="<?=$linkedInUri?>" class="btn btn-md btn-color-line mr-15 signup_btns signup_position"><i class="fa-brands fa-linkedin" aria-hidden="true" style="font-size: 24px;"></i> <?php echo lang("SignUp With LinkedIn"); ?> </a><?php } ?>
|
|
<!-- <?php if($indeedEmail == ""){ ?><a href="<?=$indeedUri?>" class="btn btn-md btn-color-line indeed-btn signup_position"><img src="<?php echo base_url().'common/assets/images/indeed-icon.png'; ?>" alt="indeed"> SignUp With Indeed</a> <?php } ?> -->
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" name="fname" placeholder="<?php echo lang('First Name'); ?>" value="<?=$linkedInFname?>" required="">
|
|
<!-- <span class="input-bar"></span> -->
|
|
<!-- <label class="label_css">First Name</label> -->
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" class="form-control" placeholder="<?php echo lang('Middle Name'); ?>" name="mid_name">
|
|
<!-- <span class="input-bar"></span> -->
|
|
<!-- <label class="label_css">Middle Name</label> -->
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" placeholder="<?php echo lang('Last Name'); ?>" name="lname" value="<?=$linkedInLname?>" required="">
|
|
<!-- <span class="input-bar"></span> -->
|
|
<!-- <label class="label_css">Last Name</label> -->
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="text" required class="form-control" name="phone" placeholder="<?php echo lang('Mobile Number'); ?>" onkeypress="return isNumberKey(event)" onkeyup="USformatPhoneNumber(this.value,this);" onblur="USformatPhoneNumber(this.value,this);" required="">
|
|
<!-- <span class="input-bar"></span> -->
|
|
<!-- <label class="label_css">Mobile Number</label> -->
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="email" required class="form-control" name="email" placeholder="<?php echo lang('Your email'); ?>" value="<?=$linkedInEmail?><?=$indeedEmail?>" id="emailModal" type="email" pattern="^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$" required="" oninvalid="this.setCustomValidity('Please enter a valid email address. e.g. example@xymail.com')" oninput="this.setCustomValidity('')">
|
|
<input type="hidden" id="freeemail" value="">
|
|
<!-- <span class="input-bar"></span> -->
|
|
<!-- <label class="label_css">Your email</label> -->
|
|
</div>
|
|
<div class="input-group-append" id="emailcheckTab">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="label_css"><?php echo lang('Employee Type'); ?></label>
|
|
<div class="radio_sec">
|
|
<?php foreach($caregiver_skill_list as $cg_skill_list){ ?>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="qualification_type" value="<?php echo $cg_skill_list->id;?>"><?php echo $cg_skill_list->name;?>
|
|
</label>
|
|
<?php } ?>
|
|
<!-- <label class="radio-inline">
|
|
<input type="radio" name="qualification_type" value="4" checked>RN
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="qualification_type" value="5">LPN
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="qualification_type" value="6">PCA
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="qualification_type" value="7">HHA
|
|
</label> -->
|
|
</div>
|
|
</div>
|
|
<?php if(($linkedInEmail == "") && ($indeedEmail == "")){ ?>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="password" name="password" id="password" required class="form-control">
|
|
<span toggle="#password" class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
|
<label class="label_css"><?php echo lang('Your password'); ?></label>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="ui-input-group">
|
|
<input type="password" name="confirmpass" id="confirmpass" required class="form-control">
|
|
<span toggle="#confirmpass" class="fa fa-fw fa-eye field-icon toggle-password"></span>
|
|
<label class="label_css"><?php echo lang('Please confirm your password'); ?></label>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" value="general" name="oauth_provider" id="oauth_provider" required class="form-control">
|
|
<?php }?>
|
|
<?php if($linkedInEmail != ""){ ?>
|
|
<input type="hidden" value="<?php echo $oauth_uid?>" name="password" id="linkedin_password" class="form-control">
|
|
<input type="hidden" value="<?php echo $oauth_uid?>" name="confirmpass" id="linkedin_confirmpass" class="form-control">
|
|
<input type="hidden" value="<?php echo $oauth_uid?>" name="oauth_uid" id="oauth_uid" class="form-control">
|
|
<input type="hidden" value="<?php echo $oauth_provider?>" name="oauth_provider" id="oauth_provider" class="form-control">
|
|
<?php }?>
|
|
<?php if($indeedEmail != ""){ ?>
|
|
<input type="hidden" value="<?php echo $indData->sub?>" name="password" id="linkedin_password" class="form-control">
|
|
<input type="hidden" value="<?php echo $indData->sub?>" name="confirmpass" id="linkedin_confirmpass" class="form-control">
|
|
<input type="hidden" value="<?php echo $indData->sub?>" name="oauth_uid" id="oauth_uid" class="form-control">
|
|
<input type="hidden" value="indeed" name="oauth_provider" id="oauth_provider" class="form-control">
|
|
<?php }?>
|
|
<div class="divider"></div>
|
|
<div class="form-group checkbox-field">
|
|
<label for="check_box1" class="text-small">
|
|
<input type="checkbox" id="check_box1" />
|
|
<span class="ion-ios-checkmark-empty22 custom-check"></span> <?php echo lang("By clicking on sign up, you agree to terms and privacy policy"); ?>
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
<div class="card-action no-border text-right">
|
|
|
|
<input type="submit" id="submitBtn" name="submit" value="<?php if($linkedInEmail != "" || $indeedEmail !=""){ echo "confirm"; } else { echo lang("Sign Up"); }?>" class="btn btn-md btn-color-line">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div>
|
|
<!-- Registration form popup -->
|
|
<!-- Privacy popup -->
|
|
<div class="modal Privacy">
|
|
<div class="modal-dialog modal_small md_mr">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button>
|
|
<header class="page-header">
|
|
<h2>PRIVACY POLICY</h2>
|
|
</header>
|
|
</div>
|
|
<div class="modal-body">
|
|
<?=$content[12]->description?>
|
|
</div>
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div>
|
|
<!-- Privacy popup -->
|
|
<!-- TERMS & CONDITION popup -->
|
|
<div class="modal TERMS_CONDITION">
|
|
<div class="modal-dialog modal_small md_mr">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button>
|
|
<header class="page-header">
|
|
<h2>TERMS & CONDITION</h2>
|
|
</header>
|
|
</div>
|
|
<div class="modal-body">
|
|
<?=$content[13]->description?>
|
|
</div>
|
|
</div>
|
|
<!-- /.modal-content -->
|
|
</div>
|
|
<!-- /.modal-dialog -->
|
|
</div>
|
|
<!-- Privacy popup -->
|
|
|
|
<!-- JavaScript Bundle with Popper -->
|
|
<script type="text/javascript" src="<?php echo base_url(); ?>common/frontend/assets/js/style.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
|
|
<script src="<?php echo base_url(); ?>common/frontend/assets/js/bootstrap.min.js" type="text/javascript"></script>
|
|
|
|
<script src="<?php echo base_url(); ?>common/frontend/assets/js/custom.js" type="text/javascript"></script>
|
|
|
|
<?php if(isset($linkedInEmail) && $linkedInEmail != "" || isset($indeedEmail) && $indeedEmail!="") { ?>
|
|
<script> $(function(){ $('.signup_form').modal('show') }); </script>
|
|
<?php } ?>
|
|
|
|
<script type="text/javascript">
|
|
$('.toggle-password').on('click', function() {
|
|
$(this).toggleClass('fa-eye fa-eye-slash');
|
|
// let input = $($(this).attr('toggle'));
|
|
let input=$(this).siblings("input");
|
|
if (input.attr('type') == 'password') {
|
|
input.attr('type', 'text');
|
|
}
|
|
else {
|
|
input.attr('type', 'password');
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$("#emailModal").blur(function(){
|
|
var email=this.value;
|
|
if(email!=''){
|
|
$("#freeemail").val('');
|
|
$.ajax({
|
|
url:'<?php echo base_url(); ?>auth/checkEmail',
|
|
type:'GET',
|
|
data:{email:email},
|
|
beforeSend: function(){
|
|
$("#emailcheckTab").html('checking');
|
|
},
|
|
success:function(data){
|
|
console.log(data);
|
|
if(data){
|
|
$("#emailcheckTab").html('Email is available');
|
|
$("#freeemail").val('avl');
|
|
}else{
|
|
$("#emailcheckTab").html('Already Taken');
|
|
$("#freeemail").val('');
|
|
|
|
}
|
|
}
|
|
});
|
|
}
|
|
});
|
|
|
|
$("#language-section").change(function(){
|
|
var lang = $(this).val();
|
|
$.ajax({
|
|
url:'<?php echo base_url(); ?>auth/setLanguageCookie',
|
|
type:'get',
|
|
data:{lang:lang},
|
|
beforeSend: function(){
|
|
// $("#emailcheckTab").html('checking');
|
|
},
|
|
success:function(data){
|
|
if(data != "")
|
|
{
|
|
// alert("language set to".data);
|
|
location.reload();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
function validateForm() {
|
|
var x = $("#confirmpass").val();
|
|
var y = $("#password").val();
|
|
if (x != y) {
|
|
alert("Password and confirm password does not match");
|
|
return false;
|
|
}
|
|
var fe = $("#freeemail").val();
|
|
if(fe == '')
|
|
{
|
|
alert("Email id not available");
|
|
return false;
|
|
}
|
|
if(!$('#check_box1').is(':checked'))
|
|
{
|
|
alert("you need agree to terms and privacy policy");
|
|
return false;
|
|
}
|
|
else {
|
|
return true;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
function USformatPhoneNumber(phoneNumberString,_this) {
|
|
var cleaned = ('' + phoneNumberString).replace(/\D/g, '')
|
|
if(cleaned.length > 10){
|
|
cleaned = cleaned.substr(0, 10);
|
|
}
|
|
var match = cleaned.match(/^(1|)?(\d{3})(\d{3})(\d{4})$/)
|
|
if (cleaned.length == 10 && match) {
|
|
var intlCode = (match[1] ? '+1 ' : '')
|
|
var fres = [intlCode, '(', match[2], ') ', match[3], '-', match[4]].join('')
|
|
_this.value = fres;
|
|
}else{
|
|
_this.value = cleaned
|
|
}
|
|
return null
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<?php if($this->session->flashdata('caregiver_created')){ ?>
|
|
<script>
|
|
Swal.fire({
|
|
position: 'center',
|
|
icon: 'success',
|
|
title: '<?php echo $this->session->flashdata('caregiver_created'); ?>',
|
|
showConfirmButton: false,
|
|
timer: 4500
|
|
})
|
|
</script>
|
|
<?php } ?>
|
|
|
|
<script>
|
|
var tnum = 'en';
|
|
|
|
$(document).ready(function(){
|
|
// $('.color_chage:contains("WeCuro"):last').css('color', '#0B7FD3');
|
|
|
|
const find_word = "WeCuro";
|
|
|
|
const element = document.querySelector(".color_chages");
|
|
element.innerHTML = element.innerHTML
|
|
.replace(find_word, `<span>${find_word}</span>`);
|
|
|
|
const elements = document.querySelector(".color_service");
|
|
elements.innerHTML = elements.innerHTML
|
|
.replace(find_word, `<span>${find_word}</span>`);
|
|
|
|
|
|
|
|
|
|
|
|
$(document).click( function(e) {
|
|
$('.translate_wrapper, .more_lang').removeClass('active');
|
|
});
|
|
|
|
$('.translate_wrapper .current_lang').click(function(e){
|
|
e.stopPropagation();
|
|
$(this).parent().toggleClass('active');
|
|
|
|
setTimeout(function(){
|
|
$('.more_lang').toggleClass('active');
|
|
}, 5);
|
|
});
|
|
|
|
|
|
/*TRANSLATE*/
|
|
translate(tnum);
|
|
|
|
$('.more_lang .lang').click(function(){
|
|
$(this).addClass('selected').siblings().removeClass('selected');
|
|
$('.more_lang').removeClass('active');
|
|
|
|
var img = $(this).find('img').attr('src');
|
|
var lang = $(this).attr('data-value');
|
|
var tnum = lang;
|
|
translate(tnum);
|
|
|
|
$('.current_lang .lang-txt').text(lang);
|
|
$('.current_lang img').attr('src', img);
|
|
|
|
if(lang == 'ar'){
|
|
$('body').attr('dir', 'rtl');
|
|
}else{
|
|
$('body').attr('dir', 'ltr');
|
|
}
|
|
|
|
});
|
|
});
|
|
|
|
function translate(tnum){
|
|
$('h1').text(trans[0][tnum]);
|
|
// $('p').text(trans[1][tnum]);
|
|
$('.content a span').text(trans[2][tnum]);
|
|
}
|
|
|
|
var trans = [
|
|
{
|
|
en : 'Chameleon',
|
|
pt : 'Camaleão',
|
|
es : 'Camaleón',
|
|
fr : 'Caméléon',
|
|
de : 'Chamäleon',
|
|
cn : '变色龙',
|
|
ar : 'حرباء'
|
|
},{
|
|
en : 'For sheer breadth of freakish anatomical features, the chameleon has few rivals. A tongue far longer than its body, shooting out to snatch insects in a fraction of a second. Telescopic-vision eyes that swivel independently in domed turrets. Feet with toes fused into mitten-like pincers. Horns sprouting from brow and snout. Knobbly nasal ornaments. A skin flap circling the neck like a lace ruff on an Elizabethan noble.',
|
|
pt : 'Por uma infinidade de características anatômicas, o camaleão tem poucos rivais. Uma língua muito mais longa do que o seu corpo, disparando para pegar insetos em uma fração de segundo. Olhos de visão telescópica que giram de forma independente em torres com abóbadas. Pés com os dedos fundidos em pinças tipo luva. Chifres brotando da sobrancelha e do focinho. Ornamentos nasais knobbly. Uma aba de pele que circunda o pescoço como uma barriga de renda em um nobre isabelino.',
|
|
es : 'Por pura amplitud de extrañas características anatómicas, el camaleón tiene pocos rivales. Una lengua mucho más larga que su cuerpo, disparando para atrapar insectos en una fracción de segundo. Ojos de visión telescópica que giran independientemente en las torretas abovedadas. Pies con dedos de los pies fusionados en pinzas tipo mitones. Cuernos que brotan de la frente y el hocico. Adornos nasales nudosos. Una aleta de piel que rodea el cuello como una puntilla de encaje sobre un noble isabelino.',
|
|
fr: "Pour l'ampleur pure des caractéristiques anatomiques bizarres, le caméléon a peu de rivaux. Une langue bien plus longue que son corps, tirant pour arracher les insectes en une fraction de seconde. Yeux à vision télescopique pivotant indépendamment dans des tourelles à dôme. Pieds avec les orteils fondus dans des tenailles mitaines. Cornes qui poussent du front et du museau. Ornements nasaux Knobbly. Un lambeau de peau entourant le cou comme une collerette de dentelle sur un noble élisabéthain.",
|
|
de: 'Wegen der schieren Breite der anatomischen Besonderheiten hat das Chamäleon wenige Rivalen. Eine Zunge, die viel länger ist als ihr Körper und in einem Bruchteil einer Sekunde Insekten erjagt. Teleskopische Augen, die unabhängig voneinander in Kuppeltürmen schwenken. Füße mit Zehen verschmolzen zu handschuhartigen Zangen. Hörner sprießen von der Stirn und der Schnauze. Knoblige Nasenverzierungen. Ein Hautlappen umkreist den Hals wie ein Spitzenkragen an einem elisabethanischen Adligen.',
|
|
cn: '由于极其奇特的解剖特征,变色龙几乎没有对手。一只比它的身体长得多的舌头,在几分之一秒内射出来抓住昆虫。在圆顶炮塔中独立旋转的望远镜视力眼睛。脚趾融合成中爪状的钳子。喇叭从眉头和鼻子发芽。棘手的鼻饰。在伊丽莎白的优雅的伊丽莎白时代,像皮带一样绕着脖子的皮瓣',
|
|
ar : 'لمجرد اتساع الميزات التشريحية فظيع، والحرباء لديها منافسيه قليلة. اللسان أطول بكثير من جسمه، واطلاق النار لانتزاع الحشرات في جزء صغير من الثانية. عيون الرؤية تلسكوبية التي قطب بشكل مستقل في الأبراج القبة. قدم مع أصابع تنصهر في وسط-- مثل بينكرز. هورنز، تبرعم، من، الحواجب، أيضا، سنوت. نوبل الحلي الأنفية. جلد رفرف تحلق الرقبة مثل الرباط روف على إليزابيثية أنيقة.'
|
|
},{
|
|
en : 'See More',
|
|
pt : 'Saiba mais',
|
|
es : 'Más información',
|
|
fr : 'En savoir plus',
|
|
de : 'Weitere Infos',
|
|
cn : '查看更多',
|
|
ar : 'مشاهدة المزيد'
|
|
},
|
|
|
|
];
|
|
|
|
</script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$("#emailModal_patient").blur(function(){
|
|
var email=this.value;
|
|
if(email!=''){
|
|
$("#freeemail_patient").val('');
|
|
$.ajax({
|
|
url:'<?php echo base_url(); ?>auth/checkEmail',
|
|
type:'GET',
|
|
data:{email:email},
|
|
beforeSend: function(){
|
|
$("#emailcheckTab_patient").html('checking');
|
|
},
|
|
success:function(data){
|
|
console.log(data);
|
|
if(data){
|
|
$("#emailcheckTab_patient").html('Email is available');
|
|
$("#freeemail_patient").val('avl');
|
|
}else{
|
|
$("#emailcheckTab").html('Already Taken');
|
|
$("#freeemail_patient").val('');
|
|
}
|
|
}
|
|
});
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
<!-- for patient sign up -->
|
|
<script type="text/javascript">
|
|
function validateForm_patient(){
|
|
var x=$("#confirmpass_patient").val();
|
|
var y=$("#password_patient").val();
|
|
// var fe=$("#freeemail").val();
|
|
if(x!=y){
|
|
alert("Password and confirm password does not match");
|
|
return false;
|
|
}if(!$('#check_box2').is(':checked')){
|
|
alert("you need agree to terms and privacy policy");
|
|
return false;
|
|
}else{
|
|
return true;
|
|
}
|
|
}
|
|
</script>
|
|
<!-- for patient sign up -->
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('ul li a').click(function(){
|
|
$('li a').removeClass("active");
|
|
$(this).addClass("active");
|
|
});
|
|
});
|
|
</script>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('input').keyup(function(){
|
|
var email = $('#email').val();
|
|
if(email != '')
|
|
{
|
|
$('#email_label').addClass('top_0');
|
|
}
|
|
if(email == ''){
|
|
$('#email_label').removeClass('top_0');
|
|
}
|
|
});
|
|
$(window).scroll(function(){
|
|
if ($(this).scrollTop() > 100) {
|
|
$('#scroll').fadeIn();
|
|
} else {
|
|
$('#scroll').fadeOut();
|
|
}
|
|
});
|
|
$('#scroll').click(function(){
|
|
$("html, body").animate({ scrollTop: 0 }, 600);
|
|
return false;
|
|
});
|
|
});
|
|
|
|
</script>
|
|
<!-- <script>
|
|
|
|
</script> -->
|
|
<!-- <script>
|
|
var tnum = 'en';
|
|
|
|
$(document).ready(function(){
|
|
|
|
$(document).click( function(e) {
|
|
$('.translate_wrapper, .more_lang').removeClass('active');
|
|
});
|
|
|
|
$('.translate_wrapper .current_lang').click(function(e){
|
|
e.stopPropagation();
|
|
$(this).parent().toggleClass('active');
|
|
|
|
setTimeout(function(){
|
|
$('.more_lang').toggleClass('active');
|
|
}, 5);
|
|
});
|
|
|
|
|
|
/*TRANSLATE*/
|
|
translate(tnum);
|
|
|
|
$('.more_lang .lang').click(function(){
|
|
$(this).addClass('selected').siblings().removeClass('selected');
|
|
$('.more_lang').removeClass('active');
|
|
|
|
var img = $(this).find('img').attr('src');
|
|
var lang = $(this).attr('data-value');
|
|
var tnum = lang;
|
|
translate(tnum);
|
|
|
|
$('.current_lang .lang-txt').text(lang);
|
|
$('.current_lang img').attr('src', img);
|
|
|
|
if(lang == 'ar'){
|
|
$('body').attr('dir', 'rtl');
|
|
}else{
|
|
$('body').attr('dir', 'ltr');
|
|
}
|
|
|
|
});
|
|
});
|
|
|
|
function translate(tnum){
|
|
$('h1').text(trans[0][tnum]);
|
|
$('p').text(trans[1][tnum]);
|
|
$('.content a span').text(trans[2][tnum]);
|
|
}
|
|
|
|
var trans = [
|
|
{
|
|
en : 'Chameleon',
|
|
pt : 'Camaleão',
|
|
es : 'Camaleón',
|
|
fr : 'Caméléon',
|
|
de : 'Chamäleon',
|
|
cn : '变色龙',
|
|
ar : 'حرباء'
|
|
},{
|
|
en : 'For sheer breadth of freakish anatomical features, the chameleon has few rivals. A tongue far longer than its body, shooting out to snatch insects in a fraction of a second. Telescopic-vision eyes that swivel independently in domed turrets. Feet with toes fused into mitten-like pincers. Horns sprouting from brow and snout. Knobbly nasal ornaments. A skin flap circling the neck like a lace ruff on an Elizabethan noble.',
|
|
pt : 'Por uma infinidade de características anatômicas, o camaleão tem poucos rivais. Uma língua muito mais longa do que o seu corpo, disparando para pegar insetos em uma fração de segundo. Olhos de visão telescópica que giram de forma independente em torres com abóbadas. Pés com os dedos fundidos em pinças tipo luva. Chifres brotando da sobrancelha e do focinho. Ornamentos nasais knobbly. Uma aba de pele que circunda o pescoço como uma barriga de renda em um nobre isabelino.',
|
|
es : 'Por pura amplitud de extrañas características anatómicas, el camaleón tiene pocos rivales. Una lengua mucho más larga que su cuerpo, disparando para atrapar insectos en una fracción de segundo. Ojos de visión telescópica que giran independientemente en las torretas abovedadas. Pies con dedos de los pies fusionados en pinzas tipo mitones. Cuernos que brotan de la frente y el hocico. Adornos nasales nudosos. Una aleta de piel que rodea el cuello como una puntilla de encaje sobre un noble isabelino.',
|
|
fr: "Pour l'ampleur pure des caractéristiques anatomiques bizarres, le caméléon a peu de rivaux. Une langue bien plus longue que son corps, tirant pour arracher les insectes en une fraction de seconde. Yeux à vision télescopique pivotant indépendamment dans des tourelles à dôme. Pieds avec les orteils fondus dans des tenailles mitaines. Cornes qui poussent du front et du museau. Ornements nasaux Knobbly. Un lambeau de peau entourant le cou comme une collerette de dentelle sur un noble élisabéthain.",
|
|
de: 'Wegen der schieren Breite der anatomischen Besonderheiten hat das Chamäleon wenige Rivalen. Eine Zunge, die viel länger ist als ihr Körper und in einem Bruchteil einer Sekunde Insekten erjagt. Teleskopische Augen, die unabhängig voneinander in Kuppeltürmen schwenken. Füße mit Zehen verschmolzen zu handschuhartigen Zangen. Hörner sprießen von der Stirn und der Schnauze. Knoblige Nasenverzierungen. Ein Hautlappen umkreist den Hals wie ein Spitzenkragen an einem elisabethanischen Adligen.',
|
|
cn: '由于极其奇特的解剖特征,变色龙几乎没有对手。一只比它的身体长得多的舌头,在几分之一秒内射出来抓住昆虫。在圆顶炮塔中独立旋转的望远镜视力眼睛。脚趾融合成中爪状的钳子。喇叭从眉头和鼻子发芽。棘手的鼻饰。在伊丽莎白的优雅的伊丽莎白时代,像皮带一样绕着脖子的皮瓣',
|
|
ar : 'لمجرد اتساع الميزات التشريحية فظيع، والحرباء لديها منافسيه قليلة. اللسان أطول بكثير من جسمه، واطلاق النار لانتزاع الحشرات في جزء صغير من الثانية. عيون الرؤية تلسكوبية التي قطب بشكل مستقل في الأبراج القبة. قدم مع أصابع تنصهر في وسط-- مثل بينكرز. هورنز، تبرعم، من، الحواجب، أيضا، سنوت. نوبل الحلي الأنفية. جلد رفرف تحلق الرقبة مثل الرباط روف على إليزابيثية أنيقة.'
|
|
},{
|
|
en : 'See More',
|
|
pt : 'Saiba mais',
|
|
es : 'Más información',
|
|
fr : 'En savoir plus',
|
|
de : 'Weitere Infos',
|
|
cn : '查看更多',
|
|
ar : 'مشاهدة المزيد'
|
|
},
|
|
|
|
];
|
|
|
|
</script> -->
|
|
|
|
</body>
|
|
</html>
|