Suppression
This commit is contained in:
parent
4c01f3fd5c
commit
6bd4f90890
@ -1,332 +0,0 @@
|
||||
<?php
|
||||
class WorldcheckController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
protected $wcConfig;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
|
||||
require_once 'WorldCheck/WsWorldCheck.php';
|
||||
require_once 'Scores/Cache.php';
|
||||
|
||||
$configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/applicationWC.ini');
|
||||
$this->wcConfig = $configWC->worldcheck->toArray();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get nameIdentifier and set all data into the session
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$param = new stdClass();
|
||||
$dirNom = $request->getParam('dirNom');
|
||||
$param->dirNom = ($dirNom)?$dirNom:$request->getParam('dirSociete');
|
||||
$param->dirPrenom = $request->getParam('dirPrenom');
|
||||
$param->dirType = $request->getParam('dirType');
|
||||
|
||||
$entityId = $request->getParam('entityId', null);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$wc = new WsWorldCheck();
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
|
||||
$param->idClient = $user->getIdClient();
|
||||
$param->login = $user->getLogin();
|
||||
$localDBParams = $wcLocal->getScreenerId($param);
|
||||
$param->matchCount = $localDBParams->matchCount;
|
||||
$param->nameIdentifier = $localDBParams->nameIdentifier;
|
||||
|
||||
if ($entityId===null) {
|
||||
//$this->_redirect('/worldcheck/list');
|
||||
$params = array(
|
||||
'nameIdentifier' => $param->nameIdentifier,
|
||||
'matchCount' => $param->matchCount
|
||||
);
|
||||
$this->forward('list', null, null, $params);
|
||||
} else {
|
||||
$id = $request->getParam('id', null);
|
||||
|
||||
$data = new stdClass();
|
||||
$data->nameIdentifier = $param->nameIdentifier;
|
||||
$data->matchType = 'WATCHLIST';
|
||||
$matchArr = $wc->getMatchesArrName($data);
|
||||
|
||||
$paramAssoc = new stdClass();
|
||||
$paramAssoc->matchIdentifier = $matchArr[$entityId];
|
||||
$paramAssoc->nameType = $param->dirType;
|
||||
|
||||
$nodeParam = $wc->getAssociates($paramAssoc);
|
||||
$wcLocal->setTree($nodeParam);
|
||||
|
||||
$this->redirect('/worldcheck/orgchildren/entityid/'.$entityId.'/id/'.$id);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* List results of WorldCheck search
|
||||
*/
|
||||
public function listAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$param = new stdClass();
|
||||
|
||||
$nameIdentifier = $request->getParam('nameIdentifier');
|
||||
$matchCount = $request->getParam('matchCount');
|
||||
$dirNom = $request->getParam('dirNom');
|
||||
$param->dirNom = ($dirNom)?$dirNom:$request->getParam('dirSociete');
|
||||
$param->dirPrenom = $request->getParam('dirPrenom');
|
||||
$param->dirType = $request->getParam('dirType');
|
||||
print_r($param);
|
||||
if ($matchCount!==0)
|
||||
{
|
||||
$summary = new stdClass();
|
||||
$summary->nameIdentifier = $nameIdentifier;
|
||||
$summary->matchType = 'WATCHLIST';
|
||||
|
||||
$cache = new Cache();
|
||||
$unfilteredWC = $cache->wcCache($this->wcConfig['cachedir'], $wc, "getSummariesArr", $summary, $nameIdentifier);
|
||||
|
||||
//check if display all results (search by lastName), or filtered results (search by fullName)
|
||||
$filtre = $request->getParam('filtre', 'tout');
|
||||
$resultWC = $unfilteredWC;
|
||||
if ($filtre=='filtered')
|
||||
{
|
||||
//get results by fullName (lastName and givenName)
|
||||
$filteredWC = array();
|
||||
foreach ($unfilteredWC as $entityId=>$shortData)
|
||||
{
|
||||
if (stripos($shortData->lastName, $param->dirNom)!==false || stripos($param->dirNom, $shortData->lastName)!==false) {
|
||||
if (stripos($shortData->givenName, $param->dirPrenom)!==false || stripos($param->dirPrenom, $shortData->givenName)!==false) {
|
||||
$filteredWC[$entityId] = $shortData;
|
||||
}
|
||||
}
|
||||
}
|
||||
//end
|
||||
$resultWC = $filteredWC;
|
||||
}
|
||||
|
||||
$filtres = array(
|
||||
'tout' => array(
|
||||
'txt'=>'Résultats par Nom',
|
||||
'select'=>'',
|
||||
'value' => 2,
|
||||
),
|
||||
'filtered' => array(
|
||||
'txt'=>'Résultats précis',
|
||||
'select'=>'',
|
||||
'value' => 1,
|
||||
)
|
||||
);
|
||||
|
||||
$filtres[$filtre]['select'] = ' selected';
|
||||
|
||||
$this->view->assign('filtres', $filtres);
|
||||
//end
|
||||
|
||||
//paginate results list
|
||||
Zend_View_Helper_PaginationControl::setDefaultViewPartial('worldcheck/controls.phtml');
|
||||
$paginator = Zend_Paginator::factory($resultWC);
|
||||
$this->view->paginator = $paginator;
|
||||
$itemCount = $this->wcConfig['page']['items'];
|
||||
$page = $this->_getParam('page', 1);
|
||||
$ol_number = ($page-1)*$itemCount+1;
|
||||
|
||||
$paginator->setCurrentPageNumber($page);
|
||||
$paginator->setItemCountPerPage($itemCount);
|
||||
|
||||
$this->view->assign('ol_number', $ol_number);
|
||||
$this->view->assign('itemCount', $itemCount);
|
||||
//end
|
||||
|
||||
$this->view->assign('resultWC', $resultWC);
|
||||
$this->view->assign('allMatches', $wc->getMatchesArrName($summary));
|
||||
$this->view->assign('param', $param);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage le quantite des occurences de la bdd en popup.
|
||||
*/
|
||||
public function occurenceAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
if ( $request->isXmlHttpRequest() ) {
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$data = new stdClass();
|
||||
if ($request->getParam('dirType')) $data->Type = $request->getParam('dirType');
|
||||
if ($request->getParam('dirNom')) $data->Nom = $request->getParam('dirNom');
|
||||
if ($request->getParam('dirPrenom')) $data->Prenom = $request->getParam('dirPrenom');
|
||||
if ($request->getParam('dirSociete')) $data->Societe = $request->getParam('dirSociete');
|
||||
|
||||
$data->Soc = new stdClass();
|
||||
if ($request->getParam('dirSocNom2')) $data->Soc->Nom2 = $request->getParam('dirSocNom2');
|
||||
if ($request->getParam('dirSocNomLong')) $data->Soc->NomLong = $request->getParam('dirSocNomLong');
|
||||
if ($request->getParam('dirSocCommercial')) $data->Soc->NomCommercial = $request->getParam('dirSocCommercial');
|
||||
if ($request->getParam('dirSocSigle')) $data->Soc->Sigle = $request->getParam('dirSocSigle');
|
||||
if ($request->getParam('dirSocSigleLong')) $data->Soc->SigleLong = $request->getParam('dirSocSigleLong');
|
||||
if ($request->getParam('dirSocEnseigne')) $data->Soc->Enseigne = $request->getParam('dirSocEnseigne');
|
||||
if ($request->getParam('dirSocEnseigneLong')) $data->Soc->EnseigneLong = $request->getParam('dirSocEnseigneLong');
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$this->view->assign('occurrence', $wcLocal->getCount($data));
|
||||
$this->view->assign('data', $data);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage le resultat de recherche en WorldCheck
|
||||
*/
|
||||
public function matchcontentAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
$param = new stdClass();
|
||||
$param->matchIdentifier = $request->getParam('matchIdentifier');
|
||||
$param->nameType = $request->getParam('nameType');
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$nodeParam = $wc->getAssociates($param);
|
||||
|
||||
$db = new Application_Model_Worldcheck();
|
||||
$db->setTree($nodeParam);
|
||||
|
||||
$cache = new Cache();
|
||||
$content = $cache->wcCache($this->wcConfig['cachedir'], $wc, "getDetailsContent", $param, $param->matchIdentifier);
|
||||
|
||||
$this->view->assign('content', $content[0]);
|
||||
$this->view->assign('nameType', $param->nameType);
|
||||
$this->view->assign('exportObjet', $content[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* le Parent de l'organigramme des associés
|
||||
*/
|
||||
public function organigrammeAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$wc = new WsWorldCheck();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityid', null);
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$currentBranch = $wcLocal->getTree($entityId);
|
||||
|
||||
$primary = $currentBranch['primary'];
|
||||
|
||||
$parent = array();
|
||||
|
||||
$data = new stdClass();
|
||||
$data->title = $primary['fullName'];
|
||||
$data->icon = "/themes/default/images/worldcheck/".strtolower($primary['nameType']).".png";
|
||||
|
||||
$attr = new stdClass();
|
||||
$attr->id = uniqid('wc_');
|
||||
$attr->entityId = $primary['entityId'];
|
||||
$attr->nameType = $primary['nameType'];
|
||||
$attr->lastName = $primary['lastName'];
|
||||
$attr->givenName = $primary['givenName'];
|
||||
|
||||
$parent[] = array(
|
||||
"data" => $data,
|
||||
"attr" => $attr,
|
||||
"state" => "closed",
|
||||
"parent" => "#"
|
||||
);
|
||||
|
||||
$jData = json_encode($parent);
|
||||
$this->view->assign('data', $jData);
|
||||
}
|
||||
|
||||
/**
|
||||
* les associés du parent de l'organigramme
|
||||
*/
|
||||
public function orgchildrenAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$wc = new WsWorldCheck();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityid', null);
|
||||
$id = $request->getParam('id', null);
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$currentBranch = $wcLocal->getTree($entityId);
|
||||
|
||||
$associates = $currentBranch['associates'];
|
||||
|
||||
$children = array();
|
||||
|
||||
foreach ($associates as $associate) {
|
||||
|
||||
$data = new stdClass();
|
||||
$data->title = $associate['fullName'];
|
||||
$data->icon = "/themes/default/images/worldcheck/".strtolower($associate['nameType']).".png";
|
||||
|
||||
$attr = new stdClass();
|
||||
$attr->id = uniqid('wc_');
|
||||
$attr->entityId = $associate['entityId'];
|
||||
$attr->nameType = $associate['nameType'];
|
||||
$attr->lastName = $associate['lastName'];
|
||||
$attr->givenName = $associate['givenName'];
|
||||
|
||||
$children[] = array(
|
||||
"data" => $data,
|
||||
"attr" => $attr,
|
||||
"state" => "closed",
|
||||
"parent" => $id,
|
||||
);
|
||||
}
|
||||
|
||||
$jData = json_encode($children);
|
||||
$this->view->assign('data', $jData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage de l'information courte de chaque node dans le popup
|
||||
*/
|
||||
public function popupAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityId', null);
|
||||
$entityIdP = $request->getParam('entityIdP', null);
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$paramP = new stdClass();
|
||||
$paramP->idClient = $user->getIdClient();
|
||||
$paramP->dirNom = $request->getParam('dirNomP');
|
||||
$paramP->dirPrenom = $request->getParam('dirPrenomP');
|
||||
$paramP->dirType = $request->getParam('dirTypeP');
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$result = $wcLocal->getScreenerId($paramP);
|
||||
|
||||
$data = new stdClass();
|
||||
$data->nameIdentifier = $result->nameIdentifier;
|
||||
$data->matchType = "WATCHLIST";
|
||||
$matches = $wc->getMatchesArrName($data);
|
||||
|
||||
$param = new stdClass();
|
||||
$param->matchIdentifier = $matches[$entityIdP];
|
||||
$param->nameType = $paramP->dirType;
|
||||
$associates = $wc->getAssociates($param);
|
||||
|
||||
foreach($associates['associates'] as $assoc)
|
||||
{
|
||||
if ($assoc['entityId']==$entityId)
|
||||
break;
|
||||
}
|
||||
|
||||
$this->view->assign('data', $assoc);
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<?php if ($this->pageCount) { ?>
|
||||
<div class="paragraph">
|
||||
<div class="pagination clearfix">
|
||||
<!-- First page link -->
|
||||
<a class="first" href="<?=$this->url(array('page' => $this->first)); ?>">«</a>
|
||||
<!-- Previous page link -->
|
||||
<?php if (!$this->previous) $this->previous = $this->first;?>
|
||||
<a class="previous" href="<?=$this->url(array('page' => $this->previous)); ?>">‹</a>
|
||||
<span>Page <?=$this->current?>/<?=$this->pageCount?></span>
|
||||
<!-- Next page link -->
|
||||
<?php if (!$this->next) $this->next = $this->last;?>
|
||||
<a class="next" href="<?=$this->url(array('page' => $this->next)); ?>">›</a>
|
||||
<!-- Last page link -->
|
||||
<a class="last" href="<?=$this->url(array('page' => $this->last)); ?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
@ -1,64 +0,0 @@
|
||||
<div id="center">
|
||||
<h1>World-Check</h1>
|
||||
<div id="center-recherche" style='margin-left: 10px; margin-right:10px'>
|
||||
<?php if ($this->filtres) { ?>
|
||||
<?php if ($this->param->dirType =='INDIVIDUAL') {?>
|
||||
<div style='float:right;'>
|
||||
<select name="filtre">
|
||||
<?php foreach ($this->filtres as $k => $filtre) {?>
|
||||
<option value="<?=$this->url(array('filtre'=>$k, 'page'=>''))?>"<?=$filtre['select']?>><?=$filtre['txt']?></option>
|
||||
<?php }?>
|
||||
</select>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<script type="text/javascript">
|
||||
$('select[name=filtre]').change(function(e){
|
||||
window.location = $(this).val();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<?php
|
||||
if (!$this->resultWC)
|
||||
{
|
||||
?>
|
||||
<div>Aucun résultat.</div>
|
||||
<? }
|
||||
else
|
||||
{
|
||||
$resultWC = $this->resultWC;
|
||||
|
||||
$reponse = count($resultWC)==1?'réponse':'réponses';
|
||||
$title = count($resultWC).' '.$reponse.' avec les critères "'.$this->param->dirNom.' '.$this->param->dirPrenom.'"';
|
||||
?>
|
||||
<div style='float:left; margin-left:15px;'><?=$title;?></div>
|
||||
<br/>
|
||||
<div>
|
||||
<ol start=<?=$this->ol_number; ?>>
|
||||
<?php
|
||||
foreach ($this->paginator as $entityId=>$shortData)
|
||||
{
|
||||
?>
|
||||
<li>
|
||||
<strong><a href="<?=$this->url(array('controller'=>'worldcheck', 'action'=>'matchcontent', 'matchIdentifier'=>$this->allMatches[$entityId], 'nameType'=>$this->param->dirType), 'default', true)?>"><?= $shortData->lastName.' '.$shortData->givenName;?></a></strong><br/>
|
||||
<table>
|
||||
<?php if (isset($shortData->description) && $shortData->description!='') {?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Description</td>
|
||||
<td class="StyleInfoData" width="450"><?=$shortData->description;?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($shortData->country) && $shortData->country!='') {?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Country</td>
|
||||
<td class="StyleInfoData" width="450"><?=ucfirst(strtolower($shortData->country));?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ol>
|
||||
</div>
|
||||
<p><div id="center-recherche"><?php if (count($resultWC)>$this->itemCount) { echo $this->paginator; } ?></div></p>
|
||||
<?php } ?>
|
||||
</div>
|
@ -1,344 +0,0 @@
|
||||
<div id="center">
|
||||
<style>
|
||||
.wrap {
|
||||
border: none;
|
||||
width:450px;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
</style>
|
||||
<h1>World-Check</h1>
|
||||
<?php if (!$this->content) { ?>
|
||||
<p><div style="margin-left:10px;">Aucune Information</div></div>
|
||||
<?php
|
||||
} else {
|
||||
$content = $this->content;
|
||||
?>
|
||||
<h2><?=$content->names->name[0]->fullName;?>
|
||||
<?php
|
||||
if (strtolower($this->nameType)=='individual')
|
||||
{
|
||||
$day = $month = $year = '';
|
||||
if ($content->events->event[0]->day>0) $day = $content->events->event[0]->day;
|
||||
if ($content->events->event[0]->month>0) $month = $content->events->event[0]->month;
|
||||
if ($content->events->event[0]->year>0) $year = $content->events->event[0]->year;
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$content->names->name[0]->lastName,
|
||||
'dirPrenom'=>$content->names->name[0]->givenName,
|
||||
'dirDateNaissJJ' =>$day,
|
||||
'dirDateNaissMM' =>$month,
|
||||
'dirDateNaissAAAA' =>$year,
|
||||
'dirCpVille' =>''
|
||||
);
|
||||
} else {
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'entreprise',
|
||||
'siret'=>'',
|
||||
'raisonSociale'=>$content->names->name[0]->fullName,
|
||||
'numero'=>'',
|
||||
'voie'=>'',
|
||||
'cpVille' =>'',
|
||||
'telFax' =>'',
|
||||
'naf' =>'',
|
||||
'fj' =>'',
|
||||
'pays'=>'',
|
||||
);
|
||||
}
|
||||
?>
|
||||
<div style="float:right;"><a style="color:white;" href="<?=$this->url($param, 'default', true)?>"> Search in Extranet </a></div>
|
||||
</h2>
|
||||
<div class="paragraph">
|
||||
<table cellpadding=3>
|
||||
<?php if (isset($content->category)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Category</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($content->category));?></div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if (isset($content->names->name)){?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">All names</td>
|
||||
<td class="StyleInfoData"><div class="wrap">
|
||||
<?php
|
||||
foreach($content->names->name as $name)
|
||||
{
|
||||
if (isset($name->fullName) && $name->fullName!='') {echo $name->fullName.'<br/>';}
|
||||
} ?>
|
||||
</div></td></tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($content->gender)) { ?>
|
||||
<tr><td class="StyleInfoLib" width="150">Gender</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($content->gender));?></div></td></tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($content->events->event) && ($content->events->event[0]->day>0) && ($content->events->event[0]->month>0) && ($content->events->event[0]->year>0)) { ?>
|
||||
<tr><td class="StyleInfoLib" width="150">Birthday</td>
|
||||
<?php $date = new Zend_Date($content->events->event[0]->fullDate, 'yyyy-MM-dd');?>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$date->toString('dd/MM/yyyy')?></div></td></tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($content->events->event[0]->address->region)) { ?>
|
||||
<tr><td class="StyleInfoLib" width="150">Birth place</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$content->events->event[0]->address->region;?></div></td></tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
foreach($content->details->detail as $detail)
|
||||
{ ?>
|
||||
<?php if (isset($detail->text)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150"><?=ucfirst(strtolower($detail->detailType));?></div></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$detail->text;?></td>
|
||||
</tr>
|
||||
<?php }} ?>
|
||||
<?php
|
||||
if (isset($content->addresses->address[0])){
|
||||
?>
|
||||
<tr><td class="StyleInfoLib" width="150">All Addresses</td>
|
||||
<td class="StyleInfoData"><div class="wrap">
|
||||
<?php
|
||||
foreach($content->addresses->address as $address) {
|
||||
$fullAddress = array();
|
||||
if (isset($address->city)) { $fullAddress[] = $address->city;}
|
||||
if (isset($address->region)) { $fullAddress[] = $address->region;}
|
||||
if (isset($address->country)) { $fullAddress[] = ucfirst(strtolower($address->country->name));}
|
||||
echo implode(', ', $fullAddress);?>
|
||||
<br/>
|
||||
<?php unset($fullAddress); }?>
|
||||
</div></td></tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if (isset($content->actionDetails->actionDetail)){
|
||||
foreach($content->actionDetails->actionDetail as $actionDetail)
|
||||
{?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=ucfirst(strtolower($actionDetail->actionType)); ?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$actionDetail->text;?></div></td></tr>
|
||||
<tr><td class="StyleInfoLib" width="150">Source</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$actionDetail->source->name.' ('.$actionDetail->source->abbreviation.')';?></div></td></tr>
|
||||
<?php }} ?>
|
||||
|
||||
<?php
|
||||
foreach($content->countryLinks->countryLink as $countryLink)
|
||||
{ ?>
|
||||
<?php if (isset($countryLink->countryText)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150"><?php echo ($countryLink->countryLinkType=='NATIONALITY')?'Nationality':'Registered in'?></div></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($countryLink->countryText)).' ('.$countryLink->country->code.')';?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if (isset($content->sources->sourceDetail)){
|
||||
foreach($content->sources->sourceDetail as $source)
|
||||
{
|
||||
if (isset($source->name) && $source->name!='') { ?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=$source->ProviderSourceTypeDetail->category->name?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$source->ProviderSourceTypeDetail->category->description;?></div></td></tr>
|
||||
<tr><td class="StyleInfoLib" width="150">Source</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$source->name.' ('.$source->abbreviation.')';?></div></td></tr>
|
||||
<?php }}} ?>
|
||||
<?php
|
||||
if (isset($content->roles->role)){
|
||||
foreach($content->roles->role as $role)
|
||||
{
|
||||
if (isset($role->title) && $role->title!='') { ?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=$role->type?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$role->title;?></div></td></tr>
|
||||
<?php }}} ?>
|
||||
<?php if (isset($content->weblinks->weblink)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Weblinks</td>
|
||||
<td class="StyleInfoData"><div class="wrap">
|
||||
<?php foreach($content->weblinks->weblink as $weblink)
|
||||
{ ?>
|
||||
<a href="<?=$weblink->URI;?>" target="_blank"><?=$weblink->URI;?></a><br/>
|
||||
<?php } ?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (isset($content->associates->associate)) {
|
||||
$wcOrganigramme = array(
|
||||
'controller' => 'worldcheck',
|
||||
'action' => 'organigramme',
|
||||
'entityid' => $content->entityId);
|
||||
?>
|
||||
<div class="paragraph"><a class="organigramme" title="Organigramme des associés" href="<?=$this->url($wcOrganigramme, 'default', true);?>">Organigramme des associés</a></div>
|
||||
<script>
|
||||
$( "a.organigramme" ).on('click', function(e){
|
||||
e.preventDefault();
|
||||
var href = $(this).attr('href');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
resizable: false,
|
||||
title: $(this).attr('title'),
|
||||
width: 600,
|
||||
height: 650,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
buttons: { "Fermer": function() { $(this).dialog("close"); }},
|
||||
close: function() { $('#confirm').remove(); }
|
||||
};
|
||||
$('<div id="confirm"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
foreach($content->associates->associate as $associate)
|
||||
{ ?>
|
||||
<h2>
|
||||
<?php
|
||||
if ($associate->associatetype=='ASSOCIATE')
|
||||
{
|
||||
$dirType = 'INDIVIDUAL';
|
||||
$dirName = 'dirNom';
|
||||
$day = $month = $year = '';
|
||||
if ($associate->targetEntity->events->event[0]->day>0) $day = $associate->targetEntity->events->event[0]->day;
|
||||
if ($associate->targetEntity->events->event[0]->month>0) $month = $associate->targetEntity->events->event[0]->month;
|
||||
if ($associate->targetEntity->events->event[0]->year>0) $year = $associate->targetEntity->events->event[0]->year;
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$associate->targetEntity->names->name[0]->lastName,
|
||||
'dirPrenom'=>$associate->targetEntity->names->name[0]->givenName,
|
||||
'dirDateNaissJJ' =>$day,
|
||||
'dirDateNaissMM' =>$month,
|
||||
'dirDateNaissAAAA' =>$year,
|
||||
'dirCpVille' =>''
|
||||
);
|
||||
} else {
|
||||
$dirType = 'ORGANISATION';
|
||||
$dirName = 'dirSociete';
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'entreprise',
|
||||
'siret'=>'',
|
||||
'raisonSociale'=>$associate->targetEntity->names->name[0]->fullName,
|
||||
'numero'=>'',
|
||||
'voie'=>'',
|
||||
'cpVille' =>'',
|
||||
'telFax' =>'',
|
||||
'naf' =>'',
|
||||
'fj' =>'',
|
||||
'pays'=>'',
|
||||
);
|
||||
}
|
||||
?>
|
||||
Associate: <?=$associate->targetEntity->names->name[0]->fullName;?>
|
||||
<?php $id='/dirType/'.$dirType.'/'.$dirName.'/'.$associate->targetEntity->names->name[0]->lastName.'/dirPrenom/'.$associate->targetEntity->names->name[0]->givenName;?>
|
||||
<div style='float:right;'><img class="wcheck" id="<?=$id;?>" style="cursor:pointer;" src='/themes/default/images/worldcheck/wc-blanc.png'/></div>
|
||||
<div style='float:right;'><a style="color:white;" href="<?=$this->url($param, 'default', true)?>"> Search in Extranet </a></div>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 500 },
|
||||
content: { title: 'WorldCheck', button: true, text: "Chargement...",
|
||||
ajax: { url: '<?=$this->url(array('controller'=>'worldcheck','action'=>'occurence'));?>'+$(this).attr('id') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</h2>
|
||||
<div class="paragraph">
|
||||
<table cellpadding=3>
|
||||
<?php if (isset($associate->targetEntity->category)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Category</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($associate->targetEntity->category));?></div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($associate->targetEntity->gender)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Gender</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($associate->targetEntity->gender));?></div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if (isset($associate->targetEntity->events->event) && ($associate->targetEntity->events->event[0]->day>0) && ($associate->targetEntity->events->event[0]->month>0) && ($associate->targetEntity->events->event[0]->year>0)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Birthday</td>
|
||||
<?php $date = new Zend_Date($associate->targetEntity->events->event[0]->fullDate, 'yyyy-MM-dd');?>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$date->toString('dd/MM/yyyy')?></div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
foreach($associate->targetEntity->details->detail as $detailAssoc)
|
||||
{ ?>
|
||||
<?php if (isset($detailAssoc->text)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150"><?=ucfirst(strtolower($detailAssoc->detailType)); ?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$detailAssoc->text;?></div></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Adresse</td>
|
||||
<td class="StyleInfoData"><div class="wrap">
|
||||
<?php
|
||||
if (isset($associate->targetEntity->addresses->address[0])){
|
||||
foreach($associate->targetEntity->addresses->address as $address) {
|
||||
$fullAddress = array();
|
||||
if (isset($address->city)) { $fullAddress[] = $address->city;}
|
||||
if (isset($address->region)) { $fullAddress[] = $address->region;}
|
||||
if (isset($address->country)) { $fullAddress[] = ucfirst(strtolower($address->country->name));}
|
||||
?>
|
||||
<?=implode(', ', $fullAddress);?>
|
||||
<br/>
|
||||
<?php unset($fullAddress); }}?>
|
||||
</div></td></tr>
|
||||
<?php
|
||||
if (isset($associate->targetEntity->actionDetails->actionDetail)){
|
||||
foreach($associate->targetEntity->actionDetails->actionDetail as $actionDetail)
|
||||
{?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=ucfirst(strtolower($actionDetail->actionType)); ?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$actionDetail->text;?></div></td></tr>
|
||||
<tr><td class="StyleInfoLib" width="150">Source</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$actionDetail->source->name.' ('.$actionDetail->source->abbreviation.')';?></div></td></tr>
|
||||
<?php }} ?>
|
||||
<?php
|
||||
foreach($associate->targetEntity->countryLinks->countryLink as $countryLink)
|
||||
{ ?>
|
||||
<?php if (isset($countryLink->countryText)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150"><?php echo ($countryLink->countryLinkType=='NATIONALITY')?'Nationality':'Registered in'?></div></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=ucfirst(strtolower($countryLink->countryText)).' ('.$countryLink->country->code.')';?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if (isset($associate->targetEntity->sources->sourceDetail)){
|
||||
foreach($associate->targetEntity->sources->sourceDetail as $source)
|
||||
{
|
||||
if (isset($source->name) && $source->name!='') { ?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=$source->ProviderSourceTypeDetail->category->name?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$source->ProviderSourceTypeDetail->category->description;?></div></td></tr>
|
||||
<tr><td class="StyleInfoLib" width="150">Source</td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$source->name.' ('.$source->abbreviation.')';?></div></td></tr>
|
||||
<?php }}} ?>
|
||||
<?php
|
||||
if (isset($associate->targetEntity->roles->role)){
|
||||
foreach($associate->targetEntity->roles->role as $role)
|
||||
{
|
||||
if (isset($role->title) && $role->title!='') { ?>
|
||||
<tr><td class="StyleInfoLib" width="150"><?=$role->type?></td>
|
||||
<td class="StyleInfoData"><div class="wrap"><?=$role->title;?></div></td></tr>
|
||||
<?php }}} ?>
|
||||
<?php if (isset($associate->targetEntity->weblinks->weblink)) { ?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="150">Weblinks</td>
|
||||
<td class="StyleInfoData"><div class="wrap">
|
||||
<?php foreach($associate->targetEntity->weblinks->weblink as $weblink)
|
||||
{ ?>
|
||||
<a href="<?=$weblink->URI;?>" target="_blank"><?=$weblink->URI;?></a><br/>
|
||||
<?php } ?>
|
||||
</div></td></tr>
|
||||
<?php } ?>
|
||||
</table></div>
|
||||
<?php }}} ?>
|
||||
</div>
|
@ -1,73 +0,0 @@
|
||||
<?php if ($this->occurrence===false) {?>
|
||||
Aucune information disponible, Lancer une recherche.
|
||||
<?php } else {
|
||||
if ($this->data->Societe!=''){
|
||||
$title = $this->data->Societe;
|
||||
} else {
|
||||
$title = $this->data->Nom;
|
||||
}
|
||||
?>
|
||||
<?=$this->occurrence?> Occurrence(s) par "<?=$title; ?>".
|
||||
<?php }?>
|
||||
<?php
|
||||
$param = array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'index',
|
||||
'dirSociete'=>$this->data->Societe,
|
||||
'dirNom'=>$this->data->Nom,
|
||||
'dirPrenom'=>$this->data->Prenom,
|
||||
'dirType' =>$this->data->Type,
|
||||
'siren'=>substr($this->siret, 0, 9));
|
||||
|
||||
foreach ($param as $key =>$val) {
|
||||
if ($val=='') {
|
||||
unset($param[$key]);
|
||||
}
|
||||
}
|
||||
?>
|
||||
<p>
|
||||
<a href="<?=$this->url($param, 'default', true)?>">Rechercher dans WorldCheck</a>
|
||||
</p>
|
||||
<?php
|
||||
if ($this->data->Societe!=''){
|
||||
$alternativeParams = array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'index',
|
||||
'dirSociete'=>'',
|
||||
'dirType' =>$this->data->Type,
|
||||
'siren'=>substr($this->siret, 0, 9));
|
||||
?>
|
||||
<?php
|
||||
foreach ($this->data->Soc as $key=>$value) {
|
||||
$alternativeParams['dirSociete'] = $value;
|
||||
$key = substr(preg_replace("/([A-Z])/",' \\1',$key),1);
|
||||
?><?=$key.': '?><a href="<?=$this->url($alternativeParams, 'default', true)?>"> <?=$value;?></a><br/>
|
||||
<?php }?>
|
||||
|
||||
<?php
|
||||
if ($this->data->Soc->NomLong!=''){
|
||||
$keyWord = explode(' ', $this->data->Soc->NomLong);
|
||||
} else {
|
||||
$keyWord = explode(' ', $this->data->Societe);
|
||||
}
|
||||
|
||||
if (count($keyWord)>1) {
|
||||
?>
|
||||
<br/>
|
||||
Rechercher par mots clés:
|
||||
<ul>
|
||||
<?php
|
||||
$specChar = array('.', '(', ')');
|
||||
foreach ($keyWord as $value) {
|
||||
str_replace($specChar, '', $value, $i);
|
||||
if (strlen($value)>3 && $i==0){
|
||||
$alternativeParams['dirSociete'] = $value;
|
||||
?>
|
||||
<li><a href="<?=$this->url($alternativeParams, 'default', true)?>"> <?=ucfirst(strtolower($value));?></a></li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
@ -1,58 +0,0 @@
|
||||
<div id="assocTree" class="jstree jstree-default" style="overflow:auto;"></div>
|
||||
<script src="/libs/jstree/jstree.js"></script>
|
||||
<script>
|
||||
$("#assocTree").jstree({
|
||||
"core" : { "html_titles" : true },
|
||||
"plugins" : [ "themes", "json_data", "ui" ],
|
||||
"json_data" : {
|
||||
"data":<?=$this->data ?>,
|
||||
"ajax":{
|
||||
"type": 'POST',
|
||||
"url": "/worldcheck/index/",
|
||||
"data": function(node) {
|
||||
var dirNom = node.attr("lastName");
|
||||
var dirPrenom = node.attr("givenName");
|
||||
var dirType = node.attr("nameType");
|
||||
var entityId = node.attr("entityId");
|
||||
var id = node.attr("id");
|
||||
return {dirNom:dirNom, dirPrenom:dirPrenom, dirType:dirType, entityId:entityId, id:id};
|
||||
},
|
||||
"success": function (data) { return data; },
|
||||
"error": function (xhr, ajaxOptions, thrownError){
|
||||
alert('Error xhr : ' + xhr.status);
|
||||
alert('Error: ' + thrownError);
|
||||
}
|
||||
}
|
||||
},
|
||||
"themes" : {
|
||||
"theme" : "default",
|
||||
"url" : "/libs/jstree/themes/default/style.css",
|
||||
"dots" : true,
|
||||
"icons" : true
|
||||
}
|
||||
});
|
||||
|
||||
//using qtip popup to get short information about each node
|
||||
$("#assocTree").bind("hover_node.jstree", function (e, data) {
|
||||
var id = data.rslt.obj.attr("id");
|
||||
var entityId = data.rslt.obj.attr("entityId");
|
||||
var entityIdP = data.inst._get_parent(data.rslt.obj).attr("entityId");
|
||||
var dirNomP = data.inst._get_parent(data.rslt.obj).attr("lastName");
|
||||
var dirPrenomP = data.inst._get_parent(data.rslt.obj).attr("givenName");
|
||||
var dirTypeP = data.inst._get_parent(data.rslt.obj).attr("nameType");
|
||||
|
||||
$('#'+id).qtip({
|
||||
hide: { event: 'mouseout', delay:3000 },
|
||||
show: { when: false, ready: true, solo: true, delay: 1000 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorldCheck',
|
||||
text: 'Chargement...',
|
||||
ajax: {
|
||||
'url': '/worldcheck/popup',
|
||||
'data': {id:id, entityId:entityId, entityIdP:entityIdP, dirNomP:dirNomP, dirPrenomP:dirPrenomP, dirTypeP:dirTypeP} }},
|
||||
position: { my: 'right top', at: 'right top' },
|
||||
style: {tip:false}
|
||||
});
|
||||
});
|
||||
</script>
|
@ -1 +0,0 @@
|
||||
<?=$this->data ?>
|
@ -1,78 +0,0 @@
|
||||
<style>
|
||||
.InfoTitle {
|
||||
color: #535353;
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
line-height: 16px;
|
||||
vertical-align: top;
|
||||
float: left;
|
||||
border: none;
|
||||
width:70px;
|
||||
}
|
||||
|
||||
.InfoData {
|
||||
color: #535353;
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
float: left;
|
||||
border: none;
|
||||
width:230px;
|
||||
word-wrap:break-word;
|
||||
padding: 0px 0px 5px 0px;
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
<?php $data=$this->data;?>
|
||||
<h5 style="text-align: left;"><?=$data['fullName'];?></h5>
|
||||
<div>
|
||||
<div class="InfoTitle">Category</div>
|
||||
<div class="InfoData"><?=$data['category'];?></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="InfoTitle">Biography</div>
|
||||
<div class="InfoData"><?=$data['biography'];?></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="InfoTitle">Relations</div>
|
||||
<div class="InfoData"><?=str_replace(").", ")</br>", $data['identification']);?></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="InfoTitle">Links</div>
|
||||
<div class="InfoData">
|
||||
<?php
|
||||
if (strtolower($data['nameType'])=='individual')
|
||||
{
|
||||
$paramExtranet = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$data['lastName'],
|
||||
'dirPrenom'=>$data['givenName'],
|
||||
);
|
||||
} else {
|
||||
$paramExtranet = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'entreprise',
|
||||
'raisonSociale'=>$data['fullName'],
|
||||
);
|
||||
}
|
||||
?>
|
||||
<a href="<?=$this->url($paramExtranet, 'default', true)?>">Search more in Extranet</a>
|
||||
<br/>
|
||||
<?php
|
||||
$paramWorldcheck = array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'index',
|
||||
'dirNom'=>$data['lastName'],
|
||||
'dirPrenom'=>$data['givenName'],
|
||||
'dirType'=>$data['nameType']
|
||||
);
|
||||
?>
|
||||
<a href="<?=$this->url($paramWorldcheck, 'default', true)?>">Search more in WorldCheck</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,17 +0,0 @@
|
||||
<?php if ( count($this->nouveautes)>0 ) {?>
|
||||
<div style="position:absolute;width:680px;top:5px;" class="ui-state-highlight ui-corner-all">
|
||||
<p>
|
||||
<span style="float:left;margin-right:0.3em;" class="ui-icon ui-icon-info"></span>
|
||||
<strong>Nouveau !</strong>
|
||||
<?php $cpt = 0;?>
|
||||
<?php foreach ( $this->nouveautes as $nouveaute) {?>
|
||||
<a href="<?=$this->url(array('controller'=>'fichier', 'action'=>'new', 'fichier'=>$nouveaute->fichier))?>"><?=$nouveaute->intitule?></a>
|
||||
<?php if ( $cpt < count( $this->nouveaute) ) {?>,<?php }?>
|
||||
<?php $cpt++;?>
|
||||
<?php }?>
|
||||
<br/>
|
||||
<span style="font-size:10px;">Cliquez sur les intitulés pour consulter le document,
|
||||
ou <a href="<?=$this->url(array('controller'=>'aide', 'action'=>'newliste'))?>">ici</a> pour retrouver la liste des modifications</span>
|
||||
</p>
|
||||
</div>
|
||||
<?php }?>
|
@ -1,34 +0,0 @@
|
||||
<div id="center">
|
||||
<h1>Nouveautés</h1>
|
||||
<div class="paragraph">
|
||||
Tri par date - Tri par catégorie
|
||||
</div>
|
||||
|
||||
<h2>Liste par date</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Intitulé</th>
|
||||
<th>Catégore</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ( count($this->nouveautes)>0 ){?>
|
||||
<?php foreach ( $this->nouveautes as $nouveau) {?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?=$this->url(array('module'=>'file','controller'=>'index', 'action'=>'new', 'q'=>$nouveau->fichier))?>">
|
||||
<?=$nouveau->intitule?></a>
|
||||
</td>
|
||||
<td><?=$nouveau->categorie?></td>
|
||||
<td><?=$nouveau->date?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -1,36 +0,0 @@
|
||||
<?=$this->doctype()?>
|
||||
<html>
|
||||
<head>
|
||||
<?=$this->headMeta()?>
|
||||
<?=$this->headTitle()?>
|
||||
<?=$this->headStyle()?>
|
||||
<?=$this->headLink()?>
|
||||
<?=$this->headScript()?>
|
||||
</head>
|
||||
<body>
|
||||
<div data-role="page">
|
||||
<div data-role="header" role="banner">
|
||||
<h2 class="ui-title" role="heading" aria-level="1">Extranet</h2>
|
||||
</div><!-- /header -->
|
||||
|
||||
<div role="main" class="ui-content">
|
||||
<form method="post" action="<?=$this->url(array('controller'=>'user', 'action'=>'login'),null, true)?>">
|
||||
|
||||
<label for="user" class="ui-hidden-accessible">Identifiant</label>
|
||||
<input name="login" id="user" placeholder="Identifiant" value="" type="text" required>
|
||||
|
||||
<label for="password" class="ui-hidden-accessible">Mot de passe</label>
|
||||
<input name="pass" id="password" placeholder="Mot de passe" value="" type="password" required>
|
||||
|
||||
<input value="Connexion" data-icon="user" type="button">
|
||||
|
||||
</form>
|
||||
</div><!-- /content -->
|
||||
|
||||
<div data-role="footer" data-position="fixed">
|
||||
<h4>Scores & Décisions SAS</h4>
|
||||
</div><!-- /footer -->
|
||||
|
||||
</div><!-- /page -->
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user