本文整理匯總了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");