query($sql); if ($rcc=$db->row($cc)) { if ($rcc["site_num"]==0) $url_photo = $url . "/photos-foot/"; else $url_photo = $url . "/photos-" . Slug($rcc["site_nom"]) . "/"; header("Status: 301 Moved Permanently", false, 301); header("Location: " . $url_photo); exit(); } ?>