本文整理汇总了PHP中renderFooter函数的典型用法代码示例。如果您正苦于以下问题:PHP renderFooter函数的具体用法?PHP renderFooter怎么用?PHP renderFooter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了renderFooter函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render
function render()
{
global $model;
renderHeader();
if (in_array('loggedIn', $_SESSION) && $_SESSION['loggedIn'] === true) {
include $_SERVER['DOCUMENT_ROOT'] . '/inc/home.php';
} else {
include $_SERVER['DOCUMENT_ROOT'] . '/inc/login.php';
}
renderFooter();
}
示例2: makeTooltip
makeTooltip($Idioma['tmu'], $Idioma['dmu']);
echo '</h1>';
echo '<br/>' . $Idioma['Seleccione usuario'] . ':';
$combo_maker->comboboxBlankUsuario();
//ComboBox de Selección
$datos = $man->getDatosUsuario($_GET["id"]);
echo '<br/>' . $Idioma['Nombre usuario'] . ':<input class="form-control" type=text value="' . $datos["user_name"] . '"name="nombre" readonly><br>';
echo $Idioma['Descripcion'] . '<br/><textarea rows="5" cols="30" name="desc">' . $datos["user_desc"] . '' . '</textarea><br>';
echo $Idioma['Email'] . ':<input class="form-control" type=text value="' . $datos["user_email"] . '"name="email"<br>';
echo '<br/>' . $Idioma['Contraseña'] . ': <a class="btn btn-default" href=\'ModificarPass.php?id=' . $_GET["id"] . '\'">Cambiar</a>';
$table_maker->tableRolByUser($datos["user_name"]);
$table_maker->tablePagByUser($datos["user_name"]);
$table_maker->tableFunByUser($datos["user_name"]);
echo '<hr/>';
echo '<a class="btn btn-default" onclick="location.href=\'GestionUsuarios.php\'">' . $Idioma['Atras'] . ' </a>';
echo ' <input type="button" class="btn btn-default btn-primary" data-toggle="modal" data-target="#myModal" value="' . $Idioma['Guardar'] . '" class="continuar"/>';
echo '</form>';
echo '</div>';
}
}
?>
</div>
<?php
include "../views/popup.php";
?>
<div class="footer logo3"></div>
<?php
include "../views/footer.php";
renderFooter();
示例3: require
<?php require(helpers.php); ?>
<?php renderHeader(["title" => "CS50"]); ?>
<!DOCTYPE html>
<ul>
<li>
<a href="lectures.php">Lectures</a>
</li>
<li>
<a href="http://cdn.cs50.net/2013/fall/lectures/0/w/syllabus/syllabus.html">Syllabus</a>
</li>
</ul>
<?php renderFooter(); ?>
示例4: renderHeader
<submission method="urlencoded-post" resource="search.php"/>
</model>
</models>
<?php
echo renderHeader();
?>
<content>
<module>
<block>Find what's on the menu!</block>
<search-box ref="search-location">
<label>Find</label>
</search-box>
<placard layout="simple" class="link">
<layout-items>
<block class="title">Nearby</block>
</layout-items>
<load event="activate" resource="nearby.php"/>
</placard>
<placard layout="simple" class="link">
<layout-items>
<block class="title">Location</block>
</layout-items>
<load event="activate" resource="location.php"/>
</placard>
</module>
</content>
<?php
echo renderFooter();
?>
</page>
示例5: renderFooter
<div class="tabla"> <!-- esta tabla va a ser creada dinamicamente en un futuro -->
<table>
<tr><th>Usuarios</th></tr>
<tr><td>Usuario1</td><td><input type="checkbox" name="Usuario1"/></td></tr>
<tr><td>Usuario2</td><td><input type="checkbox" name="Usuario2" checked="yes"/></td></tr>
<tr><td>Usuario3</td><td><input type="checkbox" name="Usuario3"/></td></tr>
<tr><td>usuario4</td><td><input type="checkbox" name="usuario4" checked="yes"/></td></tr>
</table>
</div>
<div class="tabla"> <!-- esta tabla va a ser creada dinamicamente en un futuro -->
<table>
<tr><th>Funcionalidades</th></tr>
<tr><td>Función 1</td><td><input type="checkbox" name="Funcionalidad1"/></td></tr>
<tr><td>Función 2</td><td><input type="checkbox" name="Funcionalidad2" checked="yes"/></td></tr>
<tr><td>Función 3</td><td><input type="checkbox" name="Funcionalidad3"/></td></tr>
<tr><td>Función 4</td><td><input type="checkbox" name="Funcionalidad4" checked="yes"/></td></tr>
</table>
</div>
<input type="submit" onclick="history.go(-1)" value="Atras">
<form action="crearRol.php">
<input type="submit" value="Guardar" class="Guardar"/>
</form>
</div>
<?php
include "views/footer.php";
renderFooter("Admin");
//aqui va a ir el nombre de usuario de la sesion php
示例6: renderLogin
function renderLogin($notice = '', $script = '')
{
renderHeader();
global $g_config;
?>
<link href="css/login.css" rel="stylesheet" media="screen">
<div class="container">
<div class="card card-container">
<!-- <img class="profile-img-card" src="//lh3.googleusercontent.com/-6V8xOA6M7BA/AAAAAAAAAAI/AAAAAAAAAAA/rzlHcD0KYwo/photo.jpg?sz=120" alt="" /> -->
<img id="profile-img" class="profile-img-card" src="//ssl.gstatic.com/accounts/ui/avatar_2x.png" />
<p id="profile-name" class="profile-name-card">Login To <?php
echo $g_config['house']['name'];
?>
</p>
<?php
if ($notice != '') {
?>
<div class="alert alert-dismissible alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Oh snap!</strong><p><?php
echo $notice;
?>
</p>
</div>
<?php
}
?>
<form class="form-signin" method="post">
<span id="reauth-email" class="reauth-email"></span>
<input type="text" id="inputEmail" class="form-control" name="account" placeholder="Account" required autofocus>
<input type="password" id="inputPassword" class="form-control" name="password" placeholder="Password" required>
<button class="btn btn-lg btn-primary btn-block btn-signin" type="submit">Sign in</button>
</form><!-- /form -->
<p class="text-center small"><?php
echo SAB_NAME . ' ' . SAB_VERSION . ' ' . SAB_RELASE_STATUS;
?>
</p>
</div><!-- /card-container -->
</div><!-- /container -->
<?php
renderFooter($script);
}