
<!DOCTYPE html>
<html lang="en">
<head><link type="text/css" rel="stylesheet" href="https://iyad.wap.sh/global_stylesheet.css?v=1735815644"/>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>iYAD</title>
  <meta name="title" content="iYAD - Watch Your Favorite Filipino Shows Online">
  <meta name="description" content="Watch live TV channels online. Stream your favorite Pinoy shows, news, dramas, and movies for free.">
  <link rel="icon" href="/favicon.ico" type="image/x-icon" />
  <script disable-devtool-auto src='js/dev.js'></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> 
    <script src="https://cdnjs.cloudflare.com/ajax/libs/shaka-player/4.0.0/shaka-player.compiled.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/hls.js@1.4.0"></script>
    <script src="https://www.youtube.com/iframe_api"></script> <!-- YouTube API -->
  	<script src="js/main.js" defer></script>
    <link type="text/css" rel="stylesheet" href="styles.css">
  	<link type="text/css" rel="stylesheet" href="leaf.css">
  	<link type="text/css" rel="stylesheet" href="css/chatbox.css">
  
</head>
<body><div style="display:none"><script type="text/javascript">
var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
})();
_qevents.push({
qacct:"p-0cfM8Oh7M9bVQ"
});
</script>
<noscript>
<img src="//pixel.quantserve.com/pixel/p-0cfM8Oh7M9bVQ.gif" border="0" height="1" width="1" alt=""/>
</noscript></div>
    <div id="channel-grid"></div>

    <div id="overlay"></div>
    <div id="player-container">
        <video id="videoPlayer" controls autoplay></video>
        <div id="error-message"></div>
        <button id="close-button" onclick="closePlayer()">Close</button>
    </div>
  
<div class="loading-spinner" id="loading-spinner"></div>

  <!----- Header ----->
<div id="page-manager" class="yad-app">  
  <!-- Logo -->
  <div class="header-place">
    <div class="header">
    <!-- Logo -->
    <div id="logo-container" title="iYAD">
      <a href="http://10.0.0.1">
        <img src="logo.png" alt="Logo">
        <span class="logo-text"></span>
      </a>
    </div>

    <!-- Search Bar -->
    <div class="search-bar">
    <input 
        type="text" 
        id="search-input" 
        placeholder="Search channels or category" 
        autocomplete="off" 
        autocorrect="off" 
        aria-autocomplete="list" 
        role="combobox"/>
    <button id="search-button">&#xf002;</button>
    <button id="clear-button" style="display:none;">✖</button>
</div>



    <!-- Hamburger Menu -->
    <div class="hamburger-menu" id="menu-toggle">
      &#xf0c9;
    </div>

    <!-- Navigation Menu -->
    <nav class="menu" id="menu" style="display: none;">
      <ul>
        <li><a href="videoplayer">Video Player</a></li>
        <li><a href="imgresizer">Image Resizer</a></li>
        <li class="hidden"><a href="urlchecker.html">M3U URL Checker</a></li>
        <li class="hidden"><a href="converter.html">M3U to JS Structure</a></li>
        <li class="hidden"><a href="obfuscator.html">Obfuscator</a></li>
        <li><a href="mailto:earlyzeven@gmail.com?subject=Hello!">Email Me</a></li>
      </ul>
    </nav>
  </div>
</div>
	<!-- Login Modal -->
    <div id="loginModal" class="modal">
        <div class="modal-content">
            <span class="close" style="font-family: 'Font Awesome 5 Free';">&#xf2d4;</span>
            <div id="logo-container" title="iYAD">
              <img src="../images/cyberyadix.png" alt="Logo"/> <h2> Login ng Pogi</h2>
      		</div>
            <input type="text" id="username" placeholder="Username">
            <input type="password" id="password" placeholder="Password">
            <button id="loginButton">Login</button>
        </div>
    </div>
    <script src="leaf.js"></script>
  </div>

<!-- Chat Button and Box -->
    <div id="chat-button"></div>

    <div id="chatbox">
        <div id="chat-messages"></div>
        <div id="chat-input">
            <input type="text" id="message" placeholder="Type a message" autocomplete="off"/>
            <button id="send">Send</button>
            <button id="auth-btn">Login</button>
        </div>
    </div>
<div id="error-message" style="display: none;"></div>
    <div id="auth-modal" style="display: none;">
        <div>
            <span id="close-auth-modal" class="close-btn" style="cursor: pointer;">&times;</span>
            <h2>Login or Register</h2>
            <input type="email" id="email" name="auth-email" placeholder="Email" autocomplete="new-email"/> <!-- Added autocomplete="new-email" -->
            <input type="password" id="password" name="auth-password" placeholder="Password" autocomplete="new-password"/> <!-- Added autocomplete="new-password" -->
            <div class="auth-buttons">
                <button id="login">Login</button>
                <button id="register">Register</button>
            </div>
            <button id="google-signin-btn">
                <svg height="100%" viewBox="0 0 20 20" width="100%" fit="" preserveAspectRatio="xMidYMid meet" focusable="false">
                    <path d="M19.6 10.23c0-.82-.1-1.42-.25-2.05H10v3.72h5.5c-.15.96-.74 2.31-2.04 3.22v2.45h3.16c1.89-1.73 2.98-4.3 2.98-7.34z" fill="#4285F4"></path>
                    <path d="M13.46 15.13c-.83.59-1.96 1-3.46 1-2.64 0-4.88-1.74-5.68-4.15H1.07v2.52C2.72 17.75 6.09 20 10 20c2.7 0 4.96-.89 6.62-2.42l-3.16-2.45z" fill="#34A853"></path>
                    <path d="M3.99 10c0-.69.12-1.35.32-1.97V5.51H1.07A9.973 9.973 0 000 10c0 1.61.39 3.14 1.07 4.49l3.24-2.52c-.2-.62-.32-1.28-.32-1.97z" fill="#FBBC05"></path>
                    <path d="M10 3.88c1.88 0 3.13.81 3.85 1.48l2.84-2.76C14.96.99 12.7 0 10 0 6.09 0 2.72 2.25 1.07 5.51l3.24 2.52C5.12 5.62 7.36 3.88 10 3.88z" fill="#EA4335"></path>
                </svg>
                Login with Google
            </button>
        </div>
    </div>


<noscript>
    <meta http-equiv="refresh" content="0; url=/javascript-error">
  </noscript>  
<script src="../js/menu.js"></script>
<script type="module" src="../js/firebase.js"></script>
<script type="module" src="../js/chatmanager.js"></script>
<style type="text/css">html { padding-top: 26px; } #xt_auth_iframe { position: fixed; top: 0; left: 0; background: transparent; }</style><iframe id="xt_auth_iframe" allowTransparency="true" scrolling="no" frameBorder="0" style="width: 100%; border: 0; height: 26px;" src="https://xtgem.com/__xt_authbar?data=eyJ1cmwiOiJodHRwOlwvXC9peWFkLndhcC5zaFwvaW5kZXguaHRtbCIsImxvZ2dlZF9pbiI6ZmFsc2UsImRvbWFpbiI6Iml5YWQud2FwLnNoIiwicG9zaXRpb24iOnsiYWJzb2x1dGUiOiJmaXhlZCJ9fQ=="></iframe><br /><!----><noscript></noscript><script type="text/javascript"></script><textarea style="display:none;"></textarea><style></style><iframe style="display:none;width:0px;height:0px;border:0"></iframe><noframes></noframes><div id="st1736119315" style="z-index:999999;z-index:999999999;"><span id="a1736119315"><a href="http://xtgem.com/click?p=featured_other_web_clean&amp;u=__urlaHR0cDovL2F3ZXNvbWV0YXR0b29zLnh0Z2VtLmNvbS9pbmRleC9fX3h0YmxvZ19lbnRyeS8xMDI3MDc5NS1pbnNhbmU/dXRtX21lZGl1bT14dGdlbV9hZF93ZWJfYmFubmVyJnV0bV9zb3VyY2U9ZmVhdHVyZWRfYWQjeHRfYmxvZw==&amp;s=iyad.wap.sh&amp;t=KhscHxsfHgkCAwYZBgMFDA4LAgsLDAtw&amp;_is_adult=No&amp;_ad_pos=Bottom&amp;_ad_format=Plain&amp;_ad_url=aXlhZC53YXAuc2g=&amp;_ad_networks=&amp;_ad_type=Banner" target="_blank" target="_blank" class="fbp1736119315"><img style="width:auto !important;height:auto !important;" alt="" src="https://5.thumbs.xtstatic.com/100/50/-/578d0bcc2530f4abf70ce0004aaa26d5/awesometattoos.xtgem.com/images/blog/insane-481107.jpg" /><span class="fbp_txt1736119315">Insane</span><span class="fbp_ico1736119315">&#187;</span></a></span>        <style type="text/css">
            #st1736119315 *
            {
                box-sizing:content-box !important;
            }

            #st1736119315 a
            {
                display: inline-block !important;
                vertical-align: top;
                padding: 0; margin: 0;
            }

            #st1736119315 a img
            {
                display: inline-block !important;
            }

            #st1736119315 ._xt_ad_close, #st1736119315 ._xt_ad_close_internal
            {
                display: inline-block !important;
                position: absolute !important;
                right: 6px !important;
                width: 20px !important;
                height: 20px !important;
                cursor: pointer;
            }

            #st1736119315 ._xt_ad_close
            {
                top: -10px !important;
            }

            #st1736119315 ._xt_ad_close_internal
            {
                border: 6px solid transparent;
                top: -12px !important;
                right: 3px !important;
            }

            #a1736119315
            {
                display: inline-block !important;
                position: relative !important;
                text-align: left !important;
                visibility: visible !important;
                max-width: 100% !important;
                max-height: none !important;
                z-index:999999 !important;
                z-index:999999999 !important;
            }

            #a1736119315 img
            {
                max-width: none !important;
                max-height: none !important;
                width: auto !important;
                height: auto !important;
                min-width: 0 !important;
                min-height: 0 !important;
            }

            .fba1736119315
            {
                color: #1D1EEB !important;
                background-color: #fff !important;
                padding: 10px 50px 10px 10px !important;
                border: 1px solid #2C2C2C !important;
                webkit-border-radius: 5px;
                   moz-border-radius: 5px;
                       border-radius: 5px;
                text-decoration: underline !important;
                font-weight: bold !important;
                display: block !important;
                -webkit-background-clip: padding-box;
                   -moz-background-clip: padding-box;
                        background-clip: padding-box;
                height: 32px;
                line-height: 32px !important;
                background-image: url(//xtgem.com/images/arrow.gif) !important;
                background-repeat: no-repeat !important;
                background-position: 95% center !important;
            }

            .fbp1736119315
            {
                position: relative !important;
                display: block !important;
                width:320px !important;
                height:50px !important;
                text-align:left !important;
                background-color: #fff !important;
                -moz-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
                -webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
                box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
                padding: 3px !important;
                border-radius: 3px !important;
                border: 1px solid #6bc135 !important;
                text-decoration: underline !important;
            }

            .fbp_txt1736119315
            {
                position:relative !important;
                display: inline-block !important;
                min-width: 200px;
                max-width: 200px;
                height:50px !important;
                vertical-align: top !important;
                line-height:50px !important;
                margin-left: 6px !important;
                text-align: left !important;
                color: #0274d4 !important;
                font-family: Helvetica, Arial, sans-serif !important;
                font-size: 13px !important;
                font-weight: bold !important;
                text-decoration: underline !important;
            }

            .fbp_ico1736119315
            {
                position: absolute !important;
                right: 10px !important;
                height: 50px !important;
                line-height: 46px !important;
                vertical-align: top !important;
                color: #6bc135 !important;
            }

            #st1736119315 .rolling_ad { display: none !important; }
            #st1736119315 .rolling_ad.roll_on { display: inline-block !important; }
        </style></div><!----><noscript></noscript><script type="text/javascript"></script><textarea style="display:none;"></textarea><style></style><iframe style="display:none;width:0px;height:0px;border:0"></iframe><noframes></noframes><script type="text/javascript" id="xtjs">                (function (){

                    var d, b, ad_pos = false, el_rolling_ads, html, el, el_inner, el_new = '', i = 0;

                    function xt_cache () {
                        d = document;
                        b = d.getElementsByTagName('body')[0];
                        html = d.documentElement;
                        el = d.getElementById( 'st1736119315' );
                        el_inner = d.getElementById( 'a1736119315' );
                        el_rolling_ads = el.getElementsByClassName( 'rolling_ad' );
                    }

                    xt_cache();

                        if ( el.children[ 0 ] !== el_inner && el.children[ 0 ].tagName == "A" ) {

                            for ( i = 1; i < el.children.length; i++ ) {
                                el_new += el.children[i].outerHTML;
                            }

                            el.innerHTML = el_inner.outerHTML.split( '>' )[ 0 ] + '>' + el_new + '</span>';

                            xt_cache();
                        }
                        else if ( el.offsetParent === null ) {
                            b.insertBefore( el, b.firstChild );

                            xt_cache();
                            ad_pos = true;
                        }

                        if (d.getElementById('kosmos-banner')) {
                            ad_pos = true;
                        }

                        el.style.display="block";
                        el.style.textAlign="center";
                        el.style.position="fixed";
                        if ( ad_pos ) { el.style.top=10+"px"; el.style.bottom='auto'; } else { el.style.bottom=10+"px"; }
                        el.style.left="0";
                        el.style.right="0";
                        el.style.height="1px";

                        var el_imgs = el.getElementsByTagName( 'IMG' );
                        for (i=0,len=el_imgs.length; i<len; i++) { el_imgs[i].onload = fix_height; }

                        function fix_height () {
                            el.style.marginBottom = el_inner.offsetHeight+"px";
                            if ( ad_pos ) {
                                html.style.paddingTop = el_inner.offsetHeight+9+"px";
                            } else {
                                html.style.paddingBottom = el_inner.offsetHeight+9+"px";
                            }
                        }

                        setTimeout(function(){fix_height();},200);

                        var closebutton = d.createElement('IMG');
                            closebutton.src = '//xtgem.com/images/close2.png?v=0.01';
                            closebutton.alt = '[x]';
                            closebutton.setAttribute( 'class', '_xt_ad_close' );
                            closebutton.onclick = function () { closebutton.setAttribute( 'style', 'display: none !important' ); el.style.position = 'static';  closebutton.onclick = null; html.style.paddingBottom = '0'; html.style.paddingTop = '0'; if ( d.getElementById('wr1736119315') ) { d.getElementById('wr1736119315').style.bottom = '0'; } };
                            el_inner.appendChild(closebutton);

                        // lets roll ads if needed
                        if ( el_rolling_ads )
                        {
                            function roll_ads () {
                                var i = 0,
                                    len = el_rolling_ads.length,
                                    curr_ad,
                                    next_ad,
                                    first_ad = el_rolling_ads[ 0 ];

                                for ( ; i < len; i++) {
                                    curr_ad = el_rolling_ads[ i ];
                                    next_ad = el_rolling_ads[ i + 1 ] ? el_rolling_ads[ i + 1 ] : first_ad;

                                    if ( curr_ad.className.indexOf( ' roll_on' ) !== -1 ) {
                                        curr_ad.className = curr_ad.className.replace(' roll_on', '');
                                        next_ad.className = next_ad.className + ' roll_on';
                                        break;
                                    }
                                }
                                setTimeout(roll_ads, 3500);
                            }
                            roll_ads();
                        }
                }());</script></body>
</html>