layout page
This commit is contained in:
parent
0e7e8a6d41
commit
5451a3ecee
3 changed files with 22 additions and 2 deletions
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
foreach($data as $category => $items){
|
||||
echo "<div class='category'>".$category."</div>";
|
||||
foreach($items as $item => $value){
|
||||
echo "<div class='service'>";
|
||||
echo "<a class='service_link' href='https://".$item.".actcur.com'>";
|
||||
echo "<span class='service_name' title='".$value['summary']"'>".$value['name']."</span>"
|
||||
echo "</a>";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -1 +1,5 @@
|
|||
authenticated
|
||||
<?php
|
||||
include "../includes/retrieve_data.php";
|
||||
$data = retrieve_data("/srv/http/sitedata.yml",false);
|
||||
include "../includes/layout.php"
|
||||
?>
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
unauthenticated
|
||||
<?php
|
||||
include "../includes/retrieve_data.php";
|
||||
$data = retrieve_data("/srv/http/sitedata.yml",true);
|
||||
include "../includes/layout.php"
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue