| Server IP : 213.186.33.2 / Your IP : 216.73.216.39 Web Server : Apache System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : symetry ( 21728) PHP Version : 8.2.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/symetry/www/ARCHIVES/application/views/scripts/index/ |
Upload File : |
<!-- references.phtml start -->
<div id='content'>
<div id='jScrollPanel'>
<?php
$i = 0;
$ref_symetry = array();
$ref_artepolis_asso = array();
$ref_artepolis = array();
$GLOBALS['col1'] = array();
$GLOBALS['col2'] = array();
foreach ($this->references as $reference) {
switch($reference->ref_type)
{
case 0:
$ref_symetry[]= $reference;
break;
case 1:
$ref_artepolis_asso[]= $reference;
break;
case 2:
$ref_artepolis[]= $reference;
break;
}
}
function AddToCols($array)
{
$i = 0;
for($i = 0 ; $i < count($array); $i++)
{
if($i < (count($array)/2))
{
$GLOBALS['col1'][] = $array[$i];
}
else
{
$GLOBALS['col2'][] = $array[$i];
}
}
}
AddToCols($ref_symetry);
AddToCols($ref_artepolis_asso);
AddToCols($ref_artepolis);
echo '<div class=\'ref_columns\'><ul>';
foreach($GLOBALS['col1'] as $reference){
if($reference->ref_bus != 0){
echo '<li><span class=\'ref_name\'>'.($this->escape(d($reference->ref_client))!=''?$this->escape(d($reference->ref_client)):'').'</span> : <span class=\'ref_description\'>'.$this->escape(d($reference->ref_name)).' '.$this->escape(d($reference->ref_description)).' / '.$this->escape(d($reference->ref_street)).', '.$this->escape(d($reference->ref_number)).' / '.$this->escape(d($reference->ref_bus)).' - '.$this->escape(d($reference->ref_cp)).' '.$this->escape(d($reference->ref_city)).'</span><hr/></li>';
}else{
echo '<li><span class=\'ref_name\'>'.($this->escape(d($reference->ref_client))!=''?$this->escape(d($reference->ref_client)):'').'</span> : <span class=\'ref_description\'>'.$this->escape(d($reference->ref_name)).' '.$this->escape(d($reference->ref_description)).' / '.$this->escape(d($reference->ref_street)).', '.$this->escape(d($reference->ref_number)).' - '.$this->escape(d($reference->ref_cp)).' '.$this->escape(d($reference->ref_city)).'</span><hr/></li>';
}
}
echo '</ul></div>';
echo '<div class=\'ref_columns\'><ul>';
foreach($GLOBALS['col2'] as $reference){
if($reference->ref_bus != 0){
echo '<li><span class=\'ref_name\'>'.($this->escape(d($reference->ref_client))!=''?$this->escape(d($reference->ref_client)):'').'</span> : <span class=\'ref_description\'>'.$this->escape(d($reference->ref_name)).' '.$this->escape(d($reference->ref_description)).' / '.$this->escape(d($reference->ref_street)).', '.$this->escape(d($reference->ref_number)).' / '.$this->escape(d($reference->ref_bus)).' - '.$this->escape(d($reference->ref_cp)).' '.$this->escape(d($reference->ref_city)).'</span><hr/></li>';
}else{
echo '<li><span class=\'ref_name\'>'.($this->escape(d($reference->ref_client))!=''?$this->escape(d($reference->ref_client)):'').'</span> : <span class=\'ref_description\'>'.$this->escape(d($reference->ref_name)).' '.$this->escape(d($reference->ref_description)).' / '.$this->escape(d($reference->ref_street)).', '.$this->escape(d($reference->ref_number)).' - '.$this->escape(d($reference->ref_cp)).' '.$this->escape(d($reference->ref_city)).'</span><hr/></li>';
}
}
echo '</ul></div>';
?>
</div>
</div>
<!-- references.phtml stop -->