<?php
//AIRMail3
//simpilotgroup addon module for phpVMS virtual airline system
//
//simpilotgroup addon modules are licenced under the following license:
//Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)
//To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/
//
//@author David Clark (simpilot)
//@copyright Copyright (c) 2009-2011, David Clark
//@license http://creativecommons.org/licenses/by-nc-sa/3.0/
?>
<?php if(isset($message)) {echo $message.'<br />';} ?>
<table width="100%">
    <tr>
        <td align="center"><br />
            <div class="container">
  <a href="<?php echo SITE_URL ?>/index.php/Mail"><button type="button" class="blueIce-buttonSM">Inbox</button></a>
  <a href="<?php echo SITE_URL ?>/index.php/Mail/newmail"><button type="button" class="blueIce-buttonSM">Compose New message</button></a>
  <a href="<?php echo SITE_URL ?>/index.php/Mail/newfolder"><button type="button" class="blueIce-buttonSM">Create New Folder</button></a>
  <a href="<?php echo SITE_URL ?>/index.php/Mail/deletefolder"><button type="button" class="blueIce-buttonSM">Delete A Folder</button></a>
  <a href="<?php echo SITE_URL ?>/index.php/Mail/settings"><button type="button" class="blueIce-buttonSM">Settings</button></a>
</div>
            <br />
            <i class="fa fa-folder" aria-hidden="true" style="color:#04327F"></i> <strong>Folders</strong> - 
                <?php
                if (isset($folders)) {foreach ($folders as $folder) {echo '<a href="'.SITE_URL.'/index.php/Mail/getfolder/'.$folder->id.'">'.$folder->folder_title.'</a> |';}
                }
                ?>
            <a href="<?php echo SITE_URL ?>/index.php/Mail/sent">Sent Messages</a> |
        </td>
    </tr>
</table>




