包括不在php中显示的页脚

时间:2012-09-15 18:17:06

标签: php include-path

我想知道为什么我的包含页脚没有显示出来。没有错误,但它根本不会出现。页脚文件没有任何问题,因为它在其他页面上完美显示。只是这个页面不会显示页脚。任何帮助将不胜感激!

<?php
include 'init.php';
include 'template/header.php';
?>

<!-- include Cycle plugin -->
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.74.js"></script>

<!--  initialize the slideshow when the DOM is ready -->
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
    fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
</script>
</head>
<body>

include 'template/footer.php';
?>

3 个答案:

答案 0 :(得分:4)

您有一个未公开的<noscript>标记

答案 1 :(得分:0)

你还没有关闭&lt; noscript&gt;标签。试着关闭它。

...
<noscript>
<div id="img">
<img src="images/landing.png" alt="slideshow" width="750" height="267"/>
</div>
</noscript>';

答案 2 :(得分:0)

而且我觉得你忘了把第二个引号放在这一行的末尾

$.loadImages({'images/landing.png,
相关问题