[php]<?php require_once('Connections/ateliermeca.php'); ?>
<?php
mysql_select_db($database_ateliermeca, $ateliermeca);
$query_marques = "SELECT * FROM marques";
$marques = mysql_query($query_marques, $ateliermeca) or die(mysql_error());
$row_marques = mysql_fetch_assoc($marques);
$totalRows_marques = mysql_num_rows($marques);
mysql_select_db($database_ateliermeca, $ateliermeca);
$query_models = "SELECT * FROM models";
$models = mysql_query($query_models, $ateliermeca) or die(mysql_error());
$row_models = mysql_fetch_assoc($models);
$totalRows_models = mysql_num_rows($models);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="Templates/registre.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Document sans titre</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="style_entete.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-image: url(Model/bg_grad.jpg);
}
-->
</style>
<link href="menu_gauche.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Style1 {font-size: 24px}
.texte {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}
.Style2 {font-size: 14px}
-->
</style>
</head>
<body>
<div id="Layer3" style="position:absolute; left:14px; top:10px; width:170px; height:23px; z-index:2; visibility: visible; font-style: italic; color: #FF0000; font-weight: bold;">
<div align="center" class="Style1"><a href="Pages/sommaire.php">PONTICELLI</a></div>
</div>
<div id="Navhaut" style="position:absolute; left:11px; top:46px; width:1023px; height:15px; visibility: visible; z-index: 2;"><img src="Model/gblnav_left.gif" width="5" height="32"><a href="Pages/Registre/registregeneral.php"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_background2.gif" width="4" height="32"><a href="Pages/Expertise/expertisegeneral.php"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_background2.gif" width="4" height="32"><a href="Pages/Actions/actionsgeneral.php"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_background2.gif" width="4" height="32"><a href="Pages/FDT/fdtgeneral.php"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_background2.gif" width="4" height="32"><a href="Pages/Modifbasesannexes/modifbageneral.php"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_background2.gif" width="4" height="32"><a href="Pages/statistiquesgeneral"><img src="Model/glbnav_background.gif" width="165" height="32" border="0"></a><img src="Model/glbnav_right.gif" width="5" height="32"></div>
<div id="GestOT" style="position:absolute; left:21px; top:53px; width:159px; height:21px; z-index:3; visibility: visible;" class="entete">
<div align="center" class="entete">REGISTRE</div>
</div>
<div id="Layer1" style="position:absolute; left:187px; top:95px; width:841px; height:510px; z-index:4"><!-- InstanceBeginEditable name="zone" -->
<p> </p>
<form name="form1" method="post" action="">
<select name="select">
<?php
do {
?>
<option value="<?php echo $row_marques['Marques']?>"><?php echo $row_marques['Marques']?></option>
<?php
} while ($row_marques = mysql_fetch_assoc($marques));
$rows = mysql_num_rows($marques);
if($rows > 0) {
mysql_data_seek($marques, 0);
$row_marques = mysql_fetch_assoc($marques);
}
?>
</select>
<select name="select2">
<?php
do {
?>
<option value="<?php echo $row_models['Models']?>"><?php echo $row_models['Models']?></option>
<?php
} while ($row_models = mysql_fetch_assoc($models));
$rows = mysql_num_rows($models);
if($rows > 0) {
mysql_data_seek($models, 0);
$row_models = mysql_fetch_assoc($models);
}
?>
</select>
</form>
<p> </p>
<!-- InstanceEndEditable --></div>
<div id="fondblanc" style="position:absolute; left:12px; top:88px; width:1021px; height:521px; z-index:2; background-color: #F2F2F2; layer-background-color: #F2F2F2; border: 1px none #000000;"></div>
<div id="hautgauche" style="position:absolute; left:12px; top:88px; width:169px; height:11px; z-index:3"><img src="Model/tl_curve_white.gif" width="6" height="6"></div>
<div id="Layer4" style="position:absolute; left:941px; top:88px; width:92px; height:13px; z-index:5">
<div align="right"><img src="Model/tr_curve_white.gif" width="6" height="6"></div>
</div>
<div id="Layer5" style="position:absolute; left:184px; top:95px; width:3px; height:511px; z-index:6; background-color: #CCCCCC; layer-background-color: #CCCCCC; border: 1px none #000000;"></div>
<div id="Layer10" style="position:absolute; left:849px; top:18px; width:202px; height:18px; z-index:11; font-size: 10px; color: #FFFFFF;">
<p class="Style2">I <a href="Pages/Recherche/recherchegeneral">RECHERCHE</a> I <a href="mailto:
[email protected]">CONTACTS</a> I</p>
</div>
<div id="Layer11" style="position:absolute; left:186px; top:53px; width:164px; height:21px; z-index:12" class="entete">EXPERTISE</div>
<div id="Layer12" style="position:absolute; left:354px; top:53px; width:165px; height:21px; z-index:13" class="entete">ACTIONS</div>
<div id="Layer13" style="position:absolute; left:522px; top:53px; width:166px; height:21px; z-index:14" class="entete">FDT</div>
<div id="Layer14" style="position:absolute; left:692px; top:53px; width:164px; height:21px; z-index:15" class="entete">Modif bases annexes</div>
<div id="Layer15" style="position:absolute; left:860px; top:53px; width:163px; height:21px; z-index:16" class="entete">STATISTIQUES</div>
<div id="gauche" style="position:absolute; left:16px; top:93px; width:167px; height:233px; z-index:20"><!-- InstanceBeginEditable name="gauche" -->
<div id="Layer16" style="position:absolute; left:1px; top:17px; width:163px; height:25px; z-index:2"><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registregeneral.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></div>
<p> </p>
<div id="Layer16" style="position:absolute; left:1px; top:46px; width:163px; height:25px; z-index:2"><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registreconsult.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></div>
<div id="Layer6" style="position:absolute; left:9px; top:51px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>Consultation</p>
</div>
<p> </p>
<div id="Layer16" style="position:absolute; left:1px; top:76px; width:163px; height:25px; z-index:2">
<h2><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registreajout.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></h2>
</div>
<div id="Layer6" style="position:absolute; left:8px; top:111px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>Suppression</p>
</div>
<p> </p>
<div id="Layer16" style="position:absolute; left:1px; top:106px; width:163px; height:25px; z-index:2"><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registresupp.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></div>
<div id="Layer6" style="position:absolute; left:9px; top:81px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>Nouveau dossier </p>
</div>
<p> </p>
<div id="Layer6" style="position:absolute; left:9px; top:21px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>Sommaire</p>
</div>
<div id="Layer16" style="position:absolute; left:1px; top:136px; width:163px; height:25px; z-index:2"><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registrefdt.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></div>
<div id="Layer6" style="position:absolute; left:8px; top:140px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>FDT</p>
</div>
<div id="Layer16" style="position:absolute; left:1px; top:166px; width:163px; height:25px; z-index:2"><img src="Model/gblnav_leftbleu.jpg" width="5" height="25"><a href="Pages/Registre/registrereprise.php"><img src="Model/glbnav_backgroundbleu.jpg" width="153" height="25" border="0"></a><img src="Model/glbnav_rightbleu.jpg" width="5" height="25"></div>
<div id="Layer6" style="position:absolute; left:9px; top:172px; width:145px; height:18px; z-index:3" class="menu_gauche">
<p>Reprise /s garantie </p>
</div>
<p> </p>
<!-- InstanceEndEditable --></div>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($marques);
mysql_free_result($models);
?>[/php]