|
@@ -5,7 +5,7 @@ function dw_wik_places() {
|
|
|
$url = "https://davidawindham.com/wik/";
|
|
|
$url .= "?module=API&method=UserCountry.getCity";
|
|
|
$url .= "&idSite=1&period=month&date=yesterday";
|
|
|
- $url .= "&format=JSON&filter_limit=20";
|
|
|
+ $url .= "&format=JSON&filter_limit=34";
|
|
|
$url .= "&token_auth=3910b0da85f448ae35d4b75b4e6912bb";
|
|
|
|
|
|
$fetched = file_get_contents($url);
|
|
@@ -20,7 +20,7 @@ function dw_wik_places() {
|
|
|
$hits = $row['nb_visits'];
|
|
|
$logo = $row['logo'];
|
|
|
$length = $row['sum_visit_length'];
|
|
|
- print("<li class='list-group-item'><img src='https://davidawindham.com/wik/$logo' style='width:30px;'/> $location <span class='badge'> $hits </span></li>");
|
|
|
+ print("<li class='list-group-item'><img src='https://davidawindham.com/wik/$logo' style='width:20px;'/> $location <span class='badge'> $hits </span></li>");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -30,7 +30,7 @@ function dw_wik_url() {
|
|
|
$url = "https://davidawindham.com/wik/";
|
|
|
$url .= "?module=API&method=Actions.getPageUrls";
|
|
|
$url .= "&idSite=1&period=month&date=yesterday";
|
|
|
- $url .= "&format=JSON&filter_limit=20";
|
|
|
+ $url .= "&format=JSON&filter_limit=43";
|
|
|
$url .= "&token_auth=3910b0da85f448ae35d4b75b4e6912bb";
|
|
|
|
|
|
$fetched = file_get_contents($url);
|