Compare commits

..

No commits in common. "da2c17d4029ac3b90cc0a875051876559ce411dc" and "383784f630616c08d9dc4b2be16de60090bbb5d1" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ $content = $stmt->fetchAll(PDO::FETCH_ASSOC);
<a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a> &nbsp;
<a target="_blank" href="<?php
if ($pageData['type'] === 'notice') {
echo '/notice/' . $pageData['slug'];
echo '/notice/' . $pageData['slug'] . '.html';
} elseif ($pageData['type'] === 'page') {
echo '/' . $pageData['slug'];
echo '/' . $pageData['slug'] . '.html';
}
?>">View</a>
</div>