Wiem, ?e temat jest ju? bardzo stary, ale mi te? zale?y na takim czym?. Jest mo?e jaki? mod?
Kiedy? w user_info_panel wy?wietla?o mi ile jest nowych postów na forum, ale co? si? zepsu?o i ju? nie dzia?a... Mo?e Wy co? pomo?ecie? ;p
if (empty($lastvisited)) { $lastvisited = time(); }
$new_posts = dbcount("(thread_id)", "posts", "thread_id='".$userdata['user_id']."' AND post_datestamp>'$lastvisited'");
if ($new_posts) echo "<center>".sprintf("".$locale['WWOLD_701']."", $new_posts).($new_posts == 1 ? $locale['WWOLD_702'] : $locale['WWOLD_703'])."<br><a href='".FORUM."index.php' class='side'>".$locale['WWOLD_704']."</a></center>\n";
[+]
Ju? sobie poradzi?em ;)
Edytowane przez Kamill dnia 15.11.2006 20:15:40
|