mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-29 06:09:50 +00:00
finis!
This commit is contained in:
@ -20,6 +20,7 @@ class Tags extends Tag {
|
||||
$url = "?tag=" . $tag->getId();
|
||||
if(isset($_GET["term"])) $url .= "&term=" . $_GET["term"];
|
||||
if(isset($_GET["category"])) $url .= "&category=" . $_GET["category"];
|
||||
if(isset($_GET["recent"])) $url .= "&recent=" . $_GET["recent"];
|
||||
$res->setAttribute("href", "/search/" . $url);
|
||||
$classes = "tag";
|
||||
if(isset($_GET["tag"]) && $tag->getId() == $_GET["tag"]) $classes .= " active";
|
||||
|
@ -245,7 +245,7 @@ class Post {
|
||||
$content = $post->getContent();
|
||||
$category = $post->getCategory()->getId();
|
||||
$author = $post->getAuthor()->getId();
|
||||
$dt = (new DateTime())->format("d/m/Y h:i:s");
|
||||
$dt = (new DateTime())->format("d/m/Y");
|
||||
|
||||
|
||||
$pdo = Functions::connect();
|
||||
|
Reference in New Issue
Block a user