isMobile()) { header('Location: /mobile/'.$lang); exit; } $youtube = new Youtube('AIzaSyCxVJ0zlBO85KHO-Hsns0QxSAcoJybqcZQ'); $videoInfo = $youtube->request('videos', array('id' => '7HCIed6ZOI0', 'part' => 'statistics')); $viewCount = $videoInfo['items'][0]['statistics']['viewCount']; $jsonSharers = json_decode(file_get_contents(ROOT . DS . 'json' . DS . 'sharer.json'), true); $sharers = ($lang == 'fr') ? $jsonSharers['fr'] : $jsonSharers['others']; require_once('./ecard.php');