Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Gugio klausimai

Parašė Gugiss· 2008 Lap. 8 21:11:56
#108

Dabar
Parse error: syntax error, unexpected T_ELSE in C:\wamp\www\news.php on line 204


if ( $gid0 == 0 ) {
   echo "Tuscia";
}else{
            $result7 = dbquery("SELECT * FROM ".$db_prefix."custom_pages WHERE page_naujienos='$gid'");
while($data7 = dbarray($result7)) { }
   $gid7 = $data7['page_id'];
$nid7 = $data7['page_naujienos'];
$aid = $data7['page_straipsniai'];
$pid = $data7['page_foto'];
$vid = $data7['page_video'];
$fid = $data7['page_forumas'];
$sid = $data7['page_svetaine'];
$buy = $data7['page_pirkti'];
}
            
echo "<a href='game.php?id=$gid0'>Pagrindinis</a> $gid7";
}



         render_news2($news_news, $news_info);
         echo "<!--news_sub_readmore-->";
         if ($data['news_allow_comments']) { showcomments("N", DB_NEWS, "news_id", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
         if ($data['news_allow_ratings']) { showratings("N", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
      } else {
         redirect(FUSION_SELF);
      }
   } else {
      redirect(FUSION_SELF);
   }
}