2004/1/16 15:43
Xtracted
Not too shy to talk
Posts: 138
Since: 2004/1/7 2
2004/1/16 15:51
Mithrandir
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
2004/1/16 15:55
2004/1/16 15:56
$userdata['rank'] = $foundusers[$j]->rank();
2004/1/16 17:03
2004/1/16 17:09
2004/1/16 17:14
2004/1/16 17:19
$rank = $foundusers[$j]->rank(); $userdata['rank'] = $rank['title'];
2004/1/16 17:24
2004/1/16 18:40
shino
Theme Designer
Posts: 23
Since: 2003/7/16
// $Id: index.php,v 1.2 2003/01/25 22:52:08 Onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // // // // ------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 2 of the License, or // // (at your option) any later version. // // // // You may not change or alter any portion of this comment or credits // // of supporting developers from this source code or any supporting // // source code which is considered copyrighted (c) material of the // // original comment or credit authors. // // // // This program is distributed in the hope that it will be useful, // // but WITHOUT ANY WARRANTY; without even the implied warranty of // // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // GNU General Public License for more details. // // // // You should have received a copy of the GNU General Public License // // along with this program; if not, write to the Free Software // // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // include "../../mainfile.php"; include "../../header.php"; $db =& Database::getInstance(); OpenTable(); echo "Les GradesCes grades sont détérminés en fonction du nombre de posts sur le forum et de commentaires sur chaque partie du site. Rang Nombre de posts minv Nombre de posts max Image"; $result = $db->query("SELECT * FROM ".$db->prefix("ranks")." where rank_special=0 ORDER BY rank_id"); $count = 0; while ( $rank = $db->fetchArray($result) ) { if ($count % 2 == 0) { $class = 'odd'; } else { $class = 'even'; } echo "$class' align='center'> ".$rank['rank_title']." ".$rank['rank_min']." ".$rank['rank_max']." "; if ( $rank['rank_image'] ) { echo '.XOOPS_URL.'/uploads/'.$rank['rank_image'].'" alt="" />'; } else { echo ' '; } echo""; $count++; } echo ''; CloseTable(); include_once XOOPS_ROOT_PATH."/footer.php"; ?>
Advanced Search
368 user(s) are online (256 user(s) are browsing Support Forums)
Members: 0
Guests: 368