A voir également:
- Probleme insertion de données
- Insertion liste déroulante excel - Guide
- Insertion signature word - Guide
- Reinstaller windows sans perte de données - Guide
- Insertion sommaire word - Guide
- Effacer les données de navigation - Guide
3 réponses
bissdebrazza
Messages postés
2065
Date d'inscription
vendredi 29 juin 2007
Statut
Contributeur
Dernière intervention
7 décembre 2017
712
26 janv. 2009 à 20:45
26 janv. 2009 à 20:45
Salut!
on peux voir ton code stp?
on peux voir ton code stp?
bissdebrazza
Messages postés
2065
Date d'inscription
vendredi 29 juin 2007
Statut
Contributeur
Dernière intervention
7 décembre 2017
712
26 janv. 2009 à 21:44
26 janv. 2009 à 21:44
salut!
s'il met impossible d'afficher la page,c'est parce qu'il ne trouve pas l'action mis dans le form,donc raison pour laquelle tu as ce message "impossible d'afficher la page".j'ai vu aussi quelques coquilles dans le code d'insertion avec les apostrophes.je l'ai modifié selon mes capacités.
s'il met impossible d'afficher la page,c'est parce qu'il ne trouve pas l'action mis dans le form,donc raison pour laquelle tu as ce message "impossible d'afficher la page".j'ai vu aussi quelques coquilles dans le code d'insertion avec les apostrophes.je l'ai modifié selon mes capacités.
<?php session_start(); if(isset($_POST["code_captcha"])) { if(($_SESSION['captcha_code'] == $_POST['code_captcha']) && (!empty($_SESSION['captcha_code'])) ) { //Passed! $captcha_msg="Thank you"; }else{ // Not passed 8-( $captcha_msg="invalid code"; if(isset($_POST["MM_insert"])){ unset($_POST["MM_insert"]); } if(isset($_POST["MM_update"])){ unset($_POST["MM_update"]); } } } class CaptchaImage { var $font = "verdana.ttf"; function hex_to_dec($hexcolor){ //convert hex hex values to decimal ones $dec_color=array('r'=>hexdec(substr($hexcolor,0,2)),'g'=>hexdec(substr($hexcolor,2,2)),'b'=>hexdec(substr($hexcolor,4,2))); return $dec_color; } function generateCode($characters) { /* list all possible characters, similar looking characters and vowels have been removed */ $possible = '23456789bcdfghjkmnpqrstvwxyz'; $code = ''; $i = 0; while ($i < $characters) { $code .= substr($possible, mt_rand(0, strlen($possible)-1), 1); $i++; } return $code; } function CaptchaImage($width='120',$height='30',$characters='6',$hex_bg_color='FFFFFF',$hex_text_color="FF0000",$hex_noise_color="CC0000", $img_file='captcha.jpg') { $rgb_bg_color=$this->hex_to_dec($hex_bg_color); $rgb_text_color=$this->hex_to_dec($hex_text_color); $rgb_noise_color=$this->hex_to_dec($hex_noise_color); $code = $this->generateCode($characters); /* font size will be 60% of the image height */ $font_size = $height * 0.60; $image = @imagecreate($width, $height) or die('Cannot Initialize new GD image stream'); /* set the colours */ $background_color = imagecolorallocate($image, $rgb_bg_color['r'], $rgb_bg_color['g'],$rgb_bg_color['b']); $text_color = imagecolorallocate($image, $rgb_text_color['r'], $rgb_text_color['g'],$rgb_text_color['b']); $noise_color = imagecolorallocate($image, $rgb_noise_color['r'], $rgb_noise_color['g'],$rgb_noise_color['b']); /* generate random dots in background */ for( $i=0; $i<($width*$height)/3; $i++ ) { imagefilledellipse($image, mt_rand(0,$width), mt_rand(0,$height), 1, 1, $noise_color); } /* generate random lines in background */ for( $i=0; $i<($width*$height)/150; $i++ ) { imageline($image, mt_rand(0,$width), mt_rand(0,$height), mt_rand(0,$width), mt_rand(0,$height), $noise_color); } /* create textbox and add text */ $textbox = imagettfbbox($font_size, 0, $this->font, $code); $x = ($width - $textbox[4])/2; $y = ($height - $textbox[5])/2; imagettftext($image, $font_size, 0, $x, $y, $text_color, $this->font , $code); /* save the image */ imagejpeg($image,$img_file); imagedestroy($image); echo "<img src=\"$img_file?".time()."\" width=\"$width\" height=\"$height\" alt=\"security code\" id=\"captchaImg\">"; $_SESSION['captcha_code'] = $code; } } ?> <?php virtual('/Connections/client.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO structure (company, e-mail, comment, structure_img) VALUES (%s, %s, %s, %s)", GetSQLValueString($_POST['company'], "text"), GetSQLValueString($_POST['email'], "text"), GetSQLValueString($_POST['comment'], "text"), GetSQLValueString($_POST['structure_img'], "text")); mysql_select_db($database_client, $client); $Result1 = mysql_query($insertSQL, $client) or die(mysql_error()); $insertGoTo = "/PageSite/thanks.html"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); } mysql_select_db($database_client, $client); $query_info_structure = "SELECT * FROM `structure`"; $info_structure = mysql_query($query_info_structure, $client) or die(mysql_error()); $row_info_structure = mysql_fetch_assoc($info_structure); $totalRows_info_structure = mysql_num_rows($info_structure); ?><!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"><!-- InstanceBegin template="/Templates/siteOrgalight.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>page contact</title> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="head" --> <style type="text/css"> <!-- #apDiv7 { position:absolute; left:618px; top:382px; width:124px; height:28px; z-index:7; background-image: url(/images/boutton/fond_mail.png); } .Style5 { font-size: 18; font-family: Geneva, Arial, Helvetica, sans-serif; } #apDiv8 { position:absolute; left:384px; top:814px; width:56px; height:49px; z-index:8; } .Style7 { font-size: 18; font-family: Georgia, "Times New Roman", Times, serif; font-style: italic; font-weight: bold; } .Style8 { font-family: Verdana, Arial, Helvetica, sans-serif } .Style9 {font-size: 18; font-family: Georgia, "Times New Roman", Times, serif; } --> </style> <script type="text/javascript"> <!-- function flvFPW1(){//v1.44 // Copyright 2002-2004, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/) var v1=arguments,v2=v1[2].split(","),v3=(v1.length>3)?v1[3]:false,v4=(v1.length>4)?parseInt(v1[4]):0,v5=(v1.length>5)?parseInt(v1[5]):0,v6,v7=0,v8,v9,v10,v11,v12,v13,v14,v15,v16;v11=new Array("width,left,"+v4,"height,top,"+v5);for (i=0;i<v11.length;i++){v12=v11[i].split(",");l_iTarget=parseInt(v12[2]);if (l_iTarget>1||v1[2].indexOf("%")>-1){v13=eval("screen."+v12[0]);for (v6=0;v6<v2.length;v6++){v10=v2[v6].split("=");if (v10[0]==v12[0]){v14=parseInt(v10[1]);if (v10[1].indexOf("%")>-1){v14=(v14/100)*v13;v2[v6]=v12[0]+"="+v14;}}if (v10[0]==v12[1]){v16=parseInt(v10[1]);v15=v6;}}if (l_iTarget==2){v7=(v13-v14)/2;v15=v2.length;}else if (l_iTarget==3){v7=v13-v14-v16;}v2[v15]=v12[1]+"="+v7;}}v8=v2.join(",");v9=window.open(v1[0],v1[1],v8);if (v3){v9.focus();}document.MM_returnValue=false;return v9;} function YY_checkform() { //v4.71 //copyright (c)1998,2002 Yaromat.com var a=YY_checkform.arguments,oo=true,v='',s='',err=false,r,o,at,o1,t,i,j,ma,rx,cd,cm,cy,dte,at; for (i=1; i<a.length;i=i+4){ if (a[i+1].charAt(0)=='#'){r=true; a[i+1]=a[i+1].substring(1);}else{r=false} o=MM_findObj(a[i].replace(/\[\d+\]/ig,"")); o1=MM_findObj(a[i+1].replace(/\[\d+\]/ig,"")); v=o.value;t=a[i+2]; if (o.type=='text'||o.type=='password'||o.type=='hidden'){ if (r&&v.length==0){err=true} if (v.length>0) if (t==1){ //fromto ma=a[i+1].split('_');if(isNaN(v)||v<ma[0]/1||v > ma[1]/1){err=true} } else if (t==2){ rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$");if(!rx.test(v))err=true; } else if (t==3){ // date ma=a[i+1].split("#");at=v.match(ma[0]); if(at){ cd=(at[ma[1]])?at[ma[1]]:1;cm=at[ma[2]]-1;cy=at[ma[3]]; dte=new Date(cy,cm,cd); if(dte.getFullYear()!=cy||dte.getDate()!=cd||dte.getMonth()!=cm){err=true}; }else{err=true} } else if (t==4){ // time ma=a[i+1].split("#");at=v.match(ma[0]);if(!at){err=true} } else if (t==5){ // check this 2 if(o1.length)o1=o1[a[i+1].replace(/(.*\[)|(\].*)/ig,"")]; if(!o1.checked){err=true} } else if (t==6){ // the same if(v!=MM_findObj(a[i+1]).value){err=true} } } else if (!o.type&&o.length>0&&o[0].type=='radio'){ at = a[i].match(/(.*)\[(\d+)\].*/i); o2=(o.length>1)?o[at[2]]:o; if (t==1&&o2&&o2.checked&&o1&&o1.value.length/1==0){err=true} if (t==2){ oo=false; for(j=0;j<o.length;j++){oo=oo||o[j].checked} if(!oo){s+='* '+a[i+3]+'\n'} } } else if (o.type=='checkbox'){ if((t==1&&o.checked==false)||(t==2&&o.checked&&o1&&o1.value.length/1==0)){err=true} } else if (o.type=='select-one'||o.type=='select-multiple'){ if(t==1&&o.selectedIndex/1==0){err=true} }else if (o.type=='textarea'){ if(v.length<a[i+1]){err=true} } if (err){s+='* '+a[i+3]+'\n'; err=false} } if (s!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)} document.MM_returnValue = (s==''); } function MM_validateForm() { //v4.0 if (document.getElementById){ var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments; for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]); if (val) { nm=val.name; if ((val=val.value)!="") { if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@'); if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n'; } else if (test!='R') { num = parseFloat(val); if (isNaN(val)) errors+='- '+nm+' must contain a number.\n'; if (test.indexOf('inRange') != -1) { p=test.indexOf(':'); min=test.substring(8,p); max=test.substring(p+1); if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n'; } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; } } if (errors) alert('The following error(s) occurred:\n'+errors); document.MM_returnValue = (errors == ''); } } //--> </script> <!-- InstanceEndEditable --> <style type="text/css"> <!-- #apDiv1 { position:absolute; left:104px; top:337px; width:150px; height:45px; z-index:1; } #apDiv2 { position:absolute; left:105px; top:392px; width:150px; height:45px; z-index:2; } #apDiv3 { position:absolute; left:105px; top:447px; width:150px; height:45px; z-index:3; } #apDiv4 { position:absolute; left:104px; top:502px; width:150px; height:45px; z-index:4; } #apDiv5 { position:absolute; left:105px; top:557px; width:150px; height:45px; z-index:5; } #apDiv6 { position:absolute; left:105px; top:612px; width:150px; height:45px; z-index:6; } a:link { color: #FFFFFF; } a:visited { color: #66FFFF; } body { background-color: #8175CC; margin-left: 100px; background-image: url(../images/fond_central.gif); } .Style2 {color: #8175CC} --> </style> <script type="text/javascript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_nbGroup(event, grpName) { //v6.0 var i,img,nbArr,args=MM_nbGroup.arguments; if (event == "init" && args.length > 2) { if ((img = MM_findObj(args[2])) != null && !img.MM_init) { img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src; if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array(); nbArr[nbArr.length] = img; for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = args[i+1]; nbArr[nbArr.length] = img; } } } else if (event == "over") { document.MM_nbOver = nbArr = new Array(); for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up); nbArr[nbArr.length] = img; } } else if (event == "out" ) { for (i=0; i < document.MM_nbOver.length; i++) { img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; } } else if (event == "down") { nbArr = document[grpName]; if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; } document[grpName] = nbArr = new Array(); for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up; nbArr[nbArr.length] = img; } } } //--> </script> <script src="file:///C|/Documents and Settings/Propriétaire/Mes documents/Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head> <body onload="MM_preloadImages('../images/boutton/b_about_us_f3.png','../images/boutton/b_about_us_f2.png','../images/boutton/b_about_us_f4.png','../images/boutton/b_home_f3.png','../images/boutton/b_home_f2.png','../images/boutton/b_home_f4.png','../images/boutton/b_contact_f3.png','../images/boutton/b_contact_f2.png','../images/boutton/b_contact_f4.png','../images/boutton/b_products_f3.png','../images/boutton/b_products_f2.png','../images/boutton/b_products_f4.png','../images/boutton/b_order_f3.png','../images/boutton/b_order_f2.png','../images/boutton/b_order_f4.png','../images/boutton/b_links_f3.png','../images/boutton/b_links_f2.png','../images/boutton/b_links_f4.png')"> <!-- InstanceBeginEditable name="bouton_nav" --> <div id="apDiv1"> <div align="left"> <a href="Home.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_home','/images/boutton/b_home_f3.png',1)" onmouseover="MM_nbGroup('over','b_home','/images/boutton/b_home_f2.png','/images/boutton/b_home_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_home" src="/images/boutton/b_home.png" width="154" height="50" border="0" id="b_home" alt="" /></a></div> </div> <div id="apDiv2"> <div align="left"><a href="about_us.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_about_us','/images/boutton/b_about_us_f3.png',1)" onmouseover="MM_nbGroup('over','b_about_us','/images/boutton/b_about_us_f2.png','/images/boutton/b_about_us_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_about_us" src="/images/boutton/b_about_us.png" width="154" height="50" border="0" id="b_about_us" alt="" /></a></div> </div> <div id="apDiv3"> <div align="left"> <a href="contact.php" target="_top" onclick="MM_nbGroup('down','navbar1','b_contact','/images/boutton/b_contact_f3.png',1)" onmouseover="MM_nbGroup('over','b_contact','/images/boutton/b_contact_f2.png','/images/boutton/b_contact_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_contact" src="/images/boutton/b_contact.png" width="154" height="50" border="0" id="b_contact" alt="" /></a></div> </div> <div id="apDiv4"> <div align="left"> <a href="product.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_products','/images/boutton/b_products_f3.png',1)" onmouseover="MM_nbGroup('over','b_products','/images/boutton/b_products_f2.png','/images/boutton/b_products_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_products" src="/images/boutton/b_products.png" width="154" height="50" border="0" id="b_products" alt="" /></a></div> </div> <div id="apDiv5"> <div align="left"> <a href="order.php" target="_top" onclick="MM_nbGroup('down','navbar1','b_order','/images/boutton/b_order_f3.png',1)" onmouseover="MM_nbGroup('over','b_order','/images/boutton/b_order_f2.png','/images/boutton/b_order_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_order" src="/images/boutton/b_order.png" width="154" height="50" border="0" id="b_order" alt="" /></a></div> </div> <div id="apDiv6"> <div align="left"> <a href="link.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_links','/images/boutton/b_links_f3.png',1)" onmouseover="MM_nbGroup('over','b_links','/images/boutton/b_links_f2.png','/images/boutton/b_links_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_links" src="/images/boutton/b_links.png" width="154" height="50" border="0" id="b_links" alt="" /></a></div> </div> <!-- InstanceEndEditable --> <table width="1149" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td height="150" colspan="3" valign="top"><img src="../images/baniere_3.jpg" alt="banniere" width="1000" height="150" /></td> </tr> <tr> <td height="25" colspan="3" valign="top"><img src="../images/BarreHaut.jpg" width="1000" height="25" /></td> </tr> <tr> <td width="160" height="545" valign="top" background="../images/Fond_gauche.gif"><!--DWLayoutEmptyCell--> </td> <!-- InstanceBeginEditable name="centre" --> <td width="842" valign="top" background="/images/fond_central.gif"><p> </p> <p align="center" class="Style5 Style8"><em><strong>Contact</strong></em></p> <p align="center" class="Style9"><em><strong>Any question, comments or just want</strong></em></p> <p align="center" class="Style9"><em><strong>to learn more about us? Click the link below and send us a mail :</strong></em></p> <p align="center"><a href="mailto:orgalight@free.fr"><img src="/images/annimation/3d_@_sign_3.gif" width="55" height="65" /></a> <!-- This script can be used FREELY as long as this copyright message is intact: Mail Spam Blocker / Copyright (c) 2004 by www.myvasco.com Internet Marketing Solutions --> </p> <p align="center" class="Style7">Or, if you need some information about a molecule or any structure</p> <p align="center" class="Style7">please fill this form :</p> <p align="center"> </p> <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1" onsubmit="YY_checkform('form1','company','#q','0','Field \'company\' is not valid.','email','S','2','Field \'email\' is not valid.');return document.MM_returnValue"> <table align="center"> <tr valign="baseline"> <td nowrap="nowrap" align="right">Company:</td> <td><input name="company" type="text" id="company" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right">E-mail:</td> <td><input name="email" type="text" id="email" value="" size="32" /></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right" valign="top">Comment:</td> <td><textarea name="comment" cols="50" rows="5"></textarea> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right" valign="top">Structure (img.jpg):</td> <td><textarea name="structure_img" cols="50" rows="5"></textarea> </td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td> <?php $captcha = new CaptchaImage(150,50,5,'66FFFF','FFFF00','996600');?></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"><img src="/images/Info_boutton.png" alt="info captcha" width="44" height="37" onclick="flvFPW1('/PageSite/popup.html','popupLink','width=200,height=200,scrollbars=yes,resizable=yes',1);return document.MM_returnValue" />security code : </td> <td><label> <input type="text" name="code_captcha" id="code_captcha" /> </label></td> </tr> <tr valign="baseline"> <td nowrap="nowrap" align="right"> </td> <td><input name="send" type="submit" id="send" onclick="MM_validateForm('company','','R','email','','RisEmail','code_captcha','','R');return document.MM_returnValue" value="send" /> <label> <input type="reset" name="cancel" id="cancel" value="cancel" /> </label></td> </tr> </table> <input type="hidden" name="MM_insert" value="form1" /> </form> <p> </p> <p align="center"> </p></td> <td width="147"> </td> <!-- InstanceEndEditable --></tr> <tr> <td height="32" colspan="2" align="center" valign="middle" background="../images/BarreBas.jpg"><span class="Style2"></span><!-- InstanceBeginEditable name="cadre_liens" --> <div align="center" class="Style2"> <!-- This script can be used FREELY as long as this copyright message is intact: Mail Spam Blocker / Copyright (c) 2004 by www.myvasco.com Internet Marketing Solutions --> contact ; <a href="/term.html" title="term and condition">terms and conditions</a> ; <a href="/reference.html" title="reference">references</a>; <a href="/link.html" title="link">links</a></div> <!-- InstanceEndEditable --></td> <td> </td> </tr> </table> </body> <!-- InstanceEnd --></html> <?php mysql_free_result($info_structure); ?>
bissdebrazza
Messages postés
2065
Date d'inscription
vendredi 29 juin 2007
Statut
Contributeur
Dernière intervention
7 décembre 2017
712
26 janv. 2009 à 22:54
26 janv. 2009 à 22:54
salut!
moi je n'utilise jamais ce genre de truc pour l'action du form.moi je met soit dans un autre fichier le script php pour inserer et je l'appelle depuis le form ou dans l'action je ne met rien mais je met le script tout en haut!
moi je n'utilise jamais ce genre de truc pour l'action du form.moi je met soit dans un autre fichier le script php pour inserer et je l'appelle depuis le form ou dans l'action je ne met rien mais je met le script tout en haut!
26 janv. 2009 à 21:19
<?php
session_start();
if(isset($_POST["code_captcha"])) {
if(($_SESSION['captcha_code'] == $_POST['code_captcha']) && (!empty($_SESSION['captcha_code'])) ) {
//Passed!
$captcha_msg="Thank you";
}else{
// Not passed 8-(
$captcha_msg="invalid code";
if(isset($_POST["MM_insert"])){
unset($_POST["MM_insert"]);
}
if(isset($_POST["MM_update"])){
unset($_POST["MM_update"]);
}
}
}
class CaptchaImage {
var $font = "verdana.ttf";
function hex_to_dec($hexcolor){
//convert hex hex values to decimal ones
$dec_color=array('r'=>hexdec(substr($hexcolor,0,2)),'g'=>hexdec(substr($hexcolor,2,2)),'b'=>hexdec(substr($hexcolor,4,2)));
return $dec_color;
}
function generateCode($characters) {
/* list all possible characters, similar looking characters and vowels have been removed */
$possible = '23456789bcdfghjkmnpqrstvwxyz';
$code = '';
$i = 0;
while ($i < $characters) {
$code .= substr($possible, mt_rand(0, strlen($possible)-1), 1);
$i++;
}
return $code;
}
function CaptchaImage($width='120',$height='30',$characters='6',$hex_bg_color='FFFFFF',$hex_text_color="FF0000",$hex_noise_color="CC0000", $img_file='captcha.jpg') {
$rgb_bg_color=$this->hex_to_dec($hex_bg_color);
$rgb_text_color=$this->hex_to_dec($hex_text_color);
$rgb_noise_color=$this->hex_to_dec($hex_noise_color);
$code = $this->generateCode($characters);
/* font size will be 60% of the image height */
$font_size = $height * 0.60;
$image = @imagecreate($width, $height) or die('Cannot Initialize new GD image stream');
/* set the colours */
$background_color = imagecolorallocate($image, $rgb_bg_color['r'], $rgb_bg_color['g'],$rgb_bg_color['b']);
$text_color = imagecolorallocate($image, $rgb_text_color['r'], $rgb_text_color['g'],$rgb_text_color['b']);
$noise_color = imagecolorallocate($image, $rgb_noise_color['r'], $rgb_noise_color['g'],$rgb_noise_color['b']);
/* generate random dots in background */
for( $i=0; $i<($width*$height)/3; $i++ ) {
imagefilledellipse($image, mt_rand(0,$width), mt_rand(0,$height), 1, 1, $noise_color);
}
/* generate random lines in background */
for( $i=0; $i<($width*$height)/150; $i++ ) {
imageline($image, mt_rand(0,$width), mt_rand(0,$height), mt_rand(0,$width), mt_rand(0,$height), $noise_color);
}
/* create textbox and add text */
$textbox = imagettfbbox($font_size, 0, $this->font, $code);
$x = ($width - $textbox[4])/2;
$y = ($height - $textbox[5])/2;
imagettftext($image, $font_size, 0, $x, $y, $text_color, $this->font , $code);
/* save the image */
imagejpeg($image,$img_file);
imagedestroy($image);
echo "<img src=\"$img_file?".time()."\" width=\"$width\" height=\"$height\" alt=\"security code\" id=\"captchaImg\">";
$_SESSION['captcha_code'] = $code;
}
}
?>
<?php virtual('/Connections/client.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$insertSQL = sprintf("INSERT INTO ``structure`` (company, e-mail, `comment`, structure_img) VALUES (%s, %s, %s, %s)",
GetSQLValueString($_POST['company'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['comment'], "text"),
GetSQLValueString($_POST['structure_img'], "text"));
mysql_select_db($database_client, $client);
$Result1 = mysql_query($insertSQL, $client) or die(mysql_error());
$insertGoTo = "/PageSite/thanks.html";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
mysql_select_db($database_client, $client);
$query_info_structure = "SELECT * FROM `structure`";
$info_structure = mysql_query($query_info_structure, $client) or die(mysql_error());
$row_info_structure = mysql_fetch_assoc($info_structure);
$totalRows_info_structure = mysql_num_rows($info_structure);
?><!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"><!-- InstanceBegin template="/Templates/siteOrgalight.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>page contact</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
#apDiv7 {
position:absolute;
left:618px;
top:382px;
width:124px;
height:28px;
z-index:7;
background-image: url(/images/boutton/fond_mail.png);
}
.Style5 {
font-size: 18;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
#apDiv8 {
position:absolute;
left:384px;
top:814px;
width:56px;
height:49px;
z-index:8;
}
.Style7 {
font-size: 18;
font-family: Georgia, "Times New Roman", Times, serif;
font-style: italic;
font-weight: bold;
}
.Style8 {
font-family: Verdana, Arial, Helvetica, sans-serif
}
.Style9 {font-size: 18; font-family: Georgia, "Times New Roman", Times, serif; }
-->
</style>
<script type="text/javascript">
<!--
function flvFPW1(){//v1.44
// Copyright 2002-2004, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
var v1=arguments,v2=v1[2].split(","),v3=(v1.length>3)?v1[3]:false,v4=(v1.length>4)?parseInt(v1[4]):0,v5=(v1.length>5)?parseInt(v1[5]):0,v6,v7=0,v8,v9,v10,v11,v12,v13,v14,v15,v16;v11=new Array("width,left,"+v4,"height,top,"+v5);for (i=0;i<v11.length;i++){v12=v11[i].split(",");l_iTarget=parseInt(v12[2]);if (l_iTarget>1||v1[2].indexOf("%")>-1){v13=eval("screen."+v12[0]);for (v6=0;v6<v2.length;v6++){v10=v2[v6].split("=");if (v10[0]==v12[0]){v14=parseInt(v10[1]);if (v10[1].indexOf("%")>-1){v14=(v14/100)*v13;v2[v6]=v12[0]+"="+v14;}}if (v10[0]==v12[1]){v16=parseInt(v10[1]);v15=v6;}}if (l_iTarget==2){v7=(v13-v14)/2;v15=v2.length;}else if (l_iTarget==3){v7=v13-v14-v16;}v2[v15]=v12[1]+"="+v7;}}v8=v2.join(",");v9=window.open(v1[0],v1[1],v8);if (v3){v9.focus();}document.MM_returnValue=false;return v9;}
function YY_checkform() { //v4.71
//copyright (c)1998,2002 Yaromat.com
var a=YY_checkform.arguments,oo=true,v='',s='',err=false,r,o,at,o1,t,i,j,ma,rx,cd,cm,cy,dte,at;
for (i=1; i<a.length;i=i+4){
if (a[i+1].charAt(0)=='#'){r=true; a[i+1]=a[i+1].substring(1);}else{r=false}
o=MM_findObj(a[i].replace(/\[\d+\]/ig,""));
o1=MM_findObj(a[i+1].replace(/\[\d+\]/ig,""));
v=o.value;t=a[i+2];
if (o.type=='text'||o.type=='password'||o.type=='hidden'){
if (r&&v.length==0){err=true}
if (v.length>0)
if (t==1){ //fromto
ma=a[i+1].split('_');if(isNaN(v)||v<ma[0]/1||v > ma[1]/1){err=true}
} else if (t==2){
rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$");if(!rx.test(v))err=true;
} else if (t==3){ // date
ma=a[i+1].split("#");at=v.match(ma[0]);
if(at){
cd=(at[ma[1]])?at[ma[1]]:1;cm=at[ma[2]]-1;cy=at[ma[3]];
dte=new Date(cy,cm,cd);
if(dte.getFullYear()!=cy||dte.getDate()!=cd||dte.getMonth()!=cm){err=true};
}else{err=true}
} else if (t==4){ // time
ma=a[i+1].split("#");at=v.match(ma[0]);if(!at){err=true}
} else if (t==5){ // check this 2
if(o1.length)o1=o1[a[i+1].replace(/(.*\[)|(\].*)/ig,"")];
if(!o1.checked){err=true}
} else if (t==6){ // the same
if(v!=MM_findObj(a[i+1]).value){err=true}
}
} else
if (!o.type&&o.length>0&&o[0].type=='radio'){
at = a[i].match(/(.*)\[(\d+)\].*/i);
o2=(o.length>1)?o[at[2]]:o;
if (t==1&&o2&&o2.checked&&o1&&o1.value.length/1==0){err=true}
if (t==2){
oo=false;
for(j=0;j<o.length;j++){oo=oo||o[j].checked}
if(!oo){s+='* '+a[i+3]+'\n'}
}
} else if (o.type=='checkbox'){
if((t==1&&o.checked==false)||(t==2&&o.checked&&o1&&o1.value.length/1==0)){err=true}
} else if (o.type=='select-one'||o.type=='select-multiple'){
if(t==1&&o.selectedIndex/1==0){err=true}
}else if (o.type=='textarea'){
if(v.length<a[i+1]){err=true}
}
if (err){s+='* '+a[i+3]+'\n'; err=false}
}
if (s!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)}
document.MM_returnValue = (s=='');
}
function MM_validateForm() { //v4.0
if (document.getElementById){
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
} }
//-->
</script>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:104px;
top:337px;
width:150px;
height:45px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:105px;
top:392px;
width:150px;
height:45px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:105px;
top:447px;
width:150px;
height:45px;
z-index:3;
}
#apDiv4 {
position:absolute;
left:104px;
top:502px;
width:150px;
height:45px;
z-index:4;
}
#apDiv5 {
position:absolute;
left:105px;
top:557px;
width:150px;
height:45px;
z-index:5;
}
#apDiv6 {
position:absolute;
left:105px;
top:612px;
width:150px;
height:45px;
z-index:6;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #66FFFF;
}
body {
background-color: #8175CC;
margin-left: 100px;
background-image: url(../images/fond_central.gif);
}
.Style2 {color: #8175CC}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
<script src="file:///C|/Documents and Settings/Propriétaire/Mes documents/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="MM_preloadImages('../images/boutton/b_about_us_f3.png','../images/boutton/b_about_us_f2.png','../images/boutton/b_about_us_f4.png','../images/boutton/b_home_f3.png','../images/boutton/b_home_f2.png','../images/boutton/b_home_f4.png','../images/boutton/b_contact_f3.png','../images/boutton/b_contact_f2.png','../images/boutton/b_contact_f4.png','../images/boutton/b_products_f3.png','../images/boutton/b_products_f2.png','../images/boutton/b_products_f4.png','../images/boutton/b_order_f3.png','../images/boutton/b_order_f2.png','../images/boutton/b_order_f4.png','../images/boutton/b_links_f3.png','../images/boutton/b_links_f2.png','../images/boutton/b_links_f4.png')">
<!-- InstanceBeginEditable name="bouton_nav" -->
<div id="apDiv1">
<div align="left"> <a href="Home.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_home','/images/boutton/b_home_f3.png',1)" onmouseover="MM_nbGroup('over','b_home','/images/boutton/b_home_f2.png','/images/boutton/b_home_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_home" src="/images/boutton/b_home.png" width="154" height="50" border="0" id="b_home" alt="" /></a></div>
</div>
<div id="apDiv2">
<div align="left"><a href="about_us.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_about_us','/images/boutton/b_about_us_f3.png',1)" onmouseover="MM_nbGroup('over','b_about_us','/images/boutton/b_about_us_f2.png','/images/boutton/b_about_us_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_about_us" src="/images/boutton/b_about_us.png" width="154" height="50" border="0" id="b_about_us" alt="" /></a></div>
</div>
<div id="apDiv3">
<div align="left"> <a href="contact.php" target="_top" onclick="MM_nbGroup('down','navbar1','b_contact','/images/boutton/b_contact_f3.png',1)" onmouseover="MM_nbGroup('over','b_contact','/images/boutton/b_contact_f2.png','/images/boutton/b_contact_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_contact" src="/images/boutton/b_contact.png" width="154" height="50" border="0" id="b_contact" alt="" /></a></div>
</div>
<div id="apDiv4">
<div align="left"> <a href="product.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_products','/images/boutton/b_products_f3.png',1)" onmouseover="MM_nbGroup('over','b_products','/images/boutton/b_products_f2.png','/images/boutton/b_products_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_products" src="/images/boutton/b_products.png" width="154" height="50" border="0" id="b_products" alt="" /></a></div>
</div>
<div id="apDiv5">
<div align="left"> <a href="order.php" target="_top" onclick="MM_nbGroup('down','navbar1','b_order','/images/boutton/b_order_f3.png',1)" onmouseover="MM_nbGroup('over','b_order','/images/boutton/b_order_f2.png','/images/boutton/b_order_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_order" src="/images/boutton/b_order.png" width="154" height="50" border="0" id="b_order" alt="" /></a></div>
</div>
<div id="apDiv6">
<div align="left"> <a href="link.html" target="_top" onclick="MM_nbGroup('down','navbar1','b_links','/images/boutton/b_links_f3.png',1)" onmouseover="MM_nbGroup('over','b_links','/images/boutton/b_links_f2.png','/images/boutton/b_links_f4.png',1)" onmouseout="MM_nbGroup('out');"><img name="b_links" src="/images/boutton/b_links.png" width="154" height="50" border="0" id="b_links" alt="" /></a></div>
</div>
<!-- InstanceEndEditable -->
<table width="1149" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="150" colspan="3" valign="top"><img src="../images/baniere_3.jpg" alt="banniere" width="1000" height="150" /></td>
</tr>
<tr>
<td height="25" colspan="3" valign="top"><img src="../images/BarreHaut.jpg" width="1000" height="25" /></td>
</tr>
<tr>
<td width="160" height="545" valign="top" background="../images/Fond_gauche.gif"><!--DWLayoutEmptyCell--> </td>
<!-- InstanceBeginEditable name="centre" -->
<td width="842" valign="top" background="/images/fond_central.gif"><p> </p>
<p align="center" class="Style5 Style8"><em><strong>Contact</strong></em></p>
<p align="center" class="Style9"><em><strong>Any question, comments or just want</strong></em></p>
<p align="center" class="Style9"><em><strong>to learn more about us? Click the link below and send us a mail :</strong></em></p>
<p align="center"><a href="mailto:orgalight@free.fr"><img src="/images/annimation/3d_@_sign_3.gif" width="55" height="65" /></a>
<!-- This script can be used FREELY as long as this copyright message is intact: Mail Spam Blocker / Copyright (c) 2004 by www.myvasco.com Internet Marketing Solutions -->
</p>
<p align="center" class="Style7">Or, if you need some information about a molecule or any structure</p>
<p align="center" class="Style7">please fill this form :</p>
<p align="center"> </p>
<form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1" onsubmit="YY_checkform('form1','company','#q','0','Field \'company\' is not valid.','email','S','2','Field \'email\' is not valid.');return document.MM_returnValue">
<table align="center">
<tr valign="baseline">
<td nowrap="nowrap" align="right">Company:</td>
<td><input name="company" type="text" id="company" value="" size="32" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right">E-mail:</td>
<td><input name="email" type="text" id="email" value="" size="32" /></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right" valign="top">Comment:</td>
<td><textarea name="comment" cols="50" rows="5"></textarea> </td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right" valign="top">Structure (img.jpg):</td>
<td><textarea name="structure_img" cols="50" rows="5"></textarea> </td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"> </td>
<td>
<?php $captcha = new CaptchaImage(150,50,5,'66FFFF','FFFF00','996600');?></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"><img src="/images/Info_boutton.png" alt="info captcha" width="44" height="37" onclick="flvFPW1('/PageSite/popup.html','popupLink','width=200,height=200,scrollbars=yes,resizable=yes',1);return document.MM_returnValue" />security code : </td>
<td><label>
<input type="text" name="code_captcha" id="code_captcha" />
</label></td>
</tr>
<tr valign="baseline">
<td nowrap="nowrap" align="right"> </td>
<td><input name="send" type="submit" id="send" onclick="MM_validateForm('company','','R','email','','RisEmail','code_captcha','','R');return document.MM_returnValue" value="send" />
<label>
<input type="reset" name="cancel" id="cancel" value="cancel" />
</label></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="form1" />
</form>
<p> </p>
<p align="center"> </p></td>
<td width="147"> </td>
<!-- InstanceEndEditable --></tr>
<tr>
<td height="32" colspan="2" align="center" valign="middle" background="../images/BarreBas.jpg"><span class="Style2"></span><!-- InstanceBeginEditable name="cadre_liens" -->
<div align="center" class="Style2">
<!-- This script can be used FREELY as long as this copyright message is intact: Mail Spam Blocker / Copyright (c) 2004 by www.myvasco.com Internet Marketing Solutions -->
contact ; <a href="/term.html" title="term and condition">terms and conditions</a> ; <a href="/reference.html" title="reference">references</a>; <a href="/link.html" title="link">links</a></div>
<!-- InstanceEndEditable --></td>
<td> </td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($info_structure);
?>
Désolé y'en a un sacrer paqué !