summaryrefslogtreecommitdiff
path: root/viewcategory.php
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-04-07 15:24:15 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-04-07 15:24:15 -0600
commit700449b8d903b9707b2751784dc54b4450a655df (patch)
tree438db8c9baaa026f46a35e3f6f149d7aaa32db1e /viewcategory.php
parentd61a18a93bc1b39d91725497ebb2fe85c4785ead (diff)
Style and layout changes
Diffstat (limited to 'viewcategory.php')
-rw-r--r--viewcategory.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/viewcategory.php b/viewcategory.php
index ebdc03f..85dc7ea 100644
--- a/viewcategory.php
+++ b/viewcategory.php
@@ -23,12 +23,15 @@ if (!isset($_GET['id']) || !filter_var($_GET['id'], FILTER_VALIDATE_INT)) {
<html>
<head>
<title><?php echo $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>
- <?php echo $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?>
+ <span class="info">
+ <?php echo $current->thread_count . ' threads, ' . $current->post_count . ' posts'; ?>
+ </span>
<h2>Threads</h2>
<table width="100%">
<tr>
@@ -53,10 +56,10 @@ if (!isset($_GET['id']) || !filter_var($_GET['id'], FILTER_VALIDATE_INT)) {
echo '<tr>';
echo '<td><b><a href="viewthread.php?id=' . $thread->id . '">' . $thread->subject . '</a></b>';
- echo ' by <b><a href="viewuser.php?id=' . $thread->author->id . '">' . $thread->author->name . '</a></b> on ' . date('M d, Y', strtotime($thread->date_created)) . '</td>';
+ echo '<small> by <b><a href="viewuser.php?id=' . $thread->author->id . '">' . $thread->author->name . '</a></b> on ' . date('M d, Y', strtotime($thread->date_created)) . '</small></td>';
if (!is_null($latest_post)) {
- echo '<td>by <b><a href="viewuser.php?id=' . $latest_post->author->id . '">' . $latest_post->author->name . '</a></b> on ' . $latest_post->date . '</td>';
+ echo '<td>by <b><a href="viewuser.php?id=' . $latest_post->author->id . '">' . $latest_post->author->name . '</a></b><small> on ' . $latest_post->date . '</small></td>';
} else {
echo '<td>No posts yet!</td>';
}