<?php
 include("./commonpages/dbconnect.php");
						session_start();
						$id = $_SESSION['sid'];
						$id = $_SESSION['sid'];
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="This is social network html5 template available in themeforest......" />
		<meta name="keywords" content="Social Network, Social Media, Make Friends, Newsfeed, Profile Page" />
		<meta name="robots" content="index, follow" />
		<title>Edit Profile | Edit Profile Page</title>

    <!-- Stylesheets
    ================================================= -->
		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/style.css" />
		<link rel="stylesheet" href="css/ionicons.min.css" />
    <link rel="stylesheet" href="css/font-awesome.min.css" />
    
    <!--Google Font-->
    <link href="https://fonts.googleapis.com/css?family=Lato:300,400,400i,700,700i" rel="stylesheet">
    
    <!--Favicon-->
    <link rel="shortcut icon" type="image/png" href="images/fav.png"/>
	</head>
  <body>

    <!-- Header
    ================================================= -->
		<?php include("commonpages/header.php");?>
    <!--Header End-->

    <div class="container">

      <!-- Timeline
      ================================================= -->
      <div class="timeline">
          <!--Timeline Menu for Large Screens-->
          <div class="timeline-nav-bar hidden-sm hidden-xs">
            <div class="row">
              <div class="col-md-3">

                <div class="profile-info">              
                  <h3></h3>
                  <p class="text-muted">Creative Director</p>
                   <a href="image-change.php?action=profile"><button class="btn-primary">Profile Pic</button></a>
                  &nbsp;&nbsp;&nbsp;
                   <a href="image-change.php?action=cover"><button class="btn-primary">Cover Pic</button></a>
                </div>
              </div>      
            </div>
          </div><!--Timeline Menu for Large Screens End-->

          <!--Timeline Menu for Small Screens-->
          <div class="navbar-mobile hidden-lg hidden-md">
            <div class="profile-info">
              <h4>Sarah Cruiz</h4>
              <p class="text-muted">Creative Director</p>
                   <button class="btn-primary">Profile Pic</button>
                  &nbsp;&nbsp;&nbsp;
                  <button class="btn-primary">Cover Pic</button>
            </div>
            
          </div><!--Timeline Menu for Small Screens End-->

        </div>
        <div id="page-contents">
          <div class="row">
            <div class="col-md-3">
              
              <!--Edit Profile Menu-->
              <ul class="edit-menu">
              	<li class="active"><i class="icon ion-ios-information-outline"></i><a href="edit-profile-basic.php">Basic Information</a></li>
              	<li><i class="icon ion-ios-briefcase-outline"></i><a href="edit-profile-work-edu.php">Education and Work</a></li>
              	<li><i class="icon ion-ios-heart-outline"></i><a href="edit-profile-interests.php">My Interests</a></li>
                <li><i class="icon ion-ios-settings"></i><a href="edit-profile-settings.php">Account Settings</a></li>
              	<li><i class="icon ion-ios-locked-outline"></i><a href="edit-profile-password.php">Change Password</a></li>
              </ul>
            </div>
            <div class="col-md-7">

              <!-- Basic Information
              ================================================= -->
              <div class="edit-profile-container">
                <div class="block-title">
                  <h4 class="grey"><i class="icon ion-android-checkmark-circle"></i>Edit basic information</h4>
                  <div class="line"></div>
                  <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate</p>
                  <div class="line"></div>
                </div>
				<?php
				        include("./commonpages/dbconnect.php");
						
						//$i=$_SESSION['sid'];
						 $sql="SELECT * FROM user_registration WHERE id=$id";
						$data=mysqli_query($con,$sql);
						if(mysqli_num_rows($data)>0)
						{
						$row=mysqli_fetch_array($data);
				?>
				
                <div class="edit-block">
                  <form name="basic-info" id="basic-info" class="form-inline" action="model/model_edit_profile_update.php" method="post">
				  <input type="hidden" value="<?php echo$row['id'];?>" name="id">
                    <div class="row">
                      <div class="form-group col-xs-6">
                        <label for="firstname">First name</label>
                        <input id="firstname" class="form-control input-group-lg" type="text" name="firstname" title="Enter first name"  value="<?php echo$row['first_name'];?>" />
                      </div>
                      <div class="form-group col-xs-6">
                        <label for="lastname" class="">Last name</label>
                        <input id="lastname" class="form-control input-group-lg" type="text" name="lastname" title="Enter last name" value="<?php echo$row['last_name'];?>"  />
                      </div>
                    </div>
                    <div class="row">
                      <div class="form-group col-xs-12">
                        <label for="email">My email</label>
                        <input id="email" class="form-control input-group-lg" type="text" name="email" title="Enter Email" value="<?php echo$row['email'];?>"  />
                      </div>
                    </div>
                    <div class="row">
                      <p class="custom-label"><strong>Date of Birth</strong></p>
                      <div class="form-group col-sm-3 col-xs-6">
                        <label for="month" class="sr-only"></label>
						 <?php
						   $day=$row['dob_date']; 
						   ?>
                        <select class="form-control" id="day" name="day">
						  
                         <option value="1" <?php if($day==1){echo"selected";}?>>1</option>
                         <option value="2" <?php if($day==2){echo"selected";}?>>2</option>
                         <option value="3" <?php if($day==3){echo"selected";}?>>3</option>
                         <option value="4" <?php if($day==4){echo"selected";}?>>4</option>
                         <option value="5" <?php if($day==5){echo"selected";}?>>5</option>
                         <option value="6" <?php if($day==6){echo"selected";}?>>6</option>
						 <option value="7" <?php if($day==7){echo"selected";}?>>7</option>
                         <option value="8" <?php if($day==8){echo"selected";}?>>8</option>
                         <option value="9" <?php if($day==9){echo"selected";}?>>9</option>
                         <option value="10" <?php if($day==10){echo"selected";}?>>10</option>
                         <option value="11" <?php if($day==11){echo"selected";}?>>11</option>
                         <option value="12" <?php if($day==12){echo"selected";}?>>12</option>
						 <option value="13" <?php if($day==13){echo"selected";}?>>13</option>
                         <option value="14" <?php if($day==14){echo"selected";}?>>14</option>
                         <option value="15" <?php if($day==15){echo"selected";}?>>15</option>
                         <option value="16" <?php if($day==16){echo"selected";}?>>16</option>
                         <option value="17" <?php if($day==17){echo"selected";}?>>17</option>
                         <option value="18" <?php if($day==18){echo"selected";}?>>18</option>
						 <option value="19" <?php if($day==19){echo"selected";}?>>19</option>
                         <option value="20" <?php if($day==20){echo"selected";}?>>20</option>
                         <option value="21" <?php if($day==21){echo"selected";}?>>21</option>
                         <option value="22" <?php if($day==22){echo"selected";}?>>22</option>
                         <option value="23" <?php if($day==23){echo"selected";}?>>23</option>
                         <option value="24" <?php if($day==24){echo"selected";}?>>24</option>
						 <option value="25" <?php if($day==25){echo"selected";}?>>25</option>
                         <option value="26" <?php if($day==26){echo"selected";}?>>26</option>
                         <option value="27" <?php if($day==27){echo"selected";}?>>27</option>
                         <option value="28" <?php if($day==28){echo"selected";}?>>28</option>
                         <option value="29" <?php if($day==29){echo"selected";}?>>29</option>
                         <option value="30" <?php if($day==30){echo"selected";}?>>30</option>
                         <option value="31" <?php if($day==31){echo"selected";}?>>31</option>
                          
                        </select>
                      </div>
                      <div class="form-group col-sm-3 col-xs-6">
                        <label for="month" class="sr-only"></label>
						 <?php
						   $month=$row['dob_month']; 
						   ?>
                        <select class="form-control" id="month" name="month">
                         
                          <option value="Jan" <?php if($month=="Jan"){echo"selected";}?>>Jan</option>
                          <option value="Feb" <?php if($month=="Feb"){echo"selected";}?>>Feb</option>
                          <option value="Mar" <?php if($month=="Mar"){echo"selected";}?>>Mar</option>
                          <option value="Apr" <?php if($month=="Apr"){echo"selected";}?>>Apr</option>
                          <option value="May" <?php if($month=="May"){echo"selected";}?>>May</option>
                          <option value="Jun" <?php if($month=="Jun"){echo"selected";}?>>Jun</option>
                          <option value="Jul" <?php if($month=="Jul"){echo"selected";}?>>Jul</option>
                          <option value="Aug" <?php if($month=="Aug"){echo"selected";}?>>Aug</option>
                          <option value="Sep" <?php if($month=="Sep"){echo"selected";}?>>Sep</option>
                          <option value="Oct" <?php if($month=="Oct"){echo"selected";}?>>Oct</option>
                          <option value="Nov" <?php if($month=="Nov"){echo"selected";}?>>Nov</option>
                          <option value="Dec" <?php if($month=="Dec"){echo"selected";}?>>Dec</option>
                        </select>
                      </div>
                      <div class="form-group col-sm-6 col-xs-12">
                        <label for="year" class="sr-only"></label>
						 <?php
						   $year=$row['dob_year']; 
						   ?>
                        <select class="form-control" id="year" name="year">
                         
                          <option value="2000" <?php if($year=="2000"){echo"selected";}?>>2000</option>
                          <option value="2001" <?php if($year=="2001"){echo"selected";}?>>2001</option>
                          <option value="2002" <?php if($year=="2002"){echo"selected";}?>>2002</option>
                          <option value="2003" <?php if($year=="2003"){echo"selected";}?>>2003</option>
                          <option value="2004" <?php if($year=="2004"){echo"selected";}?>>2004</option>
                          <option value="2005" <?php if($year=="2005"){echo"selected";}?>>2005</option>
                          <option value="2006" <?php if($year=="2006"){echo"selected";}?>>2006</option>
                          <option value="2007" <?php if($year=="2007"){echo"selected";}?>>2007</option>
                          <option value="2008" <?php if($year=="2008"){echo"selected";}?>>2008</option>
                          <option value="2009" <?php if($year=="2009"){echo"selected";}?>>2009</option>
                          <option value="2010" <?php if($year=="2010"){echo"selected";}?>>2010</option>
                          <option value="2011" <?php if($year=="2011"){echo"selected";}?>>2011</option>
                          <option value="2012" <?php if($year=="2012"){echo"selected";}?>>2012</option>
                        </select>
                      </div>
                    </div>
                    <div class="form-group gender">
                      <span class="custom-label"><strong>I am a: </strong></span>
					  <?php
					  $gender=$row['gender'];
					  ?>
                      <label class="radio-inline">
                        <input type="radio" name="optradio" value="male" <?php if($gender=="male"){echo"checked";}?>>Male
                      </label>
                      <label class="radio-inline">
                        <input type="radio" name="optradio" value="female" <?php if($gender=="female"){echo"checked";}?>>Female
                      </label>
                    </div>
                    <div class="row">
                      <div class="form-group col-xs-6">
                        <label for="city"> My city</label>
                        <input id="city" class="form-control input-group-lg" type="text" name="city" title="Enter city" value="<?php echo$row['city'];?>"/>
                      </div>
                      <div class="form-group col-xs-6">
                        <label for="country">My country</label>
						 <?php
						   $country=$row['country']; 
						   ?>
                        <select class="form-control" id="country" name="country">
                          
                          <option value="AFG" <?php if($country=="AFG"){echo"selected";}?>>Afghanistan</option>
                          <option value="ALA" <?php if($country=="ALA"){echo"selected";}?>>Ƭand Islands</option>
                          <option value="ALB" <?php if($country=="ALB"){echo"selected";}?>>Albania</option>
                          <option value="DZA" <?php if($country=="DZA"){echo"selected";}?>>Algeria</option>
                          <option value="ASM" <?php if($country=="ASM"){echo"selected";}?>>American Samoa</option>
                          <option value="AND" <?php if($country=="AND"){echo"selected";}?>>Andorra</option>
                          <option value="AGO" <?php if($country=="AGO"){echo"selected";}?>>Angola</option>
                          <option value="AIA" <?php if($country=="AIA"){echo"selected";}?>>Anguilla</option>
                          <option value="ATA" <?php if($country=="ATA"){echo"selected";}?>>Antarctica</option>
                          <option value="ATG" <?php if($country=="ATG"){echo"selected";}?>>Antigua and Barbuda</option>
                          <option value="ARG" <?php if($country=="ARG"){echo"selected";}?>>Argentina</option>
                          <option value="ARM" <?php if($country=="ARM"){echo"selected";}?>>Armenia</option>
                          <option value="ABW" <?php if($country=="ABW"){echo"selected";}?>>Aruba</option>
                          <option value="AUS" <?php if($country=="AUS"){echo"selected";}?>>Australia</option>
                          <option value="AUT" <?php if($country=="AUT"){echo"selected";}?>>Austria</option>
                          <option value="AZE" <?php if($country=="AZE"){echo"selected";}?>>Azerbaijan</option>
                          <option value="BHS" <?php if($country=="BHS"){echo"selected";}?>>Bahamas</option>
                          <option value="BHR" <?php if($country=="BHR"){echo"selected";}?>>Bahrain</option>
                          <option value="BGD" <?php if($country=="BGD"){echo"selected";}?>>Bangladesh</option>
                          <option value="BRB" <?php if($country=="BRB"){echo"selected";}?>>Barbados</option>
                          <option value="BLR" <?php if($country=="BLR"){echo"selected";}?>>Belarus</option>
                          <option value="BEL" <?php if($country=="BEL"){echo"selected";}?>>Belgium</option>
                          <option value="BLZ" <?php if($country=="BLZ"){echo"selected";}?>>Belize</option>
                          <option value="BEN" <?php if($country=="BEN"){echo"selected";}?>>Benin</option>
                          <option value="BMU" <?php if($country=="BMU"){echo"selected";}?>>Bermuda</option>
                          <option value="BTN" <?php if($country=="BTN"){echo"selected";}?>>Bhutan</option>
                          <option value="BOL" <?php if($country=="BOL"){echo"selected";}?>>Bolivia, Plurinational State of</option>
                          <option value="BES" <?php if($country=="BES"){echo"selected";}?>>Bonaire, Sint Eustatius and Saba</option>
                          <option value="BIH" <?php if($country=="BIH"){echo"selected";}?>>Bosnia and Herzegovina</option>
                          <option value="BWA" <?php if($country=="BWA"){echo"selected";}?>>Botswana</option>
                          <option value="BVT" <?php if($country=="BVT"){echo"selected";}?>>Bouvet Island</option>
                          <option value="BRA" <?php if($country=="BRA"){echo"selected";}?>>Brazil</option>
                          <option value="IOT" <?php if($country=="IOT"){echo"selected";}?>>British Indian Ocean Territory</option>
                          <option value="BRN" <?php if($country=="BRN"){echo"selected";}?>>Brunei Darussalam</option>
                          <option value="BGR" <?php if($country=="BGR"){echo"selected";}?>>Bulgaria</option>
                          <option value="BFA" <?php if($country=="BFA"){echo"selected";}?>>Burkina Faso</option>
                          <option value="BDI" <?php if($country=="BDI"){echo"selected";}?>>Burundi</option>
                          <option value="KHM" <?php if($country=="KHM"){echo"selected";}?>>Cambodia</option>
                          <option value="CMR" <?php if($country=="CMR"){echo"selected";}?>>Cameroon</option>
                          <option value="CAN" <?php if($country=="CAN"){echo"selected";}?>>Canada</option>
                          <option value="CPV" <?php if($country=="CPV"){echo"selected";}?>>Cape Verde</option>
                          <option value="CYM" <?php if($country=="CYM"){echo"selected";}?>>Cayman Islands</option>
                          <option value="CAF" <?php if($country=="CAF"){echo"selected";}?>>Central African Republic</option>
                          <option value="TCD" <?php if($country=="TCD"){echo"selected";}?>>Chad</option>
                          <option value="CHL" <?php if($country=="CHL"){echo"selected";}?>>Chile</option>
                          <option value="CHN" <?php if($country=="CHN"){echo"selected";}?>>China</option>
                          <option value="CXR" <?php if($country=="CXR"){echo"selected";}?>>Christmas Island</option>
                          <option value="CCK" <?php if($country=="CCK"){echo"selected";}?>>Cocos (Keeling) Islands</option>
                          <option value="COL" <?php if($country=="COL"){echo"selected";}?>>Colombia</option>
                          <option value="COM" <?php if($country=="COM"){echo"selected";}?>>Comoros</option>
                          <option value="COG" <?php if($country=="COG"){echo"selected";}?>>Congo</option>
                          <option value="COD" <?php if($country=="COD"){echo"selected";}?>>Congo, the Democratic Republic of the</option>
                          <option value="COK" <?php if($country=="COK"){echo"selected";}?>>Cook Islands</option>
                          <option value="CRI" <?php if($country=="CRI"){echo"selected";}?>>Costa Rica</option>
                          <option value="CIV" <?php if($country=="CIV"){echo"selected";}?>>C𴥠d'Ivoire</option>
                          <option value="HRV" <?php if($country=="HRV"){echo"selected";}?>>Croatia</option>
                          <option value="CUB" <?php if($country=="CUB"){echo"selected";}?>>Cuba</option>
                          <option value="CUW" <?php if($country=="CUW"){echo"selected";}?>>Cura袯</option>
                          <option value="CYP" <?php if($country=="CYP"){echo"selected";}?>>Cyprus</option>
                          <option value="CZE" <?php if($country=="CZE"){echo"selected";}?>>Czech Republic</option>
                          <option value="DNK" <?php if($country=="DNK"){echo"selected";}?>>Denmark</option>
                          <option value="DJI" <?php if($country=="DJI"){echo"selected";}?>>Djibouti</option>
                          <option value="DMA" <?php if($country=="DMA"){echo"selected";}?>>Dominica</option>
                          <option value="DOM" <?php if($country=="DOM"){echo"selected";}?>>Dominican Republic</option>
                          <option value="ECU" <?php if($country=="ECU"){echo"selected";}?>>Ecuador</option>
                          <option value="EGY" <?php if($country=="EGY"){echo"selected";}?>>Egypt</option>
                          <option value="SLV" <?php if($country=="SLV"){echo"selected";}?>>El Salvador</option>
                          <option value="GNQ" <?php if($country=="GNQ"){echo"selected";}?>>Equatorial Guinea</option>
                          <option value="ERI" <?php if($country=="ERI"){echo"selected";}?>>Eritrea</option>
                          <option value="EST" <?php if($country=="EST"){echo"selected";}?>>Estonia</option>
                          <option value="ETH" <?php if($country=="ETH"){echo"selected";}?>>Ethiopia</option>
                          <option value="FLK" <?php if($country=="FLK"){echo"selected";}?>>Falkland Islands (Malvinas)</option>
                          <option value="FRO" <?php if($country=="FRO"){echo"selected";}?>>Faroe Islands</option>
                          <option value="FJI" <?php if($country=="FJI"){echo"selected";}?>>Fiji</option>
                          <option value="FIN" <?php if($country=="FIN"){echo"selected";}?>>Finland</option>
                          <option value="FRA" <?php if($country=="FRA"){echo"selected";}?>>France</option>
                          <option value="GUF" <?php if($country=="GUF"){echo"selected";}?>>French Guiana</option>
                          <option value="PYF" <?php if($country=="PYF"){echo"selected";}?>>French Polynesia</option>
                          <option value="ATF" <?php if($country=="ATF"){echo"selected";}?>>French Southern Territories</option>
                          <option value="GAB" <?php if($country=="GAB"){echo"selected";}?>>Gabon</option>
                          <option value="GMB" <?php if($country=="GMB"){echo"selected";}?>>Gambia</option>
                          <option value="GEO" <?php if($country=="GEO"){echo"selected";}?>>Georgia</option>
                          <option value="DEU" <?php if($country=="DEU"){echo"selected";}?>>Germany</option>
                          <option value="GHA" <?php if($country=="GHA"){echo"selected";}?>>Ghana</option>
                          <option value="GIB" <?php if($country=="GIB"){echo"selected";}?>>Gibraltar</option>
                          <option value="GRC" <?php if($country=="GRC"){echo"selected";}?>>Greece</option>
                          <option value="GRL" <?php if($country=="GRL"){echo"selected";}?>>Greenland</option>
                          <option value="GRD" <?php if($country=="GRD"){echo"selected";}?>>Grenada</option>
                          <option value="GLP" <?php if($country=="GLP"){echo"selected";}?>>Guadeloupe</option>
                          <option value="GUM" <?php if($country=="GUM"){echo"selected";}?>>Guam</option>
                          <option value="GTM" <?php if($country=="GTM"){echo"selected";}?>>Guatemala</option>
                          <option value="GGY" <?php if($country=="GGY"){echo"selected";}?>>Guernsey</option>
                          <option value="GIN" <?php if($country=="GIN"){echo"selected";}?>>Guinea</option>
                          <option value="GNB" <?php if($country=="GNB"){echo"selected";}?>>Guinea-Bissau</option>
                          <option value="GUY" <?php if($country=="GUY"){echo"selected";}?>>Guyana</option>
                          <option value="HTI" <?php if($country=="HTI"){echo"selected";}?>>Haiti</option>
                          <option value="HMD" <?php if($country=="HMD"){echo"selected";}?>>Heard Island and McDonald Islands</option>
                          <option value="VAT" <?php if($country=="VAT"){echo"selected";}?>>Holy See (Vatican City State)</option>
                          <option value="HND" <?php if($country=="HND"){echo"selected";}?>>Honduras</option>
                          <option value="HKG" <?php if($country=="HKG"){echo"selected";}?>>Hong Kong</option>
                          <option value="HUN" <?php if($country=="HUN"){echo"selected";}?>>Hungary</option>
                          <option value="ISL" <?php if($country=="ISL"){echo"selected";}?>>Iceland</option>
                          <option value="IND" <?php if($country=="IND"){echo"selected";}?>>India</option>
                          <option value="IDN" <?php if($country=="IDN"){echo"selected";}?>>Indonesia</option>
                          <option value="IRN" <?php if($country=="IRN"){echo"selected";}?>>Iran, Islamic Republic of</option>
                          <option value="IRQ" <?php if($country=="IRQ"){echo"selected";}?>>Iraq</option>
                          <option value="IRL" <?php if($country=="IRL"){echo"selected";}?>>Ireland</option>
                          <option value="IMN" <?php if($country=="IMN"){echo"selected";}?>>Isle of Man</option>
                          <option value="ISR" <?php if($country=="ISR"){echo"selected";}?>>Israel</option>
                          <option value="ITA" <?php if($country=="ITA"){echo"selected";}?>>Italy</option>
                          <option value="JAM" <?php if($country=="JAM"){echo"selected";}?>>Jamaica</option>
                          <option value="JPN" <?php if($country=="JPN"){echo"selected";}?>>Japan</option>
                          <option value="JEY" <?php if($country=="JEY"){echo"selected";}?>>Jersey</option>
                          <option value="JOR" <?php if($country=="JOR"){echo"selected";}?>>Jordan</option>
                          <option value="KAZ" <?php if($country=="KAZ"){echo"selected";}?>>Kazakhstan</option>
                          <option value="KEN" <?php if($country=="KEN"){echo"selected";}?>>Kenya</option>
                          <option value="KIR" <?php if($country=="KIR"){echo"selected";}?>>Kiribati</option>
                          <option value="PRK" <?php if($country=="PRK"){echo"selected";}?>>Korea, Democratic People's Republic of</option>
                          <option value="KOR" <?php if($country=="KOR"){echo"selected";}?>>Korea, Republic of</option>
                          <option value="KWT" <?php if($country=="KWT"){echo"selected";}?>>Kuwait</option>
                          <option value="KGZ" <?php if($country=="KGZ"){echo"selected";}?>>Kyrgyzstan</option>
                          <option value="LAO" <?php if($country=="LAO"){echo"selected";}?>>Lao People's Democratic Republic</option>
                          <option value="LVA" <?php if($country=="LVA"){echo"selected";}?>>Latvia</option>
                          <option value="LBN" <?php if($country=="LBN"){echo"selected";}?>>Lebanon</option>
                          <option value="LSO" <?php if($country=="LSO"){echo"selected";}?>>Lesotho</option>
                          <option value="LBR" <?php if($country=="LBR"){echo"selected";}?>>Liberia</option>
                          <option value="LBY" <?php if($country=="LBY"){echo"selected";}?>>Libya</option>
                          <option value="LIE" <?php if($country=="LIE"){echo"selected";}?>>Liechtenstein</option>
                          <option value="LTU" <?php if($country=="LTU"){echo"selected";}?>>Lithuania</option>
                          <option value="LUX" <?php if($country=="LUX"){echo"selected";}?>>Luxembourg</option>
                          <option value="MAC" <?php if($country=="MAC"){echo"selected";}?>>Macao</option>
                          <option value="MKD" <?php if($country=="MKD"){echo"selected";}?>>Macedonia, the former Yugoslav Republic of</option>
                          <option value="MDG" <?php if($country=="MDG"){echo"selected";}?>>Madagascar</option>
                          <option value="MWI" <?php if($country=="MWI"){echo"selected";}?>>Malawi</option>
                          <option value="MYS" <?php if($country=="MYS"){echo"selected";}?>>Malaysia</option>
                          <option value="MDV" <?php if($country=="MDV"){echo"selected";}?>>Maldives</option>
                          <option value="MLI" <?php if($country=="MLI"){echo"selected";}?>>Mali</option>
                          <option value="MLT" <?php if($country=="MLT"){echo"selected";}?>>Malta</option>
                          <option value="MHL" <?php if($country=="MHL"){echo"selected";}?>>Marshall Islands</option>
                          <option value="MTQ" <?php if($country=="MTQ"){echo"selected";}?>>Martinique</option>
                          <option value="MRT" <?php if($country=="MRT"){echo"selected";}?>>Mauritania</option>
                          <option value="MUS" <?php if($country=="MUS"){echo"selected";}?>>Mauritius</option>
                          <option value="MYT" <?php if($country=="MYT"){echo"selected";}?>>Mayotte</option>
                          <option value="MEX" <?php if($country=="MEX"){echo"selected";}?>>Mexico</option>
                          <option value="FSM" <?php if($country=="FSM"){echo"selected";}?>>Micronesia, Federated States of</option>
                          <option value="MDA" <?php if($country=="MDA"){echo"selected";}?>>Moldova, Republic of</option>
                          <option value="MCO" <?php if($country=="MCO"){echo"selected";}?>>Monaco</option>
                          <option value="MNG" <?php if($country=="MNG"){echo"selected";}?>>Mongolia</option>
                          <option value="MNE" <?php if($country=="MNE"){echo"selected";}?>>Montenegro</option>
                          <option value="MSR" <?php if($country=="MSR"){echo"selected";}?>>Montserrat</option>
                          <option value="MAR" <?php if($country=="MAR"){echo"selected";}?>>Morocco</option>
                          <option value="MOZ" <?php if($country=="MOZ"){echo"selected";}?>>Mozambique</option>
                          <option value="MMR" <?php if($country=="MMR"){echo"selected";}?>>Myanmar</option>
                          <option value="NAM" <?php if($country=="NAM"){echo"selected";}?>>Namibia</option>
                          <option value="NRU" <?php if($country=="NRU"){echo"selected";}?>>Nauru</option>
                          <option value="NPL" <?php if($country=="NPL"){echo"selected";}?>>Nepal</option>
                          <option value="NLD" <?php if($country=="NLD"){echo"selected";}?>>Netherlands</option>
                          <option value="NCL" <?php if($country=="NCL"){echo"selected";}?>>New Caledonia</option>
                          <option value="NZL" <?php if($country=="NZL"){echo"selected";}?>>New Zealand</option>
                          <option value="NIC" <?php if($country=="NIC"){echo"selected";}?>>Nicaragua</option>
                          <option value="NER" <?php if($country=="NER"){echo"selected";}?>>Niger</option>
                          <option value="NGA" <?php if($country=="NGA"){echo"selected";}?>>Nigeria</option>
                          <option value="NIU" <?php if($country=="NIU"){echo"selected";}?>>Niue</option>
                          <option value="NFK" <?php if($country=="NFK"){echo"selected";}?>>Norfolk Island</option>
                          <option value="MNP" <?php if($country=="MNP"){echo"selected";}?>>Northern Mariana Islands</option>
                          <option value="NOR" <?php if($country=="NOR"){echo"selected";}?>>Norway</option>
                          <option value="OMN" <?php if($country=="OMN"){echo"selected";}?>>Oman</option>
                          <option value="PAK" <?php if($country=="PAK"){echo"selected";}?>>Pakistan</option>
                          <option value="PLW" <?php if($country=="PLW"){echo"selected";}?>>Palau</option>
                          <option value="PSE" <?php if($country=="PSE"){echo"selected";}?>>Palestinian Territory, Occupied</option>
                          <option value="PAN" <?php if($country=="PAN"){echo"selected";}?>>Panama</option>
                          <option value="PNG" <?php if($country=="PNG"){echo"selected";}?>>Papua New Guinea</option>
                          <option value="PRY" <?php if($country=="PRY"){echo"selected";}?>>Paraguay</option>
                          <option value="PER" <?php if($country=="PER"){echo"selected";}?>>Peru</option>
                          <option value="PHL" <?php if($country=="PHL"){echo"selected";}?>>Philippines</option>
                          <option value="PCN" <?php if($country=="PCN"){echo"selected";}?>>Pitcairn</option>
                          <option value="POL" <?php if($country=="POL"){echo"selected";}?>>Poland</option>
                          <option value="PRT" <?php if($country=="PRT"){echo"selected";}?>>Portugal</option>
                          <option value="PRI" <?php if($country=="PRI"){echo"selected";}?>>Puerto Rico</option>
                          <option value="QAT" <?php if($country=="QAT"){echo"selected";}?>>Qatar</option>
                          <option value="REU" <?php if($country=="REU"){echo"selected";}?>>R궮ion</option>
                          <option value="ROU" <?php if($country=="ROU"){echo"selected";}?>>Romania</option>
                          <option value="RUS" <?php if($country=="RUS"){echo"selected";}?>>Russian Federation</option>
                          <option value="RWA" <?php if($country=="RWA"){echo"selected";}?>>Rwanda</option>
                          <option value="BLM" <?php if($country=="BLM"){echo"selected";}?>>Saint Barthꭥmy</option>
                          <option value="SHN" <?php if($country=="SHN"){echo"selected";}?>>Saint Helena, Ascension and Tristan da Cunha</option>
                          <option value="KNA" <?php if($country=="KNA"){echo"selected";}?>>Saint Kitts and Nevis</option>
                          <option value="LCA" <?php if($country=="LCA"){echo"selected";}?>>Saint Lucia</option>
                          <option value="MAF" <?php if($country=="MAF"){echo"selected";}?>>Saint Martin (French part)</option>
                          <option value="SPM" <?php if($country=="SPM"){echo"selected";}?>>Saint Pierre and Miquelon</option>
                          <option value="VCT" <?php if($country=="VCT"){echo"selected";}?>>Saint Vincent and the Grenadines</option>
                          <option value="WSM" <?php if($country=="WSM"){echo"selected";}?>>Samoa</option>
                          <option value="SMR" <?php if($country=="SMR"){echo"selected";}?>>San Marino</option>
                          <option value="STP" <?php if($country=="STP"){echo"selected";}?>>Sao Tome and Principe</option>
                          <option value="SAU" <?php if($country=="SAU"){echo"selected";}?>>Saudi Arabia</option>
                          <option value="SEN" <?php if($country=="SEN"){echo"selected";}?>>Senegal</option>
                          <option value="SRB" <?php if($country=="SRB"){echo"selected";}?>>Serbia</option>
                          <option value="SYC" <?php if($country=="SYC"){echo"selected";}?>>Seychelles</option>
                          <option value="SLE" <?php if($country=="SLE"){echo"selected";}?>>Sierra Leone</option>
                          <option value="SGP" <?php if($country=="SGP"){echo"selected";}?>>Singapore</option>
                          <option value="SXM" <?php if($country=="SXM"){echo"selected";}?>>Sint Maarten (Dutch part)</option>
                          <option value="SVK" <?php if($country=="SVK"){echo"selected";}?>>Slovakia</option>
                          <option value="SVN" <?php if($country=="SVN"){echo"selected";}?>>Slovenia</option>
                          <option value="SLB" <?php if($country=="SLB"){echo"selected";}?>>Solomon Islands</option>
                          <option value="SOM" <?php if($country=="SOM"){echo"selected";}?>>Somalia</option>
                          <option value="ZAF" <?php if($country=="ZAF"){echo"selected";}?>>South Africa</option>
                          <option value="SGS" <?php if($country=="SGS"){echo"selected";}?>>South Georgia and the South Sandwich Islands</option>
                          <option value="SSD" <?php if($country=="SSD"){echo"selected";}?>>South Sudan</option>
                          <option value="ESP" <?php if($country=="ESP"){echo"selected";}?>>Spain</option>
                          <option value="LKA" <?php if($country=="LKA"){echo"selected";}?>>Sri Lanka</option>
                          <option value="SDN" <?php if($country=="SDN"){echo"selected";}?>>Sudan</option>
                          <option value="SUR" <?php if($country=="SUR"){echo"selected";}?>>Suriname</option>
                          <option value="SJM" <?php if($country=="SJM"){echo"selected";}?>>Svalbard and Jan Mayen</option>
                          <option value="SWZ" <?php if($country=="SWZ"){echo"selected";}?>>Swaziland</option>
                          <option value="SWE" <?php if($country=="SWE"){echo"selected";}?>>Sweden</option>
                          <option value="CHE" <?php if($country=="CHE"){echo"selected";}?>>Switzerland</option>
                          <option value="SYR" <?php if($country=="SYR"){echo"selected";}?>>Syrian Arab Republic</option>
                          <option value="TWN" <?php if($country=="TWN"){echo"selected";}?>>Taiwan, Province of China</option>
                          <option value="TJK" <?php if($country=="TJK"){echo"selected";}?>>Tajikistan</option>
                          <option value="TZA" <?php if($country=="TZA"){echo"selected";}?>>Tanzania, United Republic of</option>
                          <option value="THA" <?php if($country=="THA"){echo"selected";}?>>Thailand</option>
                          <option value="TLS" <?php if($country=="TLS"){echo"selected";}?>>Timor-Leste</option>
                          <option value="TGO" <?php if($country=="TGO"){echo"selected";}?>>Togo</option>
                          <option value="TKL" <?php if($country=="TKL"){echo"selected";}?>>Tokelau</option>
                          <option value="TON" <?php if($country=="TON"){echo"selected";}?>>Tonga</option>
                          <option value="TTO" <?php if($country=="TTO"){echo"selected";}?>>Trinidad and Tobago</option>
                          <option value="TUN" <?php if($country=="TUN"){echo"selected";}?>>Tunisia</option>
                          <option value="TUR" <?php if($country=="TUR"){echo"selected";}?>>Turkey</option>
                          <option value="TKM" <?php if($country=="TKM"){echo"selected";}?>>Turkmenistan</option>
                          <option value="TCA" <?php if($country=="TCA"){echo"selected";}?>>Turks and Caicos Islands</option>
                          <option value="TUV" <?php if($country=="TUV"){echo"selected";}?>>Tuvalu</option>
                          <option value="UGA" <?php if($country=="UGA"){echo"selected";}?>>Uganda</option>
                          <option value="UKR" <?php if($country=="UKR"){echo"selected";}?>>Ukraine</option>
                          <option value="ARE" <?php if($country=="ARE"){echo"selected";}?>>United Arab Emirates</option>
                          <option value="GBR" <?php if($country=="GBR"){echo"selected";}?>>United Kingdom</option>
                          <option value="USA" <?php if($country=="USA"){echo"selected";}?>>United States</option>
                          <option value="UMI" <?php if($country=="UMI"){echo"selected";}?>>United States Minor Outlying Islands</option>
                          <option value="URY" <?php if($country=="URY"){echo"selected";}?>>Uruguay</option>
                          <option value="UZB" <?php if($country=="UZB"){echo"selected";}?>>Uzbekistan</option>
                          <option value="VUT" <?php if($country=="VUT"){echo"selected";}?>>Vanuatu</option>
                          <option value="VEN" <?php if($country=="VEN"){echo"selected";}?>>Venezuela, Bolivarian Republic of</option>
                          <option value="VNM" <?php if($country=="VNM"){echo"selected";}?>>Viet Nam</option>
                          <option value="VGB" <?php if($country=="VGB"){echo"selected";}?>>Virgin Islands, British</option>
                          <option value="VIR" <?php if($country=="VIR"){echo"selected";}?>>Virgin Islands, U.S.</option>
                          <option value="WLF" <?php if($country=="WLF"){echo"selected";}?>>Wallis and Futuna</option>
                          <option value="ESH" <?php if($country=="ESH"){echo"selected";}?>>Western Sahara</option>
                          <option value="YEM" <?php if($country=="YEM"){echo"selected";}?>>Yemen</option>
                          <option value="ZMB" <?php if($country=="ZMB"){echo"selected";}?>>Zambia</option>
                          <option value="ZWE" <?php if($country=="ZWE"){echo"selected";}?>>Zimbabwe</option>
                        </select>
                      </div>
                    </div>
                    <div class="row">
                      <div class="form-group col-xs-12">
                        <label for="my-info">About me</label>
                        <textarea id="my-info" class="form-control" name="about"  placeholder="SOME TEXT ABOUT ME" rows="4" cols="400"><?php echo$row['about'];?></textarea>
                      </div>
                    </div>
                     <button class="btn btn-primary" name="save">save</button>
                  </form>
                </div>
				<?php
						}
				?>
              </div>
            </div>
            <div class="col-md-2 static">
              
              <!--Sticky Timeline Activity Sidebar-->
            </div>
          </div>
        </div>
      </div>
    </div>


    <!-- Footer
    ================================================= -->
   <?php include("commonpages/footer.php");?>
    
    <!--preloader-->
    <div id="spinner-wrapper">
      <div class="spinner"></div>
    </div>

    <!-- Scripts
    ================================================= -->
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.sticky-kit.min.js"></script>
    <script src="js/jquery.scrollbar.min.js"></script>
    <script src="js/script.js"></script>
    
  </body>
</html>
