<div class="breadcrumb-area bg--white-6 breadcrumb-bg-1 pt--60 pb--70 pt-lg--40 pb-lg--50 pt-md--30 pb-md--40">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12 text-center">
                        <h1 class="page-title">My Addresses</h1>
                        <ul class="breadcrumb justify-content-center">
                            <li><a href="<?php echo base_url();?>orders" style="color:#fff;">Home&nbsp;&nbsp;&nbsp;&nbsp;/</a></li>
                            <li class="current"><span style="color:#fff;">My Addresses</span></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- Breadcrumb area End -->
<div id="content" class="main-content-wrapper">
            <div class="page-content-inner">
                <div class="container">
                    <div class="row pt--50 pt-md--60 pt-sm--40 pb--50 pb-md--60 pb-sm--40">
                        <div class="col-12">
                        
                            <div class="user-dashboard-tab flex-column flex-md-row">
                                <div class="user-dashboard-tab__head nav flex-md-column" role="tablist"
                                    aria-orientation="vertical">
                                   <a class="nav-link" data-toggle="pill" role="tab" href="<?php echo base_url().'orders';?>"
                                        aria-controls="dashboard" aria-selected="true">My Orders</a>
                                    <a class="nav-link active" data-toggle="pill" role="tab" href="<?php echo base_url().'my-address';?>"
                                        aria-controls="orders" aria-selected="true">My Address</a>
                                    <a class="nav-link" data-toggle="pill" role="tab" href="<?php echo base_url().'wishlist';?>"
                                        aria-controls="downloads" aria-selected="true">Wishlist</a>
                                    <a class="nav-link" data-toggle="pill" role="tab" href="<?php echo base_url().'profile';?>"
                                        aria-controls="addresses" aria-selected="true">Change Password</a>
                                    <a class="nav-link" href="<?php echo base_url().'logout';?>">Logout</a>
                                </div>
                                <div class="user-dashboard-tab__content tab-content">
                                <?php 
							$this->db->select("*");
							$this->db->from("user_adds");
							//$this->db->join("cities","cities.city_id=user_adds.add_city");
							$this->db->where("user_adds.userid",$this->session->userdata("user"));
							$add=$this->db->get();
							if($add->num_rows()>0){
								$adds=$add->result();
								//echo "<pre>";print_r($adds);
							foreach($adds as $addr){?>
                            <div style="padding:10px; background:#eee; margin-top:10px;" class="old_adds">
                            <h4><?php echo ucfirst($addr->add_name).' '.$addr->add_phone;?></h4>
                            <p><?php echo $addr->add_address.' '.$addr->add_landmark.' '.$addr->add_city.' '.$addr->add_state_name.' '.$addr->add_pin;?></p>
                           <!-- <button type="button" class="btn btn-warining remove_address" id="<?php //echo $addr->user_add_id;?>">Remove Address</button>-->
                            </div>
                            <?php }}else{?>
                            
                                <div class="alert alert-warning text-center"><h1>No Address Saved Yet</h1></div>
                            <?php }?>
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Main Content Wrapper Start -->
        
        <script>
		$(document).ready(function(){
			
		});
		</script>