-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.php
executable file
·105 lines (53 loc) · 2.01 KB
/
header.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
if(!isset($_SESSION["login"])){
header("Location:".CURRENT."/login/");
exit;
}
if ( ! isset( $_COOKIE["activity_time"] ) ) {
$activity_control = new SecureLicense\Classes\LicenseActivity();
$activity_control->license_activity();
}
?>
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Secure License</title>
<?php sl_header(); ?>
</head>
<body>
<!-- Modal -->
<div class="modal fade" id="code" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Kod</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h5>Bu kodu kopyalayın</h5>
<code>
require __DIR__."/license.php";
<br>
if(!isset($require)){
<br>
die("Lisanssız Kullanım");
<br>
}
</code>
<h6 class="text-danger">Kodu sitenizin bütün sayfalarına entegre edilmiş bir dosyanın en üstüne yapıştırın.</h6>
<br>
<p>Genellikle header.php dosyasına eklenir.</p>
<p>İndirdiğiniz license.php dosyasını kodu entegre ettiğiniz dosyanın yanına atınız.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Kapat</button>
</div>
</div>
</div>
</div>
<?php get_sidebar(); ?>