<?php
/*
+------------------------------------------------------
| Write2Left
| (c) timdorr
| http://www.write2left.com
| hide@address.com
| See License.txt for license info
|------------------------------------------------------
| Script: Main.php
| Description:
| Contains part of the interface's skin's default output parts
| Created Sep-02-2002
+------------------------------------------------------
*/
/* Class: Skin_Main
* Description:
* The generic skin parts class.
*/
class Skin_Main
{
function body_top( $version )
{
return <<<EOF
<td class="main" valign="top">
<big><b>Welcome to Write2Left ($version)</b></big>
<br /><br />
EOF;
}
function body_bottom()
{
return <<<EOF
</td>
<td class="space"> </td>
</tr>
EOF;
}
function log( $log_id, $name, $posts, $comments, $authors )
{
return <<<EOF
<div class="box">
<table width="100%">
<tr><td colspan="3">
<big><a href="index.php?Action=Log&new_log_id=$log_id">$name</a></big>
</td></tr>
<tr>
<td>Authors: $authors</td>
<td>Posts: $posts</td>
<td>Comments: $comments</td>
</tr>
<tr><td colspan="3">
<a href="index.php?Action=NewPost&new_log_id=$log_id">New Post</a> |
<a href="index.php?Action=EditPosts&new_log_id=$log_id">Manage Posts</a> |
<a href="index.php?Action=Options&new_log_id=$log_id">Options</a>
</td></tr>
</table>
</div>
EOF;
}
}
?>