forked from ranaldmiao/noiref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·109 lines (86 loc) · 3.22 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
109
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
NOI Reference
</title>
<!-- Bootstrap core CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Documentation extras -->
<link href="/css/docs.min.css" rel="stylesheet">
<link href="/css/cover.css" rel="stylesheet">
<!--[if lt IE 9]><script src="../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<a class="sr-only" href="#content">Skip to main content</a>
<!-- Docs master nav -->
<header class="navbar navbar-fixed bs-docs-nav" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/" class="navbar-brand">NOI Reference</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li>
<a href="/misc/">Misc.</a>
</li>
<li>
<a href="/math/">Math</a>
</li>
<li>
<a href="/dp/">Dynamic Programming</a>
</li>
<li>
<a href="/graph/">Graph</a>
</li>
<li>
<a href="/ds/">Data Structure</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="inner cover">
<h1 class="cover-heading">NOI Reference</h1>
<p class="lead">A collection of algorithms & data structures maintained by Ranald Lam.</p>
<p class="lead">Meant for circulation among Raffles Institution Programming Members only.</p>
<p>
<a href="/misc/">Misc.</a>·
<a href="/math/">Math</a>·
<a href="/dp/">Dynamic Programming</a>·
<a href="/graph/">Graph</a>·
<a href="/ds/">Data Structure</a>
</p>
<p>Copyrighted 2014. All rights reserved.</p>
<p>Site page views: <?php echo file_get_contents("counter.txt"); ?></p>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/docs.min.js"></script>
</body>
</html>
<?php $counter = intval(file_get_contents("counter.txt")); file_put_contents("counter.txt", $counter+1); ?>