Il y a actuellement 105 visiteur(s) et 0 membre(s) en ligne.
Devenez membre privilégié en cliquant ici
Pages vues depuis 20/04/2015 : 23 897 305
Updated Apr 17
Index du forum »» Geoloc »» geoloc
if (!$short_user) {
!include!_once('modules/reseaux-sociaux/reseaux-sociaux.conf.php');
if ($us_rs!='') {
$socialnetworks= explode(';',$us_rs);
foreach ($socialnetworks as $socialnetwork) {
$res_id[] = explode('|',$socialnetwork);
}
sort($res_id);
sort($rs);
foreach ($rs as $v1) {
foreach($res_id as $y1) {
$k = array_search( $y1[0],$v1);
if (false !== $k) {
$my_rs.='<a href="'.$v1[1].$y1[1].'" target="_blank"><i class="fab fa-'.$v1[2].' fa-2x text-primary mr-2"></i></a> ';
break;
}
else $my_rs.='';
}
}
$my_rsos[]=$my_rs;
}
else $my_rsos[]='';
}
if (!$short_user) {
!include!_once('modules/reseaux-sociaux/reseaux-sociaux.conf.php');
if ($us_rs!='') {
$socialnetworks= explode(';',$us_rs);
foreach ($socialnetworks as $socialnetwork) {
$res_id[] = explode('|',$socialnetwork);
}
sort($res_id);
sort($rs);
foreach ($rs as $v1) {
foreach($res_id as $y1) {
$k = array_search( $y1[0],$v1);
if (false !== $k) {
$my_rs.='<a href="'.$v1[1].$y1[1].'" target="_blank"><i class="fab fa-'.$v1[2].' fa-2x text-primary mr-2"></i></a> ';
break;
}
else $my_rs.='';
}
}
$my_rsos[]=$my_rs;
}
else $my_rsos[]='';
} else $my_rsos[] = '';
Citation : Nicolas2
geoloc.php
ligne 94 : $username = $cookie[1];//recupere le username
//recupere le username
if (isset($cookie))
{
$username = $cookie[1];
}
else
{
$username = '';
}
L'eau goutte à goutte finit toujours par percer la pierre...