Dynamically publish news from the news, automatically arrange the display order based on the release time. News files are composed of text files stored in the specified directory. When there is news, the program will automatically display it and arrange the start of the page.
news title>
hEAD>
news h1>
PHP
Include ('locationFilename.php');
Function Createur1 ($ text) {
// Insert your link in the news file of the news
// $ $ (http://mysite.ch}
/ / Or $ {http://mysite.ch | my homepage in}
// Start processing text file part
$ S = $ TEXT;
$ a = strstr ($ S, '$ {');
IF ($ a) {
$ b = strstr ($ A, '}');
IF ($ b) {
$ la = strlen ($ a); $ ls = strlen ($ S);
$ S = Substr ($ S, 0, $ LS- $ LA);
$ a = substr ($ A, 2);
$ lb = strlen ($ b); $ la = strlen ($ a);
$ a = substr ($ A, 0, $ LA- $ LB); $ b = substr ($ B, 1);