wefra/themes/materialize/views/register.php
2020-11-27 14:24:22 +01:00

378 lines
18 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if(isset($message)){
?>
<div class="container">
<div class="section">
<div class="row">
<div class="col s12">
<?php if($res == "success_creation_user"){ ?>
<div class="card-panel green">
<span class="white-text">Your profile has been created with success.</span>
</div>
<?php } else { ?>
<div class="card-panel orange">
<span class="white-text">Please copy paste this message below and send it by email to <?php echo $_SESSION['config']['email_info']; ?></span>
<p>Something went wrong while trying to register.</p>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<?php
}
if( !isset($message) or $message['status'] != true){
?>
<div class="container">
<div class="section">
<div class="row">
<div class="col s12">
<div class="card z-depth-5">
<div class="card-content">
<span class="card-title">Register</span>
<form action="#" id="createClient" method="post">
<div class="row">
<div class="col s12">
<b>Contact</b>
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">email</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldEmail" name="formRegisterFieldEmail" type="email" >
<label for="formRegisterFieldEmail">Email</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix">lock</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldPassword" name="formRegisterFieldPassword" type="password" >
<label for="formRegisterFieldPassword">Password</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix">lock</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldConfirmPassword" name="formRegisterFieldConfirmPassword" type="password" >
<label for="formRegisterFieldConfirmPassword">Confirm Password</label>
</div>
</div>
<!--ENDOF .row-->
</div>
<!--ENDOF col contact-->
</div>
<!--ENDOF .row cols company and contact-->
<div class="row">
<div class="input-field col s12 m6">
<button class="btn waves-effect waves-light" id="formRegisterButtonSubmit" name="formRegisterButtonSubmit" type="submit" >Submit <i class="material-icons right">send</i></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php /*
<div class="container">
<div class="section">
<?php if(isset($message['status']) && $message['status']=="orange"){ ?>
<div class="row">
<div class="col s12">
<div class="card-panel <?php echo $message['status']; ?>">
<span class="white-text"><?php echo $message['content']; ?>
</span>
</div>
</div>
</div>
<?php } ?>
<div class="row">
<form action="#" class="col s12" id="registerForm" method="post">
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">account_circle</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldCompanyName" name="formRegisterFieldCompanyName" type="text" >
<label for="formRegisterFieldCompanyName">Company Name</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix"></i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldTIN" name="formRegisterFieldTIN" type="text" >
<label for="formRegisterFieldTIN">TIN / VAT number</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6 l4">
<i class="material-icons prefix">phone</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldCompanyTelephone" name="formRegisterFieldCompanyTelephone" type="tel">
<label for="formRegisterFieldCompanyTelephone">Telephone</label>
</div>
<!--ENDOF field Telephone-->
<div class="input-field col s12 m6 l4">
<i class="material-icons prefix">email</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldCompanyEmail" name="formRegisterFieldCompanyEmail" type="email">
<label for="formRegisterFieldCompanyEmail">Email</label>
</div>
<!--ENDOF field Email-->
<div class="input-field col s12 m6 l4">
<i class="material-icons prefix">place</i>
<select class="validate" required="" aria-required="true" id="formRegisterSelectCompanyCountry" name="formRegisterSelectCompanyCountry" >
<option disabled selected>Choose your option</option>
<?php
foreach($countries as $country){
echo '<option value="'.$country['id'].'">'.$country['name'].'</option>';
}
?>
</select>
<!--<input id="country" name="country" type="text" class="validate">-->
<label for="formRegisterSelectCompanyCountry">Country</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">place</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldStreet" name="formRegisterFieldStreet" type="text" >
<label for="formRegisterFieldStreet">Street</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix"></i>
<input id="formRegisterFieldStreet2" name="formRegisterFieldStreet2" type="text" >
<label for="formRegisterFieldStreet2">Street (Complement)</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">place</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldZip" name="formRegisterFieldZip" type="text" >
<label for="formRegisterFieldZip">Zip (Postcode)</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix"></i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldCity" name="formRegisterFieldCity" type="text" >
<label for="formRegisterFieldCity">City</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">place</i>
<select class="validate" required="" aria-required="true" id="formRegisterSelectCountry" name="formRegisterSelectCountry" >
<option value="" disabled selected>What is your country?</option>
<?php
foreach($countries as $country){
echo '<option value="'.$country['id'].'">'.$country['name'].'</option>';
}
?>
</select>
<!--<input id="country" name="country" type="text" class="validate">-->
<label for="formRegisterSelectCountry">Country</label>
</div>
<!--TODO add language-->
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">email</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldEmail" name="formRegisterFieldEmail" type="email" >
<label for="formRegisterFieldEmail">Email</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix">phone</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldTelephone" name="formRegisterFieldTelephone" type="tel" >
<label for="formRegisterFieldTelephone">Telephone</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">account_circle</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldFirstname" name="formRegisterFieldFirstname" type="text" >
<label for="formRegisterFieldFirstname">Firstname</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix"></i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldLastname" name="formRegisterFieldLastname" type="text" >
<label for="formRegisterFieldLastname">Lastname</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<i class="material-icons prefix">lock</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldPassword" name="formRegisterFieldPassword" type="password" >
<label for="formRegisterFieldPassword">Password</label>
</div>
<div class="input-field col s12 m6">
<i class="material-icons prefix">lock</i>
<input class="validate" required="" aria-required="true" id="formRegisterFieldConfirmPassword" name="formRegisterFieldConfirmPassword" type="password" >
<label for="formRegisterFieldConfirmPassword">Confirm Password</label>
</div>
</div>
<!--ENDOF .row-->
<!--
<div class="row">
<div class="file-field input-field col s12 m6 l4">
<div class="btn">
<span>Copy of your ID</span>
<input type="file">
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text">
</div>
</div>
</div>
-->
<div class="divider"></div>
<div class="row" style="max-height: 400px; overflow: auto;">
<div class="col s12">
<h4>User Agreement</h4>
<b>Parties</b>
<p class="contract">
This contract involves:<br>
JMDN Solutions Sàrl, Quai du Seujet 28, 1201 Genève, Switzerland (hereinafter "Principal")<br>
and<br>
The company and contact of the company created (hereinafter "Client").
</p>
<b>Platform</b>
<p class="contract">
The Principal supplies the website https://clients.globsi.com/ (hereinafter "Platform").<br>
The Platform allows the Client to delegate software development tasks to do to the Principal.<br>
The Principal can not be held responsible for any problem about accessing the Platform from the Client side.<br>
Problems with Wifi, natural catastrophe, Client hardware or software problem, others can occur and from which the Principal has no control.
</p>
<b>Work (Process)</b>
<p class="contract">
The Client creates all the tasks needed to be done.<br>
The Principal control the tasks created by the Client in order to approve the publishing or if the content of the task needs to be improved.<br>
Once the task is published, the Principal take care of getting the task done ASAP.<br>
A task done is when coded by the Principal's Software Developers Teams (hereinafter "SDT") and reviewed by the Principal's Top Controllers Team (hereinafter "CCR").<br>
The CCR has for purpose to be sure that the work delivered by the Principal respects the Pinrcipal's highest qualitiy delivery policy<br>
The Client can follow in real time the progression of every task in global view or per project<br>
</p>
<b>Task Approval</b>
<p class="contract">
There are two approvals. Code clean and feature is working once installed on the demo environment.
</p>
<b>Payment</b>
<p class="contract">
The Principal invoices the Client on a monthly basis between the 1st and the 5th. The Client must pay the Principal on 15th the latest.<br>
Every task published and in process of development will be invoiced by the Principal to the Client.
</p>
<b>Working Day</b>
<p class="contract">
The Pirncipal SDT is based in many different timezones. This allows the principal to work on the Client task 24/7.<br>
The Principal can not be held responsible for any disrespect of the laws and regulations done by the Client in accordance with the way the work is done.
</p>
<b>Conflict</b>
<p class="contract">
In case of a conflict between the Principal and the Client, it is the Tribunal de Genève which will be competent to solve the conflict.
</p>
<b>Period</b>
<p class="contract">
The Contract is for an unlimited period.
</p>
<b>Ownership</b>
<p class="contract">
The Platform is owned by the Principal. This includes the Platform itsef, the tasks and all the work done is property of the Principal.
</p>
<b>Modifying and Terminating our Services</b>
<p class="contract">
We are constantly changing and improving our Services. We may add or remove functionalities or features and we may suspend or stop a Service altogether.<br>
You can stop using our Services at any time. The Principal may also stop providing Services to you or add or create new limits to our Services at any time.<br>
We believe that you own your data, and preserving your access to such data is important. If we discontinue a Service, where reasonably possible, we will
give you reasonable advance notice and a chance to remove information from that Service.
</p>
<b>User of our Services</b>
<p class="contract">
If you are using our Services on behalf of a business, that business accepts these terms.
It will hold harmless and indemnify the Principal and its affiliates, officers, agents and employees from any claim, action or proceedings arising from or
related to the use of the Services or violation of these terms, including any liability or expense arising from claims, losses, damages, judgements, litigation costs and legal fees.
</p>
<b>Modification of these Terms</b>
<p class="contract">
We may modify these terms or any additional terms that apply to a Service to, for example, reflect changes to the law or changes to our Services. You should look at the terms regularly. Well post notice of modifications to these terms on this page. Well post notice of modified additional terms in the applicable Service. Changes will not apply retrospectively and will become effective no earlier than fourteen days after they are posted. However, changes addressing new functions for a Service or changes made for legal reasons will be effective immediately. If you do not agree to the modified terms for a Service, you should discontinue your use of that Service.
If there is any inconsistency between these terms and the additional terms, the additional terms will prevail to the extent of the inconsistency.
These terms govern the relationship between the Principal and you. They do not create any third party beneficiary rights.
If you do not comply with these terms and we do not take action immediately, this doesnt mean that we are giving up any rights that we may have (such as taking action in the future).
If it turns out that a particular term is not enforceable, this will not affect any other terms.
</p>
</div>
<!--ENDOF .col-->
</div>
<!--ENDOF .row-->
<div class="divider"></div>
<div class="row">
<div class="col s12">
<label>
<input class="validate" required="" aria-required="true" id="formRegisterCheckboxAcceptTermsOfUse" name="formRegisterCheckboxAcceptTermsOfUse" type="checkbox">
<span>I read, understood and fully accepted the User Agreement.</span>
</label>
</div>
</div>
<!--ENDOF .row-->
<div class="row">
<div class="input-field col s12 m6">
<button class="btn waves-effect waves-light" id="formRegisterButtonSubmit" name="formRegisterButtonSubmit" type="submit" >Submit <i class="material-icons right">send</i></button>
</div>
</div>
</form>
<!--ENDOF register form-->
</div>
</div>
</div>
*/ ?>
<?php /*} else {*/ ?>
<!-- <div class="container">
<div class="row">
<div class="col s12">
<div class="card-panel <?php echo $message['status']; ?>">
<span class="white-text"><?php echo $message['content']; ?>
</span>
</div>
</div>
</div>
</div> -->
<?php } ?>