本文整理汇总了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");
示例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");
示例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)
{