mirror of
https://github.com/Chouchen/shorturl.git
synced 2018-06-07 06:34:38 +02:00
14 lines
332 B
PHP
14 lines
332 B
PHP
<?
|
|
session_start();
|
|
include 'class/ShortURL.php';
|
|
|
|
$url = new ShortURL();
|
|
|
|
$ret = $url->extractEverything();
|
|
|
|
echo '<ul>';
|
|
foreach($ret as $unRet){
|
|
echo '<li> '.$unRet['attributes']['id'].' => <a href="'.$unRet['childs']['url'].'">'.$unRet['childs']['url'].'</a> => '.$unRet['childs']['hit'].' hits';
|
|
}
|
|
|
|
echo '</ul>'; |