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.

28 lines
877 B

<!doctype html>
<link href="css/administration.css" rel="stylesheet" type="text/css">
<html>
<form action="index.php?action=ajoutSource" method="POST">
<input type="text" name="linkSource" placeholder="source" />
<input type="submit" value="add source">
</form>
</html>
<?php
if(!is_null($listeSources)) {
foreach ($listeSources as $n) {
echo '<form action="index.php?action=supprimerSource&source=' . $n->getlink() . '" method="POST">';
echo "<div class=source>";
echo "<p id=link>";
echo $n->getlink();
echo "</p>";
echo '<input type="submit" value="x">';
echo "</div>";
echo "</form>";
}
}
?>
<form action="index.php">
<input type="hidden" name="action" value="refreshData">
<input type="submit" value="refresh">
</form>