include("inc/photoData.php");
////////////////////////////////////////////////////////////////////////////////
// SELECT COLLECTIONDATA
$selectCollection = "select fID, fTitleGE, date_format(fStartDate, '%Y'), date_format(fEndDate, '%Y')
from comCollection
where fID = ".$CollectionID;
$collectionData = @mysql_query($selectCollection,$dbh);
$collectionTitle = @mysql_result($collectionData, 0, 1);
$collectionDateBegin = @mysql_result($collectionData, 0, 2);
$collectionDateEnd = @mysql_result($collectionData, 0, 3);
// COUNT PHOTOS IN SELECTED COLLECTION
$selectCollectionCount = "select fo.fID, fo.frCollectionID, count(fo.frCollectionID), fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCollectionID = ".$CollectionID."
group by fo.frCollectionID";
$collectionCountData = @mysql_query($selectCollectionCount,$dbh);
$collectionCount = @mysql_result($collectionCountData, 0, 2);
// SELECT COLLECTION SLIDE
$selectCollectionSlide = "select fo.fID as FotoID, fo.frCollectionID, fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCollectionID = ".$CollectionID.$orderParam.$orderDir;
$collectionSlideData = @mysql_query($selectCollectionSlide,$dbh);
while ($collectionSlide = @mysql_fetch_array($collectionSlideData)) {
$cs++;
if ($collectionSlide["FotoID"] == $fotoUIN) {
$collectionSlideNr = $cs;
}
}
////////////////////////////////////////////////////////////////////////////////
// USED CAMERADATA
$selectCamera = "select fID, fTitle
from comCamera
where fID = ".$CameraID;
$cameraData = @mysql_query($selectCamera,$dbh);
$cameraTitle = @mysql_result($cameraData, 0, 1);
// COUNT PHOTOS TAKEN WITH THIS CAMERA
$selectCameraCount = "select fo.fID, fo.frCameraID, count(fo.frCameraID), fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCameraID = ".$CameraID."
group by fo.frCameraID";
$cameraCountData = @mysql_query($selectCameraCount,$dbh);
$cameraCount = @mysql_result($cameraCountData, 0, 2);
// SELECT CAMERA SLIDE
$selectCameraSlide = "select fo.fID as FotoID, fo.frCameraID, fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCameraID = ".$CameraID.$orderParam.$orderDir;
$cameraSlideData = @mysql_query($selectCameraSlide,$dbh);
while ($cameraSlide = @mysql_fetch_array($cameraSlideData)) {
$cas++;
if ($cameraSlide["FotoID"] == $fotoUIN) {
$cameraSlideNr = $cas;
}
}
////////////////////////////////////////////////////////////////////////////////
// GET GEOGRAPHICAL DATA: STATE, COUNTRY, CONTINENTREGION, CONTINENT
$selectGeoInformation = "select st.fID, st.fTitle, st.frCountryID, co.fID, co.fTitleGE, co.frContinentID, coco.fID, coco.frCountryID, coco.frContinentRegionID as ContinentRegionID, cr.fID, cr.fTitleGE as continentRegionTitle, cr.frContinentID, ct.fID, ct.fTitleGE
from comState st
inner join comCountry co on co.fID = st.frCountryID
inner join comCountry_ContinentRegion coco on coco.frCountryID = co.fID
inner join comContinentRegion cr on cr.fID = coco.frContinentRegionID
inner join comContinent ct on ct.fID = cr.frContinentID
where st.fID = ".$StateID;
$geoInformationData = @mysql_query($selectGeoInformation,$dbh);
$continentRegionData = @mysql_query($selectGeoInformation,$dbh);
$stateTitle = @mysql_result($geoInformationData, 0, 1);
$CountryID = @mysql_result($geoInformationData, 0, 3);
$countryTitle = @mysql_result($geoInformationData, 0, 4);
$ContinentID = @mysql_result($geoInformationData, 0, 12);
$continentTitle = @mysql_result($geoInformationData, 0, 13);
///////////
// GET GEOGRAPHICAL DATA: ADDITIONAL CONTINENT INFORMATION
// COUNT PHOTOS FROM SELECTED CONTINENT
///////////
$selectContinentCount = "select fo.fID, fo.frStateID, st.fID, st.frCountryID, co.fID, co.frContinentID, count(co.frContinentID), fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join comState st on st.fID = fo.frStateID
inner join comCountry co on co.fID = st.frCountryID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and co.frContinentID = ".$ContinentID."
group by co.frContinentID";
$continentCountData = @mysql_query($selectContinentCount,$dbh);
$continentCount = @mysql_result($continentCountData, 0, 6);
// SELECT CONTINENT SLIDE
$selectContinentSlide = "select fo.fID as FotoID, fo.frStateID, st.fID, st.frCountryID, co.fID, co.frContinentID, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join comState st on st.fID = fo.frStateID
inner join comCountry co on co.fID = st.frCountryID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and co.frContinentID = ".$ContinentID.$orderParam.$orderDir;
$continentSlideData = @mysql_query($selectContinentSlide,$dbh);
while ($continentSlide = @mysql_fetch_array($continentSlideData)) {
$cos++;
if ($continentSlide["FotoID"] == $fotoUIN) {
$continentSlideNr = $cos;
}
}
///////////
// GET GEOGRAPHICAL DATA: ADDITIONAL CONTINENT INFORMATION
// COUNT PHOTOS FROM SELECTED COUNTRY
///////////
$selectCountryCount = "select fo.fID, fo.frStateID, st.fID, st.frCountryID, count(st.frCountryID), fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join comState st on st.fID = fo.frStateID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and st.frCountryID = ".$CountryID."
group by st.frCountryID";
$countryCountData = @mysql_query($selectCountryCount,$dbh);
$countryCount = @mysql_result($countryCountData, 0, 4);
// SELECT COUNTRY SLIDE
$selectCountrySlide = "select fo.fID as FotoID, fo.frStateID, st.fID, st.frCountryID, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join comState st on st.fID = fo.frStateID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and st.frCountryID = ".$CountryID.$orderParam.$orderDir;
$countrySlideData = @mysql_query($selectCountrySlide,$dbh);
while ($countrySlide = @mysql_fetch_array($countrySlideData)) {
$cns++;
if ($countrySlide["FotoID"] == $fotoUIN) {
$countrySlideNr = $cns;
}
}
///////////
// GET GEOGRAPHICAL DATA: ADDITIONAL STATE INFORMATION
// COUNT PHOTOS FROM SELECTED STATE
///////////
$selectStateCount = "select fo.fID, fo.frStateID, count(fo.frStateID), fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fo.frStateID = ".$StateID."
group by fo.frStateID";
$stateCountData = @mysql_query($selectStateCount,$dbh);
$stateCount = @mysql_result($stateCountData, 0, 2);
// SELECT STATE SLIDE
$selectStateSlide = "select fo.fID as FotoID, fo.frStateID, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fo.frStateID = ".$StateID.$orderParam.$orderDir;
$stateSlideData = @mysql_query($selectStateSlide,$dbh);
while ($stateSlide = @mysql_fetch_array($stateSlideData)) {
$sts++;
if ($stateSlide["FotoID"] == $fotoUIN) {
$stateSlideNr = $sts;
}
}
////////////////////////////////////////////////////////////////////////////////
// GET GEOGRAPHICAL DATA: CITY
$selectCity = "select fID, fTitle
from comCity
where fID = ".$CityID;
$cityData = @mysql_query($selectCity,$dbh);
$cityTitle = @mysql_result($cityData, 0, 1);
// COUNT PHOTOS FROM SELECTED CITY
$selectCityCount = "select fo.fID, fo.frCityID, count(fo.frCityID), fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCityID = ".$CityID."
group by fo.frCityID";
$cityCountData = @mysql_query($selectCityCount,$dbh);
$cityCount = @mysql_result($cityCountData, 0, 2);
// SELECT CITY SLIDE
$selectCitySlide = "select fo.fID as FotoID, fo.frCityID, fo.fPublic, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where".$basic." and fo.frCityID = ".$CityID.$orderParam.$orderDir;
$citySlideData = @mysql_query($selectCitySlide,$dbh);
while ($citySlide = @mysql_fetch_array($citySlideData)) {
$cis++;
if ($citySlide["FotoID"] == $fotoUIN) {
$citySlideNr = $cis;
}
}
////////////////////////////////////////////////////////////////////////////////
// GET GEOGRAPHICAL DATA: DISTRICT
$selectDistrict = "select fID, fTitle
from comDistrict
where fID = ".$DistrictID;
$districtData = @mysql_query($selectDistrict,$dbh);
$districtTitle = @mysql_result($districtData, 0, 1);
// COUNT PHOTOS FROM SELECTED DISTRICT
$selectDistrictCount = "select fo.fID, fo.frDistrictID, count(fo.frDistrictID), fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fo.frDistrictID = ".$DistrictID."
group by fo.frDistrictID";
$districtCountData = @mysql_query($selectDistrictCount,$dbh);
$districtCount = @mysql_result($districtCountData, 0, 2);
// SELECT DISTRICT SLIDE
$selectDistrictSlide = "select fo.fID as FotoID, fo.frDistrictID, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fo.frDistrictID = ".$DistrictID.$orderParam.$orderDir;
$districtSlideData = @mysql_query($selectDistrictSlide,$dbh);
while ($districtSlide = @mysql_fetch_array($districtSlideData)) {
$dis++;
if ($districtSlide["FotoID"] == $fotoUIN) {
$districtSlideNr = $dis;
}
}
////////////////////////////////////////////////////////////////////////////////
// GET GEOGRAPHICAL DATA: PLACE
$selectPlace = "select pl.fID, pl.fTitle as Place, fopl.frPlaceID as PlaceID, fopl.frFotoID, fo.fID, fows.frFotoID, fows.frWebsiteID, pl.fStatus
from comPlace pl
inner join tb_Foto_Place fopl on fopl.frPlaceID = pl.fID
inner join tb_Foto fo on fo.fID = fopl.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fo.fID = ".$fotoUIN."
order by pl.fTitle";
$placeData = @mysql_query($selectPlace,$dbh);
$placeCheckData = @mysql_query($selectPlace,$dbh);
$placeCheck = @mysql_result($placeCheckData, 0, 2);
// COUNT PHOTOS FROM SELECTED PLACE
$selectPlaceCount = "select pl.fID, fopl.frPlaceID, count(fopl.frPlaceID), fopl.frFotoID, fo.fID, fo.fPublic, fows.frFotoID, fows.frWebsiteID
from comPlace pl
inner join tb_Foto_Place fopl on fopl.frPlaceID = pl.fID
inner join tb_Foto fo on fo.fID = fopl.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fopl.frPlaceID = ".$PlaceID."
group by pl.fID";
$placeCountData = @mysql_query($selectPlaceCount,$dbh);
$placeCount = @mysql_result($placeCountData, 0, 2);
// SELECT PLACE SLIDE
$selectPlaceSlide = "select fo.fID as FotoID, fo.frStateID, fopl.frFotoID, fopl.frPlaceID, fows.frFotoID, fows.frWebsiteID
from tb_Foto fo
inner join tb_Foto_Place fopl on fopl.frFotoID = fo.fID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fopl.frPlaceID = ".$PlaceID.$orderParam.$orderDir;
$placeSlideData = @mysql_query($selectPlaceSlide,$dbh);
while ($placeSlide = @mysql_fetch_array($placeSlideData)) {
$pcs++;
if ($placeSlide["FotoID"] == $fotoUIN) {
$placeSlideNr = $pcs;
}
}
////////////////////////////////////////////////////////////////////////////////
// SELECT KEYWORDS
$selectKeywords = "select kw.fTitle as Keyword, fokw.frKeywordID as KeywordID, fokw.frFotoID, fo.fID, fows.frFotoID, fows.frWebsiteID, kw.fStatus, kw.frTypeID
from comKeyword kw
inner join tb_Foto_Keyword fokw on fokw.frKeywordID = kw.fID
inner join tb_Foto fo on fo.fID = fokw.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and kw.frTypeID = 0 and fo.fID = ".$fotoUIN."
order by kw.fTitle";
$keywordsData = @mysql_query($selectKeywords,$dbh);
$keywordsCheckData = @mysql_query($selectKeywords,$dbh);
$keywordsCheck = @mysql_result($keywordsCheckData, 0, 2);
$keywordSlideNr = keywordSlide($KeywordID,$basic,$orderParam,$fotoUIN);
////////////////////////////////////////////////////////////////////////////////
// SELECT MAIN KEYWORDS
$selectMainKeywords = "select kw.fTitle as Keyword, fokw.frKeywordID as KeywordID, fokw.frFotoID, fo.fID, fows.frFotoID, fows.frWebsiteID, kw.fStatus, kw.frTypeID, fokw.fStatusID
from comKeyword kw
inner join tb_Foto_Keyword fokw on fokw.frKeywordID = kw.fID
inner join tb_Foto fo on fo.fID = fokw.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fokw.fStatusID = 1 and kw.frTypeID = 0 and fo.fID = ".$fotoUIN."
order by kw.fTitle";
$mainKeywordsData = @mysql_query($selectMainKeywords,$dbh);
$mainKeywordsCheckData = @mysql_query($selectMainKeywords,$dbh);
$mainKeywordsCheck = @mysql_result($mainKeywordsCheckData, 0, 2);
$mainKeywordSlideNr = mainKeywordSlide($MainKeywordID,$basic,$orderParam,$fotoUIN);
////////////////////////////////////////////////////////////////////////////////
// SELECT PHOTOSERIES
$selectPhotoseries = "select kw.fTitle as Title, fokw.frKeywordID as PhotoseriesID, fokw.frFotoID, fo.fID, fows.frFotoID, fows.frWebsiteID, kw.fStatus as Status, kw.frTypeID
from comKeyword kw
inner join tb_Foto_Keyword fokw on fokw.frKeywordID = kw.fID
inner join tb_Foto fo on fo.fID = fokw.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and kw.frTypeID = 1 and fo.fID = ".$fotoUIN."
order by kw.fTitle";
$photoseriesData = @mysql_query($selectPhotoseries,$dbh);
$photoseriesCheckData = @mysql_query($selectPhotoseries,$dbh);
$photoseriesCheck = @mysql_result($photoseriesCheckData, 0, 2);
$photoseriesSlideNr = photoseriesSlide($PhotoseriesID,$basic,$orderParam,$fotoUIN);
////////////////////////////////////////////////////////////////////////////////
// SELECT FRIENDS
$selectFriends = "select fr.fNickname as Nick, fofr.frFriendID as FriendID, fofr.frFotoID, fo.fID
from comFriend fr
inner join tb_Foto_Friend fofr on fofr.frFriendID = fr.fID
inner join tb_Foto fo on fo.fID = fofr.frFotoID
where fo.fID = ".$fotoUIN."
group by fr.fID
order by fr.fNickname
asc";
$friendsData = @mysql_query($selectFriends,$dbh);
$friendsCheckData = @mysql_query($selectFriends,$dbh);
$friendsCheck = @mysql_result($friendsCheckData, 0, 2);
$friendSlideNr = friendSlide($FriendID,$basic,$orderParam,$fotoUIN);
////////////////////////////////////////////////////////////////////////////////
// GET GUESTBOOK ENTRIES
$select_comment = "select fName as Name, fComment as Kommentar, frFotoID, date_format(fCreated, '%d.%m.%Y um %H:%i') as Datum, fCreated, fWebsite as Website, fID as CommentID
from comGuestbook
where frFotoID = ".$fotoUIN."
order by fCreated
desc";
$comment_data = @mysql_query($select_comment,$dbh);
$comment_check_data = @mysql_query($select_comment,$dbh);
$comment_check = @mysql_result($comment_check_data, 0, 0);
?>
if ($_GET["FotoID"] == ""): ?>
elseif ($NoFoto == "1"): ?>
if ($nextFoto != "") {
$FotoID = $nextFoto;
}
elseif ($prevFoto != "") {
$FotoID = $prevFoto;
}
?>
if (($prevFoto == "") && ($nextFoto == "")): ?>
else: ?>
endif; ?>
endif; ?>
if ($testServer == ""): ?>
endif; ?>
if (($DebugID == 0) && ($testServer != "")): ?>
endif; ?>
if ($NoFoto != "1"): ?>
if ($front == ""): ?>
endif; ?>
if ($SortID == "1"): ?>
else: ?>
if ($firstFoto != $FotoID): ?>
endif; ?>
if ($lastFoto != $FotoID): ?>
endif; ?>
endif; ?>
if ($Business != ""): ?>
if ($captionText_GE != ""): ?>
if ($cityTitle != ""): ?> else: ?> endif; ?>, - , :
endif; ?>
else: ?>
if ($fotoTitle != ""): ?>
endif; ?>
if ($fotoStory != ""): ?>
endif; ?>
endif; ?>
if ((($captionText_GE == "") && ($Business == 1)) || (($fotoStory == "") && ($Business != 1))): ?>
if ($cityTitle != ""): ?> else: ?> endif; ?>, - ,
endif; ?>
if ((($CollectionID != "") && ($CollectionID != 1) && ($collectionCount > 6)) || ($photoseriesCheck != "")): ?>
if (($CollectionID != "") && ($CollectionID != 1) && ($collectionCount > 6)): ?>
class="filter" endif; ?>> if ($collectionDateBegin != "0000"): ?> ( if ($collectionDateBegin == $collectionDateEnd): ?>) else: ?> - if ($collectionDateEnd != "0000"): ?>) else: ?>heute) endif; ?> endif; ?> endif; ?> if ($collection != ""): ?> [/] endif; ?> | Alle Reisen
endif; ?>
if ($photoseriesCheck != ""): ?>
while ($photoseriesRow = @mysql_fetch_array($photoseriesData)):
$PhotoseriesID = $photoseriesRow["PhotoseriesID"];
$photoseriesCount = @mysql_result(photoseriesCount($PhotoseriesID,$basic), 0, 2);
if ($hidePrivateData == 1) {
$photoseriesRow["Status"] = 1;
}
if ($photoseriesRow["Status"] == 1):
$i++;
if ($i == 1): ?> endif; ?> if ($i >= "2"): ?>, endif; ?> class="filter" endif; ?>> if ($PhotoseriesID != $photoseries): ?>() elseif ($PhotoseriesID == $photoseries): ?> [/] endif; ?> endif; ?> endwhile; ?>
| Alle Fotostrecken
endif; ?>
endif; ?>
class="filter" endif; ?>> if ($continent != ""): ?> [/] else: ?> () endif; ?> >
$i = 0;
while ($continentRegion = @mysql_fetch_array($continentRegionData)):
$ContinentRegionID = $continentRegion["ContinentRegionID"];
$continentRegionCount = @mysql_result(continentRegionCount($ContinentRegionID,$basic), 0, 6);
$i++; ?> if ($i > 1): ?>, endif; ?> class="filter" endif; ?>> if ($continentregion == $ContinentRegionID): ?> [/] else: ?> () endif; ?> endwhile; ?> >
class="filter" endif; ?>> if ($country != ""): ?> [/] else: ?> () endif; ?> >
class="filter" endif; ?>> if ($state != ""): ?> [/] else: ?> () endif; ?>
if ($CityID != 0): ?> >
class="filter" endif; ?>> if ($city != ""): ?> [/] else: ?> () endif; ?>
endif; ?>
if ($DistrictID != 0): ?> >
class="filter" endif; ?>> if ($district != ""): ?> [/] else: ?> () endif; ?>
endif; ?>
if ($placeCheck != ""): ?>
$i = 0;
while ($placeRow = @mysql_fetch_array($placeData)):
$PlaceID = $placeRow["PlaceID"];
// COUNT PHOTOS FROM SELECTED PLACE
$selectPlaceCount = "select pl.fID, fopl.frPlaceID, count(fopl.frPlaceID), fopl.frFotoID, fo.fID, fo.fPublic, fows.frFotoID, fows.frWebsiteID
from comPlace pl
inner join tb_Foto_Place fopl on fopl.frPlaceID = pl.fID
inner join tb_Foto fo on fo.fID = fopl.frFotoID
inner join tb_Foto_Website fows on fows.frFotoID = fo.fID
where ".$basic." and fopl.frPlaceID = ".$PlaceID."
group by pl.fID";
$placeCountData = @mysql_query($selectPlaceCount,$dbh);
$placeCount = @mysql_result($placeCountData, 0, 2);
if ($hidePrivateData == 1) {
$placeRow["fStatus"] = 1;
}
if ($placeRow["fStatus"] == 1):
$i++; ?> if ($i == 1): ?>> endif; ?> if ($i > 1): ?>, endif; ?> class="filter" endif; ?>> if ($place == $PlaceID): ?> [/] else: ?> () endif; ?> endif; ?> endwhile; ?> endif; ?> - Alle Standorte
if (($friendsCheck != "") && ($hideFriends != 1)): ?>
$i = 0;
while ($friends = @mysql_fetch_array($friendsData)):
$FriendID = $friends["FriendID"];
$friendCount = @mysql_result(friendCount($FriendID,$basic), 0, 1);
$i++;
if ($i >= "2"):
?>, endif; ?> class="filter" endif; ?>> if ($friend != $FriendID): ?> () elseif ($friend == $FriendID): ?> [/] endif; ?> endwhile; ?> - Alle Freunde
endif; ?>
if ($mainKeywordsCheck != ""): ?>
$i = 0;
while ($mainKeywords = @mysql_fetch_array($mainKeywordsData)):
$MainKeywordID = $mainKeywords["KeywordID"];
$mainKeywordCount = @mysql_result(mainKeywordCount($MainKeywordID,$basic), 0, 2);
if ($hidePrivateData == 1) {
$mainKeywords["fStatus"] = 1;
}
if ($mainKeywords["fStatus"] == 1):
$i++;
if ($i == 1): ?>
endif; ?> if ($i >= "2"): ?>, endif; ?> class="filter" endif; ?>> if ($MainKeywordID != $mainKeyword): ?>() elseif ($MainKeywordID == $mainKeyword): ?> [/] endif; ?> endif; ?> endwhile; ?> - Alle Hauptmotive
endif; ?>
if ($keywordsCheck != ""): ?>
$i = 0;
while ($keywords = @mysql_fetch_array($keywordsData)):
$KeywordID = $keywords["KeywordID"];
$keywordCount = @mysql_result(keywordCount($KeywordID,$basic), 0, 2);
if ($hidePrivateData == 1) {
$keywords["fStatus"] = 1;
}
if ($keywords["fStatus"] == 1):
$i++;
if ($i == 1): ?>
endif; ?> if ($i >= "2"): ?>, endif; ?> class="filter" endif; ?>> if ($KeywordID != $keyword): ?>() elseif ($KeywordID == $keyword): ?> [/] endif; ?> endif; ?> endwhile; ?> - Alle Stichworte
endif; ?>
if (($FlickrID != "") || ($FotoliaID != "") || ($GettyID != "")): ?>
Dieses Foto kaufen:
if (($FlickrID != "") && ($GettyID == "")): ?>
- Alle bei Flickr lizenzierbaren Fotos ansehen endif; ?>
if ($FotoliaID != ""): ?>
- Alle bei Fotolia verfügbaren Fotos ansehen endif; ?>
if ($GettyID != ""): ?>
- Alle bei Getty Images verfügbaren Fotos ansehen endif; ?>
endif; ?>
endif; ?>