cs_tolt
Messages postés
269
Date d'inscription
mardi 17 décembre 2002
Statut
Membre
Dernière intervention
4 avril 2019
24 févr. 2006 à 16:17
PAGE HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Nouvelle page 1</title>
</head>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="442">
----, </td>
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
,
,
,
,
,
,
----
,
,
,
,
<FORM ACTION="test.php" METHOD=POST NAME="nomduformulaire">
Recherche: Valider
Tout Début
</FORM>
</td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="38"></td>
<td width="33" height="38"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="686" height="21"></td>
<td width="33" height="21"></td>
</tr>
<tr>
<td width="6" height="21"></td>
<td width="686" height="21"></td>
<td width="33" height="21"></td>
</tr>
</table>
</center>
PAGE PHP QUI DOIT REMPLIR LA IFRAME DE LA PGA HTML
<HTML>
<HEAD>
<TITLE>Mon fichier Adresses</TITLE>
</HEAD>
<?php
require('./config.php');
$wscan = $_POST['wchaine'];
$wvalur = $_POST['R1'];
if ($wvalur=="V1") {
$wscan= "%" . $wscan . "%";
}
else {
$wscan= "" . $wscan . "%";
}
$query="select numecl, namecl, prencl, nedicl, cl from zx_sesame.clientl1 where lcase(namecl) like '" . $wscan . "'" ;
$result=odbc_do($connection, $query);
// Entete de colonnes
echo '';
//print(\"<TABLE BORDER=\\"o\\">\n\");
print(\"----
\n\");
print(\", \n\");
print(\"N°, \n\");
print(\"Nom, \n\");
print(\"Prénom, \n\");
print(\"\n\");
// Chargement du tableua
$couleur =\"1\";
while(odbc_fetch_row($result))
{
$tform=odbc_result($result, 1);
$tlieu=odbc_result($result, 2);
$tfour=odbc_result($result, 3);
$tpointeur=odbc_result($result, 5);
print(\"----
\n\");
print(\" ");
echo 'http://srvphp001/smeg/clic.php?select=' . $tpointeur . ".nsf" . '" target="_blank">';
if ($couleur=="1") {
$couleur ="2";
print(", $tform</TD>\n\");
print(\" $tlieu, \n\");
print(\" $tfour, \n\");
}
else {
$couleur =\"1\";
print(\" $tform, \n\");
print(\" $tlieu, \n\");
print(\" $tfour, \n\");
}
print(\"\n\");
}
print("
\n");
odbc_close_all();
?>
</HTML>
tolt