当前位置: 首页>>代码示例>>PHP>>正文


PHP addFooter函数代码示例

本文整理汇总了PHP中addFooter函数的典型用法代码示例。如果您正苦于以下问题:PHP addFooter函数的具体用法?PHP addFooter怎么用?PHP addFooter使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了addFooter函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: addFooter

} else {
    ?>
				<legend><?php 
    echo $locale['not_found'];
    ?>
</legend>
			<?php 
}
?>


	  </div>
  </div>

<?php 
addFooter($locale);
?>
	<script>
		(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
		(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
		m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
		})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

		ga('create', 'UA-7853765-8', 'auto');
		ga('send', 'pageview');

	  $(document).ready(function() {
		    $("div.bhoechie-tab-menu>div.list-group>a").click(function(e) {
		        e.preventDefault();
		        $(this).siblings('a.active').removeClass("active");
		        $(this).addClass("active");
开发者ID:alexmeji,项目名称:CREA,代码行数:31,代码来源:downloads.php

示例2: openChapter

    }
    openChapter($benchFile, $key, "Cleanup");
    runCmd($ZPOOL . " " . $ZPOOL_DESTROY_CMD, $benchFile);
    runCmd("echo \"done \" && date", $benchFile);
    closeChapter($benchFile);
    addSubFooter($benchFile);
    fclose($benchFile);
    addIndexLink($indexFile, $i . ". Benchmark:", $poolCmds, $key . "/result.html");
}
fwrite($indexFile, "</dl>\n");
closeChapter($indexFile);
openChapter($indexFile, "Index", "Benchmark Matrix");
createTestMatrix($indexFile);
createBoonieoutput($indexFile);
closeChapter($indexFile);
addFooter($indexFile);
fclose($indexFile);
function checkTools()
{
    global $TOOLS;
}
function getDisks()
{
    global $DISK_LIST_CMD;
    $output = shell_exec($DISK_LIST_CMD);
    return split("\n", trim($output));
}
function runBoonie($benchFile, $key)
{
    global $TOP, $HOSTNAME, $BOONIE;
    openChapter($benchFile, $key, "Boonie");
开发者ID:phaus,项目名称:zfs-benchmark,代码行数:31,代码来源:bench.php

示例3: fopen

$xmlHandle = fopen($fname, "w");
//download data
//download_data("http://talkingpointsmemo.com/images/","bernanke-askance-large.jpg","");
download_data($webDirectory, $precinctsFile, $localDirectory);
download_data($webDirectory, $locationsFile, $localDirectory);
download_data($webDirectory, $segmentsFile, $localDirectory);
//Add contents to feed.
$contents = addHeader($dateArray);
fwrite($xmlHandle, $contents);
$contents = addPrecincts(file_get_contents($localDirectory . $precinctsFile));
fwrite($xmlHandle, $contents);
$contents = addLocations(file_get_contents($localDirectory . $locationsFile));
fwrite($xmlHandle, $contents);
$contents = addSegments(file_get_contents($localDirectory . $segmentsFile), $xmlHandle);
fwrite($xmlHandle, $contents);
$contents = addFooter();
fwrite($xmlHandle, $contents);
zip_file($fname, $fnameZip);
if ($autoFTPupload) {
    post_file($ftp_directory . $fnameZipND, $fnameZip, $ftp_server, $ftp_user, $ftp_pass);
}
addLogMessage("DONE!");
//Close handles
fclose($logHandle);
fclose($xmlHandle);
/**
 * Download the data. Put in local directory
 * See decriptions of inputs above 
 */
function download_data($webDirectory, $dataFileName, $localDirectory)
{
开发者ID:votinginfoproject,项目名称:scripts,代码行数:31,代码来源:bernalillo.php


注:本文中的addFooter函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。