PHP Classes

File: application/views/home/home.php

Recommend this page to a friend!
  Classes of harold rita   PHP Thesis Proposal Hub   application/views/home/home.php   Download  
File: application/views/home/home.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Thesis Proposal Hub
Store and publish research thesis documents
Author: By
Last change:
Date: 6 years ago
Size: 2,796 bytes
 

Contents

Class file image Download
<div class="col-md-12">
 

  <div class="">
    <div class="col-md-12 content">
     
           <div class="content">
            <br />
            <div class="col-md-12">
                <?php
           
if (!empty($welcome)) {
               
               
?>

              <div class="col-md-12 title-blue-light" style=""><h4>Welcome</h4></div>

            <div class="col-md-8"><br/>
            <?php
              
# code...
              
if (is_array($welcome)) {
                
# code...
               
echo $welcome[0]->setting_value;
               }
              
              
?>

            <br/><br/>
            </div>
            <div class="col-md-4"><br/></div>
              <?php
            
} ?>


                <?php
            
           
if (!empty($guide)) {
              
# code... ?>

              <div class="col-md-12 title-blue-light" style=""><h4>User guide</h4></div>

            <div class="col-md-8"><br/>
            <?php
              
if (is_array($guide)) {
                
# code...
               
echo $guide[0]->setting_value;
               }
            
              
?>

            <br/><br/>
            </div>
            <div class="col-md-4"><br/></div>
              <?php
            
} ?>

            <div class="col-md-12">
              <br />
              <div class="col-md-12 title-blue-light" style="background: #0066ff;color: #fff"><h4>Latest Post</h4></div>
             
             
            <?php if(!empty($latest_post));

            if (
is_array($latest_post)) {
               foreach (
$latest_post as $key) {

               
?>
<div class="col-md-4 post-content"><br/>
               
                  <div class="panel panel-info post-latest" style="max-height: 300px;min-height: 300px;overflow: hidden;">
                    <div class="panel-heading">
                       <a href="<?=site_url('read/'.$key->years.'/'.$key->slug);?>" style='text-decoration:none;'><h5><?=$this->global_model->limit_title($key->title);?><i class="fa fa-arrow-right go pull-right"></i></h5></a>
                    </div>
                    <div class="panel-body">
                      <div class="col-md-4">
                        <img style="width:100%;" src="<?=base_url('public/images/img-400x400.png');?>">
                       
                      </div>
                      <div class="col-md-8">
                    <?=$this->global_model->limitext($key->description);?>
</div>
                    </div>
                  </div>
                </div>
                <?php
              
}
             }
?>

            </div>
           </div>
    </div>
  </div>
</div>