mirror of https://github.com/Chouchen/shorturl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
332 B
14 lines
332 B
<?
|
|
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>'; |