本文整理汇总了PHP中getlastmod函数的典型用法代码示例。如果您正苦于以下问题:PHP getlastmod函数的具体用法?PHP getlastmod怎么用?PHP getlastmod使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getlastmod函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: autoCache
public function autoCache($config = array())
{
$config = array_merge(array(match_etag => true, match_modified => true, last_modified => true, expires => true, etags => true, cache => true, gzip => false, maxAge => 1000), $config);
$id = md5($html);
$this->lastModified = getlastmod();
$this->maxAge = $config["maxAge"] * 24 * 60 * 60;
$this->expires = $this->lastModified + $this->maxAge;
$this->etag = dechex($this->lastModified);
$this->cacheControl = "must-revalidate, proxy-revalidate, max-age=" . $this->maxAge . ", s-maxage=" . $this->maxAge;
if ($config["last_modified"]) {
$this->setLastModifiedHeader();
}
if ($config["expires"]) {
$this->setExpiresHeader();
}
if ($config["etags"]) {
$this->setETagsHeader();
}
if ($config["cache"]) {
$this->setCacheControlHeader();
}
if ($config["match_modified"] || $config["match_etag"]) {
$this->getIfModified();
}
echo $html;
}
开发者ID:eduardolundgren,项目名称:yfast,代码行数:26,代码来源:YFast.php
示例2: setupNavigation
function setupNavigation($data)
{
global $NEXT, $PREV, $UP, $HOME, $TOC, $tstamp;
$HOME = @$data["home"];
$HOME[0] = "./";
$NEXT = @$data["next"];
$PREV = @$data["prev"];
$UP = @$data["up"];
$TOC = @$data["toc"];
$tstamp = gmdate("D, d M Y", getlastmod());
}
开发者ID:phpsource,项目名称:web-pecl,代码行数:11,代码来源:pear-manual.php
示例3: setupNavigation
/**
* Fills global variables with navigational links.
*
* @param array $data Array containing home, next, prev, up and toc keys.
*
* @return void
*/
function setupNavigation($data)
{
global $NEXT, $PREV, $UP, $HOME, $TOC, $tstamp;
$HOME = @$data['home'];
$HOME[0] = './';
$NEXT = @$data['next'];
$PREV = @$data['prev'];
$UP = @$data['up'];
$TOC = @$data['toc'];
$tstamp = gmdate('D, d M Y', getlastmod());
}
开发者ID:stof,项目名称:pearweb,代码行数:18,代码来源:pear-manual.php
示例4: __construct
public function __construct()
{
$this->config = array('filename' => basename(__FILE__), 'username' => '', 'password' => '', 'interpreter' => 'shell_exec', 'current_user' => get_current_user(), 'hostname' => function_exists('gethostname') ? gethostname() : $_SERVER['HTTP_HOST'], 'server_address' => isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : '127.0.0.1', 'server_port' => $_SERVER['SERVER_PORT'], 'request_time' => $_SERVER['REQUEST_TIME'], 'php_owner_uid' => getmyuid(), 'php_owner_gid' => getmygid(), 'php_process_id' => getmypid(), 'inode_script' => getmyinode(), 'last_page_modification' => getlastmod(), 'cwd' => getcwd());
if (isset($_SESSION['interpreter'])) {
$this->config['interpreter'] = $_SESSION['interpreter'];
}
if (isset($_SESSION['cwd']) && $_SESSION['cwd'] != $this->config['cwd']) {
chdir($_SESSION['cwd']);
$this->config['cwd'] = getcwd();
}
$this->config['prompt'] = $this->get_prompt();
}
开发者ID:jaggedsoft,项目名称:phpshellgen,代码行数:12,代码来源:template.php
示例5: getFiles
function getFiles($path)
{
static $list;
// Only process the list once per request
if (is_array($list)) {
return $list;
}
$path = JPath::clean($path, '/');
$folder = JPath::check(JPATH_ROOT . '/' . $path);
if (!is_readable($folder)) {
return false;
}
$files = array();
$folders = array();
$docs = array();
$extensions = array('jpg', 'png', 'gif', 'jpeg');
// Get upload files if any
include 'getuploads.php';
// Iterate over the files if they exist
foreach (JFolder::files($folder) as $file) {
$extension = strtolower(pathinfo($folder . '/' . $file, PATHINFO_EXTENSION));
if (!in_array($extension, $extensions)) {
continue;
}
$tmp = new stdClass();
$tmp->name = $file;
$tmp->path = $path . '/' . $file;
$tmp->url = JURI::root() . $path . '/' . $file;
$tmp->size = filesize(JPATH_ROOT . '/' . $tmp->path);
$tmp->date = date("Y-m-d H:i:s", getlastmod(JPATH_ROOT . '/' . $tmp->path));
$tmp->isimage = true;
$info = getimagesize(JPATH_ROOT . '/' . $tmp->path);
$tmp->width = $info[0];
$tmp->height = $info[1];
$tmp->type = $info[2];
$tmp->mime = $info['mime'];
$tmp->thumbnailUrl = $this->getThumbnailUrl($tmp, 60, 60);
$files[] = $tmp;
}
return $files;
}
开发者ID:jputz12,项目名称:OneNow-Vshop,代码行数:41,代码来源:files.php
示例6: error_reporting
* 2002-2005 PukiWiki Developers Team
* 2001-2002 Originally written by yu-ji
*/
//error_reporting(0); // Nothing
error_reporting(E_ERROR | E_PARSE);
// Avoid E_WARNING, E_NOTICE, etc
ini_set('zlib.output_compression', 'Off');
// Style
$menubar = isset($_GET['menubar']) ? $_GET['menubar'] : '';
$expire = isset($_GET['expire']) ? (int) $_GET['expire'] * 86400 : '604800';
// Default is 7 days.
// Send header
header('Content-Type: text/css; charset: UTF-8');
header('Cache-Control: private');
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $expire) . ' GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', getlastmod()) . ' GMT');
@ob_start('ob_gzhandler');
?>
/**************************************************************************************************/
/* anchor tag */
a:not(.btn):not([role="presentation"]) {
color:#215dc6;
background-color:inherit;
text-decoration:none;
}
a:not(.btn):not([role="presentation"]):active {
color:#215dc6 !important;
}
a:not(.btn):not([role="presentation"]):visited {
开发者ID:logue,项目名称:pukiwiki_adv,代码行数:31,代码来源:classic.css.php
示例7: date
<div id="FOOTER">
<p align="center"><img src="images/hr.gif" alt="" width="400" height="30"></p>
<p><a href="http://indyslair.net/bishen/"><img src="images/button3.jpg" alt="Bishen Realm" width="88" height="31" border="0"></a></p>
<p><?php
echo "Page Last Modified on " . date("F d Y", getlastmod());
?>
<br>
Bishel Dragons ©2001-<?php
echo date("Y");
?>
<a href="http://indyslair.net/bishen/">Indyana</a>.<br>
Layout and Story <a href="/rhul/copyright.php">©2003-<?php
echo date("Y");
?>
</a>
<a href="/rhul/contact.php">Bright Promise</a>.</p>
</div></div></div>
</body>
</html>
开发者ID:rachelober,项目名称:elaria.landofrhul.com,代码行数:19,代码来源:footer.php
示例8: MAX
$sql = 'SELECT MAX(UNIX_TIMESTAMP(`date`)) as `tstamp` FROM `' . $forum_table . "` WHERE `trash` = '0'";
}
$mod_db_time = 0;
if (isset($sql)) {
$res = mysql_query($sql);
if (!$res) {
die(mysql_error());
}
while ($row = mysql_fetch_array($res, MYSQL_ASSOC)) {
$tmp_time = $row['tstamp'];
$mod_db_time = $mod_db_time > $tmp_time ? $mod_db_time : $tmp_time;
}
}
// modified time of this file
$mod_cache_inc_file_time = filemtime($_SERVER['SCRIPT_FILENAME']) ? filemtime($_SERVER["SCRIPT_FILENAME"]) : filemtime($_SERVER['PATH_TRANSLATED']);
$mod_parent_file_time = getlastmod();
// modified time of the parent file
$mod_file_time = $mod_cache_inc_file_time > $mod_parent_file_time ? $mod_cache_inc_file_time : $mod_parent_file_time;
// get the latest
$mod_time = $mod_file_time > $mod_db_time ? $mod_file_time : $mod_db_time;
$mod_gmt = gmdate('D, d M Y H:i:s', $mod_time) . ' GMT';
// convert to GMT format
// if it is same with "if_modified_since" from request header, stop output
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
$if_modified_since = preg_replace('/;.*$/', '', $_SERVER['HTTP_IF_MODIFIED_SINCE']);
if ($if_modified_since == $mod_gmt) {
header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
ob_end_clean();
exit;
}
}
开发者ID:kaz6120,项目名称:P_BLOG,代码行数:31,代码来源:http_headers.inc.php
示例9: make_footer
function make_footer()
{
?>
<div class="search">
<!-- Google CSE Search Box Begins -->
<form action="http://www.google.com/cse" id="cse-search-box">
<input type="hidden" name="cx" value="012399064992308798676:e_bxmf5nqrq">
<input type="text" name="q" size="25">
<input type="submit" name="sa" value="Search">
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
<!-- Google CSE Search Box Ends -->
</div>
<hr>
<i>Site Created By:</i>
<!-- <a href="mailto:[email protected]">libMesh Developers</a><br> -->
<a href="http://libmesh.sourceforge.net/developers.php">libMesh Developers</a><br>
<?php
// Newer versions of PHP require you to set the default timezone or a warning message is printed
date_default_timezone_set('UTC');
?>
<i><?php
echo "Last modified: " . date("F d Y H:i:s", getlastmod());
echo " UTC";
?>
</i>
<br>
<br>
<i>Hosted By:</i>
<br>
<A href="http://sourceforge.net">
<IMG src="http://sourceforge.net/sflogo.php?group_id=71130&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo"></A>
<!-- Google Analytics stuff -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24978333-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<?php
}
开发者ID:GaZ3ll3,项目名称:libmesh,代码行数:53,代码来源:navigation.php
示例10: _finish_body
protected function _finish_body()
{
$page = $this->page;
$options = $page->template_options;
$browser = $this->env->browser();
if ($options->close_logger) {
$this->env->logs->close_all();
}
?>
</div>
<?php
if ($options->footer_visible && !$browser->is(Browser_previewer)) {
?>
<div class="footer">
<?php
/* Build the left side of the footer with the copyright and version info. */
$lines = array();
if ($options->show_links) {
$lines[] = '<div class="footer-links">' . $this->_links_as_text($options) . '</div>';
}
if ($options->copyright) {
$lines[] = '<div class="copyright">' . $options->copyright . '</div>';
}
if ($options->show_versions) {
$lines[] = '<div class="versions">' . $this->_versions_as_text($options) . '</div>';
}
if ($options->show_last_time_modified) {
$date = new DATE_TIME(getlastmod());
$f = $date->formatter();
$f->set_type_and_clear_flags(Date_time_format_short_date_and_time);
$lines[] = '<div class="modification-time">Last modified on ' . $date->format($f) . '</div>';
}
if ($options->show_statistics) {
$lines[] = '<div class="statistics">' . $this->_page_statistics_as_text($options) . '</div>';
}
echo '<div class="footer-data">';
echo join('</div><div class="footer-data">', $lines);
echo '</div>';
$this->_handle_browser_warnings($options, false);
?>
</div>
<?php
}
?>
</div>
<?php
parent::_finish_body();
}
开发者ID:mvonballmo,项目名称:earthli-webcore,代码行数:48,代码来源:default_page_renderer.php
示例11: Joom_Output
function Joom_Output($file, $filename, $cache, $mime, $show, $image, $quali = 95)
{
//Writes header || Gibt den Header der neuen Bilddatei heraus
header("Pragma: public");
//Writes header information for caching || Gibt die Header Informationen fuer Dateien aus, die in den gecached werden duerfen
if ($cache == 'cache') {
header("Last-Modified: " . gmdate('D, d M Y H:i:s', getlastmod()) . " GMT");
header("Cache-Control: public, max-age=3600");
header("Cache-Control: pre-check=3600, FALSE");
header("Expires: " . gmdate('D, d M Y H:i:s', time() + 3600) . " GMT ");
//Writes header information for non caching || Gibt die Header Informationen fuer Dateien aus, die nicht gecached werden duerfen
} else {
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Pragma: no-cache");
header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0, false");
header('Expires: 0');
}
//header("Content-Transfer-Encoding: binary");
if ($image == "file") {
header("Content-Length: " . filesize($file));
header("Accept-Ranges: bytes");
}
header("Content-type: {$mime}");
header("Content-Disposition: {$show}; filename={$filename}");
//Checks if file is a image to be generated with php || Ueberprueft ob die Datei ein Bild ist, das erst noch von PHP erzeugt werden muss
if ($image == 'image') {
switch ($mime) {
case 'image/gif':
imagegif($file);
break;
case 'image/png':
imagepng($file);
break;
case 'image/jpeg':
imagejpeg($file, '', $quali);
break;
default:
exit;
break;
}
imagedestroy($file);
} else {
readfile($file);
}
exit;
}
开发者ID:planetangel,项目名称:Planet-Angel-Website,代码行数:47,代码来源:joom.specialimages.php
示例12: session_start
session_start();
header('Expires: ' . gmdate('D, d M Y H:i:s \\G\\M\\T', time() + 60 * 60 * 24 * 364));
$page = isset($_GET['page']) ? $_GET['page'] : 'Home';
$objUsr = new Sintax\Core\AnonymousUser();
if (isset($_SESSION['usuario'])) {
//$objUsr=$_SESSION['usuario'];
$usrClass = get_class($_SESSION['usuario']);
if ($usrClass != "__PHP_Incomplete_Class") {
$objUsr = $_SESSION['usuario'];
} else {
unset($_SESSION['usuario']);
}
}
/* css Js Libs ********************************************************************/
$arrFilesModTime = array();
$arrFilesModTime[$_SERVER['SCRIPT_FILENAME']] = getlastmod();
//Fecha de modificacion del punto de entrada
$arrFilesModTime[__FILE__] = filemtime(__FILE__);
//Fecha de modificacion de este fichero
$arrFilesModTime[SKEL_ROOT_DIR . "includes/server/start.php"] = filemtime(SKEL_ROOT_DIR . "includes/server/start.php");
ob_start();
foreach ($ARR_CLIENT_LIBS as $libPath) {
$arrFilesModTime[$libPath] = filemtime($libPath);
require $libPath;
}
$cssLinkTags = ob_get_clean();
if ($cssLinkTags != "") {
$hrefs = array();
try {
$doc = new DOMDocument();
$doc->loadHTML($cssLinkTags);
开发者ID:neslonso,项目名称:Sintax,代码行数:31,代码来源:css.php
示例13: load_skin
* @reference
* @license http://www.gnu.org/copyleft/lesser.txt GNU Lesser General Public License
*/
// common definitions and initial processing
include_once '../shared/global.php';
// load localized strings
i18n::bind('codes');
// load the skin
load_skin('codes');
// the path to this page
$context['path_bar'] = array('help/' => i18n::s('Help index'), 'codes/' => i18n::s('Formatting Codes'));
// the title of the page
$context['page_title'] = i18n::s('In-line formatting codes');
// the date of last modification
if (Surfer::is_associate()) {
$context['page_details'] .= '<p class="details">' . sprintf(i18n::s('Edited %s'), Skin::build_date(getlastmod())) . '</p>';
}
// page header
$context['text'] .= '<p>' . i18n::s('On this page we are introducing some formatting codes and live examples of utilization.') . '</p>';
// add a toc
$context['text'] .= "\n" . '[toc]' . "\n";
// **...**
$context['text'] .= '[title]' . i18n::s('Wiki bold') . ' [escape]**...**[/escape][/title]' . Skin::table_prefix('wide') . Skin::table_row(array(i18n::s('Example'), i18n::s('Rendering')), 'header') . '<tr><td class="sample">[escape]' . i18n::s('This is very **important**, isn\'t it?') . '[/escape]</td>' . '<td>' . i18n::s('This is very **important**, isn\'t it?') . '</td></tr>' . Skin::table_suffix();
// [b]...[/b]
$context['text'] .= '[title]' . i18n::s('Bold') . ' [escape][b]...[/b][/escape][/title]' . Skin::table_prefix('wide') . Skin::table_row(array(i18n::s('Example'), i18n::s('Rendering')), 'header') . '<tr><td class="sample">[escape]' . i18n::s('This is very [b]important[/b], isn\'t it?') . '[/escape]</td>' . '<td>' . i18n::s('This is very [b]important[/b], isn\'t it?') . '</td></tr>' . Skin::table_suffix();
// //...//
$context['text'] .= '[title]' . i18n::s('Wiki italics') . ' [escape]//...//[/escape][/title]' . Skin::table_prefix('wide') . Skin::table_row(array(i18n::s('Example'), i18n::s('Rendering')), 'header') . '<tr><td class="sample">[escape]' . i18n::s('This is really //meaningful//!') . '[/escape]</td>' . '<td>' . i18n::s('This is really //meaningful//!') . '</td></tr>' . Skin::table_suffix();
// [i]...[/i]
$context['text'] .= '[title]' . i18n::s('Italics') . ' [escape][i]...[/i][/escape][/title]' . Skin::table_prefix('wide') . Skin::table_row(array(i18n::s('Example'), i18n::s('Rendering')), 'header') . '<tr><td class="sample">[escape]' . i18n::s('This is really [i]meaningful[/i]!') . '[/escape]</td>' . '<td>' . i18n::s('This is really [i]meaningful[/i]!') . '</td></tr>' . Skin::table_suffix();
// __...__
$context['text'] .= '[title]' . i18n::s('Wiki underline') . ' [escape]__...__[/escape][/title]' . Skin::table_prefix('wide') . Skin::table_row(array(i18n::s('Example'), i18n::s('Rendering')), 'header') . '<tr><td class="sample">[escape]' . i18n::s('I would like to __insist__ on this point...') . '[/escape]</td>' . '<td>' . i18n::s('I would like to __insist__ on this point...') . '</td></tr>' . Skin::table_suffix();
开发者ID:rair,项目名称:yacs,代码行数:31,代码来源:basic.php
示例14: ubbcode
function ubbcode()
{
$this->call_time = 0;
$this->sLastModified = sprintf("%s", date("Y-m-j H:i", getlastmod()));
}
开发者ID:TiMoChao,项目名称:xingfu,代码行数:5,代码来源:ubbcode.class.php
示例15: strftime
</table>
</td>
</tr>
<tr>
<td colspan="2"> <hr> </td>
</tr>
<tr>
<td valign="top"> <div class="footer"> Copyright © 2002 <a href=
"mailto:[email protected]?subject=<?php
echo $pgEmailSubj;
?>
">Chip
Chapin</a>,� <a href=
"http://www.chipchapin.com/" target="_blank">http://www.chipchapin.com</a>
</div></td>
<td align="right"> <div class="date">
Updated
<?php
echo strftime("%A %B %d, %Y %T %Z", getlastmod());
if (false) {
?>
<!-- #BeginDate format:Am1 -->December 2, 2002<!-- #EndDate -->
<?php
}
?>
</div></td>
</tr>
</table>
<p> </p>
</body>
<!-- InstanceEnd --></html>
开发者ID:maroend,项目名称:protocolos,代码行数:31,代码来源:index.php
示例16: array
<?php
// vim: et
// Get the modification date of this PHP file
$timestamps = array(@getlastmod());
/*
The date of prepend.inc represents the age of ALL
included files. Please touch it if you modify any
other include file (and the modification affects
the display of the index page). The cost of stat'ing
them all is prohibitive.
*/
$timestamps[] = @filemtime("include/prepend.inc");
// These are the only dynamic parts of the frontpage
$timestamps[] = @filemtime("include/pregen-confs.inc");
$timestamps[] = @filemtime("include/pregen-news.inc");
$timestamps[] = @filemtime("include/version.inc");
$timestamps[] = @filemtime("js/common.js");
// The latest of these modification dates is our real Last-Modified date
$timestamp = max($timestamps);
// Note that this is not a RFC 822 date (the tz is always GMT)
$tsstring = gmdate("D, d M Y H:i:s ", $timestamp) . "GMT";
// Check if the client has the same page cached
if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"]) && $_SERVER["HTTP_IF_MODIFIED_SINCE"] == $tsstring) {
header("HTTP/1.1 304 Not Modified");
exit;
} else {
header("Last-Modified: " . $tsstring);
}
$_SERVER['BASE_PAGE'] = 'index.php';
include_once 'include/prepend.inc';
开发者ID:mattiasgeniar,项目名称:web-php,代码行数:31,代码来源:index.php
示例17: ini_set
<?php
// set default character set
ini_set('default_charset', 'UTF-8');
require_once "../php/logic.php";
$contentProse = "content-prose-1col";
$contentPassphrase = "";
// change layout to accommodate passphrase
if ($passphrase != "") {
$contentProse = "content-prose";
$contentPassphrase = "content-passphrase";
}
// get last Modified date of this file
$lastMod = date("F d Y", getlastmod());
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>Curtis's Passphrase Generator</title>
<link href="css/p2.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
开发者ID:extra808,项目名称:dwa15-p2,代码行数:31,代码来源:index.php
示例18: getlastmod
<li><a href="lectures/release_early.pdf">release_early.pdf</a></li>
<li><a href="lectures/release_early.odp">release_early.odp</a></li>
<li><a href="http://fossd.anu.edu.au/videos/L2010_15.ogv">2010 video</a> (175M Ogg/Theora)</li>
<li><a href="videos/MOV01B.low.ogv">2009 LQ video</a> (37M Ogg/Theora)</li>
</ul>
<hr>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/2.5/au/"><img
alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-sa/2.5/au/88x31.png"></a><br>
All of these lectures are licensed under a <a rel="license"
href="http://creativecommons.org/licenses/by-sa/2.5/au/">Creative
Commons Attribution-Share Alike 2.5 Australia License</a>.
<p><div align="center">
<?php
print " Last modified: ";
$last_modified = getlastmod();
print date("j/m/Y, H:i", $last_modified);
?>
</div><p>
<?php
include "8440tail.php";
?>
开发者ID:mdirik,项目名称:COMP8440,代码行数:27,代码来源:lectures.php
示例19: printHeader
function printHeader($humanTitle, $css, $lang)
{
header("Last-Modified: " . date("D, d M Y H:i:s", getlastmod()));
print <<<TOP_STUFF
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
TOP_STUFF;
print "\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"{$lang}\">\n <head>\n\t<title>{$humanTitle}</title>\n\t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\t<meta name=\"generator\" content=\"BBEdit 8.2\" />\n\t<meta name=\"author\" content=\"Scholarly Technology Group\" />\n\t<meta name=\"description\" content=\"Luise K. Gottsched: Her Life and Work\" />\n\t<meta name=\"keywords\" content=\"Luise Gottsched, women writers, textual culture, Germany, eighteenth century\" />\n\t<link href=\"/projects/Gottsched/includes/{$css}\" type=\"text/css\" rel=\"stylesheet\" />\n";
print <<<MORE_STUFF1
</head>
<body class="framework">
<div class="mainBox"><table width="100%" height="100%" border="1" summary="table used for layout only">
<tr><td valign="top">
<table class="navBox" height="10" width="100%" cellspacing="0" cellpadding="1" border="0" summary="table used for layout only">
<tr>
<td valign="bottom"><p class="header">
<span class="head">Luise K. Gottsched: </span>
<span class="description">A biography</span>
</p></td>
<td valign="bottom" colspan="2" align="right">
<p class="nav">
MORE_STUFF1;
if (preg_match("/Home/", $humanTitle)) {
print "<span class=\"selectedNav\"><a class=\"navhead\" href=\"/projects/Gottsched/index.php\">Home</a></span> ";
} else {
print "<a class=\"nav\" href=\"/projects/Gottsched/index.php\">Home</a> ";
}
print "| <a class=\"nav\" href=\"/projects/Gottsched/topicsSimple.php?selected=main&div2=&div3=&div4=&div5=&div6=\">Topics</a> ";
if (preg_match("/Primary Texts/", $humanTitle)) {
print "| <span class=\"selectedNav\"><a class=\"navhead\" href=\"/projects/Gottsched/primaryTexts.php\">Primary Texts</a></span> ";
} else {
print "| <a class=\"nav\" href=\"/projects/Gottsched/primaryTexts.php\">Primary Texts</a> ";
}
if (preg_match("/About/", $humanTitle)) {
print "| <span class=\"selectedNav\"><a class=\"navhead\" href=\"/projects/Gottsched/about.php\">About</a></span> ";
} else {
print "| <a class=\"nav\" href=\"/projects/Gottsched/about.php\">About</a> ";
}
print <<<MORE_STUFF
</p>
</td>
</tr><tr>
<td valign="bottom" type="div2" class="timelineOne" width="33%">
<p class="timeNav">
[<a class="timeNavA" href="chronSimple.php?time=childhood&subtime=childhoodIntro">
<span style="border: 0.5px solid #7D3602;">1713-1729: Childhood/Adolescence</span>
</a>]
</p>
</td>
<td valign="bottom" type="div2" class="timelineThree" width="33%" align="center">
<p class="timeNav">
[<a class="timeNavA" href="chronSimple.php?time=courtship&subtime=courtshipIntro">
<span style="border: 0.5px solid #7D3602;">1729-1734: Courtship</span>
</a>]
</p>
</td>
<td valign="bottom" type="div2" class="timelineFive" width="33%" align="right">
<p class="timeNav">
[<a class="timeNavA" href="chronSimple.php?time=engagement&subtime=engagementIntro">
<span style="border: 0.5px solid #7D3602;">1734-1735: Engagement</span>
</a>]
</p>
</td>
</tr>
</table>
<p></p>
<table style="background: #FFEBCD;" width="100%" cellspacing="15" summary="table used for layout only" border="0">
<tr>
MORE_STUFF;
}
开发者ID:emylonas,项目名称:Decameron,代码行数:71,代码来源:functions.php
示例20: var_dump
<?php
var_dump(getlastmod());
var_dump(getmyinode());
var_dump(getmyuid());
var_dump(getmypid());
var_dump(getmygid());
echo "Done\n";
开发者ID:badlamer,项目名称:hhvm,代码行数:8,代码来源:statpage.php
注:本文中的getlastmod函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论