<?php

include"conexion.php";

date_default_timezone_set("America/Mexico_City");


setlocale(LC_ALL,"es_ES");
//echo strftime("%A %d de %B del %Y");

$id_formato=$_GET["id_formato"];

$consulta=$mysqli->query("SELECT * from formato where id_formato='$id_formato'");

           if (!$consulta) {
   printf("Mensajes de error: %s\n", $mysqli->error);
}
         $numero=1;
            while ($res=$consulta->fetch_assoc()) { 

$fecha_expedicion=$res["fecha_expedicion"];
$UPP_remitente=$res["UPP_remitente"];
$UPP_destinatario=$res["UPP_destinatario"];
$nombre_remitente=$res["nombre_remitente"];
$nombre_destinatario=$res["nombre_destinatario"];
$rfc_remitente=$res["rfc_remitente"];
$rfc_destinatario=$res["rfc_destinatario"];
$municipio_remitente=$res["municipio_remitente"];
$municipio_destinatario=$res["municipio_destinatario"];
$localidad_remitente=$res["localidad_remitente"];
$localidad_destinatario=$res["localidad_destinatario"];
$rancho=$res["rancho"];
$estado=$res["estado"];
$patente1=$res["patente1"];
$curp1=$res["curp1"];
$clave_elector1=$res["clave_elector1"];
$patente2=$res["patente2"];
$curp2=$res["curp2"];
$clave_elector2=$res["clave_elector2"];
$vehiculo=$res["vehiculo"];
$marca=$res["marca"];
$modelo=$res["modelo"];
$capacidad=$res["capacidad"];
$ano=$res["ano"];
$color=$res["color"];
$placas=$res["placas"];
$remolque=$res["remolque"];
$placas2=$res["placas2"];
$nombre_conductor=$res["nombre_conductor"];
$puntos_verificacion=$res["puntos_verificacion"];
$hembra=$res["hembra"];
$especie=$res["especie"];
$mercancia_pecuaria=$res["mercancia_pecuaria"];
$motivo_transporte=$res["motivo_transporte"];
$unidad_medida=$res["unidad_medida"];
$macho=$res["macho"];
$num_factura=$res["num_factura"];
$certificado=$res["certificado"];
$total=$res["total"];
$via_transporte=$res["via_transporte"];
$flejes=$res["flejes"];
$dictamen_tuberculosis=$res["dictamen_tuberculosis"];
$brucelosis=$res["brucelosis"];
$animales_movilizados=$res["animales_movilizados"];
$fierros_marcas=$res["fierros_marcas"];
$antecedentes_presentados=$res["antecedentes_presentados"];
$asociacion_ganadera=$res["asociacion_ganadera"];
$presidente=$res["presidente"];
$solicitante=$res["solicitante"];
$responsables=$res["responsables"];

                  }


?>

<html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="generator" content="PhpSpreadsheet, https://github.com/PHPOffice/PhpSpreadsheet">
      <meta name="author" content="Martzcial84" />
    <style type="text/css">
      html { font-family:Calibri, Arial, Helvetica, sans-serif; font-size:11pt; background-color:white }
      a.comment-indicator:hover + div.comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em }
      a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em }
      div.comment { display:none }
      table { border-collapse:collapse; page-break-after:always }
      .gridlines td { border:1px dotted black }
      .gridlines th { border:1px dotted black }
      .b { text-align:center }
      .e { text-align:center }
      .f { text-align:right }
      .inlineStr { text-align:left }
      .n { text-align:right }
      .s { text-align:left }
      td.style0 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      th.style0 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      td.style1 { vertical-align:middle; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      th.style1 { vertical-align:middle; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      td.style2 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      th.style2 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:white }
      td.style3 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style3 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style4 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style4 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style5 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style5 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style6 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style6 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style7 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style7 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style8 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      th.style8 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      td.style9 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style9 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style10 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style10 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style11 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style11 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style12 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#FFFFFF }
      th.style12 { vertical-align:bottom; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#000000; font-family:'Calibri'; font-size:11pt; background-color:#FFFFFF }
      td.style13 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style13 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style14 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style14 { vertical-align:bottom; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style15 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style15 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style16 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style16 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style17 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style17 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style18 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style18 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      td.style19 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      th.style19 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      td.style20 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      th.style20 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      td.style21 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      th.style21 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; font-weight:bold; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      td.style22 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      th.style22 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:5pt; background-color:#FFFFFF }
      td.style23 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      th.style23 { vertical-align:middle; text-align:center; border-bottom:none #000000; border-top:none #000000; border-left:none #000000; border-right:none #000000; color:#FFFFFF; font-family:'Calibri'; font-size:8pt; background-color:#FFFFFF }
      table.sheet0 col.col0 { width:86.07777679pt }
      table.sheet0 col.col1 { width:42.02222174pt }
      table.sheet0 col.col2 { width:35.24444404pt }
      table.sheet0 col.col3 { width:40.6666662pt }
      table.sheet0 col.col4 { width:52.86666606pt }
      table.sheet0 col.col5 { width:47.4444439pt }
      table.sheet0 col.col6 { width:61.67777707pt }
      table.sheet0 col.col7 { width:49.47777721pt }
      table.sheet0 col.col8 { width:42.02222174pt }
      table.sheet0 col.col9 { width:56.93333268pt }
      table.sheet0 col.col10 { width:38.63333289pt }
      table.sheet0 col.col11 { width:37.95555512pt }
      table.sheet0 tr { height:15pt }
      table.sheet0 tr.row0 { height:75pt }
      table.sheet0 tr.row2 { height:11.25pt }
      table.sheet0 tr.row3 { height:11.25pt }
      table.sheet0 tr.row10 { height:11.25pt }
      table.sheet0 tr.row12 { height:11.25pt }
      table.sheet0 tr.row13 { height:30.75pt }
      table.sheet0 tr.row18 { height:10.5pt }
      table.sheet0 tr.row19 { height:15.75pt }
      table.sheet0 tr.row22 { height:22.5pt }
      table.sheet0 tr.row23 { height:11.25pt }
      table.sheet0 tr.row24 { height:150pt }
      table.sheet0 tr.row25 { height:11.25pt }
      table.sheet0 tr.row26 { height:150pt }
      table.sheet0 tr.row27 { height:11.25pt }
      table.sheet0 tr.row28 { height:75pt }
      table.sheet0 tr.row29 { height:21.75pt }
    </style>


    <style type="text/css">
  .boton{
        font-size:25px;
        font-family:Verdana,Helvetica;
        font-weight:bold;
        color:white;
        background:#638cb5;
        border:0px;
        width:180px;
        height:60px;
        margin-bottom: 100px;
        margin-top: 20px;


       }

        .boton2{
        font-size:25px;
        font-family:Verdana,Helvetica;
        font-weight:bold;
        color:white;
        background:#638cb5;
        border:0px;
        width:200px;
        height:100px;
        margin-bottom: 100px;
        margin-top: 20px;


       }


</style>



  </head>

  <body>
<style>
@page { margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: 0in; }
body { margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: 0in; }
</style>
    <table border="0" cellpadding="0" cellspacing="0" id="sheet0" class="sheet0 gridlines" align="center">
        <col class="col0">
        <col class="col1">
        <col class="col2">
        <col class="col3">
        <col class="col4">
        <col class="col5">
        <col class="col6">
        <col class="col7">
        <col class="col8">
        <col class="col9">
        <col class="col10">
        <col class="col11">
        <tbody>
          <tr class="row0">
            <td class="column0 style2 null style2" colspan="12"></td>
          </tr>
          <tr class="row1">
            <td class="column0 style5 null style5" colspan="4"></td>
            <td class="column4 style3 null style3" colspan="2"></td>
            <td class="column6 style3 n style3" colspan="2"><?php echo $fecha_expedicion; ?></td>
            <td class="column8 style3 null style3" colspan="4"></td>
          </tr>
          <tr class="row2">
            <td class="column0 style4 s style4" colspan="12">REGISTRO DE MOVILIZACIÓN DE GANADO EN EL ESTADO DE VERACRUZ</td>
          </tr>
          <tr class="row3">
            <td class="column0 style13 s style13" colspan="6">REMITENTE</td>
            <td class="column6 style13 s style13" colspan="6">DESTINATARIO</td>
          </tr>
          <tr class="row4">
            <td class="column0 style14 s">U.P.P/P.S.G</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $UPP_remitente; ?></td>
            <td class="column6 style14 s">U.P.P/P.S.G</td>
            <td class="column7 style3 n style3" colspan="5"><?php echo $UPP_destinatario; ?></td>
          </tr>
          <tr class="row5">
            <td class="column0 style14 s">NOMBRE</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $nombre_remitente; ?></td>
            <td class="column6 style14 s">NOMBRE</td>
            <td class="column7 style3 n style3" colspan="5"><?php echo $nombre_destinatario; ?></td>
          </tr>
          <tr class="row6">
            <td class="column0 style14 s">R.F.C.</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $rfc_remitente; ?></td>
            <td class="column6 style14 s">R.F.C.</td>
            <td class="column7 style3 n style3" colspan="5"><?php echo $rfc_destinatario; ?></td>
          </tr>
          <tr class="row7">
            <td class="column0 style14 s">MUNICIPIO</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $municipio_remitente; ?></td>
            <td class="column6 style14 s">MUNICIPIO</td>
            <td class="column7 style3 n style3" colspan="5"><?php echo $municipio_destinatario; ?></td>
          </tr>
          <tr class="row8">
            <td class="column0 style14 s">LOCALIDAD</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $localidad_remitente; ?></td>
            <td class="column6 style14 s">LOCALIDAD</td>
            <td class="column7 style3 n style3" colspan="5"><?php  echo $localidad_destinatario; ?></td>
          </tr>
          <tr class="row9">
            <td class="column0 style14 s">RANCHO/PREDIO</td>
            <td class="column1 style3 n style3" colspan="5"><?php echo $rancho; ?></td>
            <td class="column6 style14 s">ESTADO</td>
            <td class="column7 style3 n style3" colspan="5"><?php echo $estado; ?></td>
          </tr>
          <tr class="row10">
            <td class="column0 style4 s style4" colspan="2">PATENTE</td>
            <td class="column2 style4 s style4" colspan="2">CURP</td>
            <td class="column4 style4 s style4" colspan="2">CLAVE ELECTOR</td>
            <td class="column6 style4 s style4" colspan="2">PATENTE</td>
            <td class="column8 style4 s style4" colspan="2">CURP</td>
            <td class="column10 style4 s style4" colspan="2">CLAVE ELECTOR</td>
          </tr>
          <tr class="row11">
            <td class="column0 style3 n style3" colspan="2"><?php echo $patente1; ?></td>
            <td class="column2 style3 n style3" colspan="2"><?php echo $curp1; ?></td>
            <td class="column4 style3 n style3" colspan="2"><?php echo $clave_elector1; ?></td>
            <td class="column6 style3 n style3" colspan="2"><?php echo $patente2; ?></td>
            <td class="column8 style3 n style3" colspan="2"><?php echo $curp2; ?></td>
            <td class="column10 style3 n style3" colspan="2"><?php echo $clave_elector2; ?></td>
          </tr>
          <tr class="row12">
            <td class="column0 style4 s style4" colspan="12">DATOS DEL TRANSPORTE</td>
          </tr>
          <tr class="row13">
            <td class="column0 style15 s style15" colspan="2">VEHICULO</td>
            <td class="column2 style16 s">MARCA</td>
            <td class="column3 style16 s">MODELO</td>
            <td class="column4 style16 s">CAPACIDAD</td>
            <td class="column5 style16 s">AÑO</td>
            <td class="column6 style17 s">COLOR</td>
            <td class="column7 style18 s style15" colspan="2">PLACAS<br />
VEHICULO</td>
            <td class="column9 style4 s style4" colspan="2">REMOLQUE</td>
            <td class="column11 style16 s">PLACAS</td>
          </tr>
          <tr class="row14">
            <td class="column0 style3 n style3" colspan="2"><?php echo $vehiculo; ?></td>
            <td class="column2 style6 n"><?php echo $marca; ?></td>
            <td class="column3 style6 n"><?php echo $modelo; ?></td>
            <td class="column4 style6 n"><?php echo $capacidad; ?></td>
            <td class="column5 style6 n"><?php echo $ano; ?></td>
            <td class="column6 style7 n"><?php echo $color; ?></td>
            <td class="column7 style3 n style3" colspan="2"><?php echo $placas; ?></td>
            <td class="column9 style3 n style3" colspan="2"><?php echo $remolque; ?></td>
            <td class="column11 style6 n"><?php echo $placas2; ?></td>
          </tr>
          <tr class="row15">
            <td class="column0 style13 s style13" colspan="4">NOMBRE DEL CONDUCTOR</td>
            <td class="column4 style3 n style3" colspan="8"><?php $nombre_conductor; ?></td>
          </tr>
          <tr class="row16">
            <td class="column0 style11 s style4" colspan="4">PUNTOS DE VERIFICACION E<br />
INSCRIPCION INTERNA(RUTA)</td>
            <td class="column4 style3 n style3" colspan="8"><?php echo $puntos_verificacion; ?></td>
          </tr>
          <tr class="row18">
            <td class="column0 style4 s style4" colspan="12">DATOS DE LA MOVILIZACION</td>
          </tr>
          <tr class="row19">
            <td class="column0 style19 s style19" rowspan="2">ESPECIE</td>
            <td class="column1 style20 s style20" colspan="3" rowspan="2">MERCANCIAS PECUARIAS<br />
(ANIMALES, PRODUCTOS, SUBPRODUCTOS)</td>
            <td class="column4 style20 s style20" rowspan="2">MOTIVO DE<br />
TRANSPORTE</td>
            <td class="column5 style20 s style20" rowspan="2">UNIDAD<br />
DE MEDIDA</td>
            <td class="column6 style21 s">HEMBRA</td>
            <td class="column7 style8 n"><?php echo $hembra; ?></td>
            <td class="column8 style22 s style22" colspan="2" rowspan="2">NUMERO DE FACTURA<br />
CFDI</td>
            <td class="column10 style22 s style22" colspan="2" rowspan="2">CERTIFICADO<br />
ZOOSANITARIO</td>
          </tr>
          <tr class="row20">
            <td class="column6 style21 s">MACHO</td>
            <td class="column7 style9 n"><?php echo $macho; ?></td>
          </tr>
          <tr class="row21">
            <td class="column0 style10 n"><?php echo $especie; ?></td>
            <td class="column1 style3 n style3" colspan="3"><?php echo $mercancia_pecuaria; ?></td>
            <td class="column4 style3 n style3" colspan="2"><?php echo $motivo_transporte; ?></td>
            <td class="column6 style16 s">TOTAL</td>
            <td class="column7 style9 n"><?php echo $total; ?></td>
            <td class="column8 style3 n style3" colspan="2"><?php echo $num_factura; ?></td>
            <td class="column10 style3 n style3" colspan="2"><?php echo $certificado; ?></td>
          </tr>
          <tr class="row22">
            <td class="column0 style16 s">VIA DE TRANSPORTE</td>
            <td class="column1 style3 n style3" colspan="3"><?php echo $via_transporte; ?></td>
            <td class="column4 style16 s">FLEJES</td>
            <td class="column5 style9 n"><?php echo $flejes; ?></td>
            <td class="column6 style23 s">DICTAMEN DE<br />
TUBERCULOSIS</td>
            <td class="column7 style5 n style5" colspan="2"><?php echo $dictamen_tuberculosis; ?></td>
            <td class="column9 style23 s">DICTAMEN DE<br />
BRUCELOSIS</td>
            <td class="column10 style3 n style3" colspan="2"><?php echo $brucelosis; ?></td>
          </tr>
          <tr class="row23">
            <td class="column0 style11 s style11" colspan="12">IDENTIFICACIÓN INDIVIDUAL DE LOS ANIMALES MOVILIZADOS</td>
          </tr>
          <tr class="row24">
            <td class="column0 style3 n style3" colspan="12"><?php  echo $animales_movilizados;  ?></td>
          </tr>
          <tr class="row25">
            <td class="column0 style11 s style11" colspan="6">FIERROS, MARCAS, TATUAJES</td>
            <td class="column6 style11 s style11" colspan="6">ANTECEDENTES PRESENTADOS</td>
          </tr>
          <tr class="row26">
            <td class="column0 style3 n style3" colspan="6"><?php echo $fierros_marcas; ?></td>
            <td class="column6 style3 n style3" colspan="6"><?php echo $antecedentes_presentados; ?></td>
          </tr>
          <tr class="row27">
            <td class="column0 style4 s style4" colspan="12">RESPONSABLES DE LA DOCUMENTACIÓN</td>
          </tr>
          <tr class="row28">
            <td class="column0 style3 n style3" colspan="3"><?php echo $asociacion_ganadera; ?></td>
            <td class="column3 style3 n style3" colspan="3"><?php echo $presidente; ?></td>
            <td class="column6 style3 n style3" colspan="3"><?php echo $solicitante; ?></td>
            <td class="column9 style3 n style3" colspan="3"><?php echo $responsables; ?> </td>
          </tr>
          <tr class="row29">
            <td class="column0 style4 s style4" colspan="3">ASOCIACIÓN GANADERA LOCAL</td>
            <td class="column3 style11 s style4" colspan="3">PRESIDENTE DE LA A.G.L.<br />
NOMBRE Y FIRMA</td>
            <td class="column6 style11 s style4" colspan="3">SOLICITANTE<br />
NOMBRE Y FIRMA</td>
            <td class="column9 style11 s style11" colspan="3">RESPONSABLE DEL H. AYUNTAMIENTO<br />
NOMBRE Y FIRMA</td>
          </tr>
          <tr class="row30">
            <td class="column0 style12 null"></td>
            <td class="column1 style12 null"></td>
            <td class="column2 style12 null"></td>
            <td class="column3 style12 null"></td>
            <td class="column4 style12 null"></td>
            <td class="column5 style12 null"></td>
            <td class="column6 style12 null"></td>
            <td class="column7 style12 null"></td>
            <td class="column8 style12 null"></td>
            <td class="column9 style12 null"></td>
            <td class="column10 style12 null"></td>
            <td class="column11 style12 null"></td>
          </tr>
          <tr class="row31">
            <td class="column0 style12 null"></td>
            <td class="column1 style12 null"></td>
            <td class="column2 style12 null"></td>
            <td class="column3 style12 null"></td>
            <td class="column4 style12 null"></td>
            <td class="column5 style12 null"></td>
            <td class="column6 style12 null"></td>
            <td class="column7 style12 null"></td>
            <td class="column8 style12 null"></td>
            <td class="column9 style12 null"></td>
            <td class="column10 style12 null"></td>
            <td class="column11 style12 null"></td>
          </tr>
          <tr class="row32">
            <td class="column0 style12 null"></td>
            <td class="column1 style12 null"></td>
            <td class="column2 style12 null"></td>
            <td class="column3 style12 null"></td>
            <td class="column4 style12 null"></td>
            <td class="column5 style12 null"></td>
            <td class="column6 style12 null"></td>
            <td class="column7 style12 null"></td>
            <td class="column8 style12 null"></td>
            <td class="column9 style12 null"></td>
            <td class="column10 style12 null"></td>
            <td class="column11 style12 null"></td>
          </tr>
        </tbody>
    </table>
    <center>
<input type="button" class="boton" name="imprimir" value="Imprimir" onclick="window.print();">
<a href="formato.php" class="boton2">volver</a>
</center>

  </body>
</html>

