<?php
require("includes/functions.php");
require("includes/logincheck.php");
require("includes/settings.php");
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

$assunto = base64_url_decode($_GET['a']);
$corpo = base64_url_decode($_GET['c']);
?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php print($longtitle); ?></title>
        <link rel="shortcut icon" href="favicon.ico"/>
        <link rel="apple-touch-icon" href="favicon.png"/>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
        <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <style>
            body{
                padding: 10px;
            }
        </style>
    </head>
    <body>
        <h4><?php echo $longtitle; ?></h4>
        <p>Página de Visualização de Modelos de Email</p>
        <hr/>
        <p><strong style="font-size: 8pt; background-color: #F5F5F5">Assunto:</strong><br/><?php echo $assunto; ?></p>
        <p><strong style="font-size: 8pt; background-color: #F5F5F5">Corpo:</strong><br/><?php echo $corpo; ?></p>
    </body>
</html>

