mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Перенос файлов движка в корень
This commit is contained in:
parent
584f692288
commit
f94c0dd2ee
585 changed files with 14 additions and 14 deletions
14
library/includes/datastore/build_ranks.php
Normal file
14
library/includes/datastore/build_ranks.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
if (!defined('BB_ROOT')) die(basename(__FILE__));
|
||||
|
||||
$ranks = array();
|
||||
|
||||
$sql = "SELECT rank_id, rank_title, rank_image, rank_style FROM ". BB_RANKS;
|
||||
|
||||
foreach (DB()->fetch_rowset($sql) as $row)
|
||||
{
|
||||
$ranks[$row['rank_id']] = $row;
|
||||
}
|
||||
|
||||
$this->store('ranks', $ranks);
|
Loading…
Add table
Add a link
Reference in a new issue