<?php
/**
 * appRain CMF
 *
 * LICENSE
 *
 * This source file is subject to the MIT license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.opensource.org/licenses/mit-license.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@apprain.com so we can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2010 appRain, Team. (http://www.apprain.com)
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 *
 * HELP
 *
 * Official Website
 * http://www.apprain.com/
 *
 * Download Link
 * http://www.apprain.com/download
 *
 * Documents Link
 * http ://www.apprain.com/docs
 */
?>
        <div class="clearboth"></div>
		<div id="footer">
            <?php App::Hook('UI')->Render('template_footer_A'); #User Interface Hook ?>
            <?php echo App::Helper('Config')->siteInfo('site_title');?><br />
            <?php App::Hook('UI')->Render('template_footer_B'); #User Interface Hook ?>

            <?php App::Hook('UI')->Render('template_footer_before_footer_menu'); #User Interface Hook ?>
            <?php if(App::Helper('Config')->setting('disable_site_member_options') != 'Yes'): ?>
                <?php if(App::MemberManager()->AppUserloggedInId()):?>
                    <a href="<?php echo $this->baseurl("/profile");?>"><?php echo $this->__('Account');?></a>&nbsp;
                    <a href="<?php echo $this->baseurl("/member/logout");?>"><?php echo $this->__('Logout');?></a>
                <?php else:?>
                    <a href="<?php echo $this->baseurl("/member/signup");?>"><?php echo $this->__('Signup');?></a>&nbsp;
                    <a href="<?php echo $this->baseurl("/member/login");?>"><?php echo $this->__('Login');?></a>
                <?php endif;?>
            <?php endif;?>
            <?php App::Hook('UI')->Render('template_footer_after_footer_menu'); #User Interface Hook ?>
            <br />

            <?php App::Hook('UI')->Render('template_footer_before_copyright'); #User Interface Hook ?>
            <?php echo App::Helper('Config')->siteInfo('copy_right_text',false);?>
            <?php App::Hook('UI')->Render('template_footer_after_copyright'); #User Interface Hook ?>
		</div>	
