include "smiley.php"; include "admin/connect.php"; $getvars="SELECT * from bl_vars"; $getvars2=mysql_query($getvars) or die("Could not get variables"); $getvars3=mysql_fetch_array($getvars2); print "$getvars3[title]";// *****************oldal cim kiirása******************************** include "header.php"; print ""; print ""; //******************************************************************************************************************** print "
"; if($getvars3[showpic]==1) { print ""; print ""; print "
Kép
"; print ""; print "


"; } //****************************************************************************************************************** print ""; print "
Témák
    "; print "
  • Kezdőoldal
  • "; print "
  • Főtéma
  • "; $getcats="SELECT * from bl_cats order by catname ASC"; $getcats2=mysql_query($getcats) or die("COuld not get cats"); while($getcats3=mysql_fetch_array($getcats2)) { $getcats3[catname]=stripslashes($getcats3[catname]); print "
  • $getcats3[catname]
  • "; } print "


"; //********************************************************************************************************************** if($getvars3[useguestbook]==1) { print ""; print ""; print "
Vendégkönyv
"; print "
"; print "
"; print "
"; } print "

"; //*************************************************************************************************************** print ""; print "
Keresés archívumba
"; print "
"; print "
Év négy számjeggyel"; print "
"; print "Hónap:
"; print "
"; print "



"; //*************************************************************************************************************** if($getvars3[showcalendar]==1) { include "calendar.php"; } print "
"; print ""; print "
Photo album
"; $count=0; if(!isset($_GET['start'])) { $start=0; } else { $start=$_GET['start']; } $getmaincats="SELECT * from bl_photos order by mainpath ASC limit $start,21"; $getmaincats2=mysql_query($getmaincats) or die("Could not get root categories"); print ""; while($getmaincats3=mysql_fetch_array($getmaincats2)) { if($count%3==0) { print "
"; } else if($count%3==1) { print ""; } else { print ""; } $count++; } print "

  
$getmaincats3[mainpath]

  
$getmaincats3[mainpath]


$getmaincats3[mainpath]
"; print "

"; $order="SELECT * from bl_photos order by mainpath ASC"; $order2=mysql_query($order) or die(mysql_error()); $d=0; $f=0; $g=1+$d/$numentries; $num=mysql_num_rows($order2); print "Oldal: "; $prev=$start-$numentries; $next=$start+$numentries; if($start>=$numentries) { print "<< "; } while($order3=mysql_fetch_array($order2)) { if($f>=$start-3*$numentries&&$f<=$start+7*$numentries) { if($f%$numentries==0) { print "$g "; } } $d=$d+1; $g=1+$d/$numentries; $f++; } if($start<=$num-$numentries) { print ">> "; } print "


"; print "
"; //************************************************************photo kiirás vége******************************************** include "footer.php"; print "

"; ?>