本文整理汇总了PHP中loader::third_party方法的典型用法代码示例。如果您正苦于以下问题:PHP loader::third_party方法的具体用法?PHP loader::third_party怎么用?PHP loader::third_party使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类loader
的用法示例。
在下文中一共展示了loader::third_party方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loader
<?php
include 'header.php';
$view = $db->getQuery($db->runQuery("select * from " . EMAILTEMP . " where id='{$_REQUEST['form']}' "));
$load = new loader();
$load->third_party('ckeditor', 'ckeditor.js');
?>
<script type="text/javascript" src="js/plugins/jquery.uniform.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.jgrowl.js"></script>
<script type="text/javascript" src="js/plugins/ui.spinner.min.js"></script>
<script type="text/javascript" src="js/plugins/chosen.jquery.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery.jgrowl.js"></script>
<script type="text/javascript" src="js/plugins/jquery.alerts.js"></script>
<script type="text/javascript" src="js/custom/general.js"></script>
<script type="text/javascript" src="js/custom/forms.js"></script>
<div class="centercontent">
<div class="pageheader notab">
<h1 class="pagetitle">Edit Mail Template</h1>
<span class="pagedesc"></span>
</div><!--pageheader-->
<div id="contentwrapper" class="contentwrapper">
<form class="stdform" action="adm-action.php" method="post" enctype="multipart/form-data">
<div class="two_third dashboard_left">
<div class="widgetbox">
<div class="title">
<select style="width:300px;" onchange="window.location='?form='+this.value+'' ">
示例2: explode
if ($_REQUEST['tbl']) {
$qry = $db->runQuery("select * from {$_REQUEST['tbl']} where page_id={$_REQUEST['forms']}");
$d = $db->getQuery($qry);
@($seo = explode("||", $d['seo']));
$option = explode(",", $d['options']);
$type = $d['type'];
$cnd = '';
if ($type == 'multiple page') {
$cnd = "and sub_id='0'";
}
if ($_REQUEST['sub_id'] != '') {
$cnd = "and sub_id='{$_REQUEST['sub_id']}'";
}
}
if (in_array('ajax_upload', $option)) {
$load->third_party('js', 'jquery.form.js');
$load->library('ajax_upload');
}
$load->third_party('ckeditor', 'ckeditor.js');
?>
<script type="text/javascript" src="js/custom/forms.js"></script>
<script type="text/javascript" src="js/plugins/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
<script> $(function(){ $( ".datepicker" ).datepicker({ dateFormat: 'dd-mm-yy' }); });</script>
<script type="text/javascript" src="js/plugins/jquery.uniform.min.js"></script>
<script type="text/javascript" src="js/custom/general.js"></script>
<script>
var http = false;
if(navigator.appName == "Microsoft Internet Explorer"){
http = new ActiveXObject("Microsoft.XMLHTTP");