summaryrefslogtreecommitdiff
path: root/viewcategory.php
diff options
context:
space:
mode:
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>';
}