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

PHP loadJS函数代码示例

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

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



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

示例1: loadHome

<body>

<div id="contact_page">
	<h1>Contact Me <i class="fa fa-send"></i></h1>
	<p></p>
	<form method="post" action="contact.php" name="contactForm">
		<input type="text" name="firstName" placeholder="First Name" maxlength="20" class="input_ready">
		<br><input type="text" name="lastName" placeholder="Last Name" maxlength="20" class="input_ready">
		<br><input type="email" name="emailAddress" placeholder="Email Address" maxlength="40" class="input_ready">
		<br><input type="tel" name="phoneNumber" placeholder="Phone Number" maxlength="14" class="input_ready">
		<br><textarea name="messageBody" placeholder="Message Body" class="input_ready"></textarea>
		<br><input type="submit" name="formSubmit" value="Send Message">
	</form>
	<span id="contact_notification">
		<p></p>
	</span>
	<div id="validating"></div>
	<?php 
    loadHome();
    ?>
</div>

<?php 
    loadAnalytics();
    loadJS('jquery', 'contact');
    ?>

</body>
</html>
<?php 
}
开发者ID:lalanza808,项目名称:lance.noip.us,代码行数:31,代码来源:contact.php


示例2: loadCSS

<?php

require_once 'funcoes.php';
loadCSS('style');
loadJS('jquery');
echo "Cabeçalho<br><hr>";
incluirPagina('login');
/*
$user = new usuarios();
$user->inserir(
               array(
                   "nome_usuario"=>"Thor", 
                   "email_usuario"=>"[email protected]",
                   "senha_usuario"=>"77777"
                    )
               );

   echo "Usuario Cadastrado com sucesso!!";
*/
/*
$user->atualizar(
               array(
                   "nome_usuario" => "Thor Batista",
                   "email_usuario"=>"[email protected]",
                   )
               , "id_usuario=4");

if($user->linhas > 0)
{
   echo "<br>Usuário atualizado com suceso!!";
} else {
开发者ID:DonDesigner,项目名称:galeriafotos,代码行数:31,代码来源:index.php


示例3: loadCSS

        <div class="col-xs-12">
            <div class="col-md-12 well">
                <div id="form-tipo-emergencia">
                    
                </div>
            </div>
        </div>
    </div>
 
    
</div>


<?php 
echo loadCSS("assets/js/library/bootstrap-fileinput/css/fileinput.css");
echo loadJS("assets/js/library/bootstrap-fileinput/js/fileinput.js");
echo loadJS("assets/js/library/bootstrap-fileinput/js/fileinput_locale_es.js");
?>












开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:18,代码来源:form.php


示例4: loadJS

</textarea>
                <span class="help-block hidden"></span>
            </div>
        </div>
        <div class="col-lg-3">
            <div class="form-group clearfix">
                <label for="form_tipo_acciones_tomadas_medidas_administrativas" class="control-label">Medidas administrativas:</label>
                <textarea  class="form-control" name="form_tipo_acciones_tomadas_medidas_administrativas" id="form_tipo_acciones_tomadas_medidas_administrativas"><?php 
echo $form_tipo_acciones_tomadas_medidas_administrativas;
?>
</textarea>
                <span class="help-block hidden"></span>
            </div>
        </div>
        <div class="col-lg-12">
            <div class="form-group clearfix">
                <label for="form_tipo_acciones_tomadas_sumario_sanitario" class="control-label">Inicio Sumario Sanitario, materias:</label>
                <textarea  class="form-control" name="form_tipo_acciones_tomadas_sumario_sanitario" id="form_tipo_acciones_tomadas_sumario_sanitario"><?php 
echo $form_tipo_acciones_tomadas_sumario_sanitario;
?>
</textarea>
                <span class="help-block hidden"></span>
            </div>
        </div>
    </div>
    
</form>

<?php 
echo loadJS("assets/js/modulo/evento/form/form-tipo-emergencia/radiologica.js");
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:30,代码来源:form-radiologica.php


示例5: loadJS

                <textarea  class="form-control" name="form_tipo_acciones" id="form_tipo_acciones" rows="15"><?php 
echo $form_tipo_acciones;
?>
</textarea>

                <span class="help-block hidden"></span>
            </div>
        </div>
    </div>
    
    
           
    <div class="row">
        <div class="col-md-12">
            <div id="<?php 
echo $form_name;
?>
_error" class="alert alert-danger hidden">
                <strong> Existen problemas con los datos ingresados </strong> <br>
                Revise y corrija los campos iluminados en rojo.
            </div>
        </div>
    </div>
    
</form>

<?php 
echo loadJS("assets/js/library/ckeditor-4.5.7/ckeditor.js");
echo loadJS("assets/js/modulo/evento/form/form-tipo-emergencia/general.js");
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:29,代码来源:form-general.php


示例6: loadCSS

            </div>
        </div>
    </div>

</div>



<!-- <div class="modal fade" id="modal_nuevo_soporte" role="dialog" aria-hidden="true"></div> -->




<?php 
echo loadCSS("assets/js/library/DataTables-1.10.8/css/dataTables.bootstrap.css");
echo loadJS("assets/js/library/DataTables-1.10.8/js/jquery.dataTables.js");
echo loadJS("assets/js/library/DataTables-1.10.8/js/dataTables.bootstrap.js");
echo loadJS("assets/js/library/bootbox-4.4.0/bootbox.min.js");
?>

<?php 
echo loadJS("assets/js/soportes.js");
?>


<script type="text/javascript">
    $(document).ready(function () {
        Soportes.init();
        
    });
</script>
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:31,代码来源:bandeja_soportes_central.php


示例7: loadLib

<?php

//Component Tasks
loadLib('task');
loadJS('tasks.js', 'tasks');
//loadCSS('payment.css','payment');
switch (getVar('task')) {
    case 'add_task':
        Task::addTask(getVar('creator_id'), getVar('assigned_to_id'), getVar('taskname'), getVar('note'));
        setResponse('Task added...');
        break;
    case 'complete_task':
        break;
    case 'delete_task':
        break;
    case 'get_users':
        echo $users = json_encode(get_users());
        break;
}
switch (getView()) {
    case 'list':
        $user_id = get_current_user_id();
        //get all the tasks for the user
        $tasks = Task::getTasks();
        //set the backLink
        //$backLink = "index.php?com=patient&view=patient&patient_id=" . $patient_id;
        include 'views/list.php';
        break;
}
开发者ID:tapuz,项目名称:alice,代码行数:29,代码来源:tasks.php


示例8: loadLib

<?php

loadLib('appointment');
loadJS('add_payment.js', 'payment');
$patient_id = getVar('patient_id');
$patient = getPatient($patient_id);
//get all the patient appointments to display in the side menu
$appointments = Appointment::getAppointments($patient_id);
include 'views/patient_menu.php';
开发者ID:tapuz,项目名称:alice,代码行数:9,代码来源:patient_menu.php


示例9: loadCSS

<?php

echo loadCSS("assets/js/library/DataTables-1.10.8/css/dataTables.bootstrap.css");
echo loadJS("assets/js/library/DataTables-1.10.8/js/jquery.dataTables.js");
echo loadJS("assets/js/library/DataTables-1.10.8/js/dataTables.bootstrap.js");
?>

<?php 
echo loadCSS("assets/js/library/DataTables-plugins/buttons/buttons.dataTables.min.css");
echo loadJS("assets/js/library/DataTables-plugins/buttons/dataTables.buttons.min.js");
echo loadJS("assets/js/library/DataTables-plugins/buttons/buttons.html5.min.js");
echo loadJS("assets/js/library/DataTables-plugins/pdfmake/pdfmake.min.js");
echo loadJS("assets/js/library/DataTables-plugins/pdfmake/vfs_fonts.js");
echo loadJS("assets/js/library/DataTables-plugins/JSZip/jszip.min.js");
?>

开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:15,代码来源:js-datatable.php


示例10: base_url

                                <div class="col-sm-12">
                                    <div id="form-error" class="alert alert-danger hidden">
                                        <strong>Existen problemas en los datos</strong> <br> Verifique los datos ingresados y vuelva a intentarlo.
                                    </div>
                                </div>
                            </div>
                            
                            <div class="row">
                                <div class="col-md-12 text-right">
                                    <button type="button" id="guardar" class="btn btn-success btn-xs">
                                        <i class="fa fa-save"></i> Cambiar contraseña
                                    </button>
                                    <button type="button" id="cancelar" onclick="location.href='<?php 
echo base_url("login/index");
?>
'" class="btn btn-white btn-xs">
                                        <i class="fa fa-remove"></i> Omitir 
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php 
echo loadJs("assets/js/framework/system/jquery-2.1.4/jquery.min.js");
echo loadJS("assets/js/login-actualizar-password.js", true);
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:30,代码来源:actualizar.php


示例11: loadJS

<div class="row">
	<div class="col-xs-12">
		<form class="form-horizontal" role="form">
			<div class="form-group">
				<label class="col-xs-12">Rut de usuario</label>
				<div class="col-xs-12">
					<input type="text" name="rut_usuario" id="rut_usuario" class="form-control" placeholder="ej. 12345678-9" />
				</div>
			</div>
			<div class="top-spaced text-center">
				<button type="button" class="btn btn-primary btn-square" onclick="xModal.close();">Cerrar</button>
				<button type="button" class="btn btn-success btn-square" onclick="Login.solicitarPassword(this.form, this);">Solicitar</button>
			</div>
		</form>
	</div>
</div>

<?php 
echo loadJS("assets/js/modulo/login/login.js", true);
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:19,代码来源:recuperar.php


示例12: base_url

                                    <strong> Existen problemas con los datos ingresados </strong> <br>
                                    Revise y corrija los campos iluminados en rojo.
                                </div>
                            </div>
                        </div>
                    </div>                

                    <div class="row top-spaced">
                        <div class="col-xs-12 text-right">
                            <div class="form-group">
                                <div class="col-sm-12">
                                    <button id="guardar" class="btn btn-green" type="button"><i class="fa fa-floppy-o"></i> Guardar</button>
                                    <button class="btn btn-white" type="reset" onClick="document.location.href = '<?php 
echo base_url("intoxicacion/index");
?>
'"><i class="fa fa-ban"></i> Cancelar</button>
                                </div>
                            </div>
                        </div>
                    </div>

            </form>
        </div>
    </div>
</div>

<?php 
echo loadJS("assets/js/library/jquery.typing-0.2.0/jquery.typing.min.js");
echo loadJS("assets/js/modulo/mapa/formulario.js");
echo loadJS("assets/js/modulo/intoxicacion/form.js");
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:30,代码来源:form.php


示例13: loadJS

                <li class="active"><i class="fa fa-bell"></i>  Vacunación Antirrábica </li>
            </ol>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-lg-12">                        
        <div id="pResultados" class="portlet portlet-default">
            <div class="portlet-body"> 
                <div class="row">
                    <div class="col-lg-12">
                        <div id="resultados" class="table-responsive" data-row="20">
                            <div class="col-lg-12 text-center" style="height: 100px;">
                                <i class="fa fa-4x fa-spin fa-spinner"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<?php 
echo loadJS("assets/js/library/bootbox-4.4.0/bootbox.min.js", true);
echo loadCSS("assets/js/library/DataTables-1.10.8/css/dataTables.bootstrap.css");
echo loadJS("assets/js/library/DataTables-1.10.8/js/jquery.dataTables.js");
echo loadJS("assets/js/library/DataTables-1.10.8/js/dataTables.bootstrap.js");
echo loadJS("assets/js/rabia_vacunacion.js");
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:30,代码来源:index.php


示例14: loadJS

					<span class="menu_side">
						<p>Proficiency in:</p>
						<p><i class="fa fa-windows about-icon"></i> Windows</p>
						<p><i class="fa fa-linux about-icon"></i> Linux</p>
						<p><i class="fa fa-apple about-icon"></i> OS X</p>
						<p><i class="fa fa-terminal about-icon"></i> Scripts</p>
						<p><i class="fa fa-bolt about-icon"></i> Networks</p>
						<p><i class="fa fa-fire about-icon"></i> Firewalls</p>
						<p><i class="fa fa-shield about-icon"></i> Security</p>
					</span>
					<span class="menu_side">
						<p>Tools I use:</p>
						<p><i class="fa fa-google about-icon"></i> Google</p>
						<p><i class="fa fa-desktop about-icon"></i> Remote Desktop</p>
						<p><i class="fa fa-terminal about-icon"></i> Secure Shell</p>
						<p><i class="fa fa-code about-icon"></i> Command Line</p>
						<p><i class="fa fa-circle-o-notch about-icon"></i> Open Source Software</p>
						<p><i class="fa fa-code-fork about-icon"></i> Git</p>
						<p><i class="fa fa-coffee about-icon"></i> Coffee</p>
					</span>
				</div>
				
		</div>
	</div>

</div>

<?php 
loadJS('main');
loadAnalytics();
loadFooter();
开发者ID:lalanza808,项目名称:lance.noip.us,代码行数:31,代码来源:index.php


示例15: base_url

        ?>
" class="img-responsive" style="height: 300px;cursor:pointer;"
                                     onclick="xModal.open('<?php 
        echo base_url('vectores/verImagenDenuncia/id/' . $imagen['id'] . '/sha/' . $imagen['sha'] . '/otra/true');
        ?>
','Imagen Denuncia D-<?php 
        echo $id;
        ?>
','lg');"/>
                            </div>
                        <?php 
    }
    ?>
                        </div>
                    <?php 
}
?>
                </div>
            </div>
        </div>
    </div>
</div>

<?php 
echo loadJS("assets/js/modulo/mapa/formulario.js");
echo loadJS("assets/js/modulo/vectores/denuncias/denuncias.js");
?>



开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:27,代码来源:upload_imagenes.php


示例16: loadJS

<?php

// login component
loadJS('login.js', 'login');
switch (getVar('task')) {
    case 'login':
        $username = getVar("username");
        $password = getVar("password");
        $creds = array();
        $creds['user_login'] = $username;
        $creds['user_password'] = $password;
        $creds['remember'] = true;
        $user = wp_signon($creds, true);
        //global $current_user;
        //wp_set_current_user($user->ID);
        if (is_wp_error($user)) {
            echo $user->get_error_message();
        } else {
            // user logged is successfully
            session_start();
            wp_set_current_user($user->ID);
            //session_start();
            //$_SESSION['login'] = 'ok';
            echo "<response>success</response>";
            echo $user->ID;
            if (is_user_logged_in()) {
                echo 'Welcome, registered user!';
            } else {
                echo 'Welcome, visitor!';
            }
        }
开发者ID:tapuz,项目名称:alice,代码行数:31,代码来源:login.php


示例17: loadJS

            </table>
            <div class="top-spaced text-right">
                <button class="btn btn-square btn-primary" type="button" onclick="xModal.close();" id="cerrar-edicion-item">Cerrar</button>
                <button class="btn btn-square btn-success" type="button" onclick="Layer.guardarItemSubcapa(this.form, this, <?php 
echo $id_item;
?>
);">Guardar</button>
            </div>
        </div>
    </div>
</form>

<?php 
echo $js;
echo loadJS("assets/js/modulo/mapa/formulario.js");
echo loadJS("assets/js/modulo/capa/item/editar.js");
?>
<script type="text/javascript">

    function cargar(){
        var editor = new CapaItem(
            $("#form_coordenadas_latitud"), 
            $("#form_coordenadas_longitud")
            );
        
        if($("#id_item").val()!=""){
            editor.loadElement($("#id_item").val());
        }
        editor.startEditor($("#tipo_elemento").val());
        editor.startMap();
    }
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:31,代码来源:edicion_item_subcapa.php


示例18: loadCSS

<?php

//Component Settings
loadCSS('settings.css', 'settings');
loadJS('settings.js', 'settings');
loadLib('invoice');
switch (getTask()) {
    case 'save_template':
        $wpdb->update('table_letter_templates', array('template' => getVar('template'), 'name' => getVar('template_name')), array('id' => getVar('template_id')));
        break;
    case 'delete_template':
        $wpdb->delete('table_letter_templates', array('id' => getVar('template_id')));
        break;
    case 'add_new_template':
        $wpdb->insert('table_letter_templates', array('category_id' => getVar('category_id'), 'name' => 'New template'));
        //get the letter_id just created to pass to the select_category view
        $template_id = $wpdb->insert_id;
        break;
}
switch (getView()) {
    case 'general':
        // display the settings menu
        include 'views/general.php';
        break;
    case 'select_category':
        // get letter categories to select from
        $query = "SELECT * from table_letter_categories";
        $categories = $wpdb->get_results($query);
        include 'views/select_category.php';
        break;
    case 'templates':
开发者ID:tapuz,项目名称:alice,代码行数:31,代码来源:settings.php


示例19: loadCSS

    </div>
</div> 

<?php 
echo loadCSS("assets/js/library/bootstrap-fileinput/css/fileinput.css");
echo loadJS("assets/js/library/bootstrap-fileinput/js/fileinput.js");
echo loadJS("assets/js/library/bootstrap-fileinput/js/fileinput_locale_es.js");
?>

<?php 
echo loadCSS("assets/js/library/DataTables-1.10.8/css/dataTables.bootstrap.css");
echo loadJS("assets/js/library/DataTables-1.10.8/js/jquery.dataTables.js");
echo loadJS("assets/js/library/DataTables-1.10.8/js/dataTables.bootstrap.js");
echo loadJS("assets/js/library/bootbox-4.4.0/bootbox.min.js");
?>



<?php 
echo loadJS("assets/js/capas.js");
?>

<script type="text/javascript">
    $(document).ready(function() {
        Layer.initSave();
        $('#div_tab_2').load(siteUrl+'capas/listado');
    });
    $('#input-capa').on('fileloaded', function(event, file){
       $(this).fileinput("upload");
    });
</script>
开发者ID:CarlosAyala,项目名称:midas-codeigniter-modulo-emergencias,代码行数:31,代码来源:_bak.php


示例20: loadLib

<?php

//Component Invoice
loadLib('invoice');
loadLib('payment');
loadJS('invoice.js', 'invoice');
loadCSS('invoice.css', 'invoice');
$patient_id = getVar('patient_id');
switch (getVar('task')) {
    case 'create_new_invoice':
        $patient = getPatient($patient_id);
        $invoice = new Invoice();
        $invoice->patient_id = $patient_id;
        $invoice->clinic_id = $patient->clinic;
        $invoice->address = $patient->patient_surname . ' ' . $patient->patient_firstname . '<br>' . $patient->address . '<br>' . $patient->postcode . ' ' . $patient->city . '<br>' . $patient->country;
        $invoice->insertInvoice();
        $invoice_id = $invoice->invoice_id;
        // get the ID to be used in edit_invoice view
        break;
    case 'delete_invoice':
        Invoice::deleteInvoice(getVar('invoice_id'));
        break;
    case 'add_invoice_item':
        //set payment to invoiced
        Payment::setPaymentInvoicedStatus(getVar('payment_id'), 1);
        $invoice_item = new Invoice();
        $invoice_item->invoice_id = getVar('invoice_id');
        $invoice_item->payment_id = getVar('payment_id');
        $invoice_item->item_description = getVar('item_description');
        $invoice_item->item_price = getVar('item_price');
        $invoice_item->addInvoiceItem();
开发者ID:tapuz,项目名称:alice,代码行数:31,代码来源:invoice.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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