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 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
<%DSN_BASE = "DBQ=" & Server.Mappath("../bd/sl_usuels.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25"
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open DSN_BASE
%>
<html>
<head>
<title>Proposition d'achat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.button { color: black; font-size: 10pt; line-height: 12pt; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #c2c2c2; border: solid 1px black }
.textfeld { color: black; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; background-color: #f7f7f7; border: solid 1px black }
.p { color: #4b4646; font-style: normal; font-weight: normal; font-size: 9pt; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; margin-top: 0px; margin-right: 5px; margin-left: 10px }
-->
</style>
<link rel="stylesheet" href="../BPUN.css">
<base target="principal">
<style fprolloverstyle>
A:hover {color: #C0C0C0; font-weight: bold}
.Style10 {font-size: 8pt; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif;}
.Style11 {font-family: Verdana, Arial, Helvetica, sans-serif}
.Style14 {color: #000000; }
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
if (document.forms[0].elements[0].value=='')
{
alert("Veuillez indiquer une adresse email, svp");
return(false);
}
// Un Email ne contient pas de vide
if (document.forms[0].elements[0].value.search(/ /) !='-1')
{
alert("Pas de blanc dans une adresse Mail");
return(false);
}
var s=document.forms[0].elements[0].value.split(/@/);
// s devient un tableau qui est composé par la valeur du champ coupé aux @
if ((s.length !=2) || s[0]=='' || s[1]=='')
{
alert("Format non conventionnel pour un Email");
return(false);
}
if (document.forms[0].elements[1].value=='Sélectionnez une classe cdu')
{
alert("Veuillez saisir une classe CDU, svp");
return(false);
}
if (document.forms[0].elements[2].value=='')
{
alert("Veuillez indiquer un titre, svp");
return(false);
}
if (document.forms[0].elements[4].value=='')
{
alert("Veuillez indiquer un lien, svp");
return(false);
}
return(true);
}
//-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" link="#4F7499" background="../nav/bkgmain.gif" alink="#000080">
<table border="0" align="left" cellpadding="0" cellspacing="0" width="600" height="423">
<tr>
<td width="599" height="16">
<TABLE height=387 cellSpacing=0 cellPadding=0 width=587 align=left border=0>
<TR>
<TD width=31 height=23><font size="2"><IMG src="vide.gif" border=0 width="30" height="20"></font></TD>
<TD width=556 height=23><font size="2"><IMG src="shim.gif" width="1" height="1"></font></TD></TR>
<TR>
<TD width=31 height=36><font size="2"> </font></TD>
<TD width=556 height=36><font size="2"><IMG
src="SalleLectVirt.jpg" border=0 width="553" height="44"></font></TD>
</TR>
<TR vAlign=top>
<TD width=31 height=328><font size="2"> </font></TD>
<TD vAlign=top width=556 height=328>
<DIV align=left>
<table cellspacing=0 cols=4 cellpadding=0 width=556 border=0>
<tbody>
<tr>
<td width=536 style="font-family: Arial Unicode MS">
<form name="propachat" action="ajout_bd_valid.asp" method="post" onsubmit="return(check());">
<table width="504" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4">
<div align=left>
<h3 class="TxtNormal"><strong><br>
<br>
Proposition d'une nouvelle base de données </strong><br>
<span class=Subnav1>
<font color=#000000>
<span style="font-weight: 400">(Les champs munis d'un astérisque sont obligatoires)</span></font><font size="1" color=#000000><br>
<br>
</font></span></h3>
</div>
</td>
</tr>
<tr>
<td colspan="4" bgcolor="white">
<h4 class="TxtNormal"><strong>Données personnnelles</strong></h4>
</td>
</tr>
<tr height="5">
<td valign="top" width="98" height="5"></td>
<td valign="top" width="7" height="5"></td>
<td valign="top" width="8" height="5"></td>
<td valign="top" width="391" height="5"></td>
</tr>
<tr height="20">
<td width="98" height="20" valign="top" class="TxtNormal">
<div align="right" class="Style14">
<span class=Style10><b class=Style10>
<font size="2" face="Verdana" class=Style11 style="font-size: 8pt; font-size: 8pt; font-weight: normal;">* Votre email</font></b></span></div>
</td>
<td valign="top" width="7" height="20"></td>
<td valign="top" width="8" height="20"></td>
<td valign="top" width="391" height="20"><input size=60 name=Email class=TxtNormal></td>
</tr>
<tr height="5">
<td width="98" height="5" valign="top" class="TxtNormal Style14"></td>
<td width="7" height="5"></td>
<td width="8" height="5"></td>
<td width="391" height="5"></td>
</tr>
<tr>
<td colspan="4" valign="top" bgcolor="white" class="TxtNormal">
<h4 class="TxtNormal Style14"><br>
<strong>Données relatives à la base de données </strong></h4>
</td>
</tr>
<tr height="5">
<td width="98" height="5" valign="top" class="TxtNormal Style14"></td>
<td valign="top" width="7" height="5"></td>
<td valign="top" width="8" height="5"></td>
<td valign="top" width="391" height="5"></td>
</tr>
<tr>
<td width="98" align="right" valign="top" class="TxtNormal Style14"><div align="right">*Section </div></td>
<td width="7"> </td>
<td width="8" > </td>
<td width="391" align="left" valign="top"><select name="Section" class="TxtNormal" id="Section">
<%'-------création de la connection et du recordset pour les matières-----------
Set ConnMatieres = Server.CreateObject("ADODB.Connection")
ConnMatieres.Open DSN_BASE
Set RsMatieres = Server.CreateObject("ADODB.Recordset")%>
<% rsMatieres.Open "Select * from T_matieres ORDER BY cdu" , ConnMatieres
Do Until RsMatieres.Eof %>
<option value="<%=RsMatieres("matiere")%>"><%=RsMatieres("matiere")%></option>
<%
RsMatieres.MoveNext
Loop
RsMatieres.Close
Set RsMatieres = Nothing
ConnMatieres.Close
Set ConnMatieres = Nothing%></select></td>
</tr>
<tr height="20">
<td width="98" height="20" valign="top" class="TxtNormal">
<div align="right" class="Style14">
<div align="right"><span class=Style10><b class=Style10>
<font size="2" face="Verdana" class=Style11 style="font-size: 8pt; font-size: 8pt; font-weight: normal;">* Titre</font></b></span></div>
</div>
</td>
<td valign="top" width="7" height="20"></td>
<td valign="top" width="8" height="20"></td>
<td valign="top" width="391" height="20"><input size=60 name="Titre" class=TxtNormal></td>
</tr>
<tr height="20">
<td width="98" height="20" valign="top" class="TxtNormal"> <div align="right">Description de la base de données </div></td>
<td width="7" height="20" valign="top" class="TxtNormal"></td>
<td valign="top" width="8" height="20"></td>
<td valign="top" width="391" height="20"><textarea name="Remarque" class=TxtNormal wrap=virtual cols="60" rows="5"></textarea></td>
</tr>
<tr height="20">
<td width="98" height="20" valign="top" class="TxtNormal">
<div align="right" class="Style14">
<div align="right"><font size="2" face="Verdana" class=TxtNormal >* Lien</font></b></span></div>
</div>
</td>
<td valign="top" width="7" height="20"></td>
<td valign="top" width="8" height="20"></td>
<td valign="top" width="391" height="20"><input name="Lien" class=TxtNormal id="Lien" value="http://" size=60></td>
</tr>
<tr height="5">
<td width="98" height="2"></td>
<td width="7" height="2"></td>
<td width="8" height="2"></td>
<td width="391" height="2"></td>
</tr>
<tr height="20">
<td bgcolor="white" width="98" height="20"></td>
<td bgcolor="white" width="7" height="20"></td>
<td bgcolor="white" width="8" height="20"></td>
<td bgcolor="white" width="391" height="20"></td>
</tr>
<tr>
<td bgcolor="white" width="98"></td>
<td bgcolor="white" width="7"></td>
<td bgcolor="white" width="8"></td>
<td bgcolor="white" width="391">
<div align="center">
<span class=Subnav1><b class=Subnav1><font size="2" color="#000000"><input type="submit" value="Envoyer" class=button> <input type="reset" value="Tout effacer" class=button> </font></b></span></div>
</td>
</tr>
<tr height="20">
<td height="20" colspan="4" bgcolor="white" class="TxtNormal"><br>
<br>
Votre site sera vérifié et rendu visible aux visiteurs s'il est retenu.<BR>
N'ajoutez pas plusieurs fois le même site, ceci n'accélèrera en aucune façon sa disponibilité.</td>
</tr>
<tr>
<td colspan="4" bgcolor="white">
<div align="center">
</div>
</td>
</tr>
</table>
</form>
</td>
</tr>
</tbody>
</table>
</DIV></TD></TR></TABLE>
*</td>
<td width="10" height="16"><img border="0" src="AcqGen5.gif" width="1" height="1"></td>
</tr>
<tr valign="top">
<td height="67">
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html> |
Partager