mod yazarı: Oyo (admin@u-web.org) http://u-web.org / fransız
MOD Versiyon: 1.0.0
Smileylerin sıralanma şeklini randomize ederek kendi kafasına göre diziyor, böylece bir çok smileyi olan forumlarda bir güzellik elde edilmiş oluyor...
- Kod: Tümünü seç
########################################################
## MOD Title: Smilies aléatoire
## MOD Author: Oyo (admin@u-web.org) http://u-web.org
## MOD Description: Permet d'avoir l'affichage aléatoire des smilies
## MOD Version: 1.0.0
##
## Installation Level: Facile
## Installation Time: ~5 Minutes
##
## Files To Edit: 1
## includes/functions_post.php
##
## Included Files: 0
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
##
## Version History
##
## 2004-06-02 - Version 1.0.0
## - initial beta
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_post.php
#
#------[ FIND ]-------------------------------------------
#
$sql = "SELECT emoticon, code, smile_url
FROM " . SMILIES_TABLE . "
ORDER BY smilies_id";
#
#------[ REMPLACE By ]-------------------------------------------
#
$sql = "SELECT emoticon, code, smile_url
FROM " . SMILIES_TABLE . "
ORDER BY RAND()";
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM