mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
improve update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
require "../include/bittorrent.php";
|
||||
dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
//loggedinorreturn();
|
||||
|
||||
stdhead($lang_faq['head_faq']);
|
||||
$Cache->new_page('faq', 900, true);
|
||||
@@ -61,7 +61,7 @@ if (isset($faq_categ)) {
|
||||
if ($faq_categ[$id]['flag'] == "1")
|
||||
{
|
||||
print("<ul><li><a href=\"#id". $faq_categ[$id]['link_id'] ."\"><b>". $faq_categ[$id]['title'] ."</b></a><ul>\n");
|
||||
if (array_key_exists("items", $faq_categ[$id]))
|
||||
if (array_key_exists("items", $faq_categ[$id]))
|
||||
{
|
||||
foreach ($faq_categ[$id]['items'] as $id2 => $temp)
|
||||
{
|
||||
|
||||
@@ -344,7 +344,7 @@ if ($showstats_main == "yes")
|
||||
if (!$Cache->get_page()){
|
||||
$Cache->add_whole_row();
|
||||
$registered = number_format(get_row_count("users"));
|
||||
$unverified = number_format(get_row_count("users", "WHERE status='pending'"));
|
||||
$unverified = number_format(get_row_count("users", "WHERE status='pending' and enabled='yes'"));
|
||||
$totalonlinetoday = number_format(get_row_count("users","WHERE last_access >= ". sqlesc(date("Y-m-d H:i:s",(TIMENOW - 86400)))));
|
||||
$totalonlineweek = number_format(get_row_count("users","WHERE last_access >= ". sqlesc(date("Y-m-d H:i:s",(TIMENOW - 604800)))));
|
||||
$VIP = number_format(get_row_count("users", "WHERE class=".UC_VIP));
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
require "../include/bittorrent.php";
|
||||
dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
//loggedinorreturn();
|
||||
stdhead($lang_rules['head_rules']);
|
||||
$Cache->new_page('rules', 900, true);
|
||||
if (!$Cache->get_page())
|
||||
|
||||
Reference in New Issue
Block a user