site/links.php

30 lines
755 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yuki</title>
<link rel="shortcut icon" href="img/yuki.png" type="image/jpg">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<?php include("inc/top.php"); ?>
<div class="container">
<?php include("inc/header.php"); ?>
<div class="section">
<h2>Links</h2>
<ul>
<?php foreach($links as $link) { ?>
<li><a href="<?=$link["link"]?>" target="_blank" rel="me noopener noreferrer"><?=$link["name"]?></a></li>
<?php } ?>
</ul>
</div>
<?php include("inc/footer.php"); ?>
</div>
</body>
</html>