?={aS$fz'; // $seriescapi = $_GET["id"]; // $e_se = explode("-", $seriescapi); // $e_setot = count($e_se)-1; // $temxcap = $e_se[$e_setot]; // $seriescap = str_replace(["-$temxcap"], [], $seriescapi); // $ooo = explode("x", $temxcap); // $o_tem = $ooo[0]; // $o_cap = $ooo[1]; // $link = mysqli_connect($servername, $username, $password, $database); // $result = mysqli_query($link, "SELECT * FROM `series` WHERE `slug` = '$seriescap'"); // while ($row = mysqli_fetch_array($result)) { // // echo 'ID: ' . $row['id'] . '
'; // $db_name = $row['nombre']; // // echo 'Gender: ' . $row['nombreorg'] . '
'; // // echo 'Pais: ' . $row['pais'] . '
'; // // echo 'TMDB: ' . $row['tmdb'] . '
'; // $db_imdb = $row['tmdb']; // } function encryptlink($data,$key) { $iv = openssl_random_pseudo_bytes(openssl_cipher_iv_length('aes-256-cbc')); $encrypted=openssl_encrypt($data, "aes-256-cbc", $key, 0, $iv); return base64_encode($encrypted."::".$iv); } // function decryptlink($data,$key) // { // list($encrypted_data, $iv) = explode('::', base64_decode($data), 2); // return openssl_decrypt($encrypted_data, 'aes-256-cbc', $key, 0, $iv); // } // function decryptlink($texto){ // $key='2020'; // Una clave de codificacion, debe usarse la misma para encriptar y desencriptar // $decrypted = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($key), base64_decode($texto), MCRYPT_MODE_CBC, md5(md5($key))), "\0"); // return $decrypted; // } function decryptlink($cadena,$clave) { global $core; $resultado = ""; $cadena = base64_decode($cadena); $cadena = str_replace(array('-', '_'), array('+', '/'), $cadena); for($i=0; $i"; $l_fin = decryptlink($string,"-"); // $_ggtv = str_replace(["ΓΏ"], ["/"], utf8_encode ($l_fin)); // echo $l_fin; // echo "
=====
"; // $name_orgxx= mb_convert_encoding(utf8_decode($l_fin) , 'UTF-8', 'ISO-8859-1'); // $nameeeeee = html_entity_decode($l_fin, ENT_QUOTES | ENT_HTML401, "UTF-8"); // echo utf8_decode ($name_orgxx); // echo "
=====
"; // echo utf8_decode ($nameeeeee); // Redirect 301 Moved Permanently header("Location: ".$l_fin."",TRUE,301); ?>