{* Smarty *}
</div></div>
<div id="sidebar"><div id="sidebarcontent">
{if $logged} <h3>Logged In as <a href="mailto:{$email}">{$gbook->displayname}</a></h3>
<ul>
<li><a href="{$config.url}index.php?book={$book}&act=login&code=01">Logout</a></li>
{if $is_book_owner}<li><a href="{$config.url}index.php?book={$book}&act=admin">Control Panel</a></li>
{else}<li><a href="{$config.url}index.php?book={$user_id}">My Guestbook</a></li>{/if}
</ul>
{else}
<h3>Login</h3>
<form style="display:block;" method="post" name="login" action="{$config.url}index.php?book={$book}&act=login&code=00" onSubmit="return checkLoginInput()">
<div style="padding-left:10px;"><span style="font-size:8px;">E-Mail</span><br />
<input type="text" name="email" class="logininput" maxlength="100" /><br />
<span style="font-size:8px;">Password</span><br />
<input type="password" class="logininput" name="pass" /><br /><br />
<input type="submit" value="Submit" name="submit"/></div>
</form>
{/if}
<h3>About</h3>
{$gbook->about}
{if $gbook->allow_style == 1}
<h3>Style Chooser</h3>
<div style="padding-left:10px;"><form action='{$config.url}index.php' method='get'>
<input type='hidden' name='book' value='{$book}' />
<select name='styleid' onchange='return submit()'>
<optgroup label='Style Selector'>
{$gbook->cus_style}
</optgroup>
</select>
</form></div>
{/if}
<p class="alt">{debug->timer_stop p1=1} seconds.<br /> {db->num_queries} queries used.<br />
{if $debugq} <a href="index.php?book={$book}&debugsql=1">Debug</a>{/if}</p>
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img style="padding-left:10px;" alt="Creative Commons License" style="border-width:0" src="{$config.url}templates/system/somerights20.png"/></a>
</div></div>
<br class="bottom" />
<div id="containerfoot"><div id="containerfootcontent">
{$cprt_bottom}<br />
Style Copyright <a href="http://leorex.com">Leorex Pty Limited</a>, 2003. All rights reserved.<br />
All trademarks property of their respective owners. (Almost) Valid <a href="http://validator.w3.org/check/referer">XHTML1.1</a> & <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.<br />
</div></div>
</div>
</body></html>