n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/modules/commentnews.php

36 lines
747 B
PHP
Raw Normal View History

2023-04-30 21:28:42 +02:00
<?php
include_once "themes/default/theme.php";
include_once "include/lang.inc.php";
$NbMaxNews = $_GET["NbMaxNews"];
$idnews = $_GET["idnews"];
if (isset($File))
$FileNews = $File;
if (!isset($FileNews))
{
if (file_exists("news/news.$lang.csv"))
$FileNews = "news/news.$lang";
else
$FileNews = "news/news";
}
$modulepage="affnews";
$start=$idnews;
$NbMaxNews=1;
include "modules/affnews.php";
//$headstartcode = "<font name='verdana' size='3' class='centerhead'>";
//$headendcode ="</font>";
$bodyclass = "centerbody";
$module = "forum";
if ($lang == "fr")
$titre = "Commentaires";
else
$titre = "Comments";
//$goldbooktype = "comment";
$forumfile = "$FileNews.$idnews.forum.csv";
include "modules/magicbox.php";
?>