Parse error: syntax error, unexpected '?'

salve,

ho un problema con il mio sito, ho appena fatto delle modifiche ma non riesco pi a vedere la pagina.

questo l'errore:

Parse error: syntax error, unexpected '?' in/home/katalia/public_html/include/compiled/biz_index.phpon line21

ho guardato la riga 21 ma non riesco a capire l errore..

vi riporto il php:

<?php include template("biz_header");?>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
<div id="content" class="coupons-box clear mainwide">
<div class="box clear">
<div class="box-top"></div>
<div class="box-content">
<div class="head">
<h2>Elenco delle offerte</h2></div>
<div class="sect">
<table id="orders-list" class="coupons-table" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th width="500">Nome Deal&nbsp;&nbsp;</th>
<th width="80">Citt&agrave;</th>
<th width="100">Data</th>
<th width="50">Punta</th>
<th width="50">Prezzo corrente</th>
<th width="120">Operazione</th></tr><?php if(is_array($teams)){foreach($teams AS $index=>$one) { ?><?php $one['state'] = team_state($one); ?>
<tr id="team-list-id-<?php echo $one['id']; ?>" ?} <?php echo $index%2???:?class="alt">
<td style="text-align: left"><a class="deal-title" target="_blank" href="../../../team.php?id=<?php echo $one['id']; ?>"><?php echo $one['title']; ?></a></td>
<td><?php echo $cities[$one['city_id']]['name']; ?></td>
<td>${date('Y-m-d',$one['begin_time']); ?><br />
<?php echo date('Y-m-d',$one['end_time']); ?></td>
<td><?php echo $one['now_number']; ?>/<?php echo $one['min_number']; ?></td>
<td><span class="money"><?php echo $currency; ?></span><?php echo moneyit($one['team_price']); ?><br />
<span class="money"><?php echo $currency; ?></span><?php echo moneyit($one['market_price']); ?></td>
<td class="op" nowrap="nowrap"><a class="ajaxlink" href="../../../ajax/partner.php?action=teamdetail&amp;id=<?php echo $one['id']; ?>">detail</a><?php if($one['now_number']>=$one['min_number']){?>&iuml;&frac12;&#339;<a target="_blank" href="../../../biz/down.php?id=<?php echo $one['id']; ?>">download</a><?php }?></td></tr><?php }}?>
<tr>
<td colspan="6"><?php echo $pagestring; ?></td></tr></tbody></table></div></div>
<div class="box-bottom"></div></div></div></div></div><!-- bd end --></div><!-- bdw end --><?php include template("footer");?>

inviato 4 anni fa
michedibla
X 0 X

prova a vedere a riga 21 a me sembra che manchi "?>"

<tr id="team-list-id-<?php echo $one['id']; ?>" ?} <?php echo $index%2???:?class="alt">

---->

<tr id="team-list-id-<?php echo $one['id']; ?>" ?} <?php echo $index?> class="alt">

risposto 4 anni fa
jack.cap.rooney
X 0 X
Effettua l'accesso o registrati per rispondere a questa domanda