<div class="row-fluid">
  <div class="span2" style="padding-left:15px;">
     <?php echo $nav_view; ?>
  </div>
  <div class="span8" style="border-right:1px solid #ddd;border-left:1px solid #ddd; min-height:1024px; padding:0 20px;">
    <div class="span12" id="tasks-container" style="margin-left:0;">
        
          <?php if (!empty($announce_detail)) { ?>
            <div style="background:#fff;padding:15px;min-height:600px;">
            <h3><?php echo $announce_detail->ta_title; ?></h3>
            <legend></legend>
            <div style="padding-bottom:20px;"><?php echo $announce_detail->ta_content; ?></div>
            <legend></legend>
            <p><em>posted this on: <?php echo date('m/d/Y',strtotime($announce_detail->ta_datetime)); ?></em></p>
            </div>
          <?php }else{ ?>
            <h3>Announcements and Writing Standards</h3>
            <p class="muted">Find all the writing requirements and standards, and notices sent by us on this page.</p>
            <p><br> </p>
            <table class="table">
              <thead>
                <tr>
                  <th>
                    <?php if($type=='notice'){ ?>
                    notice
                    <?php }else{ ?>
                    <a href="<?php echo site_url('taskhall/notice');?>">notice</a>
                    <?php } ?>
                     | 
                    <?php if($type=='announce'){ ?>
                    announcement
                    <?php }else{ ?>
                    <a href="<?php echo site_url('taskhall/announce');?>">announcement</a>
                    <?php } ?>
                  </th>
                </tr>
              </thead>
                  <tbody style="background:#fff;">
                    <?php foreach ($announce_list as $k => $v) { ?>
                    <tr id="announce_<?php echo $v->ta_id; ?>">
                      <td>
                        <a style="font-size: 16px;" href="<?php echo site_url('taskhall/'.$type.'/'.$v->ta_id); ?>"><?php echo $v->ta_title; ?></a><br>
                        <em class="muted"><?php echo date('Y-m-d',strtotime($v->ta_datetime)); ?></em>
                      </td>
                    </tr>
                    <?php } ?>
                    <tr><td style="height:200px;"></td></tr>
                  </tbody>
                </table>
            <?php } ?>
            
    </div>
  </div>
  <div class="span2" style="padding-right:12px;"><?php echo $rank_view; ?></div>
</div>