Example #1
0
     <?php 
}
?>
    </div>
   </div>
  </div>

  <?php 
if ($showBlock) {
    echo '<div id="header_bottom"></div>';
}
?>

  <?php 
if ($si->maintenance_cb == 1) {
    echo ino_access_denied('Site is under maintenance mode');
    return;
}
?>

  <div class="container-fluid">
   <div class="row">
    <div class="hidden-sm hidden-xs col-md-2 sidebar">
     <div id="accordion">
      <h3 class="clickable nav-panel"><i class="fa fa-warning"></i> Transaction Alerts</h3>
      <div>
       <div id="sys_msg_box">
        <div class="error"></div><div id="loading"></div>
       </div>
      </div>
      <h3 class="clickable nav-panel"><i class="fa fa-navicon"></i> Navigation Menu</h3>
    </div><!-- end container -->
   </header><!-- end header-style-1 -->
  </nav>
  <?php 
if ($showBlock) {
    echo '<div id="header_bottom"></div>';
}
?>

  <?php 
if ($si->maintenance_cb == 1) {
    echo ino_access_denied('Site is under maintenance mode');
    return;
}
if (!empty($access_denied_msg)) {
    echo ino_access_denied($access_denied_msg);
    return;
}
?>
  <!-- end grey-wrapper -->
  <div class="jt-shadow grey-wrapper first_content padding-top content_summary">
   <div class="make-center wow fadeInUp animated" style="visibility: visible;">
    <div class="container">
     <div id="structure">
      <a class="list-header" href="http://localhost/inoerp/form.php?class_name=po_requisition_header&amp;mode=9">&nbsp;<i class="fa fa-dot-circle-o"></i> &nbsp; Requisition</a>
      <div id='form-modal'>
       Form Here
       <div id='mod-structure'> </div>
       <div id='mod-header_top_container'> </div>
      </div>
Example #3
0
    include_once THEME_DIR . '/content_template.inc';
} else {
    if ($content_privilage >= 4 && empty(${$class}->{$class_id_first}) && $mode == 9) {
        include_once THEME_DIR . '/content_template.inc';
    } else {
        if ($content_privilage >= 4 && !empty($_SESSION['username']) && ${$class}->created_by == $_SESSION['username'] && $mode == 9) {
            include_once THEME_DIR . '/content_template.inc';
        } else {
            if ($mode == 9) {
                $access_denied_msg = 'You don\'t have access to this page';
                include_once THEME_DIR . '/content_template.inc';
            } else {
                require_once INC_EXTENSIONS . DS . 'content' . DS . 'view' . DS . "content_view.php";
                echo !empty($breadCrum) ? $breadCrum : false;
                if (!empty($content->content_id) && $content_type_name) {
                    include_once THEME_DIR . '/view_content_template.inc';
                } elseif (!empty($non_db_content_type)) {
                    include_once THEME_DIR . '/nondb_content_template.inc';
                } elseif (!empty($category_id) && $content_type_name) {
                    include_once THEME_DIR . '/contents_list_template.inc';
                } else {
                    if (SHOW_COTENT_LIST == 1) {
                        include_once THEME_DIR . '/contents_list_template.inc';
                    } else {
                        echo ino_access_denied('Sorry!!! Requested content is not found');
                    }
                }
            }
        }
    }
}