本文整理汇总了PHP中MasterView::showFooter方法的典型用法代码示例。如果您正苦于以下问题:PHP MasterView::showFooter方法的具体用法?PHP MasterView::showFooter怎么用?PHP MasterView::showFooter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MasterView
的用法示例。
在下文中一共展示了MasterView::showFooter方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showAll
public static function showAll()
{
$_SESSION['styles'] = array('site.css');
if (array_key_exists('headertitle', $_SESSION)) {
MasterView::showHeader();
}
MasterView::showNavBar();
$skills = array_key_exists('skills', $_SESSION) ? $_SESSION['skills'] : array();
$base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
echo "<h1>botspace skills list</h1>";
echo "<table>";
echo "<thead>";
echo "<tr><th>skillId</th><th>skill_name</th><th>Show</th><th>Update</th></tr>";
echo "</thead>";
echo "<tbody>";
foreach ($skills as $skill) {
echo '<tr>';
echo '<td>' . $skill->getSkillId() . '</td>';
echo '<td>' . $skill->getSkillName() . '</td>';
echo '<td><a href="/' . $base . '/skill/show/' . $skill->getSkillId() . '">Show</a></td>';
echo '<td><a href="/' . $base . '/skill/update/' . $skill->getSkillId() . '">Update</a></td>';
echo '</tr>';
}
echo "</tbody>";
echo "</table>";
MasterView::showFooter();
MasterView::showPageEnd();
}
示例2: show
public static function show($user)
{
MasterView::showHeader(null);
MasterView::showNav();
SignUpView::showContent($user);
MasterView::showFooter(null);
}
示例3: show
public static function show()
{
MasterView::showHeader(null);
MasterView::showNav(null);
AlphaView::showContent();
MasterView::showFooter(null);
}
示例4: showAll
public static function showAll()
{
if (array_key_exists('headertitle', $_SESSION)) {
MasterView::showHeader();
}
$skillAssocs = array_key_exists('skillAssocs', $_SESSION) ? $_SESSION['skillAssocs'] : array();
$base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
echo "<h1>botspace skill associations list</h1>";
echo "<table>";
echo "<thead>";
echo "<tr><th>skillAssocId</th><th>userDataId</th><th>skillId</th><th>Show</th><th>Update</th></tr>";
echo "</thead>";
echo "<tbody>";
foreach ($skillAssocs as $skillAssoc) {
echo '<tr>';
echo '<td>' . $skillAssoc->getSkillAssocId() . '</td>';
echo '<td>' . $skillAssoc->getUserDataId() . '</td>';
echo '<td>' . $skillAssoc->getSkillId() . '</td>';
echo '<td><a href="/' . $base . '/skillassoc/show/' . $skillAssoc->getSkillAssocId() . '">Show</a></td>';
echo '<td><a href="/' . $base . '/skillassoc/update/' . $skillAssoc->getSkillAssocId() . '">Update</a></td>';
echo '</tr>';
}
echo "</tbody>";
echo "</table>";
MasterView::showFooter();
}
示例5: showUpdate
public static function showUpdate()
{
$tournaments = array_key_exists('tournaments', $_SESSION) ? $_SESSION['tournaments'] : null;
$base = array_key_exists('base', $_SESSION) ? $_SESSION['base'] : "";
$_SESSION['headertitle'] = "Tournament Update";
MasterView::showHeader();
echo '<h1>Tournament Update</h1>';
if (is_null($tournaments)) {
echo '<section>Tournament does not exist</section>';
return;
}
$tournament = $tournaments[0];
echo '<section>';
echo '<h3>Tournament Information:</h3>';
echo '<p>Name: ' . $tournament->getName() . '</p>';
if ($tournament->getErrors() > 0) {
$errors = $tournament->getErrors();
echo '<p>Errors:<br>';
foreach ($errors as $key => $value) {
echo $value . "<br>";
}
echo '</p>';
}
echo '</section>';
echo '<form method="post" action="/' . $base . '/tournament/update/' . $tournament->getTournamentID() . '">';
echo '<p>Name: <input type = "text" name="name"></p>';
echo '<p>Start Date: <input type="date" name="startDate"></p>';
echo '<p>Start Time: <input type="time" name="startTime"></p>';
echo '<p>Number of Participants: <input type="number" name="numParticipants"></p>';
echo '<input type="submit" value="Submit">';
echo '</form></section';
$_SESSION['footertitle'] = "The footer";
MasterView::showFooter();
}
示例6: show
public static function show($user, $userData)
{
$_SESSION['headertitle'] = "Sign up for a botspace account";
MasterView::showHeader();
SignupView::showDetails($user, $userData);
MasterView::showFooter();
}
示例7: show
public static function show($locations)
{
MasterView::showHeader("Map");
MasterView::showNav();
MapView::showContent($locations);
MasterView::showFooter(null);
}
示例8: show
public static function show($dir)
{
MasterView::showHeader(null);
MasterView::showNav();
LogView::showContent($dir);
MasterView::showFooter(null);
}
示例9: show
public static function show()
{
$_SESSION['headertitle'] = "Create botspace objects";
MasterView::showHeader();
CreateView::showDetails();
MasterView::showFooter();
}
示例10: show
public static function show()
{
$_SESSION['headertitle'] = "Log into botspace";
MasterView::showHeader();
LoginView::showDetails();
MasterView::showFooter();
}
示例11: show
public static function show()
{
$_SESSION['headertitle'] = "ClassBash Login Form";
MasterView::showHeader();
LoginView::showDetails();
$_SESSION['footertitle'] = "<h3>The footer goes here</h3>";
MasterView::showFooter();
}
示例12: show
public static function show($userdata)
{
$nav = "<nav>\r\n\t \t\t<a href='signup'>Register</a> |\r\n\t\t\t<a href='login'>Login</a> |\r\n\t\t\t<a href='http://imightbejosh.com/ranks.html'>Leaderboard</a> |\r\n\t\t\t<a href='bet'>Betting</a> |\r\n\t\t\t<a href='games.html'>Recent Games</a> |\r\n\t\t\t<a href='tests.html'>Tests</a> |\r\n\t\t\t<a href='validation.html'>Validation</a>\r\n\t\t\t</nav>\r\n\t \t\t<section>\r\n\t\t\t<a href='home'><img src='resources/Drawing.png' alt='Home'></a>\r\n\t\t\t</section>";
MasterView::showHeader("Register");
MasterView::showNav(null);
SignupView::showDetails($userdata);
MasterView::showFooter(null);
}
示例13: show
public static function show()
{
$_SESSION['headertitle'] = "ClassBash Home Page";
MasterView::showHeader();
MasterView::showNavbar();
HomeView::showDetails();
$_SESSION['footertitle'] = "<h3>The footer goes here</h3>";
MasterView::showFooter();
}
示例14: show
public static function show($bet)
{
$_SESSION['headertitle'] = "Betting";
$_SESSION['styles'] = array('jumbotron.css');
MasterView::showHeader();
MasterView::showNav();
BetView::showDetails($bet);
MasterView::showFooter(null);
}
示例15: show
public static function show($user)
{
$base = $_SESSION['base'];
$footer = "Contact Information: <a href='mailto:joshuatrivette@gmail.com'>joshuatrivette@gmail.com</a>";
MasterView::showHeader("Hock League");
MasterView::showNav(null);
HomeView::showDetails($user);
MasterView::showFooter($footer);
}