"; echo "
".$lang['photogallery']['hbrowsegallery']."
"; echo "
"; $galleryfilename = str_replace(dirname($_SERVER["PHP_SELF"])."/", "", $_SERVER["PHP_SELF"]); if($parent_id==""){ $parent_id=0; } $query = "select distinct photo_category.category_id, name, parent_id from photo_category inner join photo_access on (photo_category.category_id=photo_access.category_id and member_id='$cookie_photomemberid') or (showprivate!='Yes') where (parent_id=$parent_id) order by sequence"; $result = mysql_query($query,$oPhoto_Category->db); while($myrow=mysql_fetch_row($result)){ $oPhoto_Category->data = array("parent_id","name"); $oPhoto_Category->where = "parent_id=$myrow[0]"; $resultchild = $oPhoto_Category->getList(); $myrow[1] = stripslashes($myrow[1]); //Vasemman reunan linkit if(mysql_num_rows($resultchild)!=0){ echo "
$myrow[1]
"; }else{ echo "
$myrow[1]
"; } mysql_free_result($resultchild); } mysql_free_result($result); $oPhoto_Category->data = array("parent_id","name"); $oPhoto_Category->where = "category_id=$parent_id"; $oPhoto_Category->order = ""; $result = $oPhoto_Category->getList(); if($myrow=mysql_fetch_row($result)){ echo "
".$lang['photogallery']['hbacktop']."
"; } mysql_free_result($result); echo "
"; echo "
"; if($oSystem->getValue("photo_randomblock")=="Yes"){ echo "
".$lang['photogallery']['hthumbnail']."
"; echo "
"; $latestno = $oSystem->getValue("photo_randomno"); $sql = "select photo_id,title,thumbnail,photo from photo_gallery inner join photo_category on (photo_gallery.category_id=photo_category.category_id and showprivate!='Yes') where showphoto='Yes' order by rand() limit 0,$latestno"; $result = mysql_query($sql,$oPhoto_Gallery->db); while($myrow=mysql_fetch_row($result)){ $myrow[1] = stripslashes($myrow[1]); if($myrow[2]!=""){ $thumbnail = "
"; }else{ $thumbnail = "
"; } if($oSystem->getValue("photo_popup")!="Yes"){ echo "
$thumbnail
$myrow[1]
"; }else{ echo "
$thumbnail
$myrow[1]
"; } } mysql_free_result($result); echo "
"; } if($oSystem->getValue("photo_latestblock")=="Yes"){ echo "
".$lang['photogallery']['hlatest']."
"; echo "
"; $latestno = $oSystem->getValue("photo_latestno"); $sql = "select photo_id,title,thumbnail,photo from photo_gallery inner join photo_category on (photo_gallery.category_id=photo_category.category_id and showprivate!='Yes') where showphoto='Yes' order by photo_id desc limit 0,$latestno"; $result = mysql_query($sql,$oPhoto_Gallery->db); while($myrow=mysql_fetch_row($result)){ if($myrow[2]!=""){ $thumbnail = "
"; }else{ $thumbnail = "
"; } $myrow[1] = stripslashes($myrow[1]); if($oSystem->getValue("photo_popup")!="Yes"){ echo "
$thumbnail
$myrow[1]
"; }else{ echo "
$thumbnail
$myrow[1]
"; } } mysql_free_result($result); echo "
"; } if($oSystem->getValue("photo_memberlogin")=="Yes"){ echo "
"; if((($cookie_photomemberid=="" || $cookie_photomemberid=="empty") || $loginaction=="logout") && $loginsuccess!="yes"){ echo "
".$lang['photogallery']['hmember']."
"; if($loginsuccess=="no"){ echo "
".$lang['photogallery']['hinvalidlogin']."
"; } echo "
"; echo "
"; echo "
"; echo "
".$lang['photogallery']['husername']."
"; echo "
".$lang['photogallery']['hpassword']."
"; echo "
"; echo "
".$lang['photogallery']['hforgetpass']."
"; echo "
"; } if((($cookie_photomemberid!="" && $cookie_photomemberid!="empty") || $loginsuccess=="yes") && $loginaction!="logout"){ echo "
".$lang['photogallery']['hyouraccount']."
"; echo "
"; echo "
".$lang['photogallery']['heditinfo']."
"; echo "
".$lang['photogallery']['hlogout']."
"; echo "
"; } echo "
"; } echo "
"; ?>
Till framsidan
Back To Top>
NK4 Warm
No 16 Of 29
Prev
Next
NK4 Warm
Prev
Next
Champion Door Ab
Pajatie 1
85500 Nivala
Finland, Europe
Tel. +358 8 445 8800
Fax +358 8 442 956
info@championdoor.com
www.championdoor.com