k2auth_form.php
3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
$this->LoginForm = ' <div class="row">
<div class="col-6">
<h2 class="h-text text-center">Авторизація</h2>
<form method="POST" class = "contact_form", action="">
<div class="form-group">
<label for="exampleInputEmail1">Введіть свій Email</label>
<input type="text" name="Login" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Введіть свій пароль</label>
<a href="javascript:void(0)" class="showpass" onclick="mouseoverPass();"><i class="fa fa-eye" aria-hidden="true"></i></a>
<a href="javascript:void(0)" style="display:none" class="hidepass" onclick="mouseoutPass();"><i class="fa fa-eye" aria-hidden="true"></i></a>
<input type="password" name="Password" class="form-control" id="exampleInputPassword1" placeholder="пароль">
</div>
<button type="submit" name="submit" class="btn login hvr-icon-wobble-horizontal">Вхід <i class="fa fa-sign-in hvr-icon"></i></button>
<span class="header__regbtn regbtn_right"><a href="/comp/dp2pub/c/cabinet/page/reg" class="btn remember"> Зареєструватись <i class="fa fa-drivers-license-o"></i></a></span>
<span class="header__regbtn regbtn_right"><a href="/?p=remember" class="btn remember"> Згадати пароль</a></span>
</form>
<br>
<a href="/public/img/Система самообслуговування клієнтів IMG-конвертирован.pdf" class="btn btn-primary" target="_blank"><i aria-hidden="true" class="fa fa-file-pdf-o"></i> Інструкція</a>
</div>
</div>
<script>
function mouseoverPass(obj) {
var obj = document.getElementById("exampleInputPassword1");
$(".showpass").hide();
$(".hidepass").show();
obj.type = "text";
}
function mouseoutPass(obj) {
var obj = document.getElementById("exampleInputPassword1");
$(".showpass").show();
$(".hidepass").hide();
obj.type = "password";
}
</script>
';
$this->unLoginForm = "<center>
<form id='myform' method='post' class='form-horizontal form-calculate form-with-line modified-grid-9' style='font-size: 13px;'>
<div style='width:660px;'>
<fieldset style='float:left;height:140px;'>
<b>Пользователь авторизован</b>
<table style='border-collapse:separate;border-spacing:4px;'>
<tr>
<td>Вы авторизированы.</br>
Логин: {login}</br>
Имя: {username}</br>
Права: {rolename}</td>
</tr>
<tr>
<td>
<div class='form-group col-lg-3 col-lg-offset-3'>
<input class='button db' name='clear' type='submit' value='Разлогиниться' style='color: white;'/>
</div>
</td>
</tr>
</table>
</fieldset>
<div style='clear:both;'></div>
</div>
<!--{render_auth}-->
</form>
</center>";