Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
61abbb3900
commit
3fd8832b45
138 changed files with 2597 additions and 1253 deletions
|
|
@ -123,7 +123,7 @@ require_once dirname(dirname(__FILE__)) .'/common.php';
|
|||
|
||||
$StartRec = 1 + (($ViewPage - 1) * 25);
|
||||
$Messages = doquery("SELECT * FROM {{table}} WHERE `message_type` = '". $Selected ."' ORDER BY `message_time` DESC LIMIT ". $StartRec .",25;", 'messages');
|
||||
while ($row = mysql_fetch_assoc($Messages)) {
|
||||
while ($row = $Messages->fetch(PDO::FETCH_ASSOC)) {
|
||||
$OwnerData = doquery ("SELECT `username` FROM {{table}} WHERE `id` = '". $row['message_owner'] ."';", 'users',true);
|
||||
$bloc['mlst_id'] = $row['message_id'];
|
||||
$bloc['mlst_from'] = $row['message_from'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue