pull/25/head
Suvodip 2025-02-14 18:06:07 +05:30
parent 8b28667065
commit 0ccb97fff7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ $content = $stmt->fetchAll(PDO::FETCH_ASSOC);
<div style="display: flex; flex-direction: row; justify-content: center; color: blue; gap: 10px;"> <div style="display: flex; flex-direction: row; justify-content: center; color: blue; gap: 10px;">
<a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a> <a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a>
<a target="_blank" href="/<?php echo $pageData['slug']; ?>">View</a> <a target="_blank" href="/<?php echo $pageData['slug']; ?>">View</a>
<button class="copy-btn" data-slug="<?php echo '/'. $pageData['slug']; ?>">Copy</button> <button class="copy-btn" data-slug="https://<?php echo $_SERVER['HTTP_HOST'] .'/'. $pageData['slug']; ?>">Copy</button>
</div> </div>
</td> </td>
</tr> </tr>