pull/19/head
Suvodip 2025-02-14 17:16:30 +05:30
parent 095a8752f5
commit 58431ebd0c
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 href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a> &nbsp;
<a target="_blank" href="<?php <a target="_blank" href="<?php
if ($pageData['type'] === 'notice') { if ($pageData['type'] === 'notice') {
echo '/notice/' . $pageData['slug'] . '.html'; echo '/notice/' . $pageData['slug'];
} elseif ($pageData['type'] === 'page') { } elseif ($pageData['type'] === 'page') {
echo '/' . $pageData['slug'] . '.html'; echo '/' . $pageData['slug'];
} }
?>">View</a> ?>">View</a>
</div> </div>