2012-02-26 05:30:58 +01:00
|
|
|
<?php
|
|
|
|
// Start YOURLS engine
|
|
|
|
require_once( dirname(__FILE__).'/includes/load-yourls.php' );
|
|
|
|
|
|
|
|
$items = yourls_api_stats( 'last', 1 );
|
|
|
|
?>
|
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
|
|
|
<title>krt.mn</title>
|
|
|
|
<meta name="description" content="personal url shortener of web & ui designer matthias kretschmann">
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="user/css/h5bp.css">
|
2012-02-27 12:49:54 +01:00
|
|
|
<link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
|
2012-02-26 05:30:58 +01:00
|
|
|
<link rel="stylesheet" href="user/css/krtmn.css">
|
2012-02-27 04:28:05 +01:00
|
|
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114-precomposed.png">
|
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72-precomposed.png">
|
|
|
|
<link rel="shortcut icon" href="/apple-touch-icon-precomposed.png">
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
2012-02-26 05:30:58 +01:00
|
|
|
|
|
|
|
</head>
|
2012-02-27 03:51:07 +01:00
|
|
|
<body id="public">
|
2012-02-26 05:30:58 +01:00
|
|
|
|
|
|
|
<header>
|
2012-02-27 12:49:54 +01:00
|
|
|
<h1 class="icon link"><a href="/admin">krt.mn</a></h1>
|
2012-02-26 05:30:58 +01:00
|
|
|
</header>
|
|
|
|
<article role="main">
|
|
|
|
<?php foreach( $items['links'] as $item ) { ?>
|
2012-02-27 13:19:44 +01:00
|
|
|
<p>Latest short url: <a href="<?php echo $item['shorturl']; ?>"><?php echo $item['shorturl']; ?> <span class="title"><?php echo $item['title']; ?></span></a></p>
|
2012-02-26 05:30:58 +01:00
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<footer>
|
2012-02-27 13:05:52 +01:00
|
|
|
|
|
|
|
<p><small>personal url shortener of web & ui designer <a href="http://mkretschmann.com">matthias kretschmann</a>. You should follow me on <a href="http://twitter.com/kremalicious">twitter</a>.</small></p>
|
|
|
|
<p><small>icon font <a href="http://iconsweets.com/">iconsweets</a></small></p>
|
|
|
|
|
2012-02-26 05:30:58 +01:00
|
|
|
</footer>
|
2012-03-07 14:00:22 +01:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
var _gauges = _gauges || [];
|
|
|
|
(function() {
|
|
|
|
var t = document.createElement('script');
|
|
|
|
t.type = 'text/javascript';
|
|
|
|
t.async = true;
|
|
|
|
t.id = 'gauges-tracker';
|
|
|
|
t.setAttribute('data-site-id', '4f575b81cb25bc21b50000a3');
|
|
|
|
t.src = '//secure.gaug.es/track.js';
|
|
|
|
var s = document.getElementsByTagName('script')[0];
|
|
|
|
s.parentNode.insertBefore(t, s);
|
|
|
|
})();
|
|
|
|
</script>
|
2012-02-26 05:30:58 +01:00
|
|
|
|
2012-02-26 05:53:11 +01:00
|
|
|
<script>
|
|
|
|
var _gaq=[['_setAccount','UA-1441794-9'],['_trackPageview']];
|
|
|
|
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
|
|
|
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
|
|
|
s.parentNode.insertBefore(g,s)}(document,'script'));
|
|
|
|
</script>
|
|
|
|
|
2012-02-26 05:30:58 +01:00
|
|
|
</body>
|
|
|
|
</html>
|