"Noname12, post: 75595":Powered by TorrentTrader v2.07
well it must not be able to find the function for now change to mysql_query and ill look at what is wrong tomorrow.
"Noname12, post: 75595":Powered by TorrentTrader v2.07
$where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);
SQL_Query_exec("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]);
i have
$where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);
mysql_query("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]) or die(mysql_error());
"Noname12, post: 75597":in the line
i have$where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);
SQL_Query_exec("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]);
$where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);
mysql_query("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]) or die(mysql_error());
"djhowarth, post: 75600":no error now ..excellent ;) But how time take to see the changes who look a member?use mysql_query, SQL_Query_exec was implemented after the release of 2.07
if ($action=="whoswhere"){
stdhead("Where are members");
navmenu();
begin_frame("Last 100 page views");
print("<CENTER><table class=table_table width=80%><tr><td class=table_head>User</td><td class=table_head>Page</td><td class=table_head>Accessed</td></tr>");
$res = SQL_Query_exec("SELECT id, username, page, last_access FROM users ORDER BY last_access DESC LIMIT 100");
while ($arr = mysql_fetch_assoc($res))
print("<tr><td class=table_col1><a href=account-details.php?id=$arr[id]><b>$arr[username]</b></a></td><td class=table_col2>".htmlspecialchars($arr["page"])."</td><td class=table_col1>$arr[last_access]</td></tr>");
print("</table></CENTER>");
end_frame();
stdfoot();
}replace withif ($action=="whoswhere"){
stdhead("Where are members");
navmenu();
begin_frame("Last 100 page views");
print("<CENTER><table class=table_table width=80%><tr><td class=table_head>User</td><td class=table_head>Page</td><td class=table_head>Accessed</td></tr>");
$res = SQL_Query_exec("SELECT id, username, page, last_access FROM users ORDER BY last_access DESC LIMIT 100");
while ($arr = mysql_fetch_assoc($res))
print("<tr><td class=table_col1><a href=account-details.php?id=$arr[id]><b>$arr[username]</b></a></td><td class=table_col2>".htmlspecialchars($arr["page"])."</td><td class=table_col1>".utc_to_tz($arr["last_access"]."</td></tr>");
print("</table></CENTER>");
end_frame();
stdfoot();
} if ($action=="whoswhere"){
stdhead("Where are members");
navmenu();
begin_frame("Last 100 page views");
print("<CENTER><table class=table_table width=80%><tr><td class=table_head>User</td><td class=table_head>Page</td><td class=table_head>Accessed</td></tr>");
$res = SQL_Query_exec("SELECT id, username, page, last_access FROM users ORDER BY last_access DESC LIMIT 100");
while ($arr = mysql_fetch_assoc($res))
print("<tr><td class=table_col1><a href=account-details.php?id=$arr[id]><b>$arr[username]</b></a></td><td class=table_col2>".htmlspecialchars($arr["page"])."</td><td class=table_col1>".utc_to_tz($arr["last_access"])."</td></tr>");
print("</table></CENTER>");
end_frame();
stdfoot();
}
No users online
Torrents
Members
Online