diff options
-rw-r--r-- | viewcategory.php | 8 | ||||
-rw-r--r-- | viewuser.php | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/viewcategory.php b/viewcategory.php index 85dc7ea..0d69ed8 100644 --- a/viewcategory.php +++ b/viewcategory.php @@ -22,15 +22,15 @@ if (!isset($_GET['id']) || !filter_var($_GET['id'], FILTER_VALIDATE_INT)) { <!DOCTYPE html> <html> <head> - <title><?php echo $current->name; ?> - cflip.net forum</title> + <title><?= $current->name; ?> - cflip.net forum</title> <link rel="stylesheet" href="styles/style.css"> </head> <body> <?php include_once 'templates/header.php';?> - <h1><?php echo $current->name; ?></h1> - <p><?php echo $current->description; ?></p> + <h1><?= $current->name; ?></h1> + <p><?= $current->description; ?></p> <span class="info"> - <?php echo $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?> + <?= $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?> </span> <h2>Threads</h2> <table width="100%"> diff --git a/viewuser.php b/viewuser.php index c43a700..3a33de0 100644 --- a/viewuser.php +++ b/viewuser.php @@ -14,12 +14,12 @@ if (!isset($_GET['id'])) { <!DOCTYPE html> <html> <head> - <title><?php echo $current->name; ?>'s Profile - cflip.net forum</title> + <title><?= $current->name; ?>'s Profile - cflip.net forum</title> <link rel="stylesheet" href="styles/style.css"> </head> <body> <?php include_once "templates/header.php" ?> - <h1><?php echo $current->name; ?></h1> - member since <?php echo date('M d, Y', strtotime($current->date)); ?> + <h1><?= $current->name; ?></h1> + member since <?= date('M d, Y', strtotime($current->date)); ?> </body> </html> |