-
Notifications
You must be signed in to change notification settings - Fork 7
/
old_index.php
47 lines (43 loc) · 1.64 KB
/
old_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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="jquery-2.1.1.min.js"></script>
<script src="letters.js"></script>
<script src="lb-demo.js"></script>
<link rel="stylesheet" type="text/css" href="letters.css">
</head>
<body>
<?php $File = "counter.txt" ;
$handle = fopen($File, 'r+') ;
$data = fread($handle, 512) ;
$count = $data + 1;
$count_padded = sprintf("%06s", $count);
print "<h1 class='lb giant scrolled' id='counter' >".$count_padded."</h1>" ;
fseek($handle, 0) ;
fwrite($handle, $count) ;
fclose($handle) ;
?>
<h4 class="lb small looped" id="counter-label">people who clicked this small red button</h4>
<button class="red-button" onClick="window.location.reload()">a button</button>
<div class="alfabeto">
<div class="alphabet lb scrolled big">q w e r</div>
<div class="alphabet lb scrolled big">t y u i</div>
<div class="alphabet lb scrolled big">o p a s</div>
<div class="alphabet lb scrolled big">d f g h</div>
<div class="alphabet lb scrolled big">j k l z</div>
<div class="alphabet lb scrolled big">x c v b</div>
<div class="alphabet lb scrolled big">n m , :</div>
<div class="alphabet lb scrolled big">! . " ?</div>
<div class="alphabet lb scrolled big">' + - =</div>
<div class="alphabet lb scrolled big">*</div>
</div>
<p class="">
<div class="quote lb looped small">this is letterbolt, my animated js font.</div>
<br>
<div class="quote lb looped small">if interested, follow me to stay updated.</div>
<a class="twitter" href="https://twitter.com/ruggeromotta">@ruggeromotta</a>
</p>
</body>
</html>