Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 325 → Rev 338

/styles.css
88,9 → 88,8
}
 
.sidebar {
left: 0px;
top: 0px;
position: fixed;
float: left;
width: 194px;
padding: 0px;
padding-left: 32px;
border-right: 0px solid #000089;
126,9 → 125,7
}
 
.content {
left: 194px;
top: 0px;
position: absolute;
float: right;
margin-right: 32px;
}
 
/photos/index.php
8,9 → 8,17
 
write('<p>Here we have all sorts of photos from Tim32.</p><br />');
 
$dirs = array();
$dir = dir('albums/');
while (($file = $dir->read()) !== false)
{
array_push($dirs, $file);
}
 
asort($dirs);
 
foreach ($dirs as $file)
{
if ($file[0] != '.')
{
write('<p><a href="album.php?dir=' . $file . '">' . $file . '</a></p>');
/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>');
/mobile.css
0,0 → 1,148
body {
background-color: #FFFFFF;
color: #000000;
font-family: Droid Sans, Tahoma, sans-serif;
font-size: 11pt;
margin: 0px;
padding: 0px;
}
 
h1 {
font-size: 28pt;
margin: 8px;
margin-top: 0px;
color: #FFFFFF;
border-bottom: 1px solid #FFFFFF;
}
 
h2 {
font-size: 20pt;
margin: 8px;
margin-left: 8px;
color: #00004B;
}
 
h3 {
font-size: 16pt;
margin: 8px;
margin-left: 10px;
color: #000055;
}
 
h4 {
font-size: 12pt;
margin: 8px;
margin-left: 12px;
color: #00005F;
}
 
h5 {
font-size: 10pt;
margin: 8px;
margin-left: 14px;
color: #000069;
}
 
p, table, span {
font-size: 11pt;
margin: 8px;
margin-left: 16px;
}
 
a {
text-decoration: none;
color: #000050;
}
 
a:hover {
text-decoration: underline;
}
 
input {
border: 1px solid #000000;
color: #000000;
background-color: #B5D7FF;
width: 500px;
}
 
table {
border: 1px solid #222222;
}
 
td {
padding: 3px;
border: 1px solid #888888;
}
 
img {
border: 2px solid #333333;
}
 
textarea {
width: 500px;
height: 300px;
}
 
.smiley {
border: 0px;
vertical-align: middle;
}
 
.sidebar {
width: 100%;
border-right: 0px solid #000089;
background-color: #032865;
color: #FFFFFF;
}
 
.sidebar-header {
left: 0px;
width: 140px;
padding: 6px;
text-align: right;
}
 
.sidebar-menu {
text-align: right;
padding: 6px;
color: #FFFFFF;
}
 
.sidebar-menu h3 {
margin: 6px;
color: #FFFFFF;
}
 
.sidebar-menu p {
font-size: 12pt;
margin: 4px;
}
 
.sidebar-menu a {
color: #FFFFFF;
}
 
.content {
left: 194px;
top: 0px;
position: absolute;
margin-right: 32px;
}
 
.bold {
font-weight: bold;
}
 
.indent {
margin-left: 14px;
border-left: 1px solid #BBBBBB;
}
 
.code {
border: 1px solid #333333;
background-color: #DDDDDD;
font-family: Droid Sans Mono, Monospace, Fixed;
}
 
/_taios.php
35,6 → 35,7
write('<meta http-equiv="Content-Type" content="text/html;charset=utf-8">');
write('<title>Tim32 &middot; ' . $this->title . '</title>');
write('<link href="' . $this->url . 'styles.css" rel="stylesheet" type="text/css" media="screen">');
write('<link href="' . $this->url . 'mobile.css" rel="stylesheet" type="text/css" media="handheld">');
write('</head>');
write('<body>');
write('<div class="sidebar">');
171,7 → 172,7
{
$newstr = str_replace("<", "[", $str);
$newstr = str_replace(">", "]", $newstr);
$newstr = str_replace("\n", '<br />', $newstr);
$newstr = str_replace("\n", '</p><p>', $newstr);
$newstr = str_replace(' ', '&nbsp;&nbsp;', $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);
/index.php
6,10 → 6,10
$page->drawHeader();
write('<h3>Pages</h3>');
$page->drawMenuItem('Biggles', '/~biggles/');
$page->drawMenuItem('Freddie', '/~freddie/');
$page->drawMenuItem('Freddie (FredFace)', '/~freddie/');
$page->drawMenuItem('Muzer', '/~muzer/');
$page->drawMenuItem('Sh4rk', '/~szabot/');
$page->drawMenuItem('Tom', '/~tom/');
$page->drawMenuItem('Tom (TomMan)', '/~tom/');
$page->drawMiddle();
 
?>