-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
64 lines (55 loc) · 1.88 KB
/
index.php
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
<?php
session_start();
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
/*
Ini halaman login ke dashboard untuk manajemen data lelang
+===========================================+
: Aplikasi Whatsapp BotLelang dibuat oleh :
: Kukuh TW :
: kukuhtw@gmail.com :
: https://linktr.ee/kukuhtw :
: https://wa.me/628129893706 :
+===========================================+
*/
?>
<!DOCTYPE html>
<?php
error_reporting(E_ALL);
ini_set('display_errors', 0);
$cookies_visitor = isset($_COOKIE['cookies_visitor']) ? $_COOKIE['cookies_visitor'] : '';
//echo"<br>cookies_visitor=".$cookies_visitor;
if(!isset($_COOKIE["cookies_visitor"])){
$durationcookies = 3600 * 24 * 30 * 12 * 10 ; // 10 tahun
$cookies_visitor1=rand(11111,999999999);
$cookies_visitor2=rand(11111,999999999);
$cookies_visitor = $cookies_visitor1."-".$cookies_visitor2;
setcookie("cookies_visitor", $cookies_visitor, time()+$durationcookies);
//echo"<br>Set cookies_visitor baru = ".$cookies_visitor;
}
//echo"<br>Now cookies_visitor=".$cookies_visitor;
?>
<html lang="en">
<?php include("head_register.php") ?>
<body class="bg-dark">
<div class="container">
<div class="card card-register mx-auto mt-5">
<div class="card-header">Login client</div>
<div class="card-body">
<?php
include("handle_login_client.php") ;
include("form_login_client.php") ;
?>
<div class="text-center">
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
</body>
</html>