Merge pull request 'ss' (#19) from b2 into master

Reviewed-on: #19
master
Subhodip Ghosh 2025-02-14 11:46:54 +00:00
commit da2c17d402
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'] . '.html';
echo '/notice/' . $pageData['slug'];
} elseif ($pageData['type'] === 'page') {
echo '/' . $pageData['slug'] . '.html';
echo '/' . $pageData['slug'];
}
?>">View</a>
</div>