1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gestion</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META NAME="description" CONTENT="restez dans la limite des 150 à 200 caractères au maximum">
<META NAME="keywords" CONTENT="contienne jusqu'à 100 mots clés ou mille caractères. ert également à proposer aux moteurs diverses orthographes de vos mots importants (pluriel, minuscules/majuscules, féminin, accentuées, fautes d'orthographe éventuelles, etc.)">
<link href="style.css" rel="stylesheet" type="text/css"></link>
</head>
<?php
// Fais le lien avec les fonctions et donc le fichier fonction.php
Require("fonctions_sql.php");
Require ("fonction_JS.js");
?>
<body>
<?php
echo '<form action="index.php" method="post">';
echo '<input type="hidden" name="soumis" value="1"> ';
//Tableau générale
echo '<table border="1">';
echo '<tr>';
echo '<td>';
echo '<table>';
echo '<tr height="180Px">';
echo '<td>';
echo '<table>';
echo '<tr>';
echo '<td>'."\n";
echo 'Nom de la société :';
echo '</td>'."\n";
echo '<td colspan="2">';
echo '<input type="text" name="nom_societe value="" size="40">'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Type de société :';
echo '</td>'."\n";
echo '<td>';
echo '<select name="type_societe">';
echo '<option value="-1">Choisir un résultat<option>';
// Récupération des informations triées par ordre alphabétique
$ReqLog = ReqSelection("type_structure");
while ($resultat = pg_fetch_array($ReqLog)) {
echo '<option value="'.$resultat[0].'">'.$resultat[1];
echo '</option>'."\n";
}
echo '</select>'."\n";
echo '</td>'."\n";
echo '<td>'."\n";
echo 'Code APE :';
echo '</td>'."\n";
echo '<td>';
echo '<select name="ape">';
echo '<option value="-1">Choisir un résultat<option>';
// Récupération des informations triées par ordre alphabétique
$ReqLog = ReqSelection("ape");
while ($resultat = pg_fetch_array($ReqLog)) {
echo '<option value="'.$resultat[0].'">'.$resultat[1];
echo '</option>'."\n";
}
echo '</select>'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Num de TVA :';
echo '</td>'."\n";
echo '<td >';
echo '<input type="text" name="tva" value="" size="13">'."\n";
echo '</td>'."\n";
echo '<td>'."\n";
echo 'Num. SIRET :';
echo '</td>'."\n";
echo '<td>';
echo '<input type="text" name="siret" value="" size="40">'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Num. SIREN :';
echo '</td>'."\n";
echo '<td>';
echo '<input type="text" name="siren" value="" size="40">'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '</table>';
echo '</td>';
echo '<td>';
echo '<table>';
echo '<tr>';
echo '<td>'."\n";
echo 'Num. client :';
echo '</td>'."\n";
echo '<td>';
echo '<input type="text" name="num_client" value="" size="40">'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Date :';
echo '</td>'."\n";
echo '<td>'."\n";
// Date du jour
$date = date (" j - m - Y");
echo '<input border="0" type="text" name="date" value="'.$date.'" size="10" >'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Type de rencontre :';
echo '</td>'."\n";
echo '<td>';
echo '<select name="type_contact">';
echo '<option value="-1">Choisir un résultat<option>';
// Récupération des informations triées par ordre alphabétique
$ReqLog = ReqSelection("type_contact");
while ($resultat = pg_fetch_array($ReqLog)) {
echo '<option value="'.$resultat[0].'">'.$resultat[1];
echo '</option>'."\n";
}
echo '</select>'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '<tr>';
echo '<td>'."\n";
echo 'Statut :';
echo '</td>'."\n";
echo '<td>';
echo '<select name="statut">';
echo '<option value="-1">Choisir un résultat<option>';
// Récupération des informations triées par ordre alphabétique
$ReqLog = ReqSelection("statut_contact");
while ($resultat = pg_fetch_array($ReqLog)) {
echo '<option value="'.$resultat[0].'">'.$resultat[1];
echo '</option>'."\n";
}
echo '</select>'."\n";
echo '</td>'."\n";
echo '</tr>';
echo '</table>';
echo '</td>';
echo '</tr>';
echo '</table>';
echo '</td>';
echo '</tr>';
// Affichage parti contact
echo '<tr height="180Px">';
echo '<td>';
echo '<h2>Contact :</h2>';
echo "<table>\n";
echo "<tr>\n";
echo "<th>Civilité</th>\n";
echo "<th>Nom</th>\n";
echo "<th>Prénom</th>\n";
echo "<th>Fonction</th>\n";
echo "<th>Tel 1</th>\n";
echo "<th>Tel 2</th>\n";
echo "<th>Mail<t/h>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>Civilité</td>\n";
echo "<td>Nom</td>\n";
echo "<td>Prénom</td>\n";
echo "<td>Fonction</td>\n";
echo "<td>Tel 1</td>\n";
echo "<td>Tel 2</td>\n";
echo "<td>Mail</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><a href=\"javascript:OuvrirPopup('ajoutcontactentreprise.php', '', 'top=220, left=250, scrollbars=no, resizable=no, location=no, width=640, height=300, menubar=no, status=no, menubar=no')\"> <input type=\"button\" value=\"Ajouter\"> </a></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo '</td>';
echo '</tr>';
echo '<tr>';
echo '<td>';
echo '</td>';
echo '</tr>';
echo '</table>';
?>
</body> |
Partager