<?php 
require_once('shared/conexionBD.php');
//encode utf8
mysqli_query($conexion,"SET NAMES utf8");

$query = "SELECT * FROM ITT_ASW_MMAN ORDER BY IDMA desc ";
$resultado = mysqli_query($conexion, $query ) or die ( "ERROR #004 AL CONSULTAR LOS MANUALES");
$arrMant = array();
while ($manual = mysqli_fetch_array($resultado)){
  $arrMant[] = $manual;
}
?>

<!DOCTYPE html>
<html xml:lang="es" lang="es">

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
  <!--Producción-->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-125019062-2"></script>
  <!--Producción-->
  <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-125019062-2');
  </script>

  <!-- End Global site tag (gtag.js) - Google Analytics -->
  <!-- [if IE]> -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  <meta http-equiv="cleartype" content="on"/>
  <!-- <![endif] -->

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
  <title>Manual de Mantenimiento – S&amp;P</title>
  <meta name="keywords" content="Magento, Varien, E-commerce"/>
  <meta name="robots" content="INDEX,FOLLOW"/>
  <link rel="icon" href="https://statics.solerpalau.com/skin/frontend/solerpalau/default/favicon.ico" type="image/x-icon"/>
  <link rel="shortcut icon" href="https://statics.solerpalau.com/skin/frontend/solerpalau/default/favicon.ico" type="image/x-icon"/>
  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="theme-color" content="#ffffff">

  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.js"></script>
  <script type="text/javascript">
    var $j = jQuery.noConflict();
  </script>

  <script type="text/javascript" src="js/events.js"></script>

  <!-- estilo princripal -->
  <link rel="stylesheet" type="text/css" href="css/style-css01.css" media="all" />
  <link rel=“preload” href=%e2%80%9c/skin/frontend/solerpalau/default/fonts/icomoone8bc.html?y8wbvh%e2%80%9d as=“font”>

</head>
<body class=" cms-page-view cms-produccion-distribucion-logistica level-2 customer-logged-out">
  <!-- aqui va el header -->
  <?php include 'header.php' ?>

  <script type="text/javascript">
    //<![CDATA[
    if (typeof HIB.menu == 'object' && typeof HIB.menu.init == 'function') {
      HIB.menu.init();
    }
    //]]>
  </script>

  <div class="main-container col1-layout">
    <div class="breadcrumbs">
      <div class="container">
        <ul xmlns:v="http://rdf.data-vocabulary.org/#">
          <li class="">
            <a>Recursos</a>
          </li>
        </ul>
      </div>
    </div>
    <div class="main">
      <div class="col-main">
        <main>
        <div id="overlaySearch" class="overlay">
          
          <!-- Overlay content -->
          <div id="searchResults" class="overlay-content grid"></div>
        </div><div class="std"><p><div class="page-title dark">
          <img alt="" src="media/home/categories_home/recursos/manual-mantenimiento.jpg" />
          <div class="page-title-container">
            <div class="page-title-content container">
              <h1 class="h1">Manuales de Mantenimiento</h1>
            </div>
          </div>
          <div class="clearfix">&nbsp;</div>
        </div>
        <div class="bar-title">
          <h2 class="h2">Consulta los Manuales de S&P</h2>
          <div class="container just">
            <p class="hcol-10-12">En esta sección encontrarás los manuales de instalación y mantenimiento para los equipos de S&P.</p>
          </div>
        </div></p>
        <div class="container grid certificaciones-block">
          <div class="hcol-12-12">
            <center><img src="https://statics.solerpalau.com/skin/frontend/solerpalau/default/images/svg/icon_certificate.svg" alt="Certificaciones" width="85px"></center>
            <h1 class="certifications-title">MANUALES</h1>
            <div class="certifications-columns-container-1 hcol-6-12 md-hcol-init"><ul>
              <?php  foreach ($arrMant as $case):
               ?>
                <li class="hcol-1-1">
                <img class="pdf_icon" src="https://statics.solerpalau.com/skin/frontend/solerpalau/default/images/svg/icon_pdf_1.svg">
                  <a href="<?php echo $case['ARCH']; ?>" target="_blank" class="link-certifications caso_practico">
                  <?php echo $case['TITU']; ?>           </a>
                </li>
              <?php  endforeach; ?>
            </div>
          </div>
          <div class="hcol-12-12">
            <p>&nbsp;</p>
            <div class="line">&nbsp;</div>
          </div>
        </div></div>                    </main> 
      </div>
    </div>
  </div>
  <!-- aqui va el footer -->
  <?php include 'footer.php' ?>
</script>
</div>
</div>
</body>
</html>
