Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: brownrope klausmai

Parašė And2s· 2009 Lie. 1 20:07:31
#14

<?
/*--------------------------------------------+
| PHP-Fusion 5 - Content Management System    |
|---------------------------------------------|
| author: Nick Jones (Digitanium)  2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

include("../infusions/rank_system/locale/".$settings['locale'].".php");
      $row = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='1'");
        $posts=dbarray($row);
        $post1 = $posts['posts'];
        $row2 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='2'");
        $posts2=dbarray($row2);
        $post2 = $posts2['posts'];
        $row3 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='3'");
        $posts3=dbarray($row3);
        $post3 = $posts3['posts'];
        $row4 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='4'");
        $posts4=dbarray($row4);
        $post4 = $posts4['posts'];
        $row5 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='5'");
        $posts5=dbarray($row5);
        $post5 = $posts5['posts'];
      $row6 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='6'");
        $posts6=dbarray($row6);
        $post6= $posts6['posts'];
      $row7= dbquery("SELECT * FROM ".$db_prefix."forumrank WHERE id='7'");
        $posts7=dbarray($row7);
        $post7 = $posts7['posts'];
      $row8 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='8'");
        $posts8=dbarray($row8);
        $post8 = $posts8['posts'];
      $row9 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='9'");
        $posts9=dbarray($row9);
        $post9 = $posts9['posts'];
      $row11 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='11'");
        $posts11=dbarray($row11);
        $post11 = $posts11['posts'];
      $row12 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='12'");
        $posts12=dbarray($row12);
        $post12 = $posts12['posts'];
      $row13 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='13'");
        $posts13=dbarray($row13);
        $post13 = $posts13['posts'];
      $row14 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='14'");
        $posts14=dbarray($row14);
        $post14 = $posts14['posts'];
      $row15 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='15'");
        $posts15=dbarray($row15);
        $post15 = $posts15['posts'];
      $row16 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='16'");
        $posts16=dbarray($row16);
        $post16 = $posts16['posts'];
      $row = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='1'");
        $names=dbarray($row);
        $name1 = $names['names'];
        $row2 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='2'");
        $names2=dbarray($row2);
        $name2 = $names2['names'];
        $row3 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='3'");
        $names3=dbarray($row3);
        $name3 = $names3['names'];
        $row4 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='4'");
        $names4=dbarray($row4);
        $name4 = $names4['names'];
        $row5 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='5'");
        $names5=dbarray($row5);
        $name5 = $names5['names'];
      $row6 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='6'");
        $names6=dbarray($row6);
        $name6= $names6['names'];
      $row7= dbquery("SELECT * FROM ".$db_prefix."forumrank WHERE id='7'");
        $names7=dbarray($row7);
        $name7 = $names7['names'];
      $row8 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='8'");
        $names8=dbarray($row8);
        $name8 = $names8['names'];
      $row9 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='9'");
        $names9=dbarray($row9);
        $name9 = $names9['names'];
      $row11 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='11'");
        $names11=dbarray($row11);
        $name11 = $names11['names'];
      $row12 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='12'");
        $names12=dbarray($row12);
        $name12 = $names12['names'];   
      $row13 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='13'");
        $names13=dbarray($row13);
        $name13 = $names13['names'];
      $row14 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='14'");
        $names14=dbarray($row14);
        $name14 = $names14['names'];
      $row15 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='15'");
        $names15 =dbarray($row15);
        $name15 = $names15['names'];
      $row16 = dbquery("SELECT * FROM ".$db_prefix."forumrank  WHERE id='16'");
        $names16 =dbarray($row16);
        $name16 = $names16['names'];
if ($data[user_level] == 252) {
echo "".RS_099."

<br>";
}     
else if ($data[user_level] == 251) {
echo "".RS_000."

<br>";
}
else if  ($data[user_posts] == 0 ) {
echo " Kein rank
<br>";
}
else if  ($data[user_posts] <= $post1 ) {
echo "$name1

<br>";
}
else if ($data[user_posts] <= $post2) {
echo "$name2

<br>";
}
else if ($data[user_posts] <= $post3) {
echo "$name3

<br>";
}
else if ($data[user_posts] <= $post4) {
echo "$name4

<br>";
}
else if ($data[user_posts] <= $post5) {
echo "$name5

<br>";
}
else if ($data[user_posts] <= $post6) {
echo "$name6

      <br>";
}
else if ($data[user_posts] <= $post7) {
echo "$name7
<br>";
}
else if ($data[user_posts] <= $post8) {
echo "$name8

<br>";
}
else if ($data[user_posts] <= $post9) {
echo "$name9

<br>";
}
else if ($data[user_posts] <= $post11) {
echo "$name11

<br>";
}
else if ($data[user_posts] <= $post12) {
echo "$name12

<br>";
}
else if ($data[user_posts] <= $post13) {
echo "$name13

<br>";
}
else if ($data[user_posts] <= $post14) {
echo "$name14

<br>";
}
else if ($data[user_posts] <= $post15) {
echo "$name15

<br>";
}
else if ($data[user_posts] <= $post16) {
echo "$name16

<br>";
}
else {
echo "".RS_006."

<br>";
}

?>