Beispiel #1
0
 function crunch($dev = false)
 {
     $filename = md5(serialize($this->files)) . '.js';
     $buffer = "";
     if (!file_exists(theme_path() . 'assets/js/' . $filename)) {
         foreach ($this->files as $jsFile) {
             $buffer .= file_get_contents(theme_path() . 'assets/js/' . $jsFile . '.js');
             if ($dev) {
                 echo theme_js($jsFile . '.js', true);
                 continue;
             }
         }
         if ($dev) {
             return;
         }
         file_put_contents(theme_path() . 'assets/js/' . $filename, $buffer);
     }
     echo '<script type="text/javascript" src="' . theme_js($filename) . '"></script>';
     $this->files = [];
 }
Beispiel #2
0
              Parental controls
            </div>
            <div class="toggle">
              <div class="toggle-handle"></div>
            </div>
          </li>
        </ul>
        <div class="content-padded">
          <button class="btn btn-positive btn-block">Save settings</button>
        </div>
      </div>
    </div>

<?php 
echo theme_js('ratchet.js', true);
echo theme_js('fingerblast.js', true);
?>
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>

<script type='text/javascript'>
    var fb = new FingerBlast ('body');

    $("#login_form").submit(function(event) {
        console.log("IT IS SUMBIT");
        alert( "Handler for .submit() in login called." );
        //event.preventDefault(); // does not do anything (push.js... reloads page)
                
        return;
    });

    $("#register_form").submit(function(event) {
Beispiel #3
0
?>
		<?php 
echo theme_css('style.css', true);
?>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="../../assets/js/html5shiv.js"></script>
      <script src="../../assets/js/respond.min.js"></script>
    <![endif]-->
      
    <?php 
echo theme_js('jquery.js', true);
?>
    <?php 
echo theme_js('bootstrap.min.js', true);
?>

  </head>
  <body>
    <nav class="navbar navbar-default navbar-fixed-top nav-shadow" role="navigation">
        <div class="container page-width">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                    <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="<?php 
<?php

include 'header_login.php';
?>
<style type="text/css">
/*forget password*/
 .forget {  text-align:center; }
</style>
<script type="text/javascript">
  var baseurl = "<?php 
print base_url();
?>
";
</script>
<script type="text/javascript" src="<?php 
echo theme_js('jquery.validate.js');
?>
"></script>
<script type="text/javascript">

function showdiv(id) {
  
  
	$("#resend").hide();
		
	
	$("#resendsuccess").show();
	
 
   
}
Beispiel #5
0
			timeout: 200000, // time in milliseconds to self-close; false for disable 4000 | false
			animation: 'fade', // fade | slide
			animationSpeed: 'slow', // slow | normal | fast
			allowClose: true, // display shadow?true | false
			});
		<?php 
}
?>
			
	});
	
	
	
</script>
<?php 
echo theme_js('common.js', true);
?>
 <div class="container-fluid margintop40">
  <div class="container">
  <div class="row">
    <ul class="brd-crmb">
      <li><a href="#"> <img src="<?php 
echo theme_img('home-ico.png');
?>
"> </a></li>
      <li> / </li>
      <li><a href="#"><?php 
echo lang('my_trips');
?>
</a></li>
    </ul>
Beispiel #6
0
<?php

echo theme_js('jquery-1.7.1.min.js', true);
?>
<div class="row sea-box">
<?php 
echo $map['js'];
echo $map['html'];
?>
</div>

Beispiel #7
0
        </div>
        <div id="map-content" style="display:none">
        </div>

      </div>


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


<link rel="stylesheet" type="text/css" href="<?php 
echo theme_js('jquery.datepick/redmond.datepick.css');
?>
"> 
<?php 
echo theme_js('jquery.datepick/jquery.plugin.js', true);
echo theme_js('jquery.datepick/jquery.datepick.js', true);
?>
<script type="text/javascript">

$('#journey_date').datepick({
	 changeMonth: false,autoSize: true,minDate: 0,dateFormat: 'dd/mm/yyyy'});
</script>
<div class="modal"></div>
<?php 
include 'footer.php';
Beispiel #8
0
						<hr />
						<div class="payment-icons">
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/amex.png" alt="" />
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/cirrus.png" alt="" />
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/maestro.png" alt="" />
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/visa.png" alt="" />
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/mastercard.png" alt="" />
							<img class="img-responsive" src="http://premium.indioweb.in/metroshop/theme_1/img/payment/paypal.png" alt="" />
						</div>
					</div>
				</div>
			</div>
			<hr>
			<!-- Copyright info -->
			<p class="copy">Copyright &copy; 2015, All rights are reserved. <a href="#">Your Site Name</a> - <a href="#">Home</a> | <a href="#">About Us</a> | <a href="#">Profile</a> | <a href="#">Contact Us</a></p>
		</div>
	</footer>
	<!-- footer end -->
	
</div>

<!-- Scroll to top -->
<span class="totop"><a href="#"><i class="fa fa-arrow-up"></i></a></span> 

<?php 
echo theme_js('jquery.flexslider-min.js', true);
echo theme_js('SmoothScroll.js', true);
echo theme_js('respond.min.js', true);
echo theme_js('html5shiv.js', true);
echo theme_js('custom.js', true);
Beispiel #9
0
echo theme_js('bootstrap.min.js', true);
?>
    <?php 
echo theme_js('bootstrap-datetimepicker.min.js', true);
?>
    <?php 
echo theme_js('crypt.js', true);
?>
    <?php 
echo theme_js('vivo.js', true);
?>
    <?php 
echo theme_js('general.js', true);
?>
    <?php 
echo theme_js('ustream.js', true);
?>
    
    <script type="text/javascript">

		var cnx = "{{<?php 
echo Crypt::encode("mysql://*****:*****@localhost/a3workout");
?>
}}";
	</script>
    
  </head>
  <body>
    
    <input type="hidden" id="customer_id" value="<?php 
echo $cart_contents['customer']['id'];
Beispiel #10
0
    });
    $('#right-menu').sidr({
      name: 'sidr-right',
      side: 'right'
    });    
});
</script>

<script>
    $("a.btn.prod_status").click(function(){
	  $(this).parent().append("<div class='add'>Added</div>");
	  setTimeout(function () {
	    $("div.add").fadeOut();
	  }, 1200);
	  return false;
	});
</script>



<style>
	/*.add{position: absolute;font-size: 1.5rem; display: none;top: 30%; width: 100%;text-align: center;color: #fff;height: auto;background: rgba(36, 35, 35, 0.5);}*/
	.add{position: absolute;font-size: 1rem;top: 0}
</style>

<?php 
echo theme_js('../owl-carousel/custom.js', true);
?>

<?php 
include 'footer.php';
Beispiel #11
0
<?php

/* -----------------------------------------------------------------------------------------
   IdiotMinds - http://idiotminds.com
   -----------------------------------------------------------------------------------------
*/
$this->load->helper('html');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login with Facebook</title>
<?php 
$base_url = $this->config->item('base_url');
echo theme_js('jquery.min.js', true);
?>
</head>

<body>
<?php 
$ses_user = $this->session->userdata('User');
if (empty($ses_user)) {
    echo img(array('src' => $base_url . 'uploads/facebook.png', 'id' => 'facebook', 'style' => 'cursor:pointer;float:left;margin-left:550px;'));
} else {
    echo '<img src="https://graph.facebook.com/' . $ses_user['id'] . '/picture" width="30" height="30"/><div>' . $ses_user['name'] . '</div>';
    echo '<a href="' . $this->session->userdata('logout') . '">Logout</a>';
}
?>

<div id="fb-root"></div>
Beispiel #12
0
<!-- must have -->
    <?php 
echo theme_css('bootstrap.css', true);
?>
	<?php 
echo theme_css('bootstrap-theme.css', true);
echo theme_css('style.css', true);
?>

<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,700italic' rel='stylesheet' type='text/css'>


<?php 
echo theme_js('jquery-1.7.1.min.js', true);
echo theme_js('jquery-ui-1.8.23.min.js', true);
?>
<script type="text/javascript">
$(document).ready(function(){
  $(".my-account-button").click(function(){
	$(".my-account-details").fadeToggle("fast", function(){
	  if($(".my-account-details").css('display') == "none")
		$(".my-account-button").removeClass("active");
	  else
		$(".my-account-button").addClass("active");
	});
  });
});
</script>
<link rel="shortcut icon" href="<?php 
echo theme_img('favicon.ico');
Beispiel #13
0
	
	<?php 
echo theme_js('jquery.swipebox.js', true);
?>
	<?php 
echo theme_js('jquery.fitvids.js', true);
?>
	<?php 
echo theme_js('twitter/jquery.tweet.js', true);
?>
	<?php 
echo theme_js('email.js', true);
?>
	
	<?php 
echo theme_js('jquery.slides.min.js', true);
?>
	
	
	
	
    <!-- Demo -->

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>	
<script>
	$(function() {
    	$( "#tabs" ).tabs();
    	select_voucher();
  	});

  
Beispiel #14
0
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title><?php 
echo isset($seo_title) ? $seo_title : $this->config->item('company_name');
?>
</title>
<meta property="og:image" content="<?php 
echo base_url('assets/img/logo.png');
?>
"/>


<?php 
echo theme_css('meanmenu.css', true);
echo theme_css('mobile.css', true);
echo theme_js('jquery-1.8.3.js', true);
echo theme_js('jquery.meanmenu.js', true);
?>
<link rel="stylesheet" media="all" type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="<?php 
echo base_url('assets/js/jquery-ui.js');
?>
"></script>
<body style="font-size: 12px; font-family: arial;">
<div id="wrapper">
<!----------header--strt----------------------------------------------------------------------------->
<header>
<div id="top"></div>
		
        <div id="menu">
       <!-----strt menu--------->
       
Beispiel #15
0
}	<?php */
?>
	
 
var baseurl = "<?php 
print base_url();
?>
";  
</script>
<script type="text/javascript" src="<?php 
echo theme_js('jquery.validate.js');
?>
"></script>
<?php 
echo theme_js('profile.js', true);
?>
<style>
.size14 {
    font-size: 14px;
    margin-left: 20px;
}
</style>
<div class="container-fluid margintop40">
  <div class="container">
     <div class="row"> 
    <ul class="row brd-crmb">
      <li><a href="#"> <img src="<?php 
echo theme_img('home-ico.png');
?>
"> </a></li>
Beispiel #16
0
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>


<!-- js files -->

<?php 
//echo theme_js('bootstrap.js', true);
echo theme_js('bootstrap.min.js', true);
echo theme_js('jquery.js', true);
echo theme_js('jquery-ui.js', true);
echo theme_js('equal_heights.js', true);
echo theme_js('squard.js', true);
?>

<?php 
echo theme_js('../owl-carousel/owl.carousel.js', true);
echo theme_css('../owl-carousel/owl.carousel.css', true);
echo theme_css('../owl-carousel/owl.transitions.css', true);
echo theme_css('../owl-carousel/owl.theme.css', true);
?>

<?php 
//with this I can put header data in the header instead of in the body.
if (isset($additional_header_info)) {
    echo $additional_header_info;
}
$redirect = $this->Customer_model->is_logged_in(false, false);
?>
</head>

<body>
Beispiel #17
0
<?php

echo theme_js('jquery.fancybox.js', true);
echo theme_css('jquery.fancybox.css', true);
?>
<script>
  $(document).ready(function(){
    $('a').click(function(){
      var largeImage = $(this).attr('data-full').replace('thumbnails','medium');
	  console.log(largeImage);
      $('.selected').removeClass();
      $(this).addClass('selected');
      $('.full img').hide();
      $('.full img').attr('src', largeImage);
      $('.full img').fadeIn();


    }); // closing the listening on a click
    $('.full img').on('click', function(){
      var modalImage = $(this).attr('src').replace('medium','full');
      $.fancybox.open(modalImage);
    });
  }); //closing our doc ready
</script>

<br/>
<div class="main-content">
<div class="container">	
<!-- inner items -->
<div class="inner-conten">
	<!-- products item -->
Beispiel #18
0
	$('body').on('change','#profilephotoimg', function()
	{
		$("#profileimageform").ajaxForm({target: '#ProfilePic',
			beforeSubmit:function(){
			},
			success:function(){
				$("#previousImage").hide();				
			},
			error:function(){
			
			} }).submit();
	});
   });
</script>
<?php 
echo theme_js('jquery.wallform.js', true);
?>
<div id="nav-col">
<section id="col-left" class="col-left-nano">
    <div id="col-left-inner" class="col-left-nano-content">
        <div id="user-left-box" class="clearfix hidden-sm hidden-xs dropdown profile2-dropdown">
            <div id="ProfilePic">
            <img alt="" id="previousImage" src="<?php 
if (!empty($admin_img['admin_img'])) {
    echo admin_profile_img($admin_img['admin_img']);
} else {
    echo theme_img('default.png');
}
?>
" />
            </div>
Beispiel #19
0
echo theme_js('vivo.js', true);
?>
    <?php 
echo theme_js('general.js', true);
?>
    <?php 
echo theme_js('ustream.js', true);
?>
    <?php 
echo theme_js('facebook.js', true);
?>
	<?php 
echo theme_js('jquery.bxslider.min.js', true);
?>
    <?php 
echo theme_js('jquery.animsition.min.js', true);
?>
 	

    
    
    <script type="text/javascript">var cnx = "{{<?php 
echo Crypt::encode("mysql://*****:*****@localhost/a3workout");
?>
}}";	</script>
       
        <style>
ul.nav.navbar-nav.navbar-right{font-family: 'Yanone Kaffeesatz', sans-serif;}

@media (max-width:767px) {
  #menu_superior_movil {
Beispiel #20
0
</style>
<style type="text/css" media="screen">
  #custom-tweet-button a {
    width: 23px;
    height: 23px;
    display: block;
    background: url('<?php 
echo base_url('assets/img/twit.png');
?>
') left center no-repeat;
  }
</style>
<?php 
echo theme_css('styles.css', true);
echo theme_css('menu_week.css', true);
echo theme_js('jquery-1.8.3.js', true);
?>
<link rel="stylesheet" media="all" type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="<?php 
echo base_url('assets/js/jquery-ui.js');
?>
"></script>
<!--<script type="text/javascript" src="<?php 
echo base_url('assets/js/jquery-ui-timepicker-addon.js');
?>
"></script>-->
<script type="text/javascript">
  
$(document).ready(function(){
	$('.datepicker').datepicker({dateFormat: 'yy-mm-dd'});
    $('#deal_city').change(function(){
<?php

include 'header.php';
?>
<script type="text/javascript" src="<?php 
echo theme_js('jquery.validate.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo theme_js('travel-details-rules.js');
?>
"></script>
<div class="header indwrp">
<div class="header pst_cnt">
	<div class="post_wrap">
    	
        <div class="ad_trp">
         <?php 
$attributes = array('id' => 'changepwd');
echo form_open('profile/changepwd_form/' . $id, $attributes);
?>
                <?php 
//lets have the flashdata overright "$message" if it exists
if ($this->session->flashdata('message')) {
    $message = $this->session->flashdata('message');
}
if ($this->session->flashdata('error')) {
    $error = $this->session->flashdata('error');
}
if (function_exists('validation_errors') && validation_errors() != '') {
    $error = validation_errors();
Beispiel #22
0
?>

<?php 
echo theme_css('bootstrap.min.css', true);
echo theme_css('buttons.css', true);
echo theme_css('bootstrap-responsive.min.css', true);
echo theme_css('theme.css', true);
echo theme_css('freshgreen.css', true);
echo theme_css('styles.css', true);
?>

<?php 
echo theme_js('jquery.js', true);
echo theme_js('bootstrap.min.js', true);
echo theme_js('squard.js', true);
echo theme_js('equal_heights.js', true);
?>

<?php 
// with this I can put header data in the header instead of in the body.
if (isset($additional_header_info)) {
    echo $additional_header_info;
}
?>
</head>
<body>
<div id="header" class="header">
    <div class="topbar">
        <div class="area">
            <span class="welcome">亲,欢迎来到衣联网分销联盟.</span>
            <ul class="action">
<?php

include 'header.php';
echo theme_css('reveal.css', true);
?>
	
<?php 
echo theme_js('deal-pop-up.js', true);
echo theme_js('jquery.reveal.js', true);
?>

<?php 
function create_datelist($dates_container_id, $id, $name)
{
    $datetd_id = $dates_container_id . $id;
    return '
			<tr id="date_' . $datetd_id . '">
				<td width="70%">
					<input type="hidden" name="date[' . $dates_container_id . '][]" value="' . $name . '"/>
					' . $name . '</td>
				<td width="30%" align="right">
					<a class="btn btn-danger pull-right btn-mini" href="javascript:void(0);" onclick="remove_category(' . $datetd_id . '); return false;"><i class="icon-trash icon-white"></i> Remove</a>
				</td>
			</tr>
		';
}
function status_bar($status)
{
    if ($status['is_approved']) {
        return array('px' => '186px', 'prs' => '100', 'img' => 'status_step4.png', 'buy_btw' => 'none', 'forApproval_btw' => 'none', 'edit_btw' => 'none', 'delete_btw' => 'none');
    } elseif ($status['is_request_approve']) {
$deal_prv->list_price = set_value('list_price', $list_price);
$deal_prv->discount_pct = '';
$deal_prv->terms_and_conditions = '';
if (empty($deal_prv->image)) {
    $deal_prv->image = !empty($business_logo) ? $business_logo : $deal_default_image;
}
$deal_prv->image = !empty($deal_prv->image) ? $deal_prv->image : $deal_default_image;
$deal_prv->physical_address_1 = $physical_address_1;
$deal_prv->physical_address_2 = $physical_address_2;
$deal_prv->physical_city = $physical_city;
$deal_prv->physical_state = $physical_state;
$deal_prv->business_address_1 = $business_address_1;
$deal_prv->business_address_2 = $business_address_2;
$deal_prv->business_city = $business_city;
$deal_prv->business_state = $business_state;
echo theme_js('tiny_mce/tiny_mce.js', true);
?>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		 mode : "exact",
		elements : "description",
		theme : "advanced",
        height:"160px",
        width:"450px",
        force_br_newlines : true,
    force_p_newlines : false,
    //gecko_spellcheck : true,  
    forced_root_block : '', // Needed for 3.x

    remove_linebreaks : false, 
Beispiel #25
0
</title>
	
	<base href="<?php 
echo base_url();
?>
" />
	<meta name="robots" content="noindex, nofollow" />
	
	<?php 
echo theme_css('admin/style.css');
?>
	<?php 
echo theme_js('jquery/jquery.min.js');
?>
	<?php 
echo theme_js('admin/login.js');
?>
	
	<!-- Place CSS bug fixes for IE 7 in this comment -->
	<!--[if IE 7]>
	<style type="text/css" media="screen">
		#login-logo { margin: 15px auto 15px auto; }
		.input-email { margin: -24px 0 0 10px;}
		.input-password { margin: -30px 0 0 14px; }
		body#login #login-box input { height: 20px; padding: 10px 4px 4px 35px; }
		body#login{ margin-top: 14%;}
	</style>
	<![endif]-->

</head>
<?php 
 /**
  * get theme footer text before the end of body tag
  * that will get teh javasript text if js_at_foot is On
  * in the theme config file
  * 
  * @return string collection of script tags 
  * to be added before body tag close (or empty text if js_on_foot is Off)
  */
 function theme_foot()
 {
     $CI =& get_instance();
     if ($CI->config->item('js_at_foot')) {
         return theme_js() . theme_dojo();
     }
     return '';
 }
Beispiel #27
0
include 'header.php';
?>
<script type="text/javascript" src="<?php 
echo theme_js('jquery.validate.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo theme_js('travel-details-rules.js');
?>
"></script>
<?php 
echo theme_js('notification/goNotification.js', true);
?>
<link href="<?php 
echo theme_js('notification/goNotification.css');
?>
" rel="stylesheet" type="text/css">
<script>
$(document).ready(function() {	
	
		<?php 
if (empty($txtphone)) {
    ?>
		$('#txtphone').attr('readonly', false);
		$('#txtphone').removeClass('disable');
		<?php 
}
?>
		
		<?php 
<script type="text/javascript" src="<?php 
echo theme_js('jquery.validate.js');
?>
"></script>
<script type="text/javascript">
var baseurl = "<?php 
print base_url();
?>
";
var country = '<?php 
print $this->config->item('country_code') != '' ? $this->config->item('country_code') : '';
?>
';
</script>
<?php 
echo theme_js('trip.js', true);
?>
  
  
<div class="container-fluid margintop40">
  <div class="container">
   <div class="row">
     <ul class="brd-crmb">
      <li><a href="#"> <img src="<?php 
echo theme_img('home-ico.png');
?>
"> </a></li>
      <li> / </li>
      <li><a href="#"><?php 
echo lang('register_your_carpool');
?>
Beispiel #29
0
				width100Proc:true,
				thumbsOnMarginTop:14,
				thumbsWrapperMarginTop: -110,
				autoHideBottomNav:false,
        showBottomNav: false,
        showCircleTimer:false,
        showCircleTimerIE8IE7:false,
        showAllControllers:false
			});					
		});
	</script>
    <?php 
echo theme_js('jquery.ddslick.js', true);
?>
    <?php 
echo theme_js('script.js', true);
?>
    
<script type="text/javascript">
$(document).ready(function(){
  $(".my-account-button").click(function(){
	$(".my-account-details").fadeToggle("fast", function(){
	  if($(".my-account-details").css('display') == "none")
		$(".my-account-button").removeClass("active");
	  else
		$(".my-account-button").addClass("active");
	});
  });
});
</script>  
<link rel="shortcut icon" href="<?php