Modérateur : Équipe
Code : Tout sélectionner
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
'ORDER_BY' => 't.topic_time DESC',
#
#-----[ REPLACE WITH ]----------------------------------
#
'ORDER_BY' => 't.topic_title',
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Code : Tout sélectionner
if ($forum_data['forum_type'] == FORUM_POST || !sizeof($active_forum_ary))
Code : Tout sélectionner
// Classement des sujets par titre dans certains forums
if (in_array($forum_id, array(1, 2, 5, 8)))
{
$sql_sort_order = 't.topic_title ' . (($sort_dir == 'd') ? 'ASC' : 'DESC');
}
Code : Tout sélectionner
SELECT t.topic_id
FROM phpbb_topics t
WHERE t.forum_id = 2
AND t.topic_type IN (0, 1)
ORDER BY t.topic_type DESC, t.topic_title ASC
LIMIT 25
Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 1 invité