• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP theme_js函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: theme_js

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


示例17: theme_js

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


示例18: function

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


示例19: theme_js

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://ilikewebsites:Webpaje2013@localhost/a3workout");
?>
}}";	</script>
       
        <style>
ul.nav.navbar-nav.navbar-right{font-family: 'Yanone Kaffeesatz', sans-serif;}

@media (max-width:767px) {
  #menu_superior_movil {
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:31,代码来源:header.php


示例20: url

</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(){
开发者ID:dealsign,项目名称:public_html,代码行数:31,代码来源:header.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP theme_links函数代码示例发布时间:2022-05-23
下一篇:
PHP theme_item_list函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap