<?php




                  




$tablet_browser = 0;
$mobile_browser = 0;

$body_class = 'desktop';

if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
    $tablet_browser++;
    $body_class = "tablet";
}

if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
    $mobile_browser++;
    $body_class = "mobile";
}

if ((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') > 0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
    $mobile_browser++;
    $body_class = "mobile";
}

$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4));

$mobile_agents = array(
    'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
    'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
    'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
    'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
    'newt','noki','palm','pana','pant','phil','play','port','prox',
    'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
    'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
    'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
    'wapr','webc','winw','winw','xda ','xda-');

if (in_array($mobile_ua,$mobile_agents)) {
    $mobile_browser++;
}

if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
    $mobile_browser++;
    //Check for tablets on opera mini alternative headers
    $stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA'])?$_SERVER['HTTP_X_OPERAMINI_PHONE_UA']:(isset($_SERVER['HTTP_DEVICE_STOCK_UA'])?$_SERVER['HTTP_DEVICE_STOCK_UA']:''));
    if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) {
      $tablet_browser++;
    }
}

if ($tablet_browser > 0) {
// Si es tablet has lo que necesites

  $es_tablet = 'si';

}else if ($mobile_browser > 0) {
// Si es dispositivo mobil has lo que necesites
  $es_movil = 'si';
}
else {
// Si es ordenador de escritorio has lo que necesites

}

include 'concha.php';

$titulo = "$nombresitio / Archivo";

?>

<!doctype html>

<html lang="<?php echo $lang_actual ?>">

 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title><?php echo $nombresitio ?></title>
<meta name="description" content="<?php echo $descripcion_web ?>" />
<meta name="keywords" content="<?php echo $nombresitio ?>, radio, en vivo, escuchar, portal" />
<meta name="language" content="es" />
<meta property="og:title" content="<?php echo $nombresitio ?>" />
<meta property="og:description" content="<?php echo $descripcion_web ?>" />
<meta property="og:site_name" content="<?php echo $nombresitio ?>" />
<meta name="language" content="es" />
<meta property="og:type" content="article" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta property="og:url" content="<?php echo $dom ?>" />
<meta property="og:image" content="<? $logo_C = str_replace('http://', 'https://', $logo_C); echo $logo_C;?>"  />

<? $link_titulo = str_replace('http://', 'https://', $link_titulo); echo $link_titulo;?>

<? $link_menu = str_replace('http://', 'https://', $link_menu); echo $link_menu;?>

<? $link_bajada = str_replace('http://', 'https://', $link_bajada); echo $link_bajada;?>


<?
$catba = $_GET['cat'];

$i_publi = 10000000;

?>

<title>ESTILO4</title>
<link rel="shortcut icon" href="<?php echo $dom ?>/icono.ico" type="image/x-icon" />
   <!-- Bootstrap CSS -->
   <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
       integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

<link href="https://radioshosting.com/css/delalora<? echo $estiloweb ?>new.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css"/>
<link rel="stylesheet" href="https://ejemplo.radiosnet.com.ar/css/font-awesome.min.css"/>
<link rel="stylesheet" href="https://radioshosting.com/css/css/lightbox.min.css">
<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">

   <script src="https://code.jquery.com/jquery-3.4.1.min.js"
       integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn t work if you view the page via file:// -->
<!--[if lt IE 9]>
     <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
     <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
   <![endif]-->


       <style>

       .container {
           height: auto;
           overflow: scroll;
           -webkit-overflow-scrolling: touch;
       }
       body {
           /* Show scrollbars */
           <?php
               $e = substr("$d_color_fondo",0,1);
               $e1 = substr("$d_color_fondo",0,4);

               if ($e == '#') { ?>
                   background-color:<? echo $d_color_fondo ?>;
                   <?

               } else {
                   if ($e1 == 'http') { ?>

                       background-image:url(<? echo $d_color_fondo ?>);
                       background-repeat:repeat;


                       <? } else { ?>

                       background-image: url("https://recursos.radiosnethosting.com/fondos/<? echo $d_color_fondo ?>");
                       background-attachment: fixed;
                       -webkit-background-size: cover;
                       -moz-background-size: cover;
                       -o-background-size: cover;
                       background-size: cover;

                       <? } ?>
               <? } ?>

               overflow-x: hidden;
               margin: 0 auto;

       }


       h1,
       h2,
       h3,
       h4,
       h5,
       h6 {
           margin-bottom: 10px;
           line-height: 1.1em;
           font-weight: 600;
           margin-top: 0;
           color: <?php echo $d_color_titulo?>;
           font-family: <?php echo $style_titulo ?>;
       }

       p {
           font-family: <?php echo $style_bajada ?>;
       }

       .h3,
       h3 {
           font-size: 1rem;
       }

       h1 a,
       h2 a,
       h3 a,
       h4 a,
       h5 a,
       h6 a {
           display: block;
           color: <?php echo $d_color_menu?>;
       }

       a:hover {

           color: <?php echo $d_color_menu_sobre?>;

       }

       a:link,
       a:visited,
       a:active,
       a:focus,
       a:before,
       a:after {
           outline: 0 none;
           text-decoration: none;
           color: <?php echo $d_color_menu?>;
       }





       .navbar-nav .dropdown-menu {
           position: absolute;
           background-color: <? echo $d_color_fondo_menu?>;
       }


       .dropdown:hover>ul {

           display: block !important;

       }

       .dropdown ul li a {

           color: <?php echo $d_color_menu?>;

       }


       .navbar-light .navbar-nav .nav-link:focus,
       .navbar-light .navbar-nav {
           color: <?php echo $d_color_menu ?>;

       }

       .nav-link:hover {
           color: <?php echo $d_color_menu_sobre ?>;

       }

       #logo {
           max-width: 3.2rem;
       }

       #logo:hover path {
           fill: <?php echo $d_color_menu ?>;

       }

       #logo:hover {

           color: <?php echo $d_color_menu_sobre ?>;

       }

       #logo2 {
           fill: <?php echo $d_color_weather2 ?>;
           max-width: 48px;
       }


       #logo3 {
           fill: <?php echo $d_color_weather2 ?>;
           max-width: 18px;
       }

       .color {
           color: <? echo $d_color_menu?>;
       }

       .btn-outline-primary.active,
       .btn-outline-primary:active,
       .show>.btn-outline-primary.dropdown-toggle {
           color: <?php echo $d_color_fondo_menu ?>;
           background-color: <?php echo $d_color_menu ?>;
           border: 3px solid <?php echo $d_color_fondo_menu ?>;
       }

       .btn-outline-primary:hover {
           color: <?php echo $d_color_fondo_menu ?>;
           background-color: <?php echo $d_color_menu ?>;
           border: 3px solid <?php echo $d_color_fondo_menu ?>;

       }

       .btn-outline-primary {
           color: <?php echo $d_color_menu ?>;
           background-color: <?php echo $d_color_fondo_menu ?>;
           border: 3px solid transparent;
       }

       footer p {
           margin-bottom: .25rem;
           color: <?php echo $d_color_menu ?>;
           font-weight: 300;
       }

       .facebook {
           display: block;
           float: right;
           background: <?php echo $d_color_menu ?>;
           margin-right: 37px !important;
       }

       .twitter {
           display: block;
           float: right;
           background: <?php echo $d_color_menu ?>;
       }

       .flickity-page-dots .dot {
           background: <?php echo $d_color_menu ?>;

       }

       .sidebar {
           will-change: min-height;
       }

       .sidebar__inner {
           transform: translate(0, 0);
           /* For browsers don't support translate3d. */
           transform: translate3d(0, 0, 0);
           will-change: position, transform;
       }

       .sidebar .widget .widget-title {
           font-size: 20px;
       }

       <? $hexa=substr($d_color_fondo_menu, 1);

       $decimal=hexdec($hexa);


       if ($decimal <='10066329') {
           $color_titulo_barra="250,250,250,0.9";
       }

       else {
           $color_titulo_barra="0,0,0,0.9";
       }

       ;

       ?>.widget-head {
           background-color: <? echo $d_color_fondo_menu?> !important;
       }

       .widget-title {
           font-size: 25px;
           font-weight: 900;
           line-height: 1;
           text-transform: uppercase;
           margin-bottom: 0;
           color: <?php echo $d_color_menu ?>;
           font-family: <?php echo $style_titulo ?>;
       }

       /* ---- grid ---- */



       .topbar {

           border-bottom: 0;

           background-color: <? echo $d_color_fondo_menu ?>;
           color: <? echo $d_color_menu ?>;
       }


       .header {

           min-height: 130px;
           display: flex;
           align-items: center;


           <?php if ($textura==NULL && $logo_g==NULL) {
               ?>background-color: <?php echo $d_color_fondo_cabecera ?>;

               <?
           }

           elseif($textura !=NULL) {
               ?>background-position: center center;
               background-size: cover;
               background-repeat: no-repeat;
               background-image: url(<?php $textura = str_replace("www.radiosnet.com.ar","recursos.radiosnethosting.com",$textura);
               echo $textura ?>);
               -moz-background-size: cover;
               -webkit-background-size: cover;

               <?php
           }

           else {
               ?>background-position: center center;
               background-size: cover;
               background-repeat: no-repeat;
               background-image: url(<?php echo $logo_g ?>);
               -moz-background-size: cover;
               -webkit-background-size: cover;

               <?
           }

           ?>clear: both;


       }


       .header-right {
           float: right;
       }

       .logo {
           max-width: 80%;

       }

       .bg-light {

           background-color: #fff !important;
       }

       article {
           background: transparent;
           /*border-radius: 3px;
                                       border: 1px solid #e4e4e4;*/
       }

       .colorTitulo {
           color: <?php echo $d_color_titulo ?>;
           font-weight: 800;
           letter-spacing: 1px;

       }



       .facebook {

           display: block;
           float: right;
           background-color: <?php echo $color_cat ?> !important;
           margin-right: 37px !important;
       }

       .twitter {

           display: block;
           float: right;
           background-color: <?php echo $color_cat ?> !important;
       }

       p.displaytitulo {
           height: 0;
           margin: 0;
           font-family: 'Montserrat', sans-serif !important;
           letter-spacing: 1px;
       }




       .carousel-caption {

           z-index: 10;
           padding: 4px 20px;
           /* padding-bottom: 20px;
                               position: absolute;
                           right: 0;
                           bottom: 0px;
                           left: 0;
                            */

           background-color: <? echo $d_color_fondo_menu ?>99;

       }

       .carousel-caption h2 {
           color: <? echo $d_color_menu ?> !important;
           font-weight: 700;
           margin: 0;

           font-size: 2.5vw;
       }



       .localidad {
           font-family: <?php echo $style_titulo ?>;
           color: <?php echo $d_color_weather2?>;
           line-height: 1;

       }





       /* destacadas slider */

       .titulo {
           display: none;
           position: absolute;
           bottom: 0;
           height: 100%;
           width: 100%;
           padding: 20px 15px;
           background-color: <?php echo $d_color_fondo_menu ?>;
           opacity: 0.7;
       }


       .cub3r-caption {
           /*display:none;*/
           position: absolute;
           bottom: 0;
           left: 0;
           background-color: <? echo $d_color_fondo_menu?>99;
           width: 100%;
           padding: 0.5rem 0.75rem;
       }

       .cub3r-caption-text {
           color: <? echo $d_color_menu?> !important;
       }

       .html-marquee {
           font-weight: 200;
           height: 40px !important;
           width: 100%;
           background-color: transparent !important;
           font-family: 'Montserrat', sans-serif !important;
           font-size: inherit !important;
           color: <? echo $d_color_menu ?> !important;
           letter-spacing: 0.5px;
       }

       marquee p {
           color: <? echo $d_color_menu ?> !important;
       }

       .texto-fecha {

           color: <? echo $d_color_menu?>;
       }

       .navbar-toggler-icon {
           color: <? echo $d_color_menu?>;
       }
   </style>

 </head>
 <body>




<div style="width: 550px;">


<?
                
                $zona = (int)$_GET['zona'];
                
                
                
                
                
                
                
                
                
                ///saco zona
                
                
                   $sql = "SELECT * FROM `club_1_zonas` WHERE `ID` = '$zona' LIMIT 1 ";
                $consulta = mysql_query ($sql);
                while ($row = mysql_fetch_array($consulta))
                {
                  $puesto = $row["puesto"];
                  $ID_campeonato = $row["ID_campeonato"];
                   $ID_club = $row["ID_club"];

                   $nzona = $row["zona"];
                }
                  mysql_free_result($consulta3);
                  ?>


        <div class="container-fluid">

              <div class="col-12"  style="margin-bottom:10px;">

  <h2><? echo $nzona ?></h2>


                <HR>




<div id="aaaaaaa">
                <div class="row" style=" border: solid;border-width: 1px; border-color: #aaa9a9; background-color: <? echo $d_color_fondo_menu; ?>; color:white;">

                  <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;' >

                  </div>


                <div class='col-3' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>


                    </div>
                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; text-align:center;'>
                pts
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                pj
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                pg
                </div>


                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                pe
                </div>


                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                pp
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                gf
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                gc
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;'>
                dif
                </div>




                </div>
                <div class="row" style="border: solid;border-width: 1px; border-color: #aaa9a9;">




<?
                  
                  
                
                  

                
                
$color = 0;
                $sql = "SELECT * FROM `club_5_tabla` WHERE `ID_campeonato` = '$zona'  ORDER BY `puesto` ASC ";
                $consulta = mysql_query ($sql);
                while ($row = mysql_fetch_array($consulta))
                {
                  $puesto = $row["puesto"];
                  $ID_campeonato = $row["ID_campeonato"];
                   $ID_club = $row["ID_club"];

                   $pts = $row["pts"];
                   $pj = $row["pj"];
                   $pg = $row["pg"];
                   $pe = $row["pe"];
                   $pp = $row["pp"];
                   $gf = $row["gf"];
                   $gc = $row["gc"];
                   $dif = $row["dif"];
                   $color = $row["color"];

                   $ID = $row["ID"];

                $puesto = $row["puesto"];
                 $color1 = $row["color"];
                $colore = $colore + 1;

  if ($colore >= 2 ) {$colore = 0;};

                if ($color1 != ''){ $colorggg = $color1;} else {

                if ($colore == 0) {$colorggg = "#ececec";};
                if ($colore == 1) {$colorggg = white;};

               };
  
                  /////saco loco del club

                   $sql3 = "SELECT * FROM `club_2_clubes`  WHERE ID = '$ID_club' LIMIT 1";

                  $consulta3 = mysql_query ($sql3);
                  while ($row3 = mysql_fetch_array($consulta3))
                  {
                    $nombre = $row3["nombre"];
		                 $logo = $row3["logo"];

                 }
                  mysql_free_result($consulta3);


                echo "

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorggg;'>
                <b>$puesto</b>
                </div>

                <div class='col-3'  style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
<div class='row'>
<div class='col-3' style='padding: 0;'>
<img  src='$dom/$logo' style='padding-top:5px; padding-left:2px; padding-bottom:5px; width:30px;'>
</div>
<div class='col-9' style='padding: 0;'>
  <span style='font-size: 12px;'>  $nombre </span>
</div>

</div>




                </div>
                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                <b>$pts</b>
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9;  background-color:$colorgg;'>
                $pj
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $pg
                </div>


                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $pe
                </div>


                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $pp
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $gf
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $gc
                </div>

                <div class='col-1' style='border: solid; border-width: 1px; border-color: #aaa9a9; background-color:$colorgg;'>
                $dif
                </div>





                ";
                 }

                mysql_free_result($consulta);
                ?>
                </div>


                    </div>

                  </div>

                    <script>
                        // Set the options to make LazyLoad self-initialize
                        window.lazyLoadOptions = {
                            elements_selector: ".lazy",
                            // ... more custom settings?
                        };
                        // Listen to the initialization event and get the instance of LazyLoad
                        window.addEventListener('LazyLoad::Initialized', function (event) {
                            window.lazyLoadInstance = event.detail.instance;
                        }, false);
                    </script>
                    <script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@12.4.0/dist/lazyload.min.js"></script>

                    <!--script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script-->
                            <script>
                               // new WOW().init();
                                //  console.log('asdasd34');
                            </script>
                        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
                            integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
                        </script>
                        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
                            integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">
                        </script>
                    <script src="https://radioshosting.com/css/js/lightbox-plus-jquery.min.js"></script>
                    <script src="js/jquery.fittext.js"></script>
                    <script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>

                    <!--script type="text/javascript" src="<?php echo $dom;?>/js/rAF.js"></script>
                    <script type="text/javascript" src="<?php echo $dom;?>/js/ResizeSensor.js"></script>
                        <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/sticky-sidebar@3.3.1/dist/sticky-sidebar.js">
                        </script>

                        <script type="text/javascript">
                              var sidebar = new StickySidebar('#sidebar', {
                                  containerSelector: '#main-content',
                                  innerWrapperSelector: '.sidebar__inner',
                                  resizeSensor: true,
                                  topSpacing: 60,
                                  bottomSpacing: 20,
                                  minWidth: 768
                              });
                        </script-->

                    <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>

                    <script type="text/javascript">
                        window.setInterval(function(){
                            console.log('anda');
                          $('.grid').isotope({
                          itemSelector: '.grid-item'
                        });
                        }, 2000);
                    </script>

                    <script type="text/javascript">
                    window.setInterval(function(){
                      $('.grid2').isotope({
                      itemSelector: '.grid-item2'
                    });
                    }, 2000);
                    </script>

                     <script language=javascript>
                    function ventanaSecundaria56 (URL){
                       window.open(URL,"ventana1","width=960,height=630,scrollbars=NO")
                    }
                      </script>

                    <script>

                    $(function(){


                            $(".carousel-captionh1").fitText(1.2, { minFontSize: '14px', maxFontSize: '18px' });
                            $(".colorTitulo").fitText(1.2, { minFontSize: '14px', maxFontSize: '24px' });
                            $(".carousel-caption h2").fitText(1.2, { minFontSize: '14px', maxFontSize: '30px' });
                            $(".tituloVideo").fitText(1.2, { minFontSize: '14px', maxFontSize: '30px' });
                            $(".tarso").fitText(1.2, { minFontSize: '20px', maxFontSize: '50px' });
                            $(".tarso2").fitText(1.2, { minFontSize: '5px', maxFontSize: '11px' });



                            document.querySelector('.news-summary').classList.add('content');
                            document.querySelector('.news-summary').id = 'content';
                            //document.querySelector('#grid').classList.add('content');
                            //document.querySelector('#grid').id = 'content';





                        jQuery('img.svg').each(function(){
                           var $img = jQuery(this);
                           var imgID = $img.attr('id');
                           var imgClass = $img.attr('class');
                           var imgURL = $img.attr('src');
                           //console.log('lalasl', imgURL);
                           jQuery.get(imgURL, function(data) {

                               // Get the SVG tag, ignore the rest
                               var $svg = jQuery(data).find('svg');

                               // Add replaced image's ID to the new SVG
                               if(typeof imgID !== 'undefined') {
                                   $svg = $svg.attr('id', imgID);
                               }
                               // Add replaced image's classes to the new SVG
                               if(typeof imgClass !== 'undefined') {
                                   $svg = $svg.attr('class', imgClass+' replaced-svg');
                               }

                               // Remove any invalid XML tags as per http://validator.w3.org
                               $svg = $svg.removeAttr('xmlns:a');

                               // Check if the viewport is set, else we gonna set it if we can.
                               /*if(!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) {
                                   $svg.attr('viewBox', '0 0 ' + $svg.attr('height') + ' ' + $svg.attr('width'))
                               }*/

                               // Replace image with new SVG
                               $img.replaceWith($svg);

                           }, 'xml');

                        });
                    });


                    </script>
                    <?php include 'google.php';?>
                    </body>
                    </html>
