"; $boxTitle = _PASTARTICLES; $result = $db->sql_query("SELECT sid, title, time, comments FROM ".$prefix."_stories $querylang ORDER BY time DESC LIMIT $storynum, $oldnum"); $vari = 0; $r_options = ""; if (isset($cookie[4])) { $r_options .= "&mode=$cookie[4]"; } if (isset($cookie[5])) { $r_options .= "&order=$cookie[5]"; } if (isset($cookie[6])) { $r_options .= "&thold=$cookie[6]"; } while ($row = $db->sql_fetchrow($result)) { $sid = intval($row['sid']); $title = stripslashes($row['title']); $time = $row['time']; $comments = $row['comments']; $see = 1; setlocale(LC_TIME, $locale); //@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $time, $datetime2); $datetime2 = strftime(""._DATESTRING2."", mktime($datetime2[4],$datetime2[5],$datetime2[6],$datetime2[2],$datetime2[3],$datetime2[1])); $datetime2 = ucfirst($datetime2); if ($articlecomm == 1) { $comments = "($comments)"; } else { $comments = ""; } if($time2==$datetime2) { $boxstuff .= "· $title $comments\n"; } else { if($a=="") { $boxstuff .= "$datetime2· $title $comments\n"; $time2 = $datetime2; $a = 1; } else { $boxstuff .= "$datetime2· $title $comments\n"; $time2 = $datetime2; } } $vari++; if ($vari==$oldnum) { if (isset($cookie[3])) { $storynum = $cookie[3]; } else { $storynum = $storyhome; } $min = $oldnum + $storynum; $dummy = 1; } } if ($dummy == 1 AND is_active(Stories_Archive)) { $boxstuff .= "
"._OLDERARTICLES."\n"; } else { $boxstuff .= ""; } if ($see == 1) { $content = $boxstuff; } ?>