PHP Classes

File: application/views/template/container.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Attendance Management System using Fingerprint   application/views/template/container.php   Download  
File: application/views/template/container.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Attendance Management System using Fingerprint
Keep track of employee attendance with fingerprint
Author: By
Last change:
Date: 6 months ago
Size: 1,717 bytes
 

Contents

Class file image Download
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
    your browser</a> to improve your experience.</p>
<![endif]-->

<?php
$arr
= $this->session->flashdata();
if (!empty(
$arr['flash_message']) && $arr['flash_message'] != '') {
   
$html = '<div class="container hide-flashdata" style="margin-top: 10px;">';
   
$html .= '<div class="alert alert-warning alert-dismissible" role="alert">';
   
$html .= '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>';
   
$html .= $arr['flash_message'];
   
$html .= '</div>';
   
$html .= '</div>';
    echo
$html;
}
if (!empty(
$arr['success_message']) && $arr['success_message'] != '') {
   
$html = '<div class="container hide-flashdata" style="margin-top: 10px;">';
   
$html .= '<div class="alert alert-info alert-dismissible" role="alert">';
   
$html .= '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>';
   
$html .= $arr['success_message'];
   
$html .= '</div>';
   
$html .= '</div>';
    echo
$html;
}
if (!empty(
$arr['danger_message']) && $arr['danger_message'] != '') {
   
$html = '<div class="container hide-flashdata" style="margin-top: 10px;">';
   
$html .= '<div class="alert alert-danger alert-dismissible" role="alert">';
   
$html .= '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>';
   
$html .= $arr['danger_message'];
   
$html .= '</div>';
   
$html .= '</div>';
    echo
$html;
}
?>
<div class="container">
    <div class="row">