<?php

//retrouver mes variables
$tableau=explode("/", $PATH_INFO);
$x=count($tableau);
$idi=$tableau[$x-1];

if (($idi !="es") && ($idi!="en")&&($idi !="fr")&& ($idi !="po")) {
include "error.php3";
}
else {

$cinq_es= "<P>Aqu&iacute se puede acceder los mensajes
originales en espa&ntilde;ol, con sus anexos correspondientes.</P><P>Los
correos de EMEC se dividen en cinco categor&iacute;as:";

$cinq_en="<p><font
face=\"helvetica\" size=\"2\">Here you can access the original messages in
English along with the respective attachements. </font></p><p><font
face=\"helvetica\" size=\"2\">The EMEC messages will be divided into five
categories: </font></p>";

$cinq_fr="Vous pouvez trouver sur ces pages les messages originaux
&eacute;crits ou traduits en francais, accompagn&eacute;s, le cas
&eacute;ch&eacute;ant, de leurs pi&egrave;ces jointes (les \"documents
attach&eacute;s\").</font></p> <p><font face=\"helvetica, verdana, arial,  sans
serif\" size=\"2\">Les messages EMEC sont divis&eacute;s en cinq
cat&eacute;gories:</font></p> ";

$cinq_po="<p>As mensagens de EMEC serão
divididas em cinco categorias: </p>";

$arraytres=array (
"cli"=> array ("es"=>"Al cliquear en una categor&iacute;a, se puede acceder la
lista de todos los correos electr&oacute;nicos pertinentes.", "en"=>"By clicking 
        on one category, you can access the list will all the messages stored 
        in chosen category.", "fr"=>"", "po"=>""),
 "cinco"=> array("es"=>"$cinq_es", "en"=>" $cnq_en","fr"=>
"$cinq_fr", "po"=>"$cinq_po"),  
  "indic4"=> array("es"=>"<P> La
secci&oacute;n de los dem&aacute;s correos: es la categor&iacute;a central
as&iacute; que contiene la mayor&iacute;a de los mensajes y, por lo tanto,
informaci&oacute;n. </P> <P> Se encuentran los mensajes siguientes, por orden
cronol&oacute;gico:", "en"=>"<p>Here the majority of messages is stored. This
is the &quot;heart&quot; of our community, as it contains the majority of
information. Therefore, we hope that you will access this pages regularly and
that you will find  them useful in you work. </p>        <P> The current
messages are (chronological list):", " fr"=>" <p> Cette section est celle
o&ugrave; la majorit&eacute; des contributions sont archiv&eacute;es. C'est
donc la cat&eacute;gorie \"centrale\" de la comunaut&eacute; virtuelle, celle
contient qui le plus grand nombre de messages, le plus d'informations. </p>
<p> Se trouvent actuellement disponibles (par ordre chronologique)
:","po"=>"<P> Mensagens armazenados:")); 

      

include "bibo.php3";
include "head1.php3"; 
//$sepuede=$arraydos["$idi"]; 


?> 



<table width="640" border="0">
<tr>
<td bgcolor="#5050d1">
<table width="630" border="0">
<tr>
<td bgcolor="#eeeeee" align="center">
<font face="helvetica, verdana, arial,  sans serif" size="2">
&nbsp;
</font>
</td>   
</tr>
</table>
 </td>   
 </tr>
</table>
<table width="640" border="0">
 <tr><td>
 <font face="helvetica, verdana, arial,  sans serif" size="2">
<br>
<P>
<?echo $arraytres["cinco"]["$idi"]?>
</P>
<?
$conn=pg_pconnect("dbname=emecmistica user=postgres");
if ($idi=="es") {
$querycat = pg_exec($conn,"select id_categoria, definicion_es from categoria"); 	
}
elseif ($idi=="en") {
$querycat = pg_exec($conn,"select id_categoria, definicion_en from categoria"); 	
}
elseif ($idi=="fr") {
$querycat = pg_exec($conn,"select id_categoria, definicion_fr from categoria"); 	 
}
elseif ($idi=="po") {
$querycat = pg_exec($conn,"select id_categoria, definicion_po from categoria"); 	
}

 echo "<ul>";
$nbcatt=pg_numrows($querycat);
if ($nbcatt !=0) {
for($n=0; $n<pg_numrows($querycat); $n++) { 
$get = pg_fetch_row($querycat,$n); 
$get[1]=stripslashes($get[1]);
echo "<li><a
href=\"/mistica/bdd/mess.php3/idi/$idi/categ/$get[0]\">$get[0]</a>:&nbsp $get[1]";  
}
echo " </ul><p></P>";
?>
<P>
<?echo "$click"?>
<?
}
?>
</P>
</font></td>
<td bgcolor="#41a13f">&nbsp;
                
 </td>
 </tr>
</table>
<table width="640" border="0">
  <tr>
 <td bgcolor="#5050d1">
<table width="630" border="0">
<tr>
 <td bgcolor="#eeeeee" align="center">
     <font face="helvetica, verdana, arial,  sans serif" size="2">
<p align="center">

           </p>
    </font>
</td>   
</tr>
  </table>
</td>   
</tr>
</table>
<!--pie-->
<hr>

<table width="640" border="0" bgcolor="#eeeeee">
  <tr>
<td>
<a HREF="javascript:history.go(-1)" onMouseOver="if (VersionNavigateur(3.0,4.0))img7.src='/mistica/bdd/img/backcolor.gif' " onMouseOut="img7.src='/mistica/bdd/img/backnegro.gif' "><img name="img7" src="/mistica/bdd/img/backnegro.gif" width="18" height="18" border="0" alt="<? echo $prev ?>" onLoad="tempImg=new Image(0,0); tempImg.src='/mistica/bdd/img/backcolor.gif'"></a>
                        
 </td>
  <td align="center">
<a HREF="#top" onMouseOver="if (VersionNavigateur(3.0,4.0))img6.src='/mistica/bdd/img/topcolor.gif' " onMouseOut="img6.src='/mistica/bdd/img/topnegro.gif' "><img name="img6" src="/mistica/bdd/img/topnegro.gif" width="18" height="18" border="0" alt="<? echo $cabeza ?>" onLoad="tempImg=new Image(0,0); tempImg.src='/mistica/bdd/img/topcolor.gif'"></a>
</td>
  <td align="right">
                        
 <a HREF="javascript:history.go(+1)" onMouseOver="if (VersionNavigateur(3.0,4.0))img8.src='/mistica/bdd/img/forwardcolor.gif' " onMouseOut="img8.src='/mistica/bdd/img/forwardnegro.gif' "><img name="img8" src="/mistica/bdd/img/forwardnegro.gif" width="18" height="18" border="0" alt="<? echo $prox ?>" onLoad="tempImg=new Image(0,0); tempImg.src='/mistica/bdd/img/forwardcolor.gif'"></a>
 </td>
  
 </tr>
        
</table>
<table width="640" border="0">
	<tr>
		
		<td align="center">
			<font face="helvetica, verdana, arial, sans serif" size="2">
			<? echo "$credit" ?>
 			<? echo "$mapa" ?> |
<? echo "$correo" ?>: 
<a HREF="MAILTO:webmistica@funredes.org">&lt;webmistica@funredes.org&gt;</a>
			</font> 		</td> 	</tr> 	
<tr>
		<td align="center">
			<font face="helvetica, verdana, arial, sans serif" size="2">
			<?
echo"http://www.funredes.org/mistica/bdd/categ.php3$PATH_INFO" ?> 	 	<br>  
    <? echo "$modif" ?>: 30/09/1999 </font> </td> </tr>
</table>

</body>
</html>
<?
}
?>

