本文整理汇总了PHP中loadJS函数的典型用法代码示例。如果您正苦于以下问题:PHP loadJS函数的具体用法?PHP loadJS怎么用?PHP loadJS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了loadJS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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
}
示例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"=>"cao@cmail.com",
"senha_usuario"=>"77777"
)
);
echo "Usuario Cadastrado com sucesso!!";
*/
/*
$user->atualizar(
array(
"nome_usuario" => "Thor Batista",
"email_usuario"=>"cao@supercao.com",
)
, "id_usuario=4");
if($user->linhas > 0)
{
echo "<br>Usuário atualizado com suceso!!";
} else {
示例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");
?>
示例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");
示例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");
示例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;
}
示例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';
示例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");
?>
示例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);
示例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);
示例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");
示例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");
示例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();
示例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");
?>