This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

category.php [Storyteller Version 1.7-Free]


avatar
Pit 0
From: -
category.php [Storyteller Version 1.7-Free]

Hallo Philipp

lang ist's her...

Ich habe dein einfach immer noch cooles und geniales Freewarescript unter http://www.velogalerie-kerzers.ch/category.php?id=1 erfolgreich am Laufen.

Die News dort werden von Anfang an aufgelistet, wie kann ich das ändern?

Danke und Grüsse
Pit

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: category.php [Storyteller Version 1.7-Free]
avatar
OP 0
From: -
category.php [Storyteller Version 1.7-Free]

danke Smiling Face
1 Re: category.php [Storyteller Version 1.7-Free]
avatar
Administrator
1342
From: Austria
category.php [Storyteller Version 1.7-Free]

Das category.php Script zeigt immer die letzten 20 Nachrichten in einer Kategorie. Um das zu ändern, muss folgende Zeile im Script angepasst werden:

            $result = DBQuery("SELECT * FROM esselbach_st_stories WHERE story_category = '$id' AND story_hook = '0' AND story_time < ('$currentdate') ORDER BY story_time DESC LIMIT 20");

LIMIT 20 = letzten 20 Nachrichten

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.