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
| error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
require_once 'MDB2.php';
require_once 'Structures/DataGrid.php';
require_once 'HTML/AJAX/Server.php';
require_once 'HTML/Table.php';
require_once ("inc/adm_fonctions.php");
require_once ("inc/front_entreprise.class.php");
require_once ("cfg/bdd.php");
require_once 'test.php';
$entreprise = new entreprise();
include("page_config.php");?>
<head>
<? include("head.php")?>
<script type='text/javascript' src='ajax_server.php?client=all&stub=entreprise'></script>
<script language="javascript">
var entrepriseCallback = {
getnomenclature: function(resultSet) {
var resultDiv = document.getElementById(resultSet["destination"]);
resultDiv.innerHTML = '';
resultDiv.innerHTML = resultSet["content"];
},
editnomenclature: function(resultSet) {
var resultDiv = document.getElementById(resultSet["destination"]);
resultDiv.style.display = 'block';
resultDiv.innerHTML = resultSet["content"];
},
delnomenclature: function(resultSet) {
var resultDiv = document.getElementById(resultSet["destination"]);
//resultDiv.style.display = 'block';
resultDiv.innerHTML = resultSet["content"];
}
}
var remoteObject = new entreprise(entrepriseCallback); // problème sur cette ligne
</script>
</head>
<body onLoad="MM_preloadImages('images/icones01_on.gif','images/icones02_on.gif','images/icones03_on.gif','images/icones04_on.gif','images/icones06_on.gif','images/icones07_on.gif','images/icones08_on.gif','images/icones09_on.gif','images/icones10_on.gif','images/icones11_on.gif','images/icones05_on.gif')" onKeypress="if (event.keyCode==27) document.getElementById('popup').style.display='none'">
<div id="wrap">
<div id="conteneur">
<? include("header.php"); ?>
<div id="page">
<? include("menu1.php"); ?>
<div id="col2">
<div id="popup" style="display:none;"></div>
<div style="clear:both;">
<script language="javascript">
function checkfullsearch(form_obj) {
if(form_obj.txt.value.length<3) {
alert ("Veuillez saisir au moins 3 caractères");
return false;
}
return true;
}
</script>
<p class='cadreblack'>Recherche par mot-clé (produit, service, entreprise)</p>
<form name=fulltext action="resultats.php" method="get" onSubmit="return checkfullsearch(this)">
<input type=text value="" name="txt" size="40" maxlength="64"/>
<input type="submit" value="ok" />
</form>
<br />
<p class='cadreblack'>Recherche alphabétique des sociétes</p>
<span style="letter-spacing:-0.02em;">
<a href='resultats.php?alpha=*' class='alphabet'># </a>|
<?
for ($i=ord('A'); $i<=ord('Z') ; $i++) {
$tab_tmp[] = "<a href='resultats.php?alpha=".chr($i)."' class='alphabet'> ".chr($i)." </a>";
}
echo join("|",$tab_tmp);
?>
</span>
<br /><br />
<p class='cadreblack'>Recherche dans la nomenclature</p>
<?
$tab_tmp = getnomenclature("listnomenclature",1,0);
echo $tab_tmp["content"];
?>
<hr />
<div id="listnomenclature" ></div>
</div>
<br /><br /><br /><br /><br />
<p><a href="#" class="lookup">Haut de la page</a></p>
</div>
<? include("pub_droite.php"); ?>
<hr class="separation"/>
</div>
<? include("footer.php"); ?>
</div>
</div>
</body>
</html> |