sign-up.php
См. документацию.
1
<?php
2
3
/**
4
* @file
5
* @brief страница
6
*/
7
8
?>
9
<!-- Header -->
10
<header
id
=
"header"
class
=
"ex-2-header"
>
11
<div
class
=
"container"
>
12
<div
class
=
"row"
>
13
<div
class
=
"col-lg-12"
>
14
<h1>Sign Up</h1>
15
<p>Fill out the form below to sign up
for
Tivo. Already
signed
up? Then just <a
class
=
"white"
href
=
"log-in"
>Log In</a></p>
16
<!-- Sign Up Form -->
17
<div
class
=
"form-container"
>
18
<form
id
=
"signUpForm"
data-
toggle
=
"validator"
data-focus=
"false"
>
19
<div
class
=
"form-group"
>
20
<input type=
"email"
class
=
"form-control-input"
id
=
"semail"
required>
21
<label
class
=
"label-control"
for
=
"semail"
>Email</label>
22
<div
class
=
"help-block with-errors"
></div>
23
</div>
24
<div
class
=
"form-group"
>
25
<input type=
"text"
class
=
"form-control-input"
id
=
"sname"
required>
26
<label
class
=
"label-control"
for
=
"sname"
>Name</label>
27
<div
class
=
"help-block with-errors"
></div>
28
</div>
29
<div
class
=
"form-group"
>
30
<input type=
"text"
class
=
"form-control-input"
id
=
"spassword"
required>
31
<label
class
=
"label-control"
for
=
"spassword"
>Password</label>
32
<div
class
=
"help-block with-errors"
></div>
33
</div>
34
<div
class
=
"form-group checkbox"
>
35
<input type=
"checkbox"
id
=
"sterms"
value=
"Agreed-to-Terms"
required>I agree with Tivo
's <a href="privacy-policy">Privacy Policy</a> and <a href="terms-conditions.html">Terms Conditions</a>
36
<div class="help-block with-errors"></div>
37
</div>
38
<div class="form-group">
39
<button type="submit" class="form-control-submit-button">SIGN UP</button>
40
</div>
41
<div class="form-message">
42
<div id="smsgSubmit" class="h3 text-center hidden"></div>
43
</div>
44
</form>
45
</div> <!-- end of form container -->
46
<!-- end of sign up form -->
47
48
</div> <!-- end of col -->
49
</div> <!-- end of row -->
50
</div> <!-- end of container -->
51
</header> <!-- end of ex-header -->
52
<!-- end of header -->
53
<style>
54
.ex-footer-frame,
55
.footer,
56
.copyright {
57
display: none;
58
}
59
</style>
toggle
if(! $user->id) демо версия data toggle
Definition:
comments.php:17
href
href
Definition:
main.php:21