ini_set('display_errors', '1'); ini_set('display_startup_errors', '1'); error_reporting(E_ALL); require_once('../../includes/init.php'); $options = array( 'slug' => isset($_GET['slug']) ? htmlentities($_GET['slug'], ENT_QUOTES, 'UTF-8') : '' ); $main = New Main(); $data = $cache->fetch("getSymbol", [$options['slug']]); if (!isset($_GET['slug']) || !isset($data['name'])) { header("Location: " . $config['website']['url']); die(); } $description = htmlentities(mb_strimwidth(preg_replace('/\s+/', ' ', trim($data['description'])), 0, 142, "...")); $page_var = array( 'title' => $data['cha'] . ' ' . htmlentities(ucfirst($data['name'])) . ' Symbol - Meaning, Copy & Paste', 'description' => $data['name'] . ' symbol. ' . $description, 'canonical' => $config['website']['url'] . '/symbol/' . $data['slug'], 'img' => 'https://cdn3.emoji.gg/symbols/' . $data['slug'] . '.png' ); require_once('../../includes/templates/header.php'); require_once('../../includes/templates/pages/symbols/listing.php'); require_once('../../includes/templates/footer.php'); ?>