Hola, me saca el siguiente error. El trozo de codigo que supuestamente esta mal es este:
Código PHP:
<?
if ( $count2 == 0 ) {//ok vote
//OK?>
<li><div class="vote-ok">UP
<a class="linkvote-ok" id="linkiavoteup<?=$id_post?>" href="javascript:iavote('<?=$id_post?>', 1, '<?=iavote_getpath()?>')">
<span id="iavoteup<?=$id_post?>"><?=$count_ok?></span>
</a>
</div></li>
<?php
//KO
?>
<li><div class="vote-ko">DOWN
<a class="linkvote-ko" id="linkiavotedown<?=$id_post?>" href="javascript:iavote('<?=$id_post?>', 0, '<?=iavote_getpath()?>')">
<span id="iavotedown<?=$id_post?>"><?=$count_ko?></span>
</a>
</div></li>
<?php
}
else {//no vote
if ( $type == 1 ) {
?>
<li><div class="vote-ok">UP
<a href="javascript:void(0)"><span id="novote-ok"><?=$count_ok?></span></a>
</div></li>
<li><div class="vote-ko">DOWN
<a id="cursor-of" href="javascript:void(0)"><?=$count_ko?></a>
</div></li>
<?php
}
else {
?>
<li><div class="vote-ok">UP
<a id="cursor-of" href="javascript:void(0)"><?=$count_ok?></a>
</div></li>
<li><div class="vote-ko">DOWN
<a href="javascript:void(0)"><span id="novote-ko"><?=$count_ko?></span></a>
</div></li>
<?php
}
?>
<?php
}
?>
<li><div class="comment">TOTAL COMMENTS <span><?php comments_number('0', '1', '%')?></span></div></li>
</ul>
<?
}
La linea 97 seria esta:
Código PHP:
else {//no vote
Por mas que miro no se donde esta el fallo.
Gracias!