Beispiel #1
1
        echo '</div>';
    }
}
?>
           <script>
            $(function() {
              $('.seal').css('margin-left', '100px');
              $('.seal').css('float', 'left');
              $('.seal img').css('width', '70px');
              $('.seal img').css('margin-right', '10px');
              $('.seal div').css('display', 'inline-block');
            });
           </script>
        </div>
      	<div class="span7">
        	<div class="infoarea">          	
            <span><i class="fa fa-phone"></i>Call Us: <?php 
echo theme_academi_get_setting('phoneno');
?>
</span>
            <span><i class="fa fa-envelope-o"></i>Email: <?php 
echo theme_academi_get_setting('emailid');
?>
</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>
<!--E.O.Header-->
Beispiel #2
0
echo $OUTPUT->body_attributes();
?>
>

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

<?php 
require_once dirname(__FILE__) . '/includes/header.php';
$PAGE->requires->js('/theme/academi/javascript/bootstrap-carousel.js');
$PAGE->requires->js('/theme/academi/javascript/bootstrap-transition.js');
?>
<div class="container-fluid">
   <?php 
$toggleslideshow = theme_academi_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;
?>
Beispiel #3
0
function theme_academi_render_slideimg($p, $sliname)
{
    global $PAGE, $OUTPUT;
    $nos = theme_academi_get_setting('numberofslides');
    $i = $p % 3;
    $slideimage = $OUTPUT->pix_url('home/slide' . $i, 'theme');
    // Get slide image or fallback to default
    if (theme_academi_get_setting($sliname)) {
        $slideimage = $PAGE->theme->setting_file_url($sliname, $sliname);
    }
    return $slideimage;
}
Beispiel #4
0
<?php

$footnote = theme_academi_get_setting('footnote', 'format_html');
$fburl = theme_academi_get_setting('fburl');
$pinurl = theme_academi_get_setting('pinurl');
$twurl = theme_academi_get_setting('twurl');
$gpurl = theme_academi_get_setting('gpurl');
$address = theme_academi_get_setting('address');
$emailid = theme_academi_get_setting('emailid');
$phoneno = theme_academi_get_setting('phoneno');
$copyright_footer = theme_academi_get_setting('copyright_footer');
$infolink = theme_academi_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>
Beispiel #5
0
        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_academi_get_setting('slide' . $s1 . 'caption', true);
        $slidedesc = theme_academi_get_setting('slide' . $s1 . 'desc', 'format_html');
        $slideimg = theme_academi_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>