This repository was archived by the owner on Feb 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfallback.php
More file actions
42 lines (42 loc) · 2.63 KB
/
Copy pathfallback.php
File metadata and controls
42 lines (42 loc) · 2.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TagVault</title>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<link href="./inc/css/style.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="./inc/js/masonry.pkgd.min.js"></script>
</head>
<body>
<div class="credits">
<a href="https://twitter.com/intent/tweet?screen_name=KernelCurry" class="twitter-mention-button">Tweet author @KernelCurry</a>
<br />
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out this cool MMS BBS @KernelCurry created!" data-hashtags="TagVault">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
<a href="https://github.com/michaelcurry/tagvault"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<div class="container text-center">
<img class="logo img-responsive" src="./inc/img/logo.png" />
<p class="intro" >Text <span><?php echo $config['number'] ?></span> a picture with the name of a tag. Your image will be displayed on that tag.</p>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<form action="/" method="GET">
<div class="input-group">
<input type="text" class="form-control" name="tag" placeholder="Tag Name">
<span class="input-group-btn">
<button class="btn btn-default" type="submit">Go</button>
</span>
</div>
</form>
<?php $redis = new Predis\Client(); ?>
<p class="stats">Number of Tags: <?php echo count(array_unique($redis->lrange('TAGLIST',0,-1))); ?></p>
<p class="stats">Number of Images: <?php echo $redis->llen('TAGLIST'); ?></p>
</div>
</div>
<img class="sponsor img-responsive" src="./inc/img/twilio.png" />
</div>
<?php echo $config['analytics'] ?>
</body>
</html>