Parašė Dandžu· 2007 Spa. 14 21:10:03
#1
Kodėl šis kodas neveikia Online_Users_Panel (modai.tk)?
echo "<img src='".THEME."images/bullet.gif'>";
echo " NaujĀø nariĀø vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined
<='".$gende."'")."<br>";
echo "<img src='".THEME."images/bullet.gif'> NaujĀø nariĀø ðiandien: ".dbcount("(user_id)", "users", "user_joined
>='".$hanfang."' AND user_joined <='".$hende."'")."<br>";
Redagavo ozzWANTED· 2007 Spa. 14 21:10:38
Parašė N3PST3R· 2007 Spa. 15 14:10:50
#5
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
echo "Nauju vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "Nauju siandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."<br>