/photos/album.php |
---|
39,6 → 39,11 |
write('<p class="bold"><a href="index.php">Back to Photos</a></p><br />'); |
if (file_exists("albums/" . $dirName . "/description.txt")) |
{ |
write('<p>' . $page->replaceBBCode(file_get_contents("albums/" . $dirName . "/description.txt")) . '</p><br />'); |
} |
write('<table>'); |
write('<tr>'); |
47,6 → 52,8 |
$dir = dir('albums/' . $dirName); |
while (($file = $dir->read()) !== false) |
{ |
if (getimagesize('albums/' . $dirName . '/' . $file)) |
{ |
if ($file[0] != '.') |
{ |
if ($i >= 4) |
62,6 → 69,7 |
$i++; |
} |
} |
} |
write('</tr>'); |
/styles.css |
---|
8,15 → 8,15 |
h1 { |
font-size: 28pt; |
margin: 6px; |
margin: 8px; |
margin-top: 0px; |
color: #000089; |
border-bottom: 1px solid #000000; |
color: #FFFFFF; |
border-bottom: 1px solid #FFFFFF; |
} |
h2 { |
font-size: 20pt; |
margin: 6px; |
margin: 8px; |
margin-left: 8px; |
color: #00004B; |
} |
23,7 → 23,7 |
h3 { |
font-size: 16pt; |
margin: 6px; |
margin: 8px; |
margin-left: 10px; |
color: #000055; |
} |
30,7 → 30,7 |
h4 { |
font-size: 12pt; |
margin: 6px; |
margin: 8px; |
margin-left: 12px; |
color: #00005F; |
} |
37,7 → 37,7 |
h5 { |
font-size: 10pt; |
margin: 6px; |
margin: 8px; |
margin-left: 14px; |
color: #000069; |
} |
44,7 → 44,7 |
p, table, span { |
font-size: 11pt; |
margin: 6px; |
margin: 8px; |
margin-left: 16px; |
} |
93,12 → 93,9 |
position: fixed; |
padding: 0px; |
padding-left: 32px; |
border-right: 1px solid #000089; |
background-color: #FFFF73; |
background-image: url('data/sidebar-gradient.png'); |
background-repeat: repeat-x; |
background-position: center bottom; |
border-right: 0px solid #000089; |
background-color: #032865; |
color: #FFFFFF; |
} |
.sidebar-header { |
111,10 → 108,12 |
.sidebar-menu { |
text-align: right; |
padding: 6px; |
color: #FFFFFF; |
} |
.sidebar-menu h3 { |
margin: 6px; |
color: #FFFFFF; |
} |
.sidebar-menu p { |
122,8 → 121,12 |
margin: 4px; |
} |
.sidebar-menu a { |
color: #FFFFFF; |
} |
.content { |
left: 200px; |
left: 194px; |
top: 0px; |
position: absolute; |
margin-right: 32px; |
/_taios.php |
---|
169,7 → 169,9 |
function replaceBBCode($str) |
{ |
$newstr = str_replace("\n", '</p><p>', $str); |
$newstr = str_replace("<", "[", $str); |
$newstr = str_replace(">", "]", $newstr); |
$newstr = str_replace("\n", '<br />', $newstr); |
$newstr = str_replace(' ', ' ', $newstr); |
$newstr = str_replace(' :)', ' <img src="' . $this->url . 'data/smilies/face-smile.png" class="smiley" />', $newstr); |
$newstr = str_replace(' :p', ' <img src="' . $this->url . 'data/smilies/face-raspberry.png" class="smiley" />', $newstr); |
/404.php |
---|
16,6 → 16,7 |
<p class="bold">404 - Page not found</p> |
<p>The page you requested could not be found.</p> |
<br /> |
<h4>Useful Links</h4> |
/admin/all-accounts.php |
---|
17,7 → 17,7 |
write('<td class="bold">ID</td>'); |
write('<td class="bold">AccessID</td>'); |
write('<td class="bold">Username</td>'); |
write('<td class="bold">Password</td>'); |
write('<td class="bold">SHA1 Password</td>'); |
write('<td class="bold">Name</td>'); |
write('<td class="bold">Email Address</td>'); |
write('<td class="bold">Challenge ID</td>'); |
/wiki/index.php |
---|
12,6 → 12,8 |
$page->drawHeader(); |
$page->drawMiddle(); |
write('<p><i>The wiki is still under construction.</i></p>'); |
if ($page->isUserGM($page->getLoggedInUser())) |
{ |
write('<p><a href="edit.php?page=' . $pageName . '">Edit Page</a></p><br />'); |
/forums/index.php |
---|
4,8 → 4,6 |
$page = new Taios_Page('Forums', '../'); |
write('<p><i>The forums are still under construction.</i></p>'); |
$parentID = $_GET['parentID']; |
if (empty($parentID)) |
{ |
19,6 → 17,8 |
$page->drawHeader(); |
$page->drawMiddle(); |
write('<p><i>The forums are still under construction.</i></p>'); |
write('<p class="bold">'); |
if ($parentID != -1) |
{ |