db = $db; $player->url = $CONF['url']; $player->l_per_post = $settings['lperpost']; $player->title = $settings['title']; // Get the track $player = $player->getEmbed($_GET['id']); // Match the content from the song-title class in order to set it for the title tag preg_match_all('/([\d\D]*)<\/div>/iU', $player, $title); // Get the token_id $token_id = generateToken(); mysqli_close($db); ?> <?php echo ((!empty($title[2][0])) ? strip_tags($title[2][0]).' - '.$settings['title'] : $settings['title']); ?>