include('beheer/include.php');
$connect_id = (!empty($_POST['id'])) ? $_POST['id'] : 0;
$connect_id = (!empty($_GET['id'])) ? $_GET['id'] : $connect_id;
?>
foto gallary
$sql = 'SELECT * FROM fotoalbum_categorie WHERE actief = 1 AND connect_id = '.$connect_id.' ORDER BY datum DESC';
$res = mysqli_query($link,$sql);
if ($res && mysqli_num_rows($res) >= 1)
{
echo '
';
$i = 0;
while ($row = mysqli_fetch_array($res))
{
echo ($i % 2 == 0) ? '
' : '';
echo '
'.$row['linktxt'].' '.nl2br($row['tekst']).'
';
$i++;
}
if ($i+1 % 2 != 0)
{
echo ' ';
}
echo '
';
}
$sql_foto = 'SELECT * FROM fotoalbum_images WHERE cat_id = '.$connect_id;
$res_foto = mysqli_query($link,$sql_foto);
if ($res_foto && mysqli_num_rows($res_foto) >= 1)
{
echo '
';
$i = 0;
while ($row_foto = mysqli_fetch_array($res_foto))
{
echo ($i % 3 == 0) ? '
' : '';
echo '
'.nl2br($row_foto['omschrijving']).'
';
$i++;
}
echo '
';
}
?>
© 2008 Cool Rentals Racing / Team Holland - Wijzigingen voorbehouden