Salve a tutti vorrei chiedervi un aiutino perche proprio non riesco a capire qual è l'inghippo..sopra la gallery quando apro la foto trovo questi caratteri:
sarà un pezzo di codice scritto male ma non riesco a capire qual è
vi posto il codice del file image.php:
Codice:
<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'black'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<title><?php printGalleryTitle(); ?></title>
<link rel="stylesheet" href="<?php echo $zenCSS ?>" type="text/css" />
<script type="text/javascript">
function toggleComments() {
var commentDiv = document.getElementById("comments");
if (commentDiv.style.display == "block") {
commentDiv.style.display = "none";
} else {
commentDiv.style.display = "block";
}
}
</script>
<?php zenJavascript(); ?>
<script type="text/Javascript">
function togglecomments (toggle) {
var whichpost = document.getElementById(toggle);
if (whichpost.className=="commentshown") {
whichpost.className="commenthidden";
}
else {
whichpost.className="commentshown";
}
}
</script>
<?php printPreloadScript(); ?>
</head>
<body>
<br />
<script type="text/javascript">
//<![CDATA[
google_color_border = "DDDDDD";
google_color_bg = "DDDDDD";
google_color_link = "FF6677";
google_color_url = "000000";
google_color_text = "777777";
//]]>
</script>
<!-- alterbanner_728X90_start --><div class="alterbanner_728X90_off"> </div><!-- alterbanner_728X90_end -->
<div id="main">
<div id="gallerytitle">
<a href="<?=getGalleryIndexURL();?>" title="Gallery Index"><?=getGalleryTitle();?></a>
</div><!--gallerytitle!-->
<span class="crumbs"> » <a href="<?=getAlbumLinkURL();?>" title="Gallery Index"><?=getAlbumTitle();?></a> » <?php printImageTitle(true); ?></span>
<div class="image">
<div class="imgnav">
<?php if (hasPrevImage()) { ?> <a href="<?=getPrevImageURL();?>" title="Previous Image">« prev</a>
<?php if (hasNextImage()) echo " | "; } if (hasNextImage()) { ?> <a href="<?=getNextImageURL();?>" title="Next Image">next »</a><?php } ?>
</div><!--imgnav!-->
<div class="the_image">
<?php printDefaultSizedImage(getImageTitle()); ?>
</div><!--the_image!-->
<table cellspacing="0" cellpadding="0" class="commentlinktable">
<tr>
<td class="imagetitle" valign="top">
<strong><?php printImageTitle(true); ?></strong>
</td>
<td class="imagedesc" valign="top">
<?php printImageDesc(true); ?>
</td>
</tr>
<tr>
<td class="commentcount">
<div class="commentcount"><a href="<?=getFullImageURL();?>" title="<?=getImageTitle();?>">
Download image</a></div><!--commentcount!-->
</td>
<td class="commentlink">
<?php
printCommentErrors();
$stored = getCommentStored();
?>
<div class="commentlink"><a href="javascript:togglecomments('toggle')"><?php $num = getCommentCount(); echo ($num == 0) ? "No comments" : (($num == 1) ? "<strong>One</strong> comment" : "<strong>$num</strong> comments"); ?></a></div><!--commentlink!-->
</td>
</tr>
</table><!--commentlinktable!-->
<table cellspacing="0" cellpadding="0" class="commenthidden" id="toggle">
<tr>
<td class="comments" valign="top">
<?php while (next_comment()): ?>
<div id="comments">
<div class="comment">
<div class="commentmeta">
<span class="commentauthor"><?php printCommentAuthorLink(); ?></span>
| <span class="commentdate"><?=getCommentDateTime();?> PST</span>
</div><!--commentmeta!-->
<div class="commentbody"><?=getCommentBody();?></div><!--commentbody!-->
</div><!--comment!-->
</div><!--comments!-->
<?php endwhile; ?>
</td>
<td class="commentform" valign="top">
<form name="commentform" id="commentform" action="#comments" method="post">
<div class="imgcommentform">
<!-- If comments are on for this image AND album... -->
<input type="hidden" name="comment" value="1" />
<input type="hidden" name="remember" value="1" />
<?php if (isset($error)) { ?><div class="error">There was an error submitting your comment. Name, a valid e-mail address, and a comment are required.</div><!--error!--></td></tr><?php } ?>
Name:<br /><input type="text" name="name" size="20" value="<?=$stored['name'];?>" class="width" />
E-Mail (Not public, required):<br /><input type="text" name="email" size="20" value="<?=$stored['email'];?>" class="width" />
Site:<br /><input type="text" name="website" size="40" value="<?=$stored['website'];?>" class="width" />
<!--<tr><td colspan="2"><label><input type="checkbox" name="remember" <?=($stored[3]) ? "checked=\"1\"" : ""; ?>> Save my information</label></td></tr>-->
<br /><br />
<?php printCaptcha("" .gettext('Enter Captcha') . ":<br>", '', '', 8); ?>
<br />
<textarea name="comment" rows="6" cols="40"></textarea><br /><br />
<input type="submit" class="takki" value="Add Comment" />
</div><!--imgcommentform!-->
</form>
</td>
</tr>
</table><!--commenthidden!-->
</div><!--image!-->
<span class="underline">
Powered by <a href="http://zenphoto.org">Zenphoto</a>. Design by <a href="http://ingalo.binary.is">Ingaló</a>
<span style="color:#777777">. <!-- alterlink_credit_start --><a href="http://it.altervista.org/crea-sito-web-gratis.php">Creare photogallery</a><!-- alterlink_credit_end --></span>
</span>
</div><!--main!-->
<?php if (function_exists('printAdminToolbox')) printAdminToolbox(); ?>
<!-- alterwords_0X1_start --><div class="alterbanner_0X1_off"> </div><!-- alterwords_0X1_end -->
<!-- altervista stats, do not remove! -->
<script type="text/javascript">
//<![CDATA[
document.write('<s'+'cript type="text/javascript" src="http://tb.altervista.org/stats/'+escape(window.location.hostname)+'.js?p='+escape(window.location)+'&r='+new Date().getTime()+'"><\/s'+'cript>');
//]]>
</script>
</body>
</html>
grazie dell'aiuto :)