コード例 #1
0
ファイル: template.php プロジェクト: fnocke/dirList
?>
" />
		<link rel="stylesheet" type="text/css" media="all" href="<?php 
echo Statics::get('dirList.css');
?>
" />
		<link rel="stylesheet" type="text/css" media="all" href="<?php 
echo Statics::get('lib/fotorama/fotorama.min.css');
?>
" />
		<meta name="viewport" content="width=600px, initial-scale=0.5, user-scalable=yes">
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="icon" type="image/x-icon" href="/favicon.ico" />
	</head>
	<body<?php 
echo implodeX(" class='", $bodyClasses, "'", " ");
?>
>
		<div id='head'>
			<div class='singleCol'>
			<?php 
out("<a href='/'>" . $_SERVER['HTTP_HOST'] . "</a> ");
// just a suggestion
foreach ($d->breadcrumb() as $b) {
    out(' &gt; <a href="' . $b['url'] . '">' . $b['title'] . '</a> ');
}
?>
			</div>
		</div>
		<?php 
if (isMobile()) {
コード例 #2
0
?>
</title>
		<?php 
/* I -did- see this inbetween page in googles index.. the revisit-after is probably pointless */
?>

		<meta name="robots" content="noindex">
		<meta name="revisit-after" content="2 hour">

		<?php 
if (\get_class($this) === 'DirList') {
    //skip in style mocking to avoid neverending loops
    out('<meta http-equiv="refresh" content="1">');
}
?>
		
		<link rel="stylesheet" type="text/css" media="all" href="<?php 
echo Cache::getStatic('/static/dirList-styles.css');
?>
" />
	</head>
	<body class='dirList-redirect'>
		Please be patient for a moment, while generating thumbnails...
		<?php 
out(count($thumbsDone) . ' of ' . count($sizes) * count($this->fileList) . ' thumbs processed in ' . sprintf('%.2f', $this->timeSpent()) . ' seconds.');
out(implodeX('<ul><li>', $thumbsDone, '</li></ul>', '</li><li>'));
?>
		... still working ...
	</body>
</html>