NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<!-- kullanıcı güncelleme ve silme modalları -->
<?php
$user = mysqli_query($connect,"select * from users left join city on users.userCity = city.cityNo left join district on users.userDistrict = district.distNo");
while ($userrow = $user->fetch_assoc()) {
$vUserBirthDate = $userrow["userBirthDate"];
$userBdate = str_replace('/', '-', $vUserBirthDate);
$userBD = date('Y-m-d', strtotime($userBdate));
echo '
<div class="modal fade register-modal" id="userUpdate'.$userrow["userID"].'" tabindex="-1" role="dialog"
aria-labelledby="registerModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" id="registerModalLabel">
<h4 class="modal-title">Kullanıcı Bilgilerini Güncelle</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-x">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
</div>
<div class="modal-body">
<form class="mt-0" enctype="multipart/form-data" method="post">
<input type="hidden" value="' . $userrow["userID"] . '" name="userID">
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Ad</label>
<input type="text" class="form-control" placeholder="Ad"
name="userName" value="' . $userrow["userName"] . '" required>
</div>
<div class="col">
<label for="exampleFormControlInput1">Soyad</label>
<input type="text" class="form-control" placeholder="Soyad"
name="userSurname" value="' . $userrow["userSurname"] . '" required>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">TC Kimlik No</label>
<input type="number" class="form-control" placeholder="TC Kimlik No"
name="userTcNo" value="' . $userrow["userTcNo"] . '" required>
</div>
<div class="col">
<label for="exampleFormControlInput1">E-Mail Adresi</label>
<input type="email" class="form-control" placeholder="E-Mail Adresi"
name="userMail" value="' . $userrow["userMail"] . '" required>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Telefon No</label>
<input type="text" class="form-control" placeholder="Telefon No"
name="userPhone" value="' . $userrow["userPhone"] . '" required>
</div>
<div class="col">
<label for="exampleFormControlInput1">Cinsiyet</label>
<select class="selectpicker" data-width="100%" name="userGender">
<option value="">Cinsiyet Seçiniz</option>
<option value="Erkek"'; if($userrow["userGender"]=='Erkek') echo 'selected'; echo'>Erkek</option>
<option value="Kadın"'; if($userrow["userGender"]=='Kadın') echo 'selected'; echo'>Kadın</option>
</select>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Bio</label>
<input type="text" class="form-control" placeholder="Bio"
name="userBio" value="' . $userrow["userBio"] . '">
</div>
<div class="col">
<label for="exampleFormControlInput1">Doğum Tarihi</label>
<input type="date" class="form-control" placeholder="Doğum Tarihi"
name="userBirthDate" value="' .$userBD. '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Meslek</label>
<select class="form-control" id="userJob'.$userrow["userID"].'" name="userJob" data-width="100%">
<option value="">Mesleğinizi seçiniz</option>
';
$job= mysqli_query($connect,"select * from jobs");
while ($jrow = $job->fetch_assoc()) {
if ($jrow["jobName"] == $userrow["userJob"]) {
echo' <option value="' . $jrow["jobName"] . '" selected>' . $jrow["jobName"] . '</option>';
} else {
echo '<option value="' . $jrow["jobName"] . '">' . $jrow["jobName"] . '</option>';
}
}
echo'
</select>
</div>
<div class="col">
<label for="exampleFormControlInput1">Diğer Meslek</label>
<input type="text" class="form-control" placeholder="Meslek"
name="userOtherJob" value="' . $userrow["userOtherJob"] . '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Adres</label>
<input type="text" class="form-control" placeholder="Adres"
name="userAddress" value="' . $userrow["userAddress"] . '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">İl</label>
<select class="form-control" id="userCity" name="userCity" data-width="100%">
';
$city = mysqli_query($connect,"select * from city");
while ($ctyrow = $city->fetch_assoc()){
if($ctyrow["cityNo"] == $userrow["userCity"]){
echo '<option value="'.$ctyrow["cityNo"].'" selected>'.$ctyrow["cityName"].'</option>';
}else{
echo '<option value="'.$ctyrow["cityNo"].'">'.$ctyrow["cityName"].'</option>';
}
}
echo'
</select>
</div>
<div class="col">
<label for="exampleFormControlInput1">İlçe</label>
<select class="form-control" id="userDistrict" name="userDistrict" data-width="100%">
<option value="'.$userrow["distNo"].'">'.$userrow["distName"].'</option>
</select>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Facebook</label>
<input type="text" class="form-control" placeholder="Facebook"
name="userFacebook" value="' . $userrow["userFacebook"] . '">
</div>
<div class="col">
<label for="exampleFormControlInput1">Twitter</label>
<input type="text" class="form-control" placeholder="Twitter"
name="userTwitter" value="' . $userrow["userTwitter"] . '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Instagram</label>
<input type="text" class="form-control" placeholder="Instagram"
name="userInstagram" value="' . $userrow["userInstagram"] . '">
</div>
<div class="col">
<label for="exampleFormControlInput1">Linkedin</label>
<input type="text" class="form-control" placeholder="Linkedin"
name="userLinkedin" value="' . $userrow["userLinkedin"] . '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Üyelik Aktif Mi ?</label>
<select class="selectpicker" data-width="100%" name="userIsActive">
<option value="">Seçiniz</option>
<option value="1"'; if($userrow["userIsActive"]=='1') echo 'selected'; echo'>Aktif</option>
<option value="0"'; if($userrow["userIsActive"]=='0') echo 'selected'; echo'>Pasif</option>
</select>
</div>
<div class="col">
<label for="exampleFormControlInput1">Hesap Türü</label>
<select class="selectpicker" data-width="100%" name="userIsCorporate">
<option value="">Seçiniz</option>
<option value="0"'; if($userrow["userIsCorporate"]=='0') echo 'selected'; echo'>Bireysel Hesap</option>
<option value="1"'; if($userrow["userIsCorporate"]=='1') echo 'selected'; echo'>Kurumsal Hesap</option>
</select>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<label for="exampleFormControlInput1">Vergi Dairesi</label>
<input type="text" class="form-control" placeholder="Vergi Dairesi"
name="userTaxName" value="' . $userrow["userTaxName"] . '">
</div>
<div class="col">
<label for="exampleFormControlInput1">Vergi Numarası</label>
<input type="number" class="form-control" placeholder="Vergi Numarası"
name="userTaxNumber" value="' . $userrow["userTaxNumber"] . '">
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>Vesikalık Fotoğrafı</h5>
<img src="' . $userrow["userVesikalik"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">Vesikalık Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG1' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="userVesikalik"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>Profil Fotoğrafı</h5>
<img src="' . $userrow["userProfile"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">Profil Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG2' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="userProfile"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>Kimlik Ön Yüz</h5>
<img src="' . $userrow["userKimlikFront"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">Kimlik Ön Yüz</label>
<div class="custom-file-container" data-upload-id="adduserIMG3' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="userKimlikFront"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>Kimlik Arka Yüz<h5>
<img src="' . $userrow["userKimlikBack"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">Kimlik Arka Yüz</label>
<div class="custom-file-container" data-upload-id="adduserIMG4' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="userKimlikBack"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>1.Galeri Fotoğrafı</h5>
<img src="' . $userrow["img1"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">1.Galeri Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG5' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="img1"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>2.Galeri Fotoğrafı</h5>
<img src="' . $userrow["img2"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">2.Galeri Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG6' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="img2"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>3.Galeri Fotoğrafı</h5>
<img src="' . $userrow["img3"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">3.Galeri Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG7' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="img3"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>4.Galeri Fotoğrafı</h5>
<img src="' . $userrow["img4"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">4.Galeri Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG8' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="img4"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<div class="form-row mb-4">
<div class="col">
<h5>5.Galeri Fotoğrafı</h5>
<img src="' . $userrow["img5"] . '" width="250" height="300">
</div>
<div class="col">
<label for="exampleFormControlInput1">5.Galeri Fotoğrafı</label>
<div class="custom-file-container" data-upload-id="adduserIMG9' . $userrow["userID"] . '">
<label>Seçili Resmi Sil <a href="javascript:void(0)"
class="custom-file-container__image-clear"
title="Clear Image">x</a></label>
<label class="custom-file-container__custom-file">
<input type="file" name="img5"
class="custom-file-container__custom-file__custom-file-input"
accept="image/*">
<input type="hidden" name="MAX_FILE_SIZE" value="30485760"/>
<span class="custom-file-container__custom-file__custom-file-control"></span>
</label>
<div class="custom-file-container__image-preview"></div>
</div>
</div>
</div>
<button type="submit" name="user-update" class="btn btn-primary mt-2 mb-2 btn-block">Güncelle</button>
</form>
</div>
</div>
</div>
</div>

<div class="modal fade register-modal" id="userDelete'.$userrow["userID"].'" tabindex="-1" role="dialog" aria-labelledby="registerModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" id="registerModalLabel">
<h4 class="modal-title">Kullanıcı Sil</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></button>
</div>
<div class="modal-body">
<form class="mt-0" method="post">
<input type="hidden" value="' . $userrow["userID"] . '" name="userID">
<div class="form-group">
<p><b>' . $userrow["userName"] . ' ' . $userrow["userSurname"] . '</b>
adlı kullanıcıyı silmek istediğinize emin misiniz ?</p>
</div>
<button type="submit" name="user-delete" class="btn btn-danger mt-2 mb-2">Sil</button>
<button data-dismiss="modal" class="btn btn-success mt-2 mb-2">Vazgeç</button>
</form>
</div>
</div>
</div>
</div>';
}
?>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.