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.
23 lines
993 B
23 lines
993 B
<?php ini_set("allow_url_fopen", 1); include "header.php"; ?>
|
|
|
|
<section class="content">
|
|
<div class="container-fluid">
|
|
<div class="block-header">
|
|
<h2>ISKOLÁK</h2>
|
|
</div>
|
|
<div class="row clearfix">
|
|
<div class="list-group">
|
|
<?php
|
|
$json = json_decode(file_get_contents($url."/API/request.php?type=schools"), true);
|
|
for($i = 0; $i<count($json); $i++) {
|
|
if($json[$i]["name"] != ""){
|
|
echo '<a class="listitem list-group-item waves-effect" href="'.$curdir.'school.php?id='.$json[$i]["id"].'"><img class="listitemimg squircle" src="'.$url.'/API/request.php?type=image&subtype=school&id='.$json[$i]["id"].'"><b>'.$json[$i]["name"].'</b><br>'.$json[$i]["location"].'<br>Second line</a>';
|
|
}
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<?php include "footer.php"; ?>
|