Lotus2 HOMEPAGE [PREMIUM]


Lotus2 HOMEPAGE [PREMIUM]




Conţine Totate functiile de pe CMS v2, roata destinului premium, top VIP.
Limba: Ro, En, De (bineinteles se pot adauga altele)


MENTIUNI [IMPORTANT DE CITIT] :

Pentru a configura roata destinului:
Intrati in : homepage/wheel si editati fisierul config.php [la poze gasiti si configurarea itemelor]


Pentru a edita numele posted by afisat in news:
Intrati in : include/classes si aici editati fisierul news.php unde gasiti urmatoarele linii:
COD: 

<table class="ranking-top5" width="95%">
                  <tbody><tr>
                                        <td class="row-left">
                              
                              <strong>posted by: </strong><img style="padding-right:5px; height:16px" src="https://xeronia2.com/img/avatar.png">SFX
                              
                              </td>
                                       <td class="row-right"><?php print $row['time']; ?></td>
                                        </tr>
                                        </tbody>
                  </table>
                  </div>


Pentru editarea prefixelor din rank VIP:
Intrati in include/function si editati fisierul basic.php unde gasiti urmatoarele linii:

COD: 

   function top10vip()
   {
      global $database;
      
      $banned_ids = getBannedAccounts();
      if($banned_ids)
         $stmt = $database->runQueryPlayer("SELECT id, name, account_id, job FROM player WHERE (name LIKE '[VIP]%' OR name LIKE '[MVP]%' OR name LIKE '[K]%' OR name LIKE '[DoLL]%' OR name LIKE '[Zeu]%' OR name LIKE '[Mr]%' OR name LIKE '[Miss]%') AND account_id NOT IN (".$banned_ids.") ORDER BY level DESC, exp DESC, playtime DESC, name ASC limit 10");
      else
         $stmt = $database->runQueryPlayer("SELECT id, name, account_id, job FROM player WHERE (name LIKE '[VIP]%' OR name LIKE '[MVP]%' OR name LIKE '[K]%' OR name LIKE '[DoLL]%' OR name LIKE '[Zeu]%' OR name LIKE '[Mr]%' OR name LIKE '[Miss]%') ORDER BY level DESC, exp DESC, playtime DESC, name ASC limit 10");
      $stmt->execute();
      $top = $stmt->fetchAll();
      
      return $top;
   }


Autor: CMS V2, adaptat si imbunatatit de FlasH si rockefeller.

Report This Item

Please sign in to report this item.

Need Support?

hector not support this item. Please sign in to contact this author.