本文整理汇总了PHP中write_footer函数的典型用法代码示例。如果您正苦于以下问题:PHP write_footer函数的具体用法?PHP write_footer怎么用?PHP write_footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了write_footer函数的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: check_db_error
<th style="width: 12%;">SNPs Found</th>
<th style="width: 30%;">Source</th>
</tr>
EOQ;
$result = $db['samp_sth']->execute($batch_id);
check_db_error($result, __FILE__, __LINE__);
while ($row = $result->fetchRow()) {
$snps = 0;
$poly = 0;
// Query the database to determine how many tags belong to this sample.
$count_res = $db['count_sth']->execute(array($batch_id, $row['id']));
check_db_error($count_res, __FILE__, __LINE__);
$count_row = $count_res->fetchRow();
$count = $count_row['count'];
// Query the database to find how many SNPs were found in this sample.
$count_res = $db['snp_sth']->execute(array($batch_id, $row['id']));
check_db_error($count_res, __FILE__, __LINE__);
while ($count_row = $count_res->fetchRow()) {
$snps += $count_row['snps'];
$poly += $count_row['snps'] > 0 ? 1 : 0;
}
print "<tr>\n" . " <td><a href=\"{$root_path}/tags.php?db={$database}&batch_id={$batch['id']}&sample_id={$row['id']}\">{$row['id']}</a></td>\n" . " <td>" . ucfirst($row['type']) . "</td>\n" . " <td>" . $count . "</td>\n" . " <td>" . $poly . "</td>\n" . " <td>" . $snps . "</td>\n" . " <td>" . $row['file'] . "</td>\n" . "</tr>\n";
}
echo <<<EOQ
</table>
</div>
EOQ;
write_footer();
开发者ID:kdmurray91,项目名称:stacks,代码行数:30,代码来源:samples.php
示例2: write_right
<?php
write_right($date);
?>
</td>
</tr>
<tr>
<td align=center colspan=3>
<?php
write_bottom($date);
?>
</td>
</tr>
</table>
<p>
<?php
write_ar_table($date);
?>
<p>
<?php
write_events($date);
?>
<p>
<hr size=2>
<p>
</center>
<?php
write_footer($time_updated);
?>
</body>
</html>
开发者ID:okludator,项目名称:solarmonitor,代码行数:30,代码来源:slideshow.php
示例3: write_footer
<fieldset>
<legend>Notification Poll</legend>
<ol>
<li>
<label for="validez_label">Validez:</label>
<input type="text" autofocus="" required="" placeholder="Validez" name="Validez" id="validez" maxlength="2" width="20">
<select id="semana_mes" name="Semana_Mes" >
<option> Mes </option>
<option> Semana </option>
</select>
</br>
</li>
<li>
<label for = "Comentario"></label>
<br/>
<textarea id='comentario_area' style='width: 450px; height:300px;' ></textarea>
</br>
</li>
</ol>
<button id="boton_aceptar">Aceptar</button>
<button id="boton_cancelar">Cancelar</button>
</fieldset>
</form>
</div>
<?php
include "footer.php";
write_footer('blog');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:documento.php
示例4: write_database
function write_database($database)
{
global $root_path, $img_path;
//
// Connect to the database
//
$db = db_connect($database);
//
// Prepare some SQL queries
//
$query = "SELECT id, date, description, type FROM batches";
$db['batch_sth'] = $db['dbh']->prepare($query);
check_db_error($db['batch_sth'], __FILE__, __LINE__);
$page_title = "RAD-Tag Analyses";
write_header($page_title);
echo <<<EOQ
<h4 class="info_head">
<img id="sources_img" src="{$img_path}/caret-d.png" />
<a onclick="toggle_div('sources', '{$img_path}', 'page_state');">RAD-Tag Samples</a>
</h4>
<a name="results_top"></a>
<table class="db" style="width: 75%;">
<tr>
<th style="width: 10%;"> </th>
<th style="width: 10%;"> </th>
<th style="width: 10%;">Batch ID</th>
<th style="width: 10%;">Date</th>
<th style="width: 10%;">Type</th>
<th style="width: 50%;">Description</th>
</tr>
EOQ;
$result = $db['batch_sth']->execute();
check_db_error($result, __FILE__, __LINE__);
while ($row = $result->fetchRow()) {
print "<tr>\n" . " <td class=\"s\"><a href=\"{$root_path}/catalog.php?db={$database}&id={$row['id']}\">Catalog</a></td>\n" . " <td class=\"s\"><a href=\"{$root_path}/samples.php?db={$database}&id={$row['id']}\">Samples</a></td>\n" . " <td>" . $row['id'] . "</td>\n" . " <td>" . $row['date'] . "</td>\n" . " <td>" . $row['type'] . "</td>\n" . " <td>" . $row['description'] . "</td>\n" . "</tr>\n";
}
echo <<<EOQ
</table>
EOQ;
write_footer();
}
开发者ID:kdmurray91,项目名称:stacks,代码行数:44,代码来源:index.php
示例5: write_error_page
function write_error_page($msg)
{
write_header();
echo "<h2>Sorry, an error occurred<br />", $msg, "</h2>";
write_footer();
}
开发者ID:rohitvyavahare,项目名称:Summer-Camp-Project,代码行数:6,代码来源:helpers.php
示例6: explode
$manager = explode('=', $manager);
echo $manager[1];
?>
" size="70" readonly="readonly" disabled="disabled"/>
<br/>
</li>
<li>
<label for="textObservaciones">Comentarios: </label>
<textarea name="textObservaciones" id="textObservaciones" cols="45" rows="5"></textarea>
<br/>
</li>
<div class="botones_vacaciones_izquierda">
<button id="aplicar">Enviar</button>
<button id= "cancelar">Cancelar</button>
</div>
</ol>
</fieldset>
</form>
</div>
<?php
include "footer.php";
write_footer('request_vacaciones');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:request_vacation.php
示例7: session_start
session_start();
$user = $_SESSION['userblanco'];
include 'encabezado.php';
write_header('busqueda_servicios');
write_body('busqueda_servicios', $user);
write_notificacion();
include 'groups.php';
?>
<div id="main" role="main" style="margin-bottom:10px; height:auto;">
<div id="body_principal" class="body_menu"><!--BODY PRINCIPAL-->
<div id="navegador" class="navegador_bloque">
<div id="texto_busqueda" class="textos_busqueda">
<span>Elija el método de búsqueda : </span>
</div>
<div id="menu_accesos_directos" class="accesos_directos">
<ul>
<li><a href="clientes.php">Razón Social</a></li>
<li class="center_menu"><a href="tarjeta.php">Serie Fabricante</a></li>
<li><a href="contratos.php">Código Contrato</a></li>
</ul>
</div>
</div>
</div><!--FIN //BODY PRINCIPAL-->
<?php
include 'footer.php';
write_footer('menu_servicios');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:menu_servicios.php
示例8: write_footer
<legend>Ingresar Solicitud al blog</legend>
<ol class="quitar_padding">
<li class="quitar_padding">
<label for="solicitud_label">Solicitud</label>
<br/>
<textarea id='solicitud_area' style='width: 550px; height:150px;'></textarea>
<br/>
</li>
</ol>
<div id="boton_list" class="botton_list">
<button id="enviar" class="icon">Enviar</button>
<button id="add" class="icon">vincular</button>
<button id="eliminar" class="icon">desvincularse</button>
<button id="cerrar" class="icon">Cerrar caso</button>
<button id="person" class="icon">cambiar encargado</button>
</div>
</fieldset>
</form>
<div id="diag_involucrado"></div>
<div id="diag_eliminar"></div>
<div id="diag_cerrar"></div>
<div id="diag_cambiar"></div>
<span id="contador" class="0"></span>
<?php
include "footer.php";
write_footer('peticion');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:post.php
示例9: write_footer
<li>
<label for="comentarios">Comentarios: </label>
<textarea name="comentarios" id="comentarios" cols="45" rows="5">
</textarea>
<br/>
</li>
<div class="botones_vacaciones_izquierda">
<button id="guardar">Guardar</button>
<button id= "cancelar">Cancelar</button>
</div>
</ol>
</fieldset>
</form>
</div>
<?php
include "footer.php";
write_footer('mantanimiento_empleados');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:mantenimiento_empleado.php
示例10: write_footer
<br/>
</li>
<div class="botones_vacaciones_izquierda">
<button id="modificar">Modificar</button>
<button id= "agregar">Agregar</button>
<button id= "cancelar">Cancelar</button>
</div>
</ol>
</fieldset>
</form>
</div>
<?php
include "footer.php";
write_footer('mantanimiento_feriados');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:mantenimiento_feriados.php
示例11: write_footer
<label for="name">Usuario</label>
<br/>
<input type="text" autofocus="" required="" placeholder="" name="name" id="name">
<br/>
</li>
<li>
<label for="email">Contraseña</label>
<br/>
<input type="password" required="" name="password" id="password">
</li>
</ol>
</fieldset>
<fieldset class="mover_izquierda_button">
<button type="submit" id="aceptar">Iniciar sesión</button>
</fieldset>
</form>
</div>
<?php
include "footer.php";
write_footer('login');
?>
开发者ID:neojoker,项目名称:blablabla,代码行数:28,代码来源:index.php
示例12: write_footer
<a href="blog_request.php"><img src="img/icons/blog-de-ideas.png" alt="Blog" width="70" height="70"/><span>Crear solicitud</span></a>
<a href="requests.php"><img src="img/icons/blog-de-ideas.png" alt="Blog" width="70" height="70"/><span>Solicitudes pendientes</span></a>
</div>
<?php
if (in_array('comercial', $grupos) || in_array('portalmanager', $grupos)) {
echo "<div class=\"rows\">\n<div class=\"row even\"><h2>Comercial</h2>\n\t\t\t\t\t<a href=\"menu_servicios.php\"><img src=\"img/icons/busqueda-de-equipos-en-garantia.png\" alt=\"Servicios\" width=\"70\" height=\"70\"/><span>Servicios</span></a>\n\t\t\t\t\t</div> \n";
}
?>
<div class="row even"><h2>Gestion Humana</h2>
<a href="request_vacation.php"><img src="img/icons/vacaciones.png" alt="Solicitud" width="70" height="70"/><span>Solicitud de vacaciones</span></a>
<?php
if (in_array('portalvacacionesmanager', $grupos)) {
echo '<a href="datos_maestros.php"><img src="img/icons/vacaciones.png" alt="Informe" width="70" height="70"/><span>Maestro de Empleados</span></a>';
echo '<a href="last_request.php"><img src="img/icons/vacaciones.png" alt="Informe" width="70" height="70"/><span>Ultimas solicitudes</span></a>';
echo '<a href="mantenimiento_empleado.php"><img src="img/icons/vacaciones.png" alt="Informe" width="70" height="70"/><span>Manteminiento empleados</span></a>';
echo '<a href="manteminiento_solicitudes.php"><img src="img/icons/vacaciones.png" alt="Informe" width="70" height="70"/><span>Manteminiento solicitudes</span></a>';
echo '<a href="mantenimiento_feriados.php"><img src="img/icons/vacaciones.png" alt="Informe" width="70" height="70"/><span>Manteminiento feriados</span></a>';
}
?>
</div>
</div>
</div>
<?php
include 'footer.php';
write_footer('portal');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:portal.php
示例13: write_menu
include 'menu.php';
write_menu('contratos');
?>
</div><!--FIN //Contenedor del menu-->
<div id="dinamico" class="bloque_dinamico"><!--Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor del menu y el display dinamico-->
</div><!--FIN //BODY PRINCIPAL-->
<div id="buscador_form" title="Contratos" style="width:auto; height:auto">
<div id="tabla_busqueda">
<form>
<fieldset>
<label for="nombre";>Codigo contrato:</label>
<input type="text" id="nombre_diag">
</div>
<div id="remplazo_tabla"></div>
</fieldset>
</form>
</div>
<?php
include 'footer.php';
write_footer('contratos');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:contratos.php
示例14: foreach
<th>Asunto</th>
<th>Fecha apertura</th>
<th>Fecha ultima actualizacion</th>
</tr>
</thead>
<tbody>
<tr>
<?php
foreach ($outsiders as $outsider) {
echo '<tr class="boton_fila" id="' . $outsider['id_solicitud'] . '">';
echo '<td>' . $outsider['departamento'] . '</td>';
echo '<td>' . $outsider['encargado'] . '</td>';
echo '<td>' . $outsider['cliente'] . '</td>';
echo '<td>' . $outsider['solicitante'] . '</td>';
echo '<td>' . $outsider['asunto'] . '</td>';
$fecha_tramite = imprimir_fecha($outsider['fecha_inicio']);
echo '<td>' . $fecha_tramite . '</td>';
$fecha_ultima_actualizacion = imprimir_fecha(get_last_update($outsider['id_solicitud']));
echo '<td>' . $fecha_ultima_actualizacion . '</td>';
echo '</tr>';
}
?>
</tbody>
</table>
</div>
<?php
include "footer.php";
write_footer('solicitudes_pendientes');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:requests.php
示例15: write_menu
write_menu('tarjeta');
?>
</div><!--FIN //Contenedor del menu-->
<div id="dinamico" class="bloque_dinamico"><!--Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor del menu y el display dinamico-->
</div><!--FIN //BODY PRINCIPAL-->
<div id="buscador_form" title="Tarjetas" style="width:auto; height:auto">
<div id="tabla_busqueda">
<form>
<fieldset>
<label for="nombre";>Numero de serie:</label>
<input type="text" id="nombre_diag">
</div>
<div id="remplazo_tabla"></div>
</fieldset>
</form>
</div>
<?php
include 'footer.php';
write_footer('tarjeta');
?>
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:tarjeta.php
示例16: write_menu
<?php
include 'menu.php';
write_menu('cliente');
?>
</div><!--FIN //Contenedor del menu-->
<div id="dinamico" class="bloque_dinamico"><!--Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor dinamico no se si iframe o replace JQUERY TOP CHOOSE-->
</div><!--FIN //Contenedor del menu y el display dinamico-->
</div><!--FIN //BODY PRINCIPAL-->
<div id="buscador_form" title="Clientes" style="width:auto; height:auto">
<div id="tabla_busqueda">
<form>
<fieldset>
<label for="nombre";>Nombre cliente:</label>
<input type="text" id="nombre_diag">
</div>
<div id="remplazo_tabla"></div>
</fieldset>
</form>
</div>
<?php
include 'footer.php';
write_footer('cliente');
开发者ID:neojoker,项目名称:blablabla,代码行数:30,代码来源:clientes.php
注:本文中的write_footer函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论