<?
include "cnn.php";
?>
<h1>Sistema de Ajuda (F.A.Q.)</h1>
<div class="quadros">
<fieldset><legend><strong>Categorias</strong></legend>
<strong>
<center>
&asymp; &asymp; &asymp; &asymp; &rArr;
<a href="index.php?go=faqcat&faq=Bugs">Bugs</a> | <a href="index.php?go=faqcat&faq=Bloqueios">Bloqueios</a> 
| <a href="index.php?go=faqcat&faq=Compras">Compras</a> | <a href="index.php?go=faqcat&faq=Roubos">Roubos</a> | <a href="index.php?go=faqcat&faq=MuOnline">MuOnline</a>
| <a href="index.php?go=faq">Todos</a> 
&lArr; &asymp; &asymp; &asymp; &asymp;</center>
</strong>
</fieldset>
</div>
<div class="quadros">
<?
  $Query1 = mssql_query("select id, titulo, conteudo from faq where faq='".$faq."' order by id");
  for($i=0;$i<mssql_num_rows($Query1);$i++) {
  $Array=mssql_fetch_row($Query1);
?><br><br>
<a href="javascript: void (0);" onClick="javascript:
                                                                                        if ( document.getElementById('resposta<?=$Array[0]?>').style.display == '' )
                                                                                            document.getElementById('resposta<?=$Array[0]?>').style.display='none'; 
                                                                                        else if ( document.getElementById('resposta<?=$Array[0]?>').style.display == 'none' )
                                                                                            document.getElementById('resposta<?=$Array[0]?>').style.display=''; " style="font-weight: normal;"><strong><?=$Array[1]?></strong></a>
<div class="qdestaques" id="resposta<?=$Array[0]?>" style="display:none">
<strong><?=$Array[2]?></strong>
<br />
</div>

<? } ?>
</div>