ich habe ein problem aus irgend ein grund macht er den content nicht im content ^^
ich glaub es liegt irgendwas am div aber probiere da schon saemtliches seit stunden und komme nicht so recht weiter.
waere nett wenn von euch mal wer drueber schauen koennte
$screens = mysql_query("SELECT * FROM bilder_bauten_gallery ORDER BY bild_ID DESC Limit 4");
$gumps = mysql_query("SELECT * FROM bilder_gumps_gallery ORDER BY bild_ID DESC Limit 4");
echo '<a href="index.php?media-ingamegallery&action=bauten"><div id="media-screenshots" class="left"><div style="margin-top:5px; margin-left:122px;">(' . $bilder_bauten_anzahl['anzahl'] .')</div> <div style="margin-top:-14px; margin-right:7px;" align="right">Zeige alle Screenshots</div></a>
<table width="100%" border="0" cellspacing="3" cellpadding="4"><tr>';
while ($onepicture = mysql_fetch_array($screens)){
$linecounter++;
if($linecounter==3){
echo '</tr><tr><td width="50%" align="center"><div class="olightbox"><a href="include/images/gallery/Bauten/' . $onepicture['bild_name'].'.jpg" rel="lightbox" title="' . $onepicture['bild_beschreibung'] .'"><img src="include/images/gallery/Bauten/thumbs/' . $onepicture['bild_name'] .'-thumb.jpg" rel="lightbox" alt="' . $onepicture['bild_beschreibung'] .'" width="145" height="107" border="0"></a></div></td>';
$linecounter=1;
}else{
echo '<td width="50%" align="center"><div class="olightbox"><a href="include/images/gallery/Bauten/' . $onepicture['bild_name'].'.jpg" rel="lightbox" title="' . $onepicture['bild_beschreibung'] .'"><img src="include/images/gallery/Bauten/thumbs/' . $onepicture['bild_name'] .'-thumb.jpg" rel="lightbox" alt="' . $onepicture['bild_beschreibung'] .'" width="145" height="107" border="0"></a></div></td>';
}
}
echo'</table></div>';
echo '<a href="index.php?media-ingamegallery&action=gumps"><div id="media-gumps" class="left"><div style="margin-top:5px; margin-left:83px;" align="left">(' . $bilder_gumps_anzahl['anzahl'] .')</div> <div style="margin-top:-14px; margin-right:7px;" align="right">Zeige alle Gumps</div></a>
<table width="100%" border="0" cellspacing="3" cellpadding="4"><tr>';
while ($onepicture = mysql_fetch_array($gumps)){
$linecounter++;
if($linecounter==3){
echo '</tr><tr><td width="50%" align="center"><div class="olightbox"><a href="include/images/gallery/Gumps/' . $onepicture['bild_name'].'.jpg" rel="lightbox" title="' . $onepicture['bild_beschreibung'] .'"><img src="include/images/gallery/Gumps/thumbs/' . $onepicture['bild_name'] .'-thumb.jpg" rel="lightbox" alt="' . $onepicture['bild_beschreibung'] .'" width="145" height="107" border="0"></a></div></td>';
$linecounter=1;
}else{
echo '<td width="50%" align="center"><div class="olightbox"><a href="include/images/gallery/Gumps/' . $onepicture['bild_name'].'.jpg" rel="lightbox" title="' . $onepicture['bild_beschreibung'] .'"><img src="include/images/gallery/Gumps/thumbs/' . $onepicture['bild_name'] .'-thumb.jpg" rel="lightbox" alt="' . $onepicture['bild_beschreibung'] .'" width="145" height="107" border="0"></a></div></td>';
}
}
echo'</table></div>';
css
/* Media */
#media {
width: 384px;
}
#media-screenshots {
height: 37px;
width: 355px;
margin-left:15px;
background:url(images/media_screen.png)
}
#media-gumps {
height: 37px;
width: 355px;
margin-left:48px;
background:url(images/media_gump.png)
}
betroffene Homepage: athoris-uo.com/cms2/index.php?media-ingamegallery

