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


PHP loadFunction函数代码示例

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


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

示例1: loadFunction

<script id="tmp_file" type="text/x-jquery-tmpl">
	<tr id="file_${idx}" data-file_id="${idx}" class='file_row'>
	<td><a href="./${relative_path}" class='file_open' target='_blank'><i class="icon-search"></i> </a><input type="hidden" name="file_id[]" value="${idx}"/></a><input type="hidden" name="tipe_doc[]" value="${tipe_doc}"/></td><td><input name='dasar_surat[]' value="${file_name}" type="hidden" style='width:300px' class="required form-control input-sm"/><label style='height:auto;'>${file_name}</td><td><a href="" class='file_remove red'><i class="icon-remove"></i> </a></td></tr>
</script>

<script id="tmp_file_upload" type="text/x-jquery-tmpl">
	<tr class='file_row' id="file_upload_${idx}" data-file_id="${idx}">
	<td><input type="hidden" name="upload_file_id[]" value="${idx}"/><a href="./${relative_path}" class='file_open' target='_blank'><i class="icon-search"></i> </a></td><td>
	<label style='height:auto;'>${file_name}</label></td><td><a href="" class='upload_file_remove red'><i class="icon-remove"></i> </a></td></tr>
</script>
    
    

<?php 
echo loadFunction("select2");
?>


<script>
	$(function(){
		$(".a_uu").click(function(e){
			e.preventDefault();
			var mytxt=$("#dasar_txt").val();
			var myid=$("#dasar_id").val();
			var url=$(this).attr("href");
			if(mytxt!=""){
				url+="?id="+encodeURIComponent(myid)+"&txt="+encodeURIComponent(mytxt);
			}
			
			$.colorbox({
开发者ID:TrinataBhayanaka,项目名称:damkar,代码行数:30,代码来源:v_add.php

示例2: loadFunction

<?php

echo loadFunction("validate");
echo js_asset("plugin/date.format.js");
echo js_asset("plugin/json2/json2.js");
echo js_asset("plugin/store/store.min.js");
echo loadFunction("quicksearch");
?>
<script>
	$(function(){
		var act_link="<?php 
echo substr(trim($this->module), 0, -1);
?>
";
		//alert(act_link);
		var currLink=window.location.pathname;
		var removeStr=currLink.split("<?php 
echo $this->module;
?>
")[1];
		currLink=act_link+"/"+removeStr;
		var arrCurrLink=currLink.split("/");
		currLink=arrCurrLink.join("/");
		currLink = currLink.replace(/^\/|\/$/g, '');
		//alert(currLink);
		var el=$(".sidebar-menu").find("a[href*='"+currLink+"']:first");
		if(el.length<1){
			var el=$(".sidebar-menu").find("a[href*='"+act_link+"']:first");
		}
		//console.log(el);
		$(".sidebar-menu").find("li.active").removeClass("active");
开发者ID:TrinataBhayanaka,项目名称:damkar,代码行数:31,代码来源:footer_js.php

示例3: foreach

            	<?php 
if (cek_array($data_file)) {
    ?>
				<?php 
    foreach ($data_file as $x => $val) {
        ?>
                    <li><a class="file" href="<?php 
        echo str_replace("img/ori", "img/resize", $val["file_path"]);
        ?>
"><?php 
        echo $val["file_name"];
        ?>
</a></li>
                <?php 
    }
    ?>
                <?php 
}
?>
            </ol>	
    </div>
</div>

<?php 
echo loadFunction("colorbox");
?>
<script>
$(function(){
	$(".file[href$=jpg],.file[href$=jpeg],.file[href$=png],.file[href$=bmp]").colorbox();
});
</script>
开发者ID:TrinataBhayanaka,项目名称:damkar,代码行数:31,代码来源:v_view_2.php

示例4: loadFunction

	<link href='assets/js/plugins/daterange/daterangepicker-bs3.css' rel='stylesheet' />
	<!-- end: CSS -->
	
	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
		
	  	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<script src="assets/js/respond.min.js"></script>
		
	<![endif]-->
	
	<!-- start: Favicon and Touch Icons -->
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="57x57" href="assets/ico/apple-touch-icon-57-precomposed.png">
	<link rel="shortcut icon" href="assets/ico/favicon.png">
	<!-- end: Favicon and Touch Icons -->	
	
    <script src="assets/js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="assets/3.0/js/bootstrap.min.js"></script>
    <?php 
echo loadFunction("validate");
?>
    <?php 
$this->load->view("admin_layout/header_js");
?>
</head>

<body>
<div id="content">
开发者ID:TrinataBhayanaka,项目名称:damkar,代码行数:31,代码来源:lookup_header.php

示例5: loadFunction

        </div>
        <div class="formSep"></div>
        <div class="row">
			<div class="col-md-12">
				<div class="form-actions col-md-12">
					<button class="btn btn-primary save" type="submit"><i class="icon-book icon-white"></i> Save </button>
					<button type="reset" class="btn btn-warning "><i class="icon-refresh"></i> Reset </button>
				</div>
			</div>
        </div>
    </form>-->	
    </div>
</div>

<?php 
loadFunction("json");
echo js_asset("jquery.tmpl.min.js");
echo js_asset("jquery.tmplPlus.min.js");
?>

<script id="tmp_file" type="text/x-jquery-tmpl">
	<tr id="file_${idx}" data-file_id="${idx}" class='file_row'>
	<td><a href="./${relative_path}" class='file_open' target='_blank'><i class="icon-search"></i> </a><input type="hidden" name="file_id[]" value="${idx}"/></a><input type="hidden" name="tipe_doc[]" value="${tipe_doc}"/></td><td><input name='dasar_surat[]' value="${file_name}" type="hidden" style='width:300px' class="form-control input-sm"/><label style='height:auto;'>${file_name}</td><td><a href="" class='file_remove red'><i class="icon-remove"></i> </a></td></tr>
</script>


<script id="tmp_file_peta" type="text/x-jquery-tmpl">
	<tr class='file_row' id="file_peta_${idx}" data-file_id="${idx}">
	<td><input type="hidden" name="peta_file_id[]" value="${idx}"/><a href="./${relative_path}" class='file_open' target='_blank'><i class="icon-search"></i> </a></td><td>
	<label style='height:auto;'>${file_name}</label></td><td><a href="" class='peta_file_remove red'><i class="icon-remove"></i> </a></td></tr>
</script>
开发者ID:TrinataBhayanaka,项目名称:damkar,代码行数:31,代码来源:v_add.php


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