<?php $footnote = theme_klass_get_setting('footnote', 'format_html'); $fburl = theme_klass_get_setting('fburl'); $pinurl = theme_klass_get_setting('pinurl'); $twurl = theme_klass_get_setting('twurl'); $gpurl = theme_klass_get_setting('gpurl'); $address = theme_klass_get_setting('address'); $emailid = theme_klass_get_setting('emailid'); $phoneno = theme_klass_get_setting('phoneno'); $copyright_footer = theme_klass_get_setting('copyright_footer'); $infolink = theme_klass_get_setting('infolink'); ?> <footer id="footer"> <div class="footer-main"> <div class="container-fluid"> <div class="row-fluid"> <div class="span4"> <div class="infoarea"> <div class="footer-logo"> <a href="<?php echo $CFG->wwwroot; ?> "> <img src="<?php echo get_logo_url('footer'); ?> " width="183" height="80" alt="Klass"> </a> </div> <?php
function theme_klass_render_slideimg($p, $sliname) { global $PAGE, $OUTPUT; $nos = theme_klass_get_setting('numberofslides'); $i = $p % 3; $slideimage = $OUTPUT->pix_url('home/slide' . $i, 'theme'); // Get slide image or fallback to default if (theme_klass_get_setting($sliname)) { $slideimage = $PAGE->theme->setting_file_url($sliname, $sliname); } return $slideimage; }
<!--Custom theme header--> <div class="container-fluid"> <?php $toggleslideshow = theme_klass_get_setting('toggleslideshow'); if ($toggleslideshow == 1) { require_once dirname(__FILE__) . '/includes/slideshow.php'; } ?> </div> <!--Custom theme slider--> <div class="fp-site-customdesc"> <div class="container-fluid"> <?php $who_title = theme_klass_get_setting('whoweare_title'); $who_desc = theme_klass_get_setting('whoweare_description'); ?> <h2><?php echo $who_title; ?> </h2> <?php if ($who_desc) { ?> <p><?php echo $who_desc; ?> </p> <?php } ?>
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_klass_get_setting('slide' . $s1 . 'caption', true); $slideurl = theme_klass_get_setting('slide' . $s1 . 'url'); $slideimg = theme_klass_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>