-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
108 lines (102 loc) · 4.96 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
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
105
106
107
108
<?php
include_once '../app/custom-smiirl-counter-api.php';
use CSmiirl\CSmiirl as CSmiirl;
$CSmiirl = new CSmiirl;
$CSmiirl->initEditPage();
$CSmiirl->initUsersAccess();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Demo Custom Smiirl Counter Api - Allan Dollé</title>
<meta name="description" content="Demo of the custom counter of the Smiirl company. Easy implementation, customize actions and interface with ease. Change the number value of your custom Smiirl counter !">
<meta name="robots" content="index, follow, noodp">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="msapplication-tap-highlight" content="no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Custom Smiirl Counter API">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#199a8f">
<meta name="apple-mobile-web-app-title" content="Custom Smiirl Counter API">
<meta name="theme-color" content="#199a8f">
<link rel="stylesheet" href="index.css">
<meta property="og:url" content="https://allandolle.fr/custom-smiirl-counter-api/edit/">
<meta property="og:title" content="Custom Smiirl Counter API - Allan Dollé">
<meta property="og:site_name" content="Custom Smiirl Counter API - Allan Dollé">
<meta property="og:description" content="Demo of the custom counter of the Smiirl company. Easy implementation, customize actions and interface with ease. Change the number value of your custom Smiirl counter !">
<meta property="og:image" content="https://allandolle.fr/custom-smiirl-counter-api/screenshot.png">
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="892" />
<meta property="og:image" content="https://allandolle.fr/custom-smiirl-counter-api/screenshot-log-panel.png">
<meta property="og:image" content="https://allandolle.fr/custom-smiirl-counter-apiscreenshot-responsive-mobile.jpg/">
<meta property="og:locale" content="en_EN">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="twitter:description" content="Demo of the custom counter of the Smiirl company. Easy implementation, customize actions and interface with ease. Change the number value of your custom Smiirl counter !">
<meta name="twitter:title" content="Custom Smiirl Counter API - Allan Dollé">
<meta name="twitter:image" content="https://allandolle.fr/custom-smiirl-counter-api/screenshot.png">
<meta name="twitter:image" content="https://allandolle.fr/custom-smiirl-counter-api/screenshot-log-panel.png">
<meta name="twitter:image" content="https://allandolle.fr/custom-smiirl-counter-apiscreenshot-responsive-mobile.jpg/">
<link rel="canonical" href="https://allandolle.fr/custom-smiirl-counter-api/edit/">
</head>
<script>(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-96248110-1', 'auto');
ga('send', 'pageview');
</script>
<body>
<form class="" action="" method="post">
<div class="wrapper">
<label class="compteur" for="">
<?php echo $_HTML_COUNT; ?><br>
<a href="//<?php echo $_ROOT_URL.$_PROJECT_FOLDER; ?>" title="Voir le fichier Json réel">
<?php echo $CSmiirl->getCounterValue(); ?>
</a>
</label>
<?php
$CSmiirl->printActionsRadios();
?>
<input id="input" type="number" name="<?php echo $CSmiirl->getJsonKey(); ?>" value="<?php echo $CSmiirl->getDefaultInputValue(); ?>" placeholder="<?php echo $CSmiirl->getFirstAction()[HTML_INPUT]; ?>" required>
<span class="underline"></span>
<input id="submit" type="submit" value="<?php echo reset($_ACTIONS)[HTML_SUBMIT]; ?>">
</div>
<div class="pin">
<?php echo $CSmiirl->getDefaultTitleLog(); ?>
</div>
<div class="wrapper logger">
<?php
$CSmiirl->printLastLog(20, 'Historique');
?>
</div>
<footer>
<div>
<a href="//allandolle.fr" title="Web Developer and consultant SEO" rel="author">
©
Allan Dollé
</a>
<span>|</span>
<a href="https://github.com/blephy/custom-smiirl-counter-api" title="Repo of the app Custom Smiirl Counter API">
<img src="//allandolle.fr/images/social/github-white.svg" alt="Aymeric Sans Github White Icon Svg" />
Github Repository
</a>
</div>
</footer>
</form>
<?php if ( $_ACTIVE_EASTER_EGGS ) { include '../template/easter-egg.php';} ?>
<audio id="audio">
<source src="soundeffect.radio.clic.mp3"></source>
</audio>
<script type="text/javascript" src="index.js"></script>
</body>
</html>