// Si case image_perso rempli
switch ($page) {
case 'album':
case 'spectacle':
case 'dvd_blu_ray':
case 'ebook':
if (empty ($info['image_perso']) ){
if ($info['images'] == '1'){
$image = str_replace('._SS500_','._SL500_AA300_',$rep['image']);
$image_ = str_replace('._SS500_','._SL500_AA300_',$rep['image_']);
}else{$image = $rep['image'];$image_ = $rep['image_'];}
}else{
$image = '<img src="'.$info['image_perso'].' />
';
$image_ = '[img]'.$info['image_perso'].'[/img]'. "\n\n";
}
break;
case 'film':
case 'serie':
case 'jeu':
case 'log':
case 'manga':
case 'film_x' :
case 'magazine':
case 'ebook':
if (empty ($info['image_perso']) ){
$image = $rep['image'];
$image_ = $rep['image_'];
}else{
$image = '[img]'.$info['image_perso'].'[/img]
';
$image_ = '[img]'.$info['image_perso'].'[/img]'. "\n\n";
}
break;}