<?php
require("config.php");
require("includes/debug.php");
require("includes/functions.php");
require("includes/logincheck.php");
require("includes/settings.php")
?>
<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">
            <link href="css/main.css" rel="stylesheet" type="text/css" />            
            <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
            <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    </head>
    <body>
        <?php require_once 'topo.php'; ?>
        <!-- corpo --->
        <div style="width: 980px; border: solid 0px; margin: auto">
            <div style="width: 600px; border: solid 0px red; text-align: center; margin: auto; padding: 25px">
                <label><input type="radio" name="sel_opc" value="1" class="sel_opc"/>&nbsp;Enviar Email</label>&nbsp;&nbsp;&nbsp;
                <label><input type="radio" name="sel_opc" value="2" class="sel_opc"/>&nbsp;Nova Notificação Interna</label>
            </div>
        </div>
        <script>
            $(document).ready(function() {
                $('.sel_opc').on('click', this, function() {
                    var v_sel_opc = $(this).val();
                    if (v_sel_opc == "1") {
                        window.self.location = 'emailsclientesvenc.php';
                    }
                    if (v_sel_opc == "2") {
                        window.self.location = 'cadastrar_notificacao.php';
                    }
                });
            });
        </script>        
        <?php require_once'includes/footer.php' ?>
    </body>
</html>
