<?php
//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-2012, David Clark
//@license http://creativecommons.org/licenses/by-nc-sa/3.0/
?>

<!-- Article Header -->
<!-- For an image header add the class 'content-header-media' and an image as in the following example -->
<div class="content-header">
    <div class="header-section">
        <h1><Strong>iCrew Newsfeed</Strong><br><small> Stay Updated! #<?php echo VA_TAGLINE; ?></small></h1>
    </div>
</div>
<!-- END Article Header -->

<!-- Article Content -->
<div class="row">
    <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
        <!-- Article Block -->
        <div class="block block-alt-noborder">
            <!-- Article Content -->
            <article>
              <h2 class="header text-center">
                <strong><?php echo $item->subject;?></strong>
              </h2><hr>
              <?php

                    $currtime = $item->postdate;
			              $currnet_time_stamp = strtotime($currtime);
                    $time =  date('H:i:s', $currnet_time_stamp);
                    $date =  date('d-m-Y', $currnet_time_stamp);

                    ?>
                <p class="sub-header pull-left">Posted by : <span class="label label-info"><?php echo $item->postedby;?></span> <br></p>
                <p class="sub-header pull-right">Posted on : <span class="text-muted"><?php echo $date; ?></span> <br></p>
<br><br><br>
                <p><?php echo $item->body;?></p>
            </article>
            <!-- END Article Content -->
        </div>
        <!-- END Article Block -->
    </div>
</div>
<!-- END Article Content -->
