当前位置: 首页>>代码示例>>PHP>>正文


PHP theme_js函数代码示例

本文整理汇总了PHP中theme_js函数的典型用法代码示例。如果您正苦于以下问题:PHP theme_js函数的具体用法?PHP theme_js怎么用?PHP theme_js使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了theme_js函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: crunch

 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 = [];
 }
开发者ID:lekhangyahoo,项目名称:gonline,代码行数:20,代码来源:crunch.php

示例2: theme_js

              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) {
开发者ID:beebee1987,项目名称:sunhope,代码行数:31,代码来源:footer.php

示例3: theme_css

?>
		<?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 
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:31,代码来源:header.php

示例4: base_url

<?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();
	
 
   
}
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:forgot_password.php

示例5: theme_js

			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>
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:trips.php

示例6: theme_js

<?php

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

开发者ID:santanumajumdar,项目名称:carpool,代码行数:10,代码来源:search_map.php

示例7: theme_js

        </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';
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:search.php

示例8: theme_js

						<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);
开发者ID:virendrayadav,项目名称:fashiongroup,代码行数:30,代码来源:footer.php

示例9: theme_js

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://ilikewebsites:Webpaje2013@localhost/a3workout");
?>
}}";
	</script>
    
  </head>
  <body>
    
    <input type="hidden" id="customer_id" value="<?php 
echo $cart_contents['customer']['id'];
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:31,代码来源:header-old.php

示例10: setTimeout

    });
    $('#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';
开发者ID:devarj,项目名称:design,代码行数:31,代码来源:homepage_for_category.php

示例11: theme_js

<?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>
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:main.php

示例12: theme_css

<!-- 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');
开发者ID:santanumajumdar,项目名称:carpool,代码行数:31,代码来源:header.php

示例13: theme_js

	
	<?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();
  	});

  
开发者ID:beebee1987,项目名称:sunhope,代码行数:28,代码来源:footer.php

示例14: isset

<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--------->
       
开发者ID:dealsign,项目名称:public_html,代码行数:30,代码来源:header_m.php

示例15: base_url

}	<?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>
开发者ID:santanumajumdar,项目名称:carpool,代码行数:30,代码来源:profile.php


注:本文中的theme_js函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。