Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen:
PHP in Templates
#5
PHP-Code:
<?php


$message 
'<table border="0" cellspacing="1" cellpadding="3" class="tborder"><tr>';

$first $db->query("SELECT * FROM `".TABLE_PREFIX."gallery_pic` ORDER BY `ID_PICTURE` DESC LIMIT 3");

while(
$list $db->fetch_array($first)) {

$thumb $list['thumbfilename'];
$picid $list['ID_PICTURE'];

    
$message .= '<td rowspan="2" class="trow1" align="center" width="120"><a href="http://warriors.pytalhost.de/forum/ezgallery.php?action=view&id='.$picid.'"><img src="http://warriors.pytalhost.de/forum/gallery/'.$thumb.'" /></a></td>
<td class="trow2"><span class="smalltext">'
my_date($mybb->settings['dateformat'],$list['date']) .'</span></td>';
}

$message .= "</tr><tr>";

$first $db->query("SELECT * FROM `".TABLE_PREFIX."gallery_pic` ORDER BY `ID_PICTURE` DESC LIMIT 3");

while(
$list $db->fetch_array($first)) {
$id $list['ID_MEMBER'];
$user get_user($id);
$username format_name($user['username'],$user['usergroup'],$user['displaygroup']);
$message .= '<td class="trow1"><span class="smalltext">Von <a href="http://warriors.pytalhost.de/forum/member.php?action=profile&uid='.$id.'">'.$username.'</a></span></td>';
}

$message .= "</tr></table>";

?>

Gruß (:
Zitieren


Nachrichten in diesem Thema
PHP in Templates - von cRaZyYy - 29.10.2010, 22:55
RE: PHP in Templates - von Manuel - 29.10.2010, 23:24
RE: PHP in Templates - von cRaZyYy - 29.10.2010, 23:32
RE: PHP in Templates - von Michael - 30.10.2010, 00:48
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 00:50
RE: PHP in Templates - von Michael - 30.10.2010, 00:56
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 01:01
RE: PHP in Templates - von StefanT - 30.10.2010, 10:09
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 14:57
RE: PHP in Templates - von StefanT - 30.10.2010, 19:20
RE: PHP in Templates - von Michael - 30.10.2010, 19:20
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 19:36
RE: PHP in Templates - von Michael - 30.10.2010, 19:42
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 19:57
RE: PHP in Templates - von StefanT - 30.10.2010, 19:59
RE: PHP in Templates - von cRaZyYy - 30.10.2010, 21:44
RE: PHP in Templates - von cRaZyYy - 10.12.2010, 23:37
RE: PHP in Templates - von StefanT - 10.12.2010, 23:39