par
Docteur » 18 sept. 2012, 13:18
Merci à vous deux
Alors voilà,
Je rencontre un problème au niveau de mon code PHP à la ligne
#34 de mon template
tpl_absolution_overall_footer.html.php qui est aussi un forum phpBB pour ceux qui connaissent.
Voici le messe d'erreur et le code PHP:
Erreur-->
Parse error: syntax error, unexpected $end in /home/managi9/domains/cubicdev.info/forum/cache/tpl_absolution_overall_footer.html.php on line 36
(L'erreur dit ligne #36 mais dans dreamweaver il me dise #34.)
Voici le code:
Code : Tout sélectionner
<?php if (!defined('IN_PHPBB')) exit; ?></div>
</div><!-- /contentpadding -->
</div><!-- /wrap -->
<div style="clear: both;"></div>
<div class="footer" style='width: <?php echo (isset($this->_tpldata['DEFINE']['.']['ABSOLUTION_BOARD_WIDTH'])) ? $this->_tpldata['DEFINE']['.']['ABSOLUTION_BOARD_WIDTH'] : ''; ?>;'>
<table><tr><td><strong>Propulsé par <a href="..." target="_blank">Cubic Development</a></strong></td><td> | </td><td><a href="mailto:[email protected]">[email protected]</a></td><td> | </td><td><a href="http://www.demo.cubicdev.info">Démo de sites web (Cubic Development)</a></td></tr></table><br />
<div id="wrapfooter">
<?php if ($this->_rootref['U_ACP']) { ?><span class="gensmall">[ <a href="<?php echo (isset($this->_rootref['U_ACP'])) ? $this->_rootref['U_ACP'] : ''; ?>"><?php echo ((isset($this->_rootref['L_ACP'])) ? $this->_rootref['L_ACP'] : ((isset($user->lang['ACP'])) ? $user->lang['ACP'] : '{ ACP }')); ?></a> ]</span>
</div>
</div>
</div><!-- /noise -->
<script type='text/javascript'>
// <![CDATA[
$(function() {
$('.tip').tipsy({fade: true, gravity: 's'});
});
// ]]>
</script>
<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<?php if (! $this->_rootref['S_IS_BOT']) { echo (isset($this->_rootref['RUN_CRON_TASK'])) ? $this->_rootref['RUN_CRON_TASK'] : ''; } ?>
</div>
</body>
</html>
Merci à vous deux :)
Alors voilà,
Je rencontre un problème au niveau de mon code PHP à la ligne [b]#34[/b] de mon template [b]tpl_absolution_overall_footer.html.php[/b] qui est aussi un forum phpBB pour ceux qui connaissent.
Voici le messe d'erreur et le code PHP:
Erreur--> [b]Parse error: syntax error, unexpected $end in /home/managi9/domains/cubicdev.info/forum/cache/tpl_absolution_overall_footer.html.php on line 36[/b]
[size=85][color=#FF0000](L'erreur dit ligne [b]#36[/b] mais dans dreamweaver il me dise [b]#34[/b].)[/color][/size]
Voici le code:
[code]<?php if (!defined('IN_PHPBB')) exit; ?></div>
</div><!-- /contentpadding -->
</div><!-- /wrap -->
<div style="clear: both;"></div>
<div class="footer" style='width: <?php echo (isset($this->_tpldata['DEFINE']['.']['ABSOLUTION_BOARD_WIDTH'])) ? $this->_tpldata['DEFINE']['.']['ABSOLUTION_BOARD_WIDTH'] : ''; ?>;'>
<table><tr><td><strong>Propulsé par <a href="..." target="_blank">Cubic Development</a></strong></td><td> | </td><td><a href="mailto:
[email protected]">
[email protected]</a></td><td> | </td><td><a href="http://www.demo.cubicdev.info">Démo de sites web (Cubic Development)</a></td></tr></table><br />
<div id="wrapfooter">
<?php if ($this->_rootref['U_ACP']) { ?><span class="gensmall">[ <a href="<?php echo (isset($this->_rootref['U_ACP'])) ? $this->_rootref['U_ACP'] : ''; ?>"><?php echo ((isset($this->_rootref['L_ACP'])) ? $this->_rootref['L_ACP'] : ((isset($user->lang['ACP'])) ? $user->lang['ACP'] : '{ ACP }')); ?></a> ]</span>
</div>
</div>
</div><!-- /noise -->
<script type='text/javascript'>
// <![CDATA[
$(function() {
$('.tip').tipsy({fade: true, gravity: 's'});
});
// ]]>
</script>
<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<?php if (! $this->_rootref['S_IS_BOT']) { echo (isset($this->_rootref['RUN_CRON_TASK'])) ? $this->_rootref['RUN_CRON_TASK'] : ''; } ?>
</div>
</body>
</html>[/code]