-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdrmx_LicError.php
More file actions
48 lines (46 loc) · 1.7 KB
/
drmx_LicError.php
File metadata and controls
48 lines (46 loc) · 1.7 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
<?php
require_once dirname(__DIR__, 3) . '/wp-load.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Login and obtain license</title>
<link rel="stylesheet" type="text/css" href="public/css/login-style.css" />
</head>
<body>
<div class="login-wrap">
<div class="login-head">
<div align="center"><img src="public/images/logo.png" alt=""></div>
</div>
<div class="login-cont">
<div id="btl-login-error" class="btl-error">
<div class="black">
<?php
$LicError = isset( $_GET['error'] ) ? $_GET['error'] : '';
$MesError = isset( $_GET['message'] ) ? $_GET['message'] : '';
if($LicError == "ERROR:EXCEED_BIND"){
echo esc_attr("ERROR:EXCEED_BIND, if in doubt please contact the administrator.");
}else if ($LicError == "ERROR:ADMIN_NO_MONEY") {
echo esc_attr("ERROR:ADMIN_NO_MONEY, please contact the administrator.");
}else if ($MesError == "ERROR:RIGHTS EXPIRED") {
echo esc_attr("ERROR:RIGHTS EXPIRED, please contact the administrator..");
}else {
echo esc_attr($LicError);
echo "<br>";
echo esc_attr($MesError);
}
?>
</div>
</div>
<div class="login-foot">
<div class="foot-tit">Other options</div>
<div class="foot-acts">
<a class="link-reg" href="<?php echo esc_attr(site_url()); ?>" target="_blank">Help?</a>
<a class="link-get-pwd" href="<?php echo esc_attr(site_url()); ?>" target="_blank">Buy Course</a>
</div>
</div>
</div>
</div>
</body>
</html>