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/liens/pages/menu.php

50 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<?
#############################################
# phpDirectory v1.0 #
# #
# Jean-Yves Fort - 21 avril 2001 #
# jean-yves@lozere-online.com #
# #
# Consulter les documents du repertoire #
# /doc pour plus d'informations sur #
# l'installation, l'auteur, les conditions #
# d'utilisation. #
#############################################
?>
<? require("conf/db.php");
function lire( $variable )
{
//supression des antislashes selon config
if (!get_cfg_var(magic_quotes_gpc))
{
$variable = stripslashes($variable);
}
return $variable;
}
function enregistre( $variable )
{
//ajout des antislashes selon config
if (!get_cfg_var(magic_quotes_gpc))
{
$variable = addslashes($variable);
}
return $variable;
}
?>
<html>
<body bgcolor="white" link="blue" vlink="black">
<center>
<? include("html/top.php");
if (!isset($m)) { include("html/main.php"); }
elseif ($m=="c") { include("html/search.php"); }
elseif ($m=="l") { include("html/look4word.php"); }
elseif ($m=="a") { include("html/add.php"); }
else { include("html/error.php"); }
include("html/bottom.php"); ?>
</center>
</body>
</html>