";
//echo "";
echo "
";
echo "Totalt {$total_records} poster. ";
$startnr = $start_from + 1;
echo "$num_rows poster visas på denna sida. Första post: $startnr, sidan $sida av $total_pages. ";
//echo "Information om arkivkorten hittas här . ";
if($total_pages>1){
echo "Länkar till de övriga sidorna finns nederst på den här sidan. ";
}
$forstapost = $start_from;
$sistapost = $num_rows-1 + $forstapost;
//$mittenpost = $forstapost + ceil(($sistapost-$forstapost)/2);
//Jump to Google
echo "";
//###############################################################################################################################
//Först placeras cursorn på startpunkt här...
echo "Starta / Visa första post » ";
//echo "Starta / Visa första post » ";
//echo "Gå till sidans mitt... ";
echo " ";
?>
0) {
$foregpost = $i-1 + $start_from;
}
$postnum = $i+1 + $start_from;
$ipostnum = $postnum-1;
$strAlan = mysql_result($result,$i,"alan");
$strAkod = mysql_result($result,$i,"akod");
$strAurv = mysql_result($result,$i,"aurv");
$strAkat = mysql_result($result,$i,"akat");
$strAdok = mysql_result($result,$i,"adok");
$strAlfk = mysql_result($result,$i,"alfk");
$strAort = mysql_result($result,$i,"aort");
$strAsok = mysql_result($result,$i,"asok");
$strArub = mysql_result($result,$i,"arub");
$strAlok = mysql_result($result,$i,"alok");
$strAhrd = mysql_result($result,$i,"ahrd");
$strAlkp = mysql_result($result,$i,"alkp");
$strAtol = mysql_result($result,$i,"atol");
$strAbea = mysql_result($result,$i,"abea");
$strAbeb = mysql_result($result,$i,"abeb");
$strAtxt = mysql_result($result,$i,"atxt");
$strApub = mysql_result($result,$i,"apub");
$strAnum = mysql_result($result,$i,"anum");
$strAlan = trim($strAlan);
$strAkod = trim($strAkod);
$strAurv = trim($strAurv);
$strAkat = trim($strAkat);
$strAdok = trim($strAdok);
$strAlfk = trim($strAlfk);
$strAort = trim($strAort);
$strAsok = trim($strAsok);
$strArub = trim($strArub);
$strAlok = trim($strAlok);
$strAhrd = trim($strAhrd);
$strAlkp = trim($strAlkp);
$strAtol = trim($strAtol);
$strAbea = trim($strAbea);
$strAbeb = trim($strAbeb);
$strAtxt = trim($strAtxt);
$strApub = trim($strApub);
$strAnum = trim($strAnum);
$bildmapp_htmlsid = $strAkod . $strAurv;
$bildsubmapp_bild = $strAkod . $strAurv . "/" . $strAkat . "/" . $strAdok . ".pdf";
$bild_hela_adress = "../_s2" . $strAlan . "001/" . $bildsubmapp_bild;
$bild_hela_adress2 = "_s2" . $strAlan . "001/" . $bildsubmapp_bild;
//$urlbild = "http://www2.sofi.se/SOFIU/topo1951/_cdweb/" . $bild_hela_adress2;
$urlbild = $host . $bild_hela_adress2;
echo "";
$Avd = substr($strAkat,-1);
echo " ";
echo " ";
echo " ";
//echo " Post: {$postnum}. {$strArub} | {$strAlok} ";
//echo "Post: {$postnum}. {$strArub} | {$strAlok} ";
//echo "Post: {$postnum}. {$strArub} | {$strAlok} ";
echo "Post: {$postnum}. | ";
echo "{$strAort} | {$strAlfk} län | Landskapet {$strAlkp} | Avd {$Avd}";
echo "";
//echo " | Sidtopp ";
echo " | Sidtopp ";
//echo " | Sidslut ";
echo " | Sidslut ";
//echo " |¦| Avsluta ";
echo " | Avsluta ";
echo "";
echo " ";
echo " ";
$i++;
}
mysql_free_result($result);
mysql_close($db);
echo " ";
echo "Sidor: ";
$svans = str_replace("'","|",$svans);
for ($j=1; $j<=$total_pages; $j++) {
$start_from = ($j-1) * $pagerows;
$sida = $j;
//echo "".$j." ";
//echo "".$j." ";
echo "".$j." ";
if ($j < $total_pages) echo ", ";
}
?>
^Sidtopp
Avsluta / Gå till söksidan » ";
?>