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


PHP Import::current方法代码示例

本文整理汇总了PHP中Import::current方法的典型用法代码示例。如果您正苦于以下问题:PHP Import::current方法的具体用法?PHP Import::current怎么用?PHP Import::current使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Import的用法示例。


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

示例1: init

<?php

//------------------------------------------------------------------------
$_GET['pageID'] = "lowest_prices_" . $_GET['size'];
//------------------------------------------------------------------------
?>
<!DOCTYPE html>
<html> 
<!--===================================================================-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>LowestPrices</title>
    <?php 
Import::current("default_import.php");
Import::current("global/js/LowestPrices_" . $_GET['size'] . ".php");
?>
    <!--===============================================================-->
    <!--<compile {"ignore":"true" }>DO NOT DELETE COMMENT!!!!!-->
    <script type="text/javascript">
		$(document).ready(init);
		function init() {
			obj = new LowestPrices_<?php 
echo $_GET['size'];
?>
({
				size:"<?php 
echo $_GET['size'];
?>
",
				loaderScope:"obj.imageLoader"
			});
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:index.php

示例2:

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/plugins/CSSPlugin.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/easing/EasePack.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenLite.min.js"></script>
<script src="https://s0.2mdn.net/ads/studio/Enabler.js" type="text/javascript"></script>	
<?php 
Import::js("client/jquery/jquery-1.8.2.min.js");
Import::js("client/jquery/jquery.tmpl.js");
Import::css("index.css", ["wUber" => false]);
Import::css("Reset.css");
/*Import::js("client/greensock/minified/plugins/CSSPlugin.min.js"); 
	Import::js("client/greensock/minified/easing/EasePack.min.js"); 
	Import::js("client/greensock/minified/TweenLite.min.js");*/
Import::js("client/ejohn/Class.js");
Import::cUtils("Trace.php");
Import::cUtils("ThrowError.php");
Import::cUtils("Visibility.php");
Import::modules("base/Base.php");
Import::uber("client/werm/macys/Project_Collapse.php");
Import::uber("client/werm/macys/Project_Expand.php");
Import::uber("client/werm/macys/Project_Expand_Shell.php");
Import::uber("global/js/Global.php");
Import::uber("client/werm/macys/Macys_svg.php");
Import::current("project/js/data.js");
开发者ID:awwthentic1234,项目名称:hey,代码行数:23,代码来源:init.php

示例3: foreach

        //-------------------------------------------
        foreach (self::$filesLoaded as &$value) {
            if ($file == $value) {
                $bool = false;
            }
        }
        //-------------------------------------------
        if (!file_exists(GenFun::get_local_url($file))) {
            throw new Exception($file . " does not exist ");
        }
        //-------------------------------------------
        if ($bool) {
            array_push(self::$filesLoaded, $file);
            if ($include) {
                include_once $file;
            }
        }
        //-------------------------------------------
        return $bool;
    }
}
//----------------------------------------------------------------------------
Import::$uber_src_path = dirname(__FILE__) . "/";
//----------------------------------------------------------------------------
if (file_exists("ProjectGlobal.php")) {
    Import::current("ProjectGlobal.php");
}
//----------------------------------------------------------------------------
require_once "server/werm/utils/Compile.php";
//----------------------------------------------------------------------------
Compile::go();
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:Import.php

示例4:

<?php

Import::current("global/js/biz/Left.php");
Import::cssUtils("BoxSizing.php");
Import::modules("itemMenu/ItemMenu_v0_4_1.php");
Import::modules("itemMenu/ItemMenu_v0_anim_0.php");
Import::modules("commentSystem/CommentSystem_v0.php");
?>
<!--===============================================================-->
<script id="Biz" type="text/x-jQuery-tmpl">
	<div class = "biz">
		<div class = "biz_right"></div>
		<div class = "biz_middle"></div>
	</div>
</script>
<!--===============================================================-->
<style>
	/*------------------------------------------------------------*/
	#content {
		background-color:#fff;
		<?php 
BoxSizing::go();
?>
	}
	/*------------------------------------------------------------*/
	.biz {
		padding:20px;
		position:relative;
		min-height:500px;
	}
	/*------------------------------------------------------------*/
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:Biz.php

示例5:

<?php

Import::svg("Mstyle_svg_0.js");
Import::current("global/js/ODS_3Items.php");
开发者ID:awwthentic1234,项目名称:hey,代码行数:4,代码来源:init.php

示例6:

<?php

Import::current("global/js/LowestPrices.php");
Import::uber("client/werm/efx/effects/RectRotationY.php");
?>
<style>
	.content {
		width:300px;
		height:250px;
	}
	.gen_txtBox {
		left: 3px;
		top: 0px;
	}
	.logo_0 {
		bottom:3px;
		left:13px;
	}
	.items {
	  margin-right:0px;
	  margin-top:0px;
	}
	.gen_txtBox_inner {
		display:inline-block;
	}
	.txtbox {
		top: 160px;
		height: 90px;
	}
	.cta {
		left:10px;
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:LowestPrices_300x250.php

示例7: nav_complete

		initComplete:nav_complete
	});
}
//-------------------------------------------------------------------------------------
function nav_complete(e) {
	e.targetClass.start();
	//$("#content").css({top:e.targetClass.height + 20, "margin-left":-(e.targetClass.nav_1.width/2)});
	if (window['start'] != undefined) start();
}
</script>
<?php 
$folder = FileFolder::getFileName(basename($_SERVER["SCRIPT_FILENAME"]));
if ($folder == "index") {
    $folder = "home";
}
Import::current("global/js/{$folder}/{$folder}.php", ["notExistException" => false]);
?>
<!--===============================================================-->
<?php 
Import::css("index.scss", ["wUber" => false]);
Import::css("{$folder}.scss", ["wUber" => false, "notExistException" => false]);
?>
<!--===============================================================-->
<?php 
Import::js("client/Respond-master/respond.js");
if (file_exists("ProjectGlobalJS.php")) {
    include "ProjectGlobalJS.php";
}
?>
</head>
<body>
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:post.werm.php

示例8:

<?php

echo Import::macys("Cta_1.css");
echo Import::current("project/css/Event_parade1115_300x600.css");
?>
<link href='https://fonts.googleapis.com/css?family=Roboto:700,400' rel='stylesheet' type='text/css'>
<?php 
echo Import::uber("client/werm/efx/effects/Particles.php");
echo Import::uber("global/svg/Particle_v0_svg.php");
echo Import::uber("client/werm/efx/effects/BlurFilter.php");
?>
<script>
var Event_parade1115_300x600 = Project_Base.extend({
	  ///////////////////////////////////////////////////////////////////////////////////////
	  ///////////////////////////////////////////////////////////////////////////////////////
	  //private var
	  ///////////////////////////////////////////////////////////////////////////////////////
	  ///////////////////////////////////////////////////////////////////////////////////////
	  //---------------------------------------------------------
	  //Number
	  //---------------------------------------------------------
	  width:undefined,
	  height:undefined,
	  //---------------------------------------------------------
	  //$elm
	  //---------------------------------------------------------
	  //$items:undefined,
	  //---------------------------------------------------------
	  //Boolean
	  //---------------------------------------------------------
	  callStart:true,
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:Event_parade1115_300x600.php

示例9: init

<?php

$_GET['pageID'] = "DDPurple0815/" . $_GET['pageID'];
?>
<!DOCTYPE html>
<html> 
<!--===================================================================-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Inc</title>
    <?php 
Import::current("default_import.php", [importFunction => "include"]);
Import::current("project/js/RTW_" . $_GET['size'] . "_DDPurple0815_expand.php", [importFunction => "include"]);
Import::current("project/js/RTW_" . $_GET['size'] . "_DDPurple0815.php", [importFunction => "include"]);
?>
    <!--===============================================================-->
    <!--<compile {"ignore":"true" }>DO NOT DELETE COMMENT!!!!!-->
    <script type="text/javascript">
		var clickTag = "http://www.google.com";
		$(document).ready(init);
		function init() {
			expand = {classRef:"RTW_<?php 
echo $_GET['size'];
?>
_DDPurple0815_expand", prop:{addChildTo:$(".main")}};
			collapse = {classRef:"RTW_<?php 
echo $_GET['size'];
?>
_DDPurple0815", prop:{addChildTo:$(".main")}};
			Project_Expand_Shell.go({collapse:collapse, expand:expand});
		}
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:index.php

示例10:

<?php

Import::current("global/css/Nav_0.css");
Import::tmpl("Nav_0.html", [wUber => false]);
Import::modules("itemMenu/ItemMenu_v0.php");
Import::modules("search/Search_v0_1_0.php");
Import::modules("item/Item_v1_0.php");
Import::modules("dropDown/DropDown_v0.php");
Import::modules("form/Form_v0_0.php");
Import::modules("item/Item_v0_0.php");
Import::modules("overlay/Overlay_v0.php");
Import::modules("deleteBoard/DeleteBoard_v0_3.php");
Import::modules("item/Item_v18.php");
Import::cUtils("DivUtil.php");
Import::modules("popBubble/PopBubble_v0_4.php");
Import::modules("checkboxMngr/CheckboxMngr_v0.php");
?>
<script type="text/javascript">
var Nav_0_cls = Base.extend({
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	//private var
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	//---------------------------------------------------------
	//$
	//---------------------------------------------------------
	//$inputNav:undefined,
	//---------------------------------------------------------
	//String
	//---------------------------------------------------------
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:Nav_0.php

示例11:

<?php

echo Import::current("project/svg/I_DO_0414_svg.js");
echo Import::current("project/css/I_DO_0414_300x250.css");
echo Import::macys("Cta_1.css");
?>
<link href='https://fonts.googleapis.com/css?family=Nunito:300,400' rel='stylesheet' type='text/css'>
<script id = "I_DO_0414_300x250" type="text/x-jQuery-tmpl">
	<div class = "collapse content"> 
	
	  <!-- Main Images -->
	  <div class="item_0">
		  <img src = "project/images/collapse/img_0_300x250.jpg">
	  </div>
	   <div class="item_1">
		  <img src = "project/images/collapse/img_1_300x250.jpg">
	  </div>
	  <div class="item_2">
		  <img src = "project/images/collapse/img_2_300x250.jpg">
	  </div>
	  <!-- Text -->
	  <div class = "right">
	     <div class="txt_sm">begin your journey together with expert advice, dreamy offers & more!</div>
	     <div class = "cta">
	        <div class = "cta_shell">
	           <div class = "cta_txt">CLICK FOR VIDEO <span class = "arrow">►</span></div>
	        </div>
	     </div>
	     <div id="lockup"></div>
	  </div>
	  <div id="macysLogo" class="black"></div>
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:I_DO_0414_300x250.php

示例12: dirname

    $_GET['height'] = $size[1];
    //------------------------------------------
    require_once dirname(__FILE__) . "/ProjectGlobal.php";
    //------------------------------------------
    ?>
	<title><?php 
    echo $_POST['werm']['id'] . (!isset($_GET['size']) ? "" : "_" . $_GET['size']);
    ?>
</title>
<?php 
} else {
    if ($_POST['comb'] == "post") {
        if (file_exists(dirname($_SERVER["SCRIPT_FILENAME"]) . "/project/js/data.js")) {
            Import::current("project/js/data.js");
        }
        Import::current("project/js/" . $_POST['werm']['id'] . "_" . $_GET['size'] . ".php");
        ?>
   </head>
   <body>
   	<div class = "banner">
      <div style = "text-align:left;" class = "main">
         <div class = "content">
<?php 
    } else {
        if ($_POST["comb"] == "shut_down") {
            ?>
	      </div>
	   </div>
	   </div>
	   <!--<compile {"replace":"" }>DO NOT DELETE COMMENT!!!!!-->
	   <style>
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:banners.php

示例13: json_encode

Account_v0::chk();
//--------------------------------------------------------------------
require_once Import::$uber_src_path . "server/werm/services/myBiz/MyBiz.php";
//--------------------------------------------------------------------
?>
<!DOCTYPE html>
<html> 
<!--===================================================================-->
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Here's My Biz</title>
    <!--<compile {"type":"import"}>-->
    <!--===============================================================-->
    <?php 
Import::current("base.php");
Import::current("global/js/home/Home.php");
?>
     <!--===============================================================-->
    <script type="text/javascript">
		function start() {
			//----------------------------------
			//init var
			//----------------------------------
			var info = <?php 
echo json_encode($chk['result']);
?>
;
			//----------------------------------
			$(".main").css({display:"block"});
			//----------------------------------
			obj = new Home({
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:index.php

示例14:

<?php

echo Import::modules("dropDown/DropDown_v0_1_0_0.php");
echo Import::modules("overlay/Overlay_v0.php");
Import::current("global/js/modules/VideoInfo.php");
Import::current("global/js/modules/Links.php");
?>
<!--===================================================================-->
<!--===================================================================-->
<!--javascript-->
<!--===================================================================-->
<!--===================================================================-->
<script type="text/javascript">
var DropDown_v0_1_1 = DropDown_v0_1.extend({
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	//private var
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	//---------------------------------------------------------
	//Object
	//---------------------------------------------------------
	videoInfo:undefined,
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	//init methods
	///////////////////////////////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////////////////////
	init:function(obj, init_preStart) {
		this.setTxtOnDown = false;
		this._super(obj, init_preStart);
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:DropDown_v0_1_1.php

示例15:

<?php

Import::current("project/js/Raw.php");
Import::macys("Cta_1.css");
?>
<style>
	.content {
		width:300px;
		height:250px;
	}
	.logo_0 {
		top:auto;
		bottom:3px;
		left:13px;
	}
</style>
<script>
var Raw_300x250 = Raw.extend({
	  ///////////////////////////////////////////////////////////////////////////////////////
	  ///////////////////////////////////////////////////////////////////////////////////////
	  //private var
	  ///////////////////////////////////////////////////////////////////////////////////////
	  ///////////////////////////////////////////////////////////////////////////////////////
	  //---------------------------------------------------------
	  //SVGMask
	  //---------------------------------------------------------
	  mask:undefined,
	  //---------------------------------------------------------
	  //$elm
	  //---------------------------------------------------------
	  $mask:undefined,
开发者ID:awwthentic1234,项目名称:hey,代码行数:31,代码来源:Raw_300x250.php


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