2011-08-12 13:01:39 +00:00
< script type = "text/javascript" >
function formSource(source)
{
var fields = Array( 'bodacc', 'histo', 'date', 'nparution', 'fpage', 'nannonce', 'naffaire', 'txt' );
switch(source)
{
case 'asso':
var field_actif = new Array('date', 'nparution', 'fpage', 'nannonce');
break;
case 'bodacc':
var field_actif = new Array('bodacc', 'histo', 'date', 'nparution', 'fpage', 'nannonce');
break;
case 'balo':
var field_actif = new Array('date', 'nparution', 'fpage', 'naffaire');
break;
}
for (var i=0;i< fields.length ; i + + ) {
$('#'+fields[i]).css('display', 'none');
}
for (var i=0;i< field_actif.length ; i + + ) {
$('#'+field_actif[i]).css('display', 'block');
}
}
$(document).ready(function()
{
//Init
formSource($('#sourceSelect').val());
2011-09-06 08:10:31 +00:00
if ($('#histoSelect').prop('checked')) {
2011-08-12 13:01:39 +00:00
$('#txt').css('display','block');
} else {
$('#txt').css('display','none');
}
//Evenement
$('#datepicker').datepicker($.datepicker.regional['fr']);
$('#sourceSelect').change(function(){ formSource($(this).val()); });
$('#histoSelect').click(function(){
2011-09-06 08:10:31 +00:00
if($(this).prop('checked')){ $('#txt').css('display','block');
2011-08-12 13:01:39 +00:00
}else{ $('#txt').css('display','none'); }
});
$('#deselectBodacc').click(function(){
$('input[type=radio][name="formA[bodacc]"]').each(function(){
2011-09-06 08:10:31 +00:00
$(this).prop('checked', false);
2011-08-12 13:01:39 +00:00
});
});
});
< / script >
< style type = "text/css" >
.infoTitle {clear:both; float:left; width:180px; margin-left:30px; padding:0 10px 0 0;}
.infoData {float:left; width:320px; margin:2px 0;}
form {}
form em { color:#FF0000;}
fieldset {border:0; margin:0; padding:0;}
fieldset legend{ padding:0 0 0 10px;}
.fieldgrp{clear:both; width:100%; margin-bottom:.5em; overflow:hidden;}
.fieldgrp:after{content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0; }
.fieldgrp label{ width:150px; font-weight:bold; margin-left:30px; clear:both; padding:0 10px 0 0; line-height:22px; _padding-top:3px; float:left; display:block; font-size:108%;}
.fieldgrp label.inline{ clear:none; margin:0; float:left; display:block; width:auto;}
.fieldgrp label span{font-weight:normal;}
.fieldgrp label abbr{color:#4B911C; font-size:120%; vertical-align:middle;}
.fieldgrp p { clear:both; margin:0 0 0 30px; font-size:12px; }
.field { float:left; padding:0 10px 0 0; line-height:22px; _padding-top:3px;}
.field .longfield{width:215px;}
.field .longfield-select{width:220px;}
.field .smallfield{width:95px;}
.field .medfield{width:110px;}
.field input, .field select{ font-size:110%; margin:2px 0; }
.field input.radio { margin:0 5px; vertical-align:middle; border:none; }
.field input.checkbox { border:none; }
.field span { margin-left:10px; }
.noborder {border:none;}
2011-11-22 14:59:02 +00:00
div.submit{ text-align:center; }
2011-08-12 13:01:39 +00:00
< / style >
< div id = "center" >
< h1 > Rechercher une annonce< / h1 >
< div class = "paragraph" >
< form name = "annonces" method = "post" action = " <? = $this -> url ( array ( 'controller' => 'recherche' , 'action' => 'annonceliste' )) ?> " >
< input type = "hidden" name = "formA[type]" value = "annonces" / >
< div class = "fieldgrp" >
< label for = "source" > Source< / label >
< div class = "field" >
< select id = "sourceSelect" name = "formA[source]" >
2012-01-03 14:46:22 +00:00
< option value = "bodacc" <? = ( isset ( $this -> recherche [ 'source' ]) && $this -> recherche [ 'source' ] == 'bodacc' ) ? 'selected' : '' ?> > BODACC / BORC</ option >
< option value = "asso" <? = ( isset ( $this -> recherche [ 'source' ]) && $this -> recherche [ 'source' ] == 'asso' ) ? 'selected' : '' ?> > JO Association</ option >
< option value = "balo" <? = ( isset ( $this -> recherche [ 'source' ]) && $this -> recherche [ 'source' ] == 'balo' ) ? 'selected' : '' ?> > BALO</ option >
2011-08-12 13:01:39 +00:00
< / select >
< / div >
< / div >
< div id = "bodacc" class = "fieldgrp" >
< label for = "bodacc" > Bodacc< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< span >< input class = "radio" type = "radio" name = "formA[bodacc]" value = "a" <? = ( isset ( $this -> recherche [ 'bodacc' ]) && $this -> recherche [ 'bodacc' ] == 'a' ) ? 'checked' : '' ?> /> A</ span >
< span >< input class = "radio" type = "radio" name = "formA[bodacc]" value = "b" <? = ( isset ( $this -> recherche [ 'bodacc' ]) && $this -> recherche [ 'bodacc' ] == 'b' ) ? 'checked' : '' ?> /> B</ span >
< span >< input class = "radio" type = "radio" name = "formA[bodacc]" value = "c" <? = ( isset ( $this -> recherche [ 'bodacc' ]) && $this -> recherche [ 'bodacc' ] == 'c' ) ? 'checked' : '' ?> /> C</ span >
2011-08-12 13:01:39 +00:00
< span > < a href = "#" id = "deselectBodacc" > Désélection< / a > < / span >
< / div >
< / div >
< div id = "histo" class = "fieldgrp" >
< label for = "histo" > Historique jusqu'à 1953< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input class = "checkbox" type = "checkbox" id = "histoSelect" name = "formA[histo]" <? = ( isset ( $this -> recherche [ 'histo' ]) && $this -> recherche [ 'histo' ] == 'on' ) ? 'checked' : '' ?> />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "date" class = "fieldgrp" >
< label for = "annee" > Année< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input type = "text" name = "formA[annee]" size = "4" maxlength = "4" value = " <? = $this -> recherche [ 'annee' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< label class = "inline" for = "dateparution" > ou Date de parution< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input id = "datepicker" type = "text" name = "formA[dateparution]" size = "10" maxlength = "10" value = " <? = $this -> recherche [ 'dateparution' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "nparution" class = "fieldgrp" >
< label for = "nparution" > Numéro de parution< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input type = "text" name = "formA[nparution]" size = "10" maxlength = "10" value = " <? = $this -> recherche [ 'nparution' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "fpage" class = "fieldgrp" >
< label for = "page" > Page< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input type = "text" name = "formA[bpage]" size = "10" maxlength = "10" value = " <? = $this -> recherche [ 'bpage' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "nannonce" class = "fieldgrp" >
< label for = "nannonce" > Numéro d'annonce< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input type = "text" name = "formA[nannonce]" size = "10" maxlength = "10" value = " <? = $this -> recherche [ 'nannonce' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "naffaire" class = "fieldgrp" >
< label for = "naffaire" > Numéro d'affaire< / label >
< div class = "field" >
2012-01-03 14:46:22 +00:00
< input type = "text" name = "formA[naffaire]" size = "10" maxlength = "10" value = " <? = $this -> recherche [ 'naffaire' ] ?> " />
2011-08-12 13:01:39 +00:00
< / div >
< / div >
< div id = "txt" class = "fieldgrp" >
< label for = "txt" > Recherche< / label >
< div class = "field" >
< input type = "text" name = "formA[txt]" size = "55" maxlength = "2048" value = " <?
2012-01-03 14:46:22 +00:00
if (isset($this->recherche['txt'])) {
print htmlspecialchars($this->recherche['txt']);
2011-08-12 13:01:39 +00:00
}
?>"/>
< / div >
< p >
< b > < u > Attention :< / u > < / b >
Ce formulaire de recherche permet de rechercher dans les pages entières du BORC, BODAC et BODACC telles qu'elles ont été numérisées par Scores & Décisions.
Cette recherche permet de rechercher des annonces dans des pages jusqu'à l'année de parution < b > 1953< / b > .
< / p >
< p > < / p >
< p > < u > Opérateurs et méthodes de recherche :< / u > < / p >
< p > Opérateur OU, < b > |< / b > (ex: < b > societe | ville< / b > )< / p >
< p > Exclure des termes, < b > -< / b > ou < b > !< / b > (ex: < b > societe -ville< / b > ou < b > societe !ville< / b > )< / p >
< p > Phrase (ex: < b > "boulangerie dupain"< / b > )< / p >
< p > Recherche de proximité (ex: < b > "boulangerie plantes"$50< / b > , recherche d'une boulangerie dans rue des plantes )< / p >
< p > Ordre de recherche (ex: < b > boulangerie < < dupain < / b > , recherche du mot "boulangerie" puis du mot "dupain") < / p >
< / div >
2011-11-22 14:59:02 +00:00
< div class = "submit" >
< p > < input type = "submit" name = "submit" value = "Ok" / > < / p >
< / div >
2011-08-12 13:01:39 +00:00
< / form >
< / div >
< / div >