|
|
Biblioteca Salud Intercultural |
|
// $titulo=$_GET['titulos'];
include("conexion1.php");
conectarse();
$de_cuanto=4;
$cantidad=(int)$_GET['cant'];
// echo ($cantidad);
$query= mysql_db_query("salud","select idd,titulo_doc,descripcion,link_doc from documentos WHERE grupo='formacion' order by idd");
$query2= mysql_db_query("salud","select count(idd) from documentos where grupo='formacion'");
$r=mysql_fetch_array($query2);
//echo ($r);
$canta=$r["count(idd)"];
//echo ($canta);
//$canta
$i=0;
if($cantidad!=NULL)
{ while($cantidad>$i)
{ $row=mysql_fetch_array($query);
$i++;}
}
$i=0;
while($row=mysql_fetch_array($query) and $i<$de_cuanto)
{
?>
Título: echo $row["titulo_doc"]; ?> |
|
|
Descripción: echo $row["descripcion"]; ?> |
|
Descargar: " target="_blank"> echo ($row["link_doc"]) ?> |
|
|
echo "";
echo ' | ';
echo " ";
echo "";
echo '';
if(strcasecmp ($row["presentacion"],"")!=0)
{
}
if(strcasecmp (strtolower($row["tesis"]),"no")!=0)
{
}
echo ' | ';
echo ' ';
?>
} ?>
|
mysql_free_result($query);
?>
Ver mas Documentos...
Páginas 1 2 3 4 5 6 7
if($cantidad>$canta-$de_cuanto-1)
{ $cantidad-=$de_cuanto;
// echo ($cantidad);
echo ' |
|
SIGUIENTE | ';
}
else{
if($cantidad<0+1)
{ $cantidad+=$de_cuanto;
echo 'ANTERIOR |
|
SIGUIENTE | ';
}else{
if($cantidad>=0 and $cantidad <= $canta)
{
?>
|
|
SIGUIENTE |
}
}
}
?>
La Ubicacion fisica del material se encuentra
en la cooperacion Italiana
|
|
|
|
|
|