I get this error when i edited the text from "daily deal" to "group offer"
i dont know anything about coding, so i hope this is something easy. This error shut-down my web site. Thanks for help.
Parse error: syntax error, unexpected '<' in /subscribe_success.php on line 26
this is what i assume is line 26-
array('png','jpg','jpeg','gif'); $dimg = opendir($imgdir); while($imgfile = readdir($dimg)) { if(in_array(strtolower(substr($imgfile,-3)),$allowed_types)) {
here is contents of the whole file
<?php include template("header");?>
<div id="body-css" class="body-css">
<div id="bd" class="cf">
<div id="recent-deals">
<div id="content">
<div class="boxbk">
<div id="gradd" class="panel box">
<div class="head">
<h2><?php echo __(TEXT_EN_SUBSCRIBE_EMAIL_LIST_EN); ?></h2>
</div>
<div class="sect">
<div class="succ"><?php echo __(TEXT_EN_YOUR_WILL_NOW_RECEIVE_EXCITING_GROUP_OFFER_RIGHT_IN_YOUR_INBOX_EN); ?>.</div>
</div>
<?php if($refurl){?>
<div class="sect">
<div class="succ"><a href="<?php echo $refurl; ?>"><?php echo __(TEXT_EN_GO_BACK_EN); ?></a></div>
</div>
<?php } else { ?>
<div class="sect">
<div class="succ"><a href="../../index.php"><?php echo __(TEXT_EN_GO_BACK_EN); ?></a></div>
</div>
<?php }?></div>
</div>
</div>
<div class="side-pic"><?php // the directory, where your images are stored $imgdir = 'themes/css/zoneslider/'; // list of filetypes you $allowed_types = array('png','jpg','jpeg','gif'); $dimg = opendir($imgdir); while($imgfile = readdir($dimg)) { if(in_array(strtolower(substr($imgfile,-3)),$allowed_types)) { $a_img[] = $imgfile; sort($a_img); reset ($a_img); } } // total image number $totimg = count($a_img); for($x=0; $x < $totimg; $x++) { $size = getimagesize($imgdir.'/'.$a_img[$x]); // do whatever $halfwidth = ceil($size[0]/2); $halfheight = ceil($size[1]/2); echo '
<p><img src="'.$imgdir.''.$a_img[$x].'" _mce_src="'.$imgdir.''.$a_img[$x].'" width="232" height="126" class="panel"></p>
'; } ; ?></div>
</div>
</div>
<!-- bd end --></div>
<!-- body-css end --> <?php include template("footer");?>