gelöschter Benutzer
Fehler bei Bilddarstellung
Hallo zusammen!
echo '
';
$topcommentator_query="SELECT
comment_author, comment_author_email,
comment_type, SUBSTRING_INDEX(comment_author_url, '/', 3) as
top_commentator, COUNT(*) as top_num FROM $wpdb->comments
WHERE comment_approved='1'
AND comment_author_url IS NOT NULL
AND comment_author_url != ''
AND comment_author_email NOT LIKE 'webbi@themenfreund.de%'
AND comment_author_email NOT LIKE 'kommentar@themenfreund.de%'
AND comment_author_url NOT LIKE 'http://twitter.com/%'
AND comment_author_url NOT LIKE 'http://themenfreund.de%'
AND comment_author_url NOT LIKE 'http://facebook.com%'
AND comment_type NOT LIKE 'pingback' OR 'trackback'
GROUP BY top_commentator
Order by top_num DESC, comment_date ASC
LIMIT 18";
$topcommentator_result = $wpdb->get_results($topcommentator_query);
if ( !empty($topcommentator_result) ) {
foreach ($topcommentator_result as $comment) :
$co_aut = $comment->top_commentator;
$co_aut = str_ireplace("http://", "", $co_aut);
echo '
';
echo '
';
echo '
';
echo '';
echo $comment->comment_author.'
';
echo '';
echo '';
echo $comment->top_num.' Kommentare';
echo '';
echo '
';
echo '
';
endforeach;
}
echo '
';
}
Mit dem Code stelle ich diese Seite dar.
Wer mit der Maus über die Bilder fährt, bemerkt, das in der jeweiligen Zeile darunter immer ein Bild weniger dargestellt wird je weiter man nach rechts rutscht.
Ich kann leider den Fehler nicht finden, der das Phänomen verursacht! Wisst ihr eine Lösung??
Gruß
Marcus
Das Seitenreport Forum hat aktuell 5272 Themen und 36104 Beiträge.
Insgesamt sind 496 Mitglieder registriert.
Beitrag erstellen
EinloggenKostenlos registrieren