本文整理汇总了PHP中endPage函数的典型用法代码示例。如果您正苦于以下问题:PHP endPage函数的具体用法?PHP endPage怎么用?PHP endPage使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了endPage函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foot
, where practice rooms are also available.
The Waldkirch Music School is the oldest municipal music school in Germany.
Click <a href="https://www.google.co.uk/maps/@48.0939927,7.9565182,17z" target="_blank">here</a> for a google map.
<br />
<br />
</li>
<li>Please email <a href="mailto:w.cuthbertson@gmx.de">w.cuthbertson@gmx.de</a> with any questions.
<br/>
<br/>
</li>
<li>Click <a href="doc/English%20Brochure%20with%20pics%202016.pdf" title="masterclass 2016 brochure English">here</a> for 2016 brochure
and <a href="doc/EnglishBrochure2016.pdf" title="English 2016 Masterclass Application Form" >here</a> for 2016 application form.
<br>
<br>
</li>
<li>Click <a href="masterclasses15_e.php">here</a> to view details of the 2015 Masterclass.
</li>
</ul>
<?php
print foot();
?>
</div>
</div>
</div>
</div> <!-- /#page-content-wrapper -->
</div> <!-- /#wrapper -->
<?php
print endPage();
?>
</body>
</html>
示例2: startPage
<?php
/** ===============================================
* 2010©SisoPipo.com
* Website Project
*
* @author Geln Yang
* @version 1.0
==================================================== */
require_once '_initialization_companyinfo.php';
startPage('Add Company Info');
loadModuleCSS('css/companyinfo.css');
showAppLinks();
showCompanyInputForm(null);
endPage();
示例3: endPage
}
}
}
//if audio
} else {
//convert id
$target = $checker->convert($obj->id, $index);
if ($videoconv) {
//if video
if ($checker->fileOK($target)) {
if ($jingle) {
$obj->setJingle($target);
} else {
$obj->setAudio($target);
}
} else {
$file_errors++;
}
} else {
//if audio
if ($jingle) {
$obj->setJingle($target);
} else {
$obj->setAudio($target);
}
}
//if audio
}
//convert id
endPage($file_errors);
示例4: elseif
}
if (strlen($subject) < 2) {
$er .= " *Subject-Required*";
}
if (strlen($message) == 0) {
$er .= " *Message-Required* ";
} elseif (strlen($message) < 5) {
$er .= " *Longer Message Required* ";
}
if (count_digits($phone) < 7) {
$er .= " *Valid-Phone-number-Required* ";
}
if (strlen($er) > 0) {
$link = 'Location: kontakt_e.php';
$link .= "?error=Error-" . $er;
$link .= "&sname=" . $sname;
$link .= "&subject=" . $subject;
$link .= "&email=" . $email;
$link .= "&phone=" . $phone;
$link .= "&message=" . $message;
header($link);
exit;
}
$message = "<html>\n<head>\n<title>William Cuthbertson Email</title>\n</head>\n<body>\n<table>\n<tr><td>From </td><td>: " . $sname . "</td></tr>\n<tr><td>Email </td><td>: " . $email . "</td></tr>\n<tr><td>Phone </td><td>: " . $phone . "</td></tr>\n<tr><td>Message </td><td>: " . $message . "</td></tr>\n</table>" . endPage() . "</body>\n</html>";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: <w.cuthbertson@gmx.de>' . "\r\n";
mail("w.cuthbertson@gmx.de", $subject, $message, $headers);
mail("guylancaster@hotmail.com", $subject, $message, $headers);
header('Location: kontakt_ty_e.php');
exit;
示例5: catch
$apip->update();
} catch (QueryFailedException $e) {
endPage("Couldn't save :(");
}
echo '<p>Saved profile <b>' . $apip->name . '</b><br />';
$privkey = openssl_pkey_get_private($apip->priv_pem);
$details = openssl_pkey_get_details($privkey);
$pubkey = $details["key"];
$details = $details["rsa"];
echo '<b>Pubkey:</b><br /><pre>' . $pubkey . '</pre>' . "\n";
echo '<b>Modulus (hex):</b> ' . bin2hex($details['n']) . '<br /><br />' . "\n";
echo '<b>Public exponent (hex):</b> ' . bin2hex($details['e']) . '</p>' . "\n";
}
$apip = $apm->getByName($_POST['pname']);
if (!$apip) {
endPage("Name {$_POST['pname']} does not exist.");
}
echo "<h1>API Profile: [{$apip->name}]</h1>\n";
echo '<form method="POST" action="' . dirname($_SERVER['REQUEST_URI']) . '/' . basename($_SERVER['PHP_SELF']) . '">' . "\n";
echo '<input type="hidden" name="pname" value="' . $apip->name . '" />' . "\n";
foreach ($fields as $field) {
if (substr($field, 0, 5) == 'perm_' || $field == 'active') {
echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
echo '<input type="checkbox" name="' . $field . '" id="' . $field . '" value="1" ';
if ($apip->{$field}) {
echo 'checked="true" ';
}
echo '/><br />' . "\n";
} else {
if ($field != 'id' && $field != 'created' && $field != 'name' && $field != 'allowed_app_fields' && $field != 'priv_pem') {
echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
示例6: search
//.........这里部分代码省略.........
$aBestPgPtr = $i;
}
}
switch ($aCount) {
case 0:
print head($lan, $searchTitle, "index.php");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu($lan, $searchTitle);
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight();
?>
<div class="row">
<div class="col-lg-12">
<h2><?php
print $searchTitle;
?>
</h2>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<?php
print "<br/>" . $s . " " . $notFound;
?>
</div>
</div>
</div>
</div>
</div>
</div> <!-- /#page-content-wrapper -->
</div> <!-- /#wrapper -->
</body>
</html>
<?php
break;
case 1:
print $aBestPgTxt;
break;
default:
print head($lan, $searchTitle, "search.php");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu($lan, $searchTitle);
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight();
?>
<div class="row">
<div class="col-lg-12">
<h2><?php
print $searchTitle;
?>
</h2>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<?php
print $searchResults . " " . $s;
print "<ul>";
for ($i = 0; $i < count($aPgTitle); $i++) {
if ($aFound[$i] == 1) {
print '<li><a href="' . $aPgURL[$i] . '">' . $aPgTitle[$i] . '</a></li>';
}
}
print "</ul>";
}
?>
</div>
</div>
<?php
print foot();
?>
</div>
</div>
</div>
</div> <!-- /#page-content-wrapper -->
</div> <!-- /#wrapper -->
<?php
print endPage();
?>
</body>
</html>
<?php
}