Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?
$time = time();
$al = mysql_query("SELECT `id` FROM `users`");
$all = mysql_num_rows($al);
$todaytime = $time - (60*66*24);
$today = mysql_query("SELECT `id` FORM `users` WHERE
`regdate`>'$todaytime'");
$regtoday = mysql_num_rows($today);
$ytime = $time - (60*66*24*2);
$ydaya = mysql_query("SELECT `id` FORM `users` WHERE `regdate`>'$ytime'
AND `regdate`<'$todaytime'");
$yday = mysql_num_rows($ydaya);
$mtime = $time - (60*66*24*30);
$mdaya = mysql_query("SELECT `id` FORM `users` WHERE
`regdate`>'$mtime'");
$mday = mysql_num_rows($mdaya);
echo "Registrirani potrebiteli : $all || dnes : $regtoday || v4era : $yday || za meseca :
$mday";
?>
<?
include ('includes/inc-config.php');
$time = time();
$al = mysql_query("SELECT `id` FROM `users`");
$all = mysql_num_rows($al);
$todaytime = $time - (60*66*24);
$today = mysql_query("SELECT `id` FORM `users` WHERE
`regdate`>'$todaytime'");
$regtoday = mysql_num_rows($today);
$ytime = $time - (60*66*24*2);
$ydaya = mysql_query("SELECT `id` FORM `users` WHERE `regdate`>'$ytime'
AND `regdate`<'$todaytime'");
$yday = mysql_num_rows($ydaya);
$mtime = $time - (60*66*24*30);
$mdaya = mysql_query("SELECT `id` FORM `users` WHERE
`regdate`>'$mtime'");
$mday = mysql_num_rows($mdaya);
echo "Registrirani potrebiteli : $all || dnes : $regtoday || v4era : $yday || za meseca :
$mday";
?>
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\titanwars\count.php on line 9
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\titanwars\count.php on line 9
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\titanwars\count.php on line 10
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\titanwars\count.php on line 15
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\titanwars\count.php on line 15
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\titanwars\count.php on line 16
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\titanwars\count.php on line 21
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\titanwars\count.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\titanwars\count.php on line 22
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\titanwars\count.php on line 27
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\titanwars\count.php on line 27
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\titanwars\count.php on line 28
Registrirani potrebiteli : || dnes : || v4era : || za meseca :