162 lines
5.0 KiB
PHP
162 lines
5.0 KiB
PHP
<?php
|
||
session_start();
|
||
if (!$_SESSION['connected']) die();
|
||
|
||
$tabInfo=$_SESSION['tabInfo'];
|
||
|
||
try {
|
||
$O = $client->getInfosLogin($tabInfo['login']);
|
||
$user = $O['result'];
|
||
$firephp->log($user,'user');
|
||
} catch (SoapFault $fault) {
|
||
|
||
}
|
||
|
||
?>
|
||
<style>
|
||
#center { background: #ffffff; width:580px; padding:5px; }
|
||
#center h1 { margin:5px; padding:5px; background: #606060; color:#ffffff; font: 600 1.4em arial, verdana, sans-serif; }
|
||
#center h2 { margin:5px; padding:5px; background: #00008c; color:#ffffff; font: bold 1.2em arial, verdana, sans-serif; }
|
||
|
||
.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{font-weight:bold; margin-left:30px; width:180px; clear:both; padding:0 10px 0 0;line-height:22px;_padding-top:3px; float:left; display:block; font-size:108%;}
|
||
.fieldgrp label span{font-weight:normal;}
|
||
.fieldgrp label abbr{color:#4B911C; font-size:120%; vertical-align:middle;}
|
||
.field {width:320px; 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[type="radio"] { margin:0 5px 0 5px; }
|
||
div.submit{ margin-left:200px; padding-left:0px; margin-top:1em; }
|
||
div.submit p.submit-button{margin-top:0;}
|
||
div.submit p.details{font-size:85%;color:#666;margin:0;}
|
||
div.submit p.required-note{margin-top:1em;}
|
||
div.submit p.required-note span{color:#4B911C;_color:#666;font-size:170%;vertical-align:top;}
|
||
|
||
#autreProfil {display:none;}
|
||
#autrePrecisions {display:none;}
|
||
#fournisseur {display:none;}
|
||
#credit {display:none;}
|
||
#impayees {display:none;}
|
||
#retardpaiement {display:none;}
|
||
#litige {display:none;}
|
||
|
||
</style>
|
||
|
||
<div id="center">
|
||
|
||
<h1 class="titre">ENQUÊTE INTERNATIONALE</h1>
|
||
|
||
<form action="./?page=international_enquete" method="POST" enctype="multipart/form-data">
|
||
|
||
<h2>Entreprise concern<72>e : </h2>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Identifiants :</label>
|
||
<div class="field"><input type="text" name="identifiant"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Raison Sociale :</label>
|
||
<div class="field"><input type="text" name="name"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Adresse :</label>
|
||
<div class="field"><input type="text" name="address"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">T<>l<EFBFBD>phone</label>
|
||
<div class="field"><input type="text" name="InfoEnq[Entrep][Tel]"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Banque</label>
|
||
<div class="field">
|
||
<input type="text" name="InfoEnq[Bankers]"/>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Credit Opinion Currency :</label>
|
||
<div class="field">
|
||
<input type="text" name="InfoEnq[CreditOpinionCurrency]"/>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Credit Opinion Period:</label>
|
||
<div class="field">
|
||
<input type="text" name="InfoEnq[CreditOpinionPeriod]"/>
|
||
</div>
|
||
</div>
|
||
|
||
<h2>Demandeur : </h2>
|
||
|
||
<div id="autreProfil" class="fieldgrp">
|
||
<label class="StyleInfoLib">Pr<50>cisez :</label>
|
||
<div class="field"><input type="text" name="InfoUser[ProfilAutre]" value="" /></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Votre Identit<69> :</label>
|
||
<div class="field"><input type="text" name="InfoUser[Identite]" value="<?php print $user['nom'].' '.$user['prenom']; ?>"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">T<>l<EFBFBD>phone <font color="Red">*</font>:</label>
|
||
<div class="field"><input type="text" name="InfoUser[Tel]" value="<?php print $user['tel']; ?>" /></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">E-mail <font color="Red">*</font>:</label>
|
||
<div class="field"><input type="text" name="InfoUser[Email]" value="<?php print $user['mail']; ?>"/></div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Fax :</label>
|
||
<div class="field"><input type="text" name="InfoUser[Fax]" value="<?php print $user['fax']; ?>"/></div>
|
||
</div>
|
||
|
||
<h2>Enqu<71>te : </h2>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Type d'enqu<71>te</label>
|
||
<div class="field">
|
||
<input type="radio" name="InfoEnq[Type]" value="normal">Normal</input>
|
||
<br/>
|
||
<input type="radio" name="InfoEnq[Type]" value="rapide">Rapide</input>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Pr<50>cisions sur la demande</label>
|
||
<div class="field">
|
||
<textarea name="InfoEnq[AttentionOf]"></textarea>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="fieldgrp">
|
||
<label class="StyleInfoLib">Observations ou questions sp<73>ciales</label>
|
||
<div class="field"><textarea name="InfoEnq[Observation]"></textarea></div>
|
||
</div>
|
||
|
||
<div class="submit"><p class="submit-button"><input type="submit" value="Envoyer" /></p></div>
|
||
|
||
</form>
|
||
</div>
|
||
|
||
<?php
|
||
|
||
?>
|