|
|
|
|
Actualités |
|
|
|
|
|
|
|
|
|
|
|
|
Départements |
|
|
|
|
|
|
De l'expression de besoin à la livraison, nos
équipes vous aident dans vos démarches. |
|
|
|
|
|
|
Partenariats |
|
|
|
|
|
|
Un réseau de partenaires tissé, pour
donner à vos projets toute leur originalité et leur qualité. |
|
|
|
|
|
|
Outils |
|
|
|
|
|
|
A votre disposition de petits trucs et astuces pour
naviguer, réaliser, découvrir et comprendre... |
|
|
|
|
|
|
|
$lien="http://"; $lien.=$SERVER_NAME; $lien.=$REQUEST_URI ?>
$print=dirname($_SERVER[PATH_TRANSLATED]); $print.="/glossaire.php" ?>
// Connection to Database
require("connect.php");
//Including the language.inc
require($lang);
//Including the config_style.inc which gives extra config oportunity
require($style);
// Here is set the start up look of Glossary - first_letter comes from config_style.inc
if($letter == "") $letter=$first_letter;
echo " \n";
// Here starts the Output
echo " ";
echo " \n";
echo " \n";
// Looking if the Alphabet-Bar or the Searchfunction was used
if($word!="") {
// Search Output
$query = "SELECT * FROM $table WHERE MATCH (word, definition) AGAINST ('$word')";
$result = mysql_query($query);
$nombre = mysql_numrows($result);
if ( $nombre == 0 ) {
echo "";
echo $search_no_result;
echo " ";
echo $search_specify;
echo "";
}else{
echo $table_in;
//First Line
echo $row_in;
echo " | $headformat_in$search_result :$headformat_out
| $row_out \n";
echo $row_in ;
echo " \n";
echo "$headformat_in$headtitle_word$headformat_out \n" ;
echo " | \n";
echo " \n";
echo "$headformat_in$headtitle_definition$headformat_out \n";
echo " | $row_out \n";
while ($row < $nombre ){
$word = mysql_result($result,$row,"word");
$definition = mysql_result($result,$row,"definition");
if ($picsupport == "1") {$picurl = mysql_result($result,$row,"picurl");}
echo $row_in ;
echo "";
echo "$word";
echo " | ";
echo "";
echo "$definition";
echo " | ";
$row++; }
echo $row_out;
echo $table_out;
mysql_close();}
}else{
// You want to see all entries ?
// IF yes
if ($letter=="*") {
$query = "SELECT * FROM $table ORDER BY word ";
$result = mysql_query($query);
$nb = mysql_numrows($result);
$row = 0;
echo $table_in;
//First Line
echo $row_in ;echo"\n";
echo "";
echo "$headformat_in$headtitle_word$headformat_out" ;
echo " | \n";
echo "";
echo "$headformat_in$headtitle_definition$headformat_out";
echo " | $row_out \n";
while ($row < $nb)
{
$word = mysql_result($result,$row,"word");
$definition = mysql_result($result,$row,"definition");
$picurl = mysql_result($result,$row,"picurl");
echo $row_in ;echo"\n";
echo "";
echo "$word";
echo " | \n";
echo "";
echo "$definition";
echo " | ";
echo"$row_out\n";
echo " | \n";
$row++;
}
echo $table_out;echo"\n";
mysql_close();
//End of IF
}
// If NO
else{
$query = "SELECT * FROM $table WHERE LEFT(word,1)='$letter' ORDER BY word ";
$result = mysql_query($query);
$nb = mysql_numrows($result);
$row = 0;
$nombre = mysql_numrows($result);
if ( $nombre == 0 ) {
echo "";
echo $alphabet_no_entry ;
echo "";
}
if ( $nombre > 0 ) {
// using output-table from connect.php
echo $table_in;
//First line
echo $row_in ;echo"\n";
echo "";
echo "$headformat_in$headtitle_word$headformat_out" ;
echo " | \n";
echo "";
echo "$headformat_in$headtitle_definition$headformat_out";
echo " | \n";
while ($row < $nb)
{
$word = mysql_result($result,$row,"word");
$definition = mysql_result($result,$row,"definition");
$picurl = mysql_result($result,$row,"picurl");
echo $row_in ;echo"\n";
echo "";
echo "$word";
echo " | \n";
echo "";
echo "$definition";
echo " | ";
echo "$row_out\n | \n";
$row++;
}
echo $row_out;
echo $table_out;
}
mysql_close();
//End of Else All or Not All
}
//End of Else Searchfunktion
}
echo "";
echo "";
?>
|
|
|
|
|
|
|
|
|
|
Coin Client |
|
|
|
Accédez
à votre espace dédié. |
|
|
|
|
|
|
|
|
|
Références |
|
|
|
|
Quelques exemples de réalisation
avec nos clients. |
|
|
|
|
|
|
|
|
|
|
Sondage |
|
|
|
|
| |