Hamis
Fémpénzek
1848-ig | Forint / Krajcár
(1848-1892)
| Korona
(1892-1925)
| Pengő
(1926-1946)
| Forint
(1946-tól)
| Egyéb
Hamis
Papírpénzek
1848-ig | Forint / Krajcár
(1848-1892)
| Korona
(1892-1925)
| Pengő
(1926-1946)
| Forint
(1946-tól)
| Egyéb

here $fontfacestart='';// start tag of fontface definition $fontfaceend=''; // end tag of fontface definition $backmessage="ABLAK BEZÁRÁSA"; // Textmessage below big picture $backmessage2="KÜLDD EL BARÁTODNAK, BARÁTNŐDNEK KÉPESLAPKÉNT!"; // the directory name $handle=opendir('.'); // initialize variables $pics=array(); $count=0; // read directory into pics array while (($file = readdir($handle))!==false) { // filter for jpg, gif or png files... if (substr($file,-4) == ".jpg" || substr($file,-4) == ".gif" || substr($file,-4) == ".png" || substr($file,-4) == ".JPG" || substr($file,-4) == ".GIF" || substr($file,-4) == ".PNG"){ // you can apply other filters here... // skip non-thumbnail files if (substr($file,0,3) == "tn_"){ $pics[$count] = $file; $count++; } // don't forget to close the filter conditions here! } } closedir($handle); // done reading, sort the filenames alphabetically, shade these lines if you want no sorting sort($pics); reset($pics); // Big picture displayer (tweak HTML if needed) //IIIIIITTTTTTT //$nagykep 4 helyen van, azt ki kell cserélni $_GET['nagykep']-re. ///// //if ($nagykep){ if ($_GET['nagykep']){ echo '
'; // if the name display is enabled, print the image name ////// //if ($showbigname == 1){echo "$fontfacestart$nagykep$fontfaceend

\n";} if ($showbigname == 1){echo "$fontfacestart$fontfaceend

\n";} // start table echo ''; echo ""; ////// ///echo ''; echo ''; echo"\n"; echo ''; echo ""; echo '
'.$fontfacestart.''.$nagykep.''.$fontfaceend.''.$fontfacestart.''.$_GET['nagykep'].'

'.$fontfaceend.'


Teljes mérethez klikk ide!'; echo"\n"; echo '


'; // end table and display clickbackmessage echo "\n
$fontfacestart$backmessage$fontfaceend


\n\n"; } // If there is no big picture to display, write the thumbnail table else{ // start table, if you want cellpadding, cellspacing, colors, set them here echo '
'; echo ""; // calculate percentage definition of the cell $frac=ceil(100/$cells); // if all together are more than 100% decrease them (avoiding 34% at 3 cells) if (($frac*$cells)>100) $frac--; // start loop for all images for ($f=0;$f<=sizeof($pics)-1;$f++){ // is it the last cell? if so, close row, add a blank row and start a new one $isbr = strpos((($f)/$cells),"."); if (!$isbr && ($f!=0)){echo "\n\n\n";} // add a linebreak the first time, just cosmetics :) if ($f==0){echo "\n";} // thumbnail cell, if you want background color, add after the align echo ''; echo"\n"; } // close table echo '

'.$fontfacestart; // when there is no big picture display selected, link to the image directly if ($justimage==1){echo'';} // otherwise trigger the big picture display routine else{echo'';} // thumbnail display echo''.$pics[$f].'
'; // if text display is selected, do so if ($showsmallname==1){echo substr($pics[$f],3);} echo $fontfaceend.'
'; } ?>
2008-2016. Hamis Pénzek