|
Gäste online: 3 Mitglieder online: 0 |
Hammer | |
Charly3000 | |
Enrico1991 | |
partybr... | |
Skorpi1157 | |
Rick | |
daniel1984 | |
Tom1997 | |
Denni234 | |
Schwarze |
TreueSeele | |
djkai | |
Gonzo | |
kellner87 | |
Rocco | |
DJ_Charly | |
lohmar63 | |
DJModiM... | |
PartyCh... | |
kucki | |
21Matze | |
oldieman | |
devilzbaer | |
Alex1989 | |
djrichi |
Mitglieder insgesamt: 5.896 |
Letzte 10 User: |
Blutsvente |
Aurelia |
Thorsten |
Tigerdark |
Cammy |
foggellp |
superboyka |
gggy |
Kyome |
BSchleyer |
Michael71
aus 08. August 2023 17:02
OfflineVerwarnstatus: |
Layout-24
aus 01. Januar 2022 18:37
OfflineVerwarnstatus: |
Rico1993
aus 24. November 2021 22:32
OfflineVerwarnstatus: |
Rick am 13.07.2012 13:39 | ||
Als Grundlage dient der Code von Fangree Craig, den joetho-web.de um deutsche Meta- Tag Angaben erweitert hat. Erstelle mit deinem Editor ein neues PHP Dokument mit folgendem Inhalt: Code <?php<br />
/*-------------------------------------------------------+<br />
| PHP-Fusion Content Management System<br />
| Copyright © 2002 - 2010 Nick Jones<br />
| http://www.php-fusion.co.uk<br />
+--------------------------------------------------------+<br />
| Name: Forum Ranks<br />
| Version: 1.01 (PHP-Fusion v7.02)<br />
| Filename: forum_ranks.php<br />
| Based on forum_ranks.php administration by Nick Jones (Digitanium)<br />
| Author: Fangree Productions<br />
| Developers: Fangree_Craig<br />
| Site: http://www.fangree.com<br />
+--------------------------------------------------------+<br />
| This program is released as free software under the<br />
| Affero GPL license. You can redistribute it and/or<br />
| modify it under the terms of this license which you<br />
| can read by viewing the included agpl.txt or online<br />
| at http://www.gnu.org/licen... Removal of this<br />
| copyright header is strictly prohibited without<br />
| written permission from the original author(s).<br />
+--------------------------------------------------------*/<br />
require_once "maincore.php";<br />
require_once THEMES."templates/header.php";<br />
include LOCALE.LOCALESET."admin/forum_ranks.php";<br />
add_to_title('- Benutzerränge')<br />
add_to_meta("description", 'Ü:bersicht der Benutzerränge im Forum')<br />
add_to_meta("keywords", ', Benutzerränge, Ränge, aktuell')<br />
opentable($locale['402'])<br />
$result = dbquery("SELECT rank_id, rank_title, rank_image, rank_posts, rank_type, rank_apply FROM ".DB_FORUM_RANKS." ORDER BY rank_type DESC, rank_apply DESC, rank_posts")<br />
if (dbrows($result)) {<br />
echo "<table cellpadding='0' cellspacing='1' width='500' class='tbl-border center'>\n<tr>\n";<br />
echo "<td class='tbl2'><strong>".$locale['430']."</strong></td>\n";<br />
echo "<td width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['431']."</strong></td>\n";<br />
echo "<td width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['432']."</strong></td>\n";<br />
echo "<td width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['438']."</strong></td>\n";<br />
echo "</tr>\n";<br />
$i = 0;<br />
while ($data = dbarray($result)) {<br />
$row_color = ($i % 2 == 0 ? "tbl1" : "tbl3")<br />
echo "<tr>\n";<br />
echo "<td class='".$row_color."'>".$data['rank_title']."</td>\n";<br />
echo "<td width='1%' class='".$row_color."' style='white-space:nowrap'>".($data['rank_apply']== 104 ? $locale['425']: getgroupname($data['rank_apply']))."</td>\n";<br />
echo "<td width='1%' class='".$row_color."' style='white-space:nowrap'><img src='".IMAGES."ranks/".$data['rank_image']."' alt='' style='border:0;' /></td>\n";<br />
echo "<td width='1%' class='".$row_color."' style='white-space:nowrap'>";<br />
if ($data['rank_type']== 0) {<br />
echo $data['rank_posts'];<br />
} elseif ($data['rank_type']== 1) {<br />
echo $locale['429b'];<br />
} else {<br />
echo $locale['429a'];<br />
}<br />
echo "</td>";<br />
<br />
echo "</tr>\n";<br />
$i++;<br />
}<br />
echo "</table>";<br />
} else {<br />
echo "<div style='text-align:center'>".$locale['437']."</div>\n";<br />
}<br />
closetable()<br />
<br />
require_once THEMES."templates/footer.php";<br />
?> Speichere das Dokument als forum_rank.php und lade es in das Hauptverzeichnis deiner PHP Fusion. Erstelle dann in deiner Administration => System => Navigationslink noch die Verlinkung. Name: Benutzerränge Adresse: forum_rank.php | ||
Tutorials DB © 2010-2024 ptown67 |