示例#1
0
<?php

if ($config->get('web', 'customFooter')) {
    print '<div id="customFooter">' . $config->get('web', 'customFooter') . '</div>';
}
print '<div id="versionFooter">' . VERSION . '</div>';
?>
</div><!--#body-->
</body>
<?php 
printJSInclude('yui/yahoo/yahoo.js');
printJSInclude('yui/dom/dom.js');
printJSInclude('std.js');
if (false !== $config->get('web', 'googleAnalytics')) {
    ?>
<script type="text/javascript">
  var _gaq = _gaq || [];_gaq.push(['_setAccount', '<?php 
    echo $config->get('web', 'googleAnalytics');
    ?>
']);_gaq.push(['_setDomainName', 'none']);_gaq.push(['_setAllowLinker', true]);_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 
}
?>
</html>
示例#2
0
    </div>
    <div class="submit">
    	<input type="button" class="btnSubmit" value="Add Review" id="addReview" />
    </div>

	<div class="hidden">
		<input type="hidden" name="pubCount" id="pubCount" value="0" />
	</div>
	<table id="submissiontable" class="hidden">
		<thead>
			<tr>
				<th>Pub</th>
				<th>Drink</th>
				<th>Score</th>
			</tr>
		</thead>
		<tfoot>
			<tr><td colspan="3"><input name="_submitjsform" type="submit" class="btnSubmit" value="Submit review" /></td></tr>
		</tfoot>
		<tbody>

		</tbody>
	</table>
</form>
<!-- Submission Form ends -->
<?php 
printJSInclude('yui/yahoo-dom-event/yahoo-dom-event.js');
printJSInclude('yui/connection/connection-min.js');
printJSInclude('yui/animation/animation-min.js');
printJSInclude('yui/autocomplete/autocomplete-min.js');
include DOCROOT . '/skin/footer.php';