<?php 

require_once("../conexao.php"); 
@session_start();

$cpf_usuario = $_SESSION['cpf_usuario'];
$query = $pdo->query("SELECT * FROM alunos where cpf = '$cpf_usuario'  order by id asc ");
$res = $query->fetchAll(PDO::FETCH_ASSOC);
$id_aluno = $res[0]['id'];


$id_turma = $_GET['id_turma'];
$id_periodo = $_GET['id_periodo'];

$html = file_get_contents($url."rel/boletim_geral_html.php?id_turma=$id_turma&id_periodo=$id_periodo&id_aluno=$id_aluno");
echo $html;


?>