Execute("SELECT * FROM biblioteca WHERE id = " . ($rs_arquivonoticias__MMColParam) . " ORDER BY id DESC") or DIE($conncultura->ErrorMsg());
$rs_arquivonoticias_numRows=0;
$rs_arquivonoticias__totalRows=$rs_arquivonoticias->RecordCount();
?>RecordCount();
// set the number of rows displayed on this page
if ($rs_arquivonoticias_numRows < 0) { // if repeat region set to all records
$rs_arquivonoticias_numRows = $rs_arquivonoticias_total;
} else if ($rs_arquivonoticias_numRows == 0) { // if no repeat regions
$rs_arquivonoticias_numRows = 1;
}
// set the first and last displayed record
$rs_arquivonoticias_first = 1;
$rs_arquivonoticias_last = $rs_arquivonoticias_first + $rs_arquivonoticias_numRows - 1;
// if we have the correct record count, check the other stats
if ($rs_arquivonoticias_total != -1) {
$rs_arquivonoticias_numRows = min($rs_arquivonoticias_numRows, $rs_arquivonoticias_total);
$rs_arquivonoticias_first = min($rs_arquivonoticias_first, $rs_arquivonoticias_total);
$rs_arquivonoticias_last = min($rs_arquivonoticias_last, $rs_arquivonoticias_total);
}
?> $rs_arquivonoticias_total) {
$rs_arquivonoticias_numRows = $rs_arquivonoticias_total;
}
// set the first and last displayed record
$rs_arquivonoticias_last = min($rs_arquivonoticias_first + $rs_arquivonoticias_numRows - 1, $rs_arquivonoticias_total);
$rs_arquivonoticias_first = min($rs_arquivonoticias_first, $rs_arquivonoticias_total);
?>= $MM_rsCount || $MM_offset == -1) { // past end or move last
if (($MM_rsCount % $MM_size) != 0) { // last page not a full repeat region
$MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
}
else {
$MM_offset = $MM_rsCount - $MM_size;
}
}
}
// move the cursor to the selected record
for ($i=0;!$MM_rs->EOF && ($i < $MM_offset || $MM_offset == -1); $i++) {
$MM_rs->MoveNext();
}
if ($MM_rs->EOF) $MM_offset = $i; // set MM_offset to the last possible record
}
?>EOF && ($MM_size < 0 || $i < $MM_offset + $MM_size); $i++) {
$MM_rs->MoveNext();
}
// if we walked off the end of the recordset, set MM_rsCount and MM_size
if ($MM_rs->EOF) {
$MM_rsCount = $i;
if ($MM_size < 0 || $MM_size > $MM_rsCount) $MM_size = $MM_rsCount;
}
// if we walked off the end, set the offset based on page size
if ($MM_rs->EOF && !$MM_paramIsDefined) {
if (($MM_rsCount % $MM_size) != 0) { // last page not a full repeat region
$MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
} else {
$MM_offset = $MM_rsCount - $MM_size;
}
}
// reset the cursor to the beginning
$MM_rs->MoveFirst();
// move the cursor to the selected record
for ($i=0; !$MM_rs->EOF && $i < $MM_offset; $i++) {
$MM_rs->MoveNext();
}
}
?>= $MM_rsCount);
?> 0) $MM_keepBoth = substr($MM_keepBoth, 1);
if (strlen($MM_keepURL) > 0) $MM_keepURL = substr($MM_keepURL, 1);
if (strlen($MM_keepForm) > 0) $MM_keepForm = substr($MM_keepForm, 1);
?> 1) {
$MM_moveParam = "offset";
if (strlen($MM_keepMove)> 0) {
$params = explode("&", $MM_keepMove);
$MM_keepMove = "";
for ($i=0; $i < sizeof($params); $i++) {
list($nextItem) = explode("=", $params[$i]);
if (strtolower($nextItem) != $MM_moveParam) {
$MM_keepMove.="&".$params[$i];
}
}
if (strlen($MM_keepMove) > 0) $MM_keepMove = substr($MM_keepMove, 1);
}
}
// set the strings for the move to links
if (strlen($MM_keepMove) > 0) $MM_keepMove.="&";
$urlStr = $PHP_SELF."?".$MM_keepMove.$MM_moveParam."=";
$MM_moveFirst = $urlStr."0";
$MM_moveLast = $urlStr."-1";
$MM_moveNext = $urlStr.($MM_offset + $MM_size);
$MM_movePrev = $urlStr.(max($MM_offset - $MM_size,0));
?>
Fields("titulo")?>. Fields("categoria")?>. Biblioteca de culturagalega.org
Culturagalega.org Pon o teu alcance todos os documentos e libros electrónicos
de referencia sobre a cultura galega que poderas atopar no portal.
Todos eles están en formatopdf,
de tal xeito que precisarás o plug-in de
Adobe Acrobatpara poder leelos.
Axuda Se non sabes como ler os nosos libros electrónicos,
podes consultar o noso titorial de axuda.
Servicio Se formas parte dunha entidade, asociación ou grupo
e queres que algunha das túas publicacións figure na nosa biblioteca,
envíanos un correo a redaccion@culturagalega.org.