Esempio n. 1
0
echo Language::show('testimonials', 'header', $_SESSION['site_lang']);
?>
</a></li>
                                <li <?php 
echo $data['title_page'] == 'contact' ? "class='active'" : "";
?>
><a href="<?php 
echo Data::makeUrl('contact.php', $_SESSION['site_lang']);
?>
"><?php 
echo Language::show('contact', 'header', $_SESSION['site_lang']);
?>
</a></li>
                            </ul>
                        </div>
                    </div>
                    <br><br>
                </nav>
            </div>
        </div>
    </div>
</footer>

<!-- JS -->
<?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/script.js', helpers\url::template_path() . 'js/bootstrap.min.js'));
?>

</body>
</html>
Esempio n. 2
0
			<!-- section start -->
			<!-- ================ -->
			<!-- <div class="section dark-translucent-bg parallax-bg-2"> -->
			<div class="section dark-translucent-bg">
				<div class="owl-carousel content-slider">
					<?php 
foreach ($data['testimonial'] as $key => $value) {
    ?>
					<div class="testimonial">
						<div class="container">
							<div class="row">
								<div class="col-md-8 col-md-offset-2">
									<!-- <h2 class="title">Full Width Testimonial Slider (Autoplay On)</h2> -->
									<!-- <div class="testimonial-image">
										<img src="<?php 
    echo helpers\url::template_path();
    ?>
images/<?php 
    echo $value['img'];
    ?>
">
									</div> -->
									<div class="testimonial-body">
										<p><?php 
    echo $value['body'];
    ?>
</p>

										<?php 
    if ($value['info1'] != '') {
        ?>
Esempio n. 3
0
</div>


<!-- JS -->
<?php 
use core\view, helpers\session;
helpers\assets::js(array(helpers\url::template_path() . 'js/mab_scripts.js', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'));
?>

<nav class="navbar navbar-default navbar-fixed-bottom">
            <!-- We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns. -->
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-7">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">
                <img alt="Brand" src="/app/images/college_logo.png" height="30">
            </a>

        </div>

        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-7">
            <ul class="nav navbar-nav navbar-right">
                
                
                <?php 
if (Session::get('username') && !Session::get('admin')) {
Esempio n. 4
0
<?php

defined('_EXEC') or die;
?>
<!DOCTYPE html>
<html lang="<?php 
echo LANGUAGE_CODE;
?>
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

	<!-- CSS -->
	<?php 
helpers\assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css', helpers\url::template_path() . 'css/template.css'));
?>
        <?php 
helpers\assets::js(array('//code.jquery.com/jquery-1.11.2.min.js', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js', helpers\url::template_path() . 'js/moment-with-locales.js'));
?>
</head>
    <body>

        <div class="container-fluid">
Esempio n. 5
0
echo LANGUAGE_CODE;
?>
">
<head>

	<!-- Site meta -->
	<meta charset="utf-8">
	<title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

	<!-- CSS -->
	<?php 
helpers\assets::css(array('//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css', helpers\url::template_path() . 'css/style.css'));
?>

</head>
<body>

<div class="container">

	<h1><a href='<?php 
echo DIR;
?>
'><?php 
echo SITETITLE;
?>
</a></h1>
	<hr>
Esempio n. 6
0
							</div>
						</div>
					</div>
				</div> -->
				<!-- .subfooter end -->

			</footer>
			<!-- footer end -->

		</div>
		<!-- page-wrapper end -->

		<!-- JavaScript files placed at the end of the document so the pages load faster
		================================================== -->
		<!-- Jquery and Bootstap core js files -->


		<?php 
helpers\assets::js(array(helpers\url::template_path() . 'plugins/jquery.min.js', helpers\url::template_path() . 'bootstrap/js/bootstrap.min.js', helpers\url::template_path() . 'plugins/datepicker/bootstrap-datepicker.js', helpers\url::template_path() . 'plugins/modernizr.js', helpers\url::template_path() . 'plugins/rs-plugin/js/jquery.themepunch.tools.min.js', helpers\url::template_path() . 'plugins/rs-plugin/js/jquery.themepunch.revolution.min.js', helpers\url::template_path() . 'plugins/isotope/isotope.pkgd.min.js', helpers\url::template_path() . 'plugins/owl-carousel/owl.carousel.js', helpers\url::template_path() . 'plugins/magnific-popup/jquery.magnific-popup.min.js', helpers\url::template_path() . 'plugins/jquery.appear.js', helpers\url::template_path() . 'plugins/jquery.countTo.js', helpers\url::template_path() . 'plugins/jquery.parallax-1.1.3.js', helpers\url::template_path() . 'plugins/jquery.validate.js', 'https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=false', helpers\url::template_path() . 'js/google.map.config.js', helpers\url::template_path() . 'js/template.js', helpers\url::template_path() . 'js/custom.js'));
?>

		<script>
			$(function() {
				$('.datepicker').datepicker({
					format: 'mm-dd-yyyy',
				});
			});
		</script>

	</body>
</html>
Esempio n. 7
0
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="text-right">
                <button type="submit" class="btn btn-primary" name="submit" value="">Сохранить</button>
                <?php 
if (\helpers\session::get('url')) {
    $previous = \helpers\session::get('url');
} else {
    $previous = 'admin/orders';
}
?>
                <a href="/<?php 
echo $previous;
?>
" type="button" class="btn btn-default">Закрыть</a>
            </div>
        </div>
    </div>
</form>
<?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/tinymce/tinymce.min.js'));
?>
<script type="text/javascript">
tinymce.init({
    language : 'ru',
    selector: "textarea",
    plugins: "textcolor",
    toolbar: "undo redo | fontsizeselect |  styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | forecolor backcolor"
 });
</script>
Esempio n. 8
0
">

    <head>

        <!-- Site meta -->
        <meta charset="utf-8">
        <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

        <!-- CSS -->
        <?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/jquery.js', helpers\url::template_path() . 'js/inputmask/dist/jquery.inputmask.bundle.min.js', helpers\url::template_path() . 'js/jquery-ui-1.11.4.custom/jquery-ui.min.js'));
helpers\assets::css(array(helpers\url::template_path() . 'css/bootstrap.min.css', helpers\url::template_path() . 'js/jquery-ui-1.11.4.custom/jquery-ui.min.css', helpers\url::template_path() . 'css/jquery-ui-fix.css'));
?>

    </head>
    <body data-twttr-rendered="true">

        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">

                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
Esempio n. 9
0
</div>
<div class="row">
    <div class="col-md-12">
        <div class="text-right">
            <button type="submit" class="btn btn-primary" name="submit" value="">Сохранить</button>
            <?php 
if (\helpers\session::get('url')) {
    $previous = \helpers\session::get('url');
} else {
    $previous = 'admin/orders';
}
?>
            <a href="/<?php 
echo $previous;
?>
" type="button" class="btn btn-default">Закрыть</a>
        </div>
    </div>
</div>
</form>
<?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/jquery.mask.min.js'));
?>
<script>
    $(document).ready(function(){
        $("#city_id").on('change',function(){
            $(".worker").show();
            $(".worker").not(".city_"+$(this).val()).hide();
        });
    });
</script>
Esempio n. 10
0
</div>

<!-- JS -->
<?php 
helpers\assets::js(helpers\url::template_path() . 'js/jquery.js');
echo $data['js'];
?>
</body>
</html>
Esempio n. 11
0
			<header class="header fixed clearfix">
				<div class="container">
					<div class="row">
						<div class="col-md-3">

							<!-- header-left start -->
							<!-- ================ -->
							<div class="header-left clearfix">

								<!-- logo -->
								<div class="logo">
									<a href="<?php 
echo DIR;
?>
"><img id="logo" src="<?php 
echo helpers\url::template_path() . 'images/cwp_logo_t.png';
?>
" class="img-responsive" alt="Canada Wide Pardons"></a>
								</div>

								<!-- name-and-slogan -->
								<!-- <div class="site-slogan">
									Clean &amp; Powerful Bootstrap Theme
								</div> -->

							</div>
							<!-- header-left end -->

						</div>
						<div class="col-md-9">
<head>

    <!-- Site meta -->
    <meta charset="utf-8">
    <title><?php 
echo $data['title'] . ' - ' . SITETITLE;
//SITETITLE defined in app/core/config.php
?>
</title>

    <!-- CSS -->
    <?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/jquery.js', helpers\url::template_path() . 'js/inputmask/dist/jquery.inputmask.bundle.min.js', helpers\url::template_path() . 'js/jquery-ui-1.11.4.custom/jquery-ui.min.js', helpers\url::template_path() . 'js\\tablesorter\\jquery.tablesorter.min.js'));
helpers\assets::css(array(helpers\url::template_path() . 'css/bootstrap.min.css', helpers\url::template_path() . 'js/jquery-ui-1.11.4.custom/jquery-ui.min.css', helpers\url::template_path() . 'css/jquery-ui-fix.css', helpers\url::template_path() . 'js\\tablesorter\\themes\\blue\\style.css', helpers\url::template_path() . 'css/iframe.css'));
?>

</head>
Esempio n. 13
0
                        pickTime: false,
                        language:'ru'
                });
                $("#performed-date").datetimepicker({
                        useCurrent: false,
                        pickTime: false,
                        language:'ru'
                });
                $("#payed-date").datetimepicker({
                        useCurrent: false,
                        pickTime: false,
                        language:'ru'
                });
                $("#start-date").on("dp.change",function (e) {
                   $("#end-date").data("DateTimePicker").setMinDate(e.date);
                });
                $("#end-date").on("dp.change",function (e) {
                   $("#start-date").data("DateTimePicker").setMaxDate(e.date);
                });
            });
        </script>
        <?php 
helpers\assets::js(array(helpers\url::template_path() . 'js/bootstrap-datetimepicker.min.js', helpers\url::template_path() . 'js/sortable.min.js'));
?>
	<?php 
helpers\assets::css(array(helpers\url::template_path() . 'css/bootstrap-datetimepicker.min.css', helpers\url::template_path() . 'css/sortable-theme-bootstrap.css'));
?>
    </body>
</html>
<?php 
//print_r(\helpers\session::display());