echo $OUTPUT->body_attributes();
?>
>

<?php 
echo $OUTPUT->standard_top_of_body_html();
?>

<?php 
require_once dirname(__FILE__) . '/includes/header.php';
$PAGE->requires->js('/theme/academib/javascript/bootstrap-carousel.js');
$PAGE->requires->js('/theme/academib/javascript/bootstrap-transition.js');
?>
<div class="container-fluid">
   <?php 
$toggleslideshow = theme_academib_get_setting('toggleslideshow');
if ($toggleslideshow == 1) {
    require_once dirname(__FILE__) . '/includes/slideshow.php';
} else {
    echo "<br/><br/>";
}
?>
</div>
<!--Slider-->

<div id="page" class="container-fluid">

    <header id="page-header" class="clearfix">
        <?php 
echo $html->heading;
?>
        echo $cls_txt;
        ?>
></li>
					<?php 
    }
    ?>
    </ol>
  
    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
         
     <?php 
    for ($s1 = 1; $s1 <= $numberofslides; $s1++) {
        $cls_txt2 = $s1 == "1" ? ' active' : '';
        $slidecaption = theme_academib_get_setting('slide' . $s1 . 'caption', true);
        $slidedesc = theme_academib_get_setting('slide' . $s1 . 'desc', 'format_html');
        $slideimg = theme_academib_render_slideimg($s1, 'slide' . $s1 . 'image');
        ?>
      <div class="item<?php 
        echo $cls_txt2;
        ?>
" style="background-image: url(<?php 
        echo $slideimg;
        ?>
);">
          <div class="carousel-overlay-content">
            <div class="content-wrap">
              <h2><?php 
        echo $slidecaption;
        ?>
</h2><br>
Example #3
0
<?php

$footnote = theme_academib_get_setting('footnote', 'format_html');
$fburl = theme_academib_get_setting('fburl');
$pinurl = theme_academib_get_setting('pinurl');
$twurl = theme_academib_get_setting('twurl');
$gpurl = theme_academib_get_setting('gpurl');
$address = theme_academib_get_setting('address');
$emailid = theme_academib_get_setting('emailid');
$phoneno = theme_academib_get_setting('phoneno');
$copyright_footer = theme_academib_get_setting('copyright_footer');
$infolink = theme_academib_get_setting('infolink');
?>
<footer id="footer">
	<div class="footer-main">
  	<div class="container-fluid">
    	<div class="row-fluid">
      	<div class="span5">
        	<div class="infoarea">
          	<div class="footer-logo"><a href="#"><img src="<?php 
echo get_logo_url();
?>
" width="243" height="77" alt="Academi"></a></div>
             <?php 
echo $footnote;
?>
          </div>
        </div>
      	<div class="span3">
        	<div class="foot-links">
          	<h2>Info</h2>
Example #4
0
function theme_academib_render_slideimg($p, $sliname)
{
    global $PAGE, $OUTPUT;
    $nos = theme_academib_get_setting('numberofslides');
    $i = $p % 3;
    $slideimage = $OUTPUT->pix_url('home/slide' . $i, 'theme');
    // Get slide image or fallback to default
    if (theme_academib_get_setting($sliname)) {
        $slideimage = $PAGE->theme->setting_file_url($sliname, $sliname);
    }
    return $slideimage;
}
Example #5
0
    </div>
  </div>
  <div class="header-main">
  	<div class="container-fluid">
    	<div class="row-fluid">
      	<div class="span5">
        	<div class="logo"><a href="<?php 
echo $CFG->wwwroot;
?>
"><img src="<?php 
echo get_logo_url();
?>
" width="243" height="77" alt="Academi"></a></div>
        </div>
      	<div class="span7">
        	<div class="infoarea">          	
            <span><i class="fa fa-phone"></i>Call Us: <?php 
echo theme_academib_get_setting('phoneno');
?>
</span>
            <span><i class="fa fa-envelope-o"></i>Email: <?php 
echo theme_academib_get_setting('emailid');
?>
</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>
<!--E.O.Header-->