0) { $sp = mysqli_result($res, 0, "espece"); $nom = mysqli_result($res, 0, "nom"); $com = mysqli_result($res, 0, "com"); $titre = $nom. ", ".$sp; $key = $nom. ", ".$sp; $titre_com = " ".$sp." - ".$com; } elseif (isset($ioc_name) AND $res_ioc = mysqli_query($GLOBALS['link'], $sql_ioc)) { $sp = mysqli_result($res_ioc, 0, "espece"); $nom = mysqli_result($res_ioc, 0, "nom"); $titre = $nom. ", ".$sp; $key = $nom. ", ".$sp; $titre_com = " ".$sp.""; } else $sp = $com = $nom = $titre = $key = $titre_com = ''; $mask = "/[A-Za-z]+_[a-z]+_([_a-z]+)\.mp3$/ui"; if (preg_match($mask, $lk, $req)) $titre_com .= ' - '.str_replace("_", " ", $req[1]); $lk_path = $GLOBALS['chants_path']."mp3/".$lk; $lk_im = $GLOBALS['chants_path']."spectro/".preg_replace("$.mp3$", ".jpg", $lk); $image = $GLOBALS['server_path'].$GLOBALS['site_path'].$lk_im; $mp3 = $GLOBALS['server_path'].$GLOBALS['site_path'].$lk_path; list($width, $height) = getimagesize($GLOBALS['chants_path_f'].'spectro'.$GLOBALS['slash'].preg_replace("$.mp3$", ".jpg", $lk)); $back = ''; if (isset($_SERVER['HTTP_REFERER'])) $back .= 'Retour - '; $back .= 'Accueil'; $back = '
'.$back.'
'; echo ' '; robots(); if ($GLOBALS['canonical_flag'] == TRUE) echo ''; echo ''; echo ''.$titre.' audio et spectrogramme '; if (isset($GLOBALS['canonical_href'])) echo ''; if (is_mobile($_SERVER['HTTP_USER_AGENT'])) echo ''; echo '

Audio et spectrogramme '.$nom.'

'.$back.'





'.$titre_com.'
'; } else { if ($lk == '') $lk = $GLOBALS['server_path'].$GLOBALS['site_path']; else $lk = "./".$lk; print ''; print ''; } stat_enreg(); ?>