Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/views/network/user/profile_edit.php

1267 lines
96 KiB
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$this->load->view('network/user/profile_page_header');
?>
<section class="container" id="profile-content" data-type="foreground" data-speed="10">
<div class="row">
<!-- --><?php //$this->load->view('network/user/user_profile_card') ?>
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 offset-md-2" id="profile-content-container">
<?= $message ?>
<h1 class="text-center">Profil bearbeiten</h1>
<div class="row">
<div class="col-3">
<div class="nav nav-pills flex-column" role="tablist" aria-orientation="vertical">
<a href="#general" class="nav-link active text-center" role="tab" data-toggle="pill"
id="general-pill" aria-controls="general" aria-selected="true">
<i class="fa fa-tasks"></i>
<br>
Allgemein
</a>
<a href="#email" class="nav-link text-center" role="tab" data-toggle="pill" id="email-pill"
aria-controls="email" aria-selected="false">
<i class="fa fa-envelope"></i>
<br>
E-Mail
</a>
<a href="#messages" class="nav-link text-center" role="tab" data-toggle="pill" id="messages-pill" aria-controls="messages" aria-selected="false">
<i class="fa fa-bell"></i>
<br>
Nachrichten
</a>
<a href="#password" class="nav-link text-center" role="tab" data-toggle="pill"
id="password-pill" aria-controls="password" aria-selected="false">
<i class="fa fa-lock"></i>
<br>
Passwort & Sicherheit
</a>
<a href="#premium" class="nav-link text-center" role="tab" data-toggle="pill" id="premium-pill"
aria-controls="premium" aria-selected="false">
<i class="fa fa-star"></i>
<br>
Premium
</a>
</div>
</div>
<div class="col-9">
<div class="tab-content" id="tabContent">
<div class="tab-pane fade show active" id="general" role="tabpanel"
aria-labelledby="general-pill">
<form method="post" enctype="multipart/form-data">
<!-- Username -->
<div class="form-group">
<label for="username">Nutzername</label>
<input name="username" id="username" class="form-control"
value="<?= isset($data['displayname']) ? $data['displayname'] : '' ?>">
<span class="error-message" id="usernameErrorLength">
<b>Dein Nutzername ist zu kurz!</b> Er muss mindestens 4 Zeichen lang sein
</span>
<span class="error-message" id="usernameErrorChars">
<b>Dein Nutzername enthält ungültige Zeichen!</b> Er darf nur Groß- [A-Z] und Kleinbuchstaben [a-z], Zahlen [0-9] und Unterstriche [_] enthalten
</span>
</div>
<!-- Gender -->
<div class="form-group">
<label for="gender">Geschlecht</label>
<select class="form-control" name="gender" id="gender">
<option value="">---</option>
<option value="male" <?= isset($data['gender']) && $data['gender'] == "male" ? "selected" : "" ?>>
Männlich
</option>
<option value="female" <?= isset($data['gender']) && $data['gender'] == "female" ? "selected" : "" ?>>
Weiblich
</option>
<option value="other" <?= isset($data['gender']) && $data['gender'] == "other" ? "selected" : "" ?>>
Anderes
</option>
</select>
</div>
<!-- Birth date -->
<div class="form-group">
<label for="birthdate">Geburtsdatum</label>
<div class="row">
<div class="col-6">
<select name="birthdate-month" id="birthdate-month" class="form-control"
data-default="<?= isset($data['birthdate']) ? explode('.', $data['birthdate'])[1] : '' ?>">
<option value="">-- Monat --</option>
<option value="1">Januar</option>
<option value="2">Februar</option>
<option value="3">März</option>
<option value="4">April</option>
<option value="5">Mai</option>
<option value="6">Juni</option>
<option value="7">Juli</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">Oktober</option>
<option value="11">November</option>
<option value="12">Dezember</option>
</select>
</div>
<div class="col-6">
<select name="birthdate-day" id="birthdate-day" class="form-control"
data-default="<?= isset($data['birthdate']) ? explode('.', $data['birthdate'])[0] : '' ?>">
<option value="">-- Tag --</option>
</select>
</div>
</div>
<div class="row">
<div class="col-6 col-offset-3">
<select name="birthdate-year" id="birthdate-year" class="form-control">
<option value="">-- Jahr --</option>
</select>
</div>
</div>
</div>
<!-- Language -->
<div class="form-group">
<label for="language">Sprache</label>
<select aria-describedby="languageHelp" class="form-control" name="language" data-placeholder="Wähle deine Sprache aus..." id="language">
<option value="">---</option>
<option value="AF" <?= isset($data['language']) && $data['language'] === "AF" ? "selected" : "" ?>>
Afrikanns
</option>
<option value="SQ" <?= isset($data['language']) && $data['language'] === "SQ" ? "selected" : "" ?>>
Albanian
</option>
<option value="AR" <?= isset($data['language']) && $data['language'] === "AR" ? "selected" : "" ?>>
Arabic
</option>
<option value="HY" <?= isset($data['language']) && $data['language'] === "HY" ? "selected" : "" ?>>
Armenian
</option>
<option value="EU" <?= isset($data['language']) && $data['language'] === "EU" ? "selected" : "" ?>>
Basque
</option>
<option value="BN" <?= isset($data['language']) && $data['language'] === "BN" ? "selected" : "" ?>>
Bengali
</option>
<option value="BG" <?= isset($data['language']) && $data['language'] === "BG" ? "selected" : "" ?>>
Bulgarian
</option>
<option value="CA" <?= isset($data['language']) && $data['language'] === "CA" ? "selected" : "" ?>>
Catalan
</option>
<option value="KM" <?= isset($data['language']) && $data['language'] === "KM" ? "selected" : "" ?>>
Cambodian
</option>
<option value="ZH" <?= isset($data['language']) && $data['language'] === "ZH" ? "selected" : "" ?>>
Chinese (Mandarin)
</option>
<option value="HR" <?= isset($data['language']) && $data['language'] === "HR" ? "selected" : "" ?>>
Croation
</option>
<option value="CS" <?= isset($data['language']) && $data['language'] === "CS" ? "selected" : "" ?>>
Czech
</option>
<option value="DA" <?= isset($data['language']) && $data['language'] === "DA" ? "selected" : "" ?>>
Danish
</option>
<option value="NL" <?= isset($data['language']) && $data['language'] === "NL" ? "selected" : "" ?>>
Dutch
</option>
<option value="EN" <?= isset($data['language']) && $data['language'] === "EN" ? "selected" : "" ?>>
English
</option>
<option value="ET" <?= isset($data['language']) && $data['language'] === "ET" ? "selected" : "" ?>>
Estonian
</option>
<option value="FJ" <?= isset($data['language']) && $data['language'] === "FJ" ? "selected" : "" ?>>
Fiji
</option>
<option value="FI" <?= isset($data['language']) && $data['language'] === "FI" ? "selected" : "" ?>>
Finnish
</option>
<option value="FR" <?= isset($data['language']) && $data['language'] === "FR" ? "selected" : "" ?>>
French
</option>
<option value="KA" <?= isset($data['language']) && $data['language'] === "KA" ? "selected" : "" ?>>
Georgian
</option>
<option value="DE" <?= isset($data['language']) && $data['language'] === "DE" ? "selected" : "" ?>>
German
</option>
<option value="EL" <?= isset($data['language']) && $data['language'] === "EL" ? "selected" : "" ?>>
Greek
</option>
<option value="GU" <?= isset($data['language']) && $data['language'] === "GU" ? "selected" : "" ?>>
Gujarati
</option>
<option value="HE" <?= isset($data['language']) && $data['language'] === "HE" ? "selected" : "" ?>>
Hebrew
</option>
<option value="HI" <?= isset($data['language']) && $data['language'] === "HI" ? "selected" : "" ?>>
Hindi
</option>
<option value="HU" <?= isset($data['language']) && $data['language'] === "HU" ? "selected" : "" ?>>
Hungarian
</option>
<option value="IS" <?= isset($data['language']) && $data['language'] === "IS" ? "selected" : "" ?>>
Icelandic
</option>
<option value="ID" <?= isset($data['language']) && $data['language'] === "ID" ? "selected" : "" ?>>
Indonesian
</option>
<option value="GA" <?= isset($data['language']) && $data['language'] === "GA" ? "selected" : "" ?>>
Irish
</option>
<option value="IT" <?= isset($data['language']) && $data['language'] === "IT" ? "selected" : "" ?>>
Italian
</option>
<option value="JA" <?= isset($data['language']) && $data['language'] === "JA" ? "selected" : "" ?>>
Japanese
</option>
<option value="JW" <?= isset($data['language']) && $data['language'] === "JW" ? "selected" : "" ?>>
Javanese
</option>
<option value="KO" <?= isset($data['language']) && $data['language'] === "KO" ? "selected" : "" ?>>
Korean
</option>
<option value="LA" <?= isset($data['language']) && $data['language'] === "LA" ? "selected" : "" ?>>
Latin
</option>
<option value="LV" <?= isset($data['language']) && $data['language'] === "LV" ? "selected" : "" ?>>
Latvian
</option>
<option value="LT" <?= isset($data['language']) && $data['language'] === "LT" ? "selected" : "" ?>>
Lithuanian
</option>
<option value="MK" <?= isset($data['language']) && $data['language'] === "MK" ? "selected" : "" ?>>
Macedonian
</option>
<option value="MS" <?= isset($data['language']) && $data['language'] === "MS" ? "selected" : "" ?>>
Malay
</option>
<option value="ML" <?= isset($data['language']) && $data['language'] === "ML" ? "selected" : "" ?>>
Malayalam
</option>
<option value="MT" <?= isset($data['language']) && $data['language'] === "MT" ? "selected" : "" ?>>
Maltese
</option>
<option value="MI" <?= isset($data['language']) && $data['language'] === "MI" ? "selected" : "" ?>>
Maori
</option>
<option value="MR" <?= isset($data['language']) && $data['language'] === "MR" ? "selected" : "" ?>>
Marathi
</option>
<option value="MN" <?= isset($data['language']) && $data['language'] === "MN" ? "selected" : "" ?>>
Mongolian
</option>
<option value="NE" <?= isset($data['language']) && $data['language'] === "NE" ? "selected" : "" ?>>
Nepali
</option>
<option value="NO" <?= isset($data['language']) && $data['language'] === "NO" ? "selected" : "" ?>>
Norwegian
</option>
<option value="FA" <?= isset($data['language']) && $data['language'] === "FA" ? "selected" : "" ?>>
Persian
</option>
<option value="PL" <?= isset($data['language']) && $data['language'] === "PL" ? "selected" : "" ?>>
Polish
</option>
<option value="PT" <?= isset($data['language']) && $data['language'] === "PT" ? "selected" : "" ?>>
Portuguese
</option>
<option value="PA" <?= isset($data['language']) && $data['language'] === "PA" ? "selected" : "" ?>>
Punjabi
</option>
<option value="QU" <?= isset($data['language']) && $data['language'] === "QU" ? "selected" : "" ?>>
Quechua
</option>
<option value="RO" <?= isset($data['language']) && $data['language'] === "RO" ? "selected" : "" ?>>
Romanian
</option>
<option value="RU" <?= isset($data['language']) && $data['language'] === "RU" ? "selected" : "" ?>>
Russian
</option>
<option value="SM" <?= isset($data['language']) && $data['language'] === "SM" ? "selected" : "" ?>>
Samoan
</option>
<option value="SR" <?= isset($data['language']) && $data['language'] === "SR" ? "selected" : "" ?>>
Serbian
</option>
<option value="SK" <?= isset($data['language']) && $data['language'] === "SK" ? "selected" : "" ?>>
Slovak
</option>
<option value="SL" <?= isset($data['language']) && $data['language'] === "SL" ? "selected" : "" ?>>
Slovenian
</option>
<option value="ES" <?= isset($data['language']) && $data['language'] === "ES" ? "selected" : "" ?>>
Spanish
</option>
<option value="SW" <?= isset($data['language']) && $data['language'] === "SW" ? "selected" : "" ?>>
Swahili
</option>
<option value="SV" <?= isset($data['language']) && $data['language'] === "SV" ? "selected" : "" ?>>
Swedish
</option>
<option value="TA" <?= isset($data['language']) && $data['language'] === "TA" ? "selected" : "" ?>>
Tamil
</option>
<option value="TT" <?= isset($data['language']) && $data['language'] === "TT" ? "selected" : "" ?>>
Tatar
</option>
<option value="TE" <?= isset($data['language']) && $data['language'] === "TE" ? "selected" : "" ?>>
Telugu
</option>
<option value="TH" <?= isset($data['language']) && $data['language'] === "TH" ? "selected" : "" ?>>
Thai
</option>
<option value="BO" <?= isset($data['language']) && $data['language'] === "BO" ? "selected" : "" ?>>
Tibetan
</option>
<option value="TO" <?= isset($data['language']) && $data['language'] === "TO" ? "selected" : "" ?>>
Tonga
</option>
<option value="TR" <?= isset($data['language']) && $data['language'] === "TR" ? "selected" : "" ?>>
Turkish
</option>
<option value="UK" <?= isset($data['language']) && $data['language'] === "UK" ? "selected" : "" ?>>
Ukranian
</option>
<option value="UR" <?= isset($data['language']) && $data['language'] === "UR" ? "selected" : "" ?>>
Urdu
</option>
<option value="UZ" <?= isset($data['language']) && $data['language'] === "UZ" ? "selected" : "" ?>>
Uzbek
</option>
<option value="VI" <?= isset($data['language']) && $data['language'] === "VI" ? "selected" : "" ?>>
Vietnamese
</option>
<option value="CY" <?= isset($data['language']) && $data['language'] === "CY" ? "selected" : "" ?>>
Welsh
</option>
<option value="XH" <?= isset($data['language']) && $data['language'] === "XH" ? "selected" : "" ?>>
Xhosa
</option>
</select>
<span id="languageHelp" class="help-block">Sollten viele Nutzer eine Sprache ausgewählt haben, die noch nicht von uns unterstützt wird, würden wir versuchen, eine übersetze Version dieser Webseite in der jeweiligen Sprache anzubieten.</span>
</div>
<!-- Country -->
<div class="form-group">
<label for="country">Land</label>
<select aria-describedby="countryHelp" class="form-control" name="country" id="country">
<option value="">---</option>
<option value="AF" <?= isset($data['country']) && $data['country'] === "AF" ? "selected" : "" ?>>
Afghanistan
</option>
<option value="AX" <?= isset($data['country']) && $data['country'] === "AX" ? "selected" : "" ?>>
Åland Islands
</option>
<option value="AL" <?= isset($data['country']) && $data['country'] === "AL" ? "selected" : "" ?>>
Albania
</option>
<option value="DZ" <?= isset($data['country']) && $data['country'] === "DZ" ? "selected" : "" ?>>
Algeria
</option>
<option value="AS" <?= isset($data['country']) && $data['country'] === "AS" ? "selected" : "" ?>>
American Samoa
</option>
<option value="AD" <?= isset($data['country']) && $data['country'] === "AD" ? "selected" : "" ?>>
Andorra
</option>
<option value="AO" <?= isset($data['country']) && $data['country'] === "AO" ? "selected" : "" ?>>
Angola
</option>
<option value="AI" <?= isset($data['country']) && $data['country'] === "AI" ? "selected" : "" ?>>
Anguilla
</option>
<option value="AQ" <?= isset($data['country']) && $data['country'] === "AQ" ? "selected" : "" ?>>
Antarctica
</option>
<option value="AG" <?= isset($data['country']) && $data['country'] === "AG" ? "selected" : "" ?>>
Antigua and Barbuda
</option>
<option value="AR" <?= isset($data['country']) && $data['country'] === "AR" ? "selected" : "" ?>>
Argentina
</option>
<option value="AM" <?= isset($data['country']) && $data['country'] === "AM" ? "selected" : "" ?>>
Armenia
</option>
<option value="AW" <?= isset($data['country']) && $data['country'] === "AW" ? "selected" : "" ?>>
Aruba
</option>
<option value="AU" <?= isset($data['country']) && $data['country'] === "AU" ? "selected" : "" ?>>
Australia
</option>
<option value="AT" <?= isset($data['country']) && $data['country'] === "AT" ? "selected" : "" ?>>
Austria
</option>
<option value="AZ" <?= isset($data['country']) && $data['country'] === "AZ" ? "selected" : "" ?>>
Azerbaijan
</option>
<option value="BS" <?= isset($data['country']) && $data['country'] === "BS" ? "selected" : "" ?>>
Bahamas
</option>
<option value="BH" <?= isset($data['country']) && $data['country'] === "BH" ? "selected" : "" ?>>
Bahrain
</option>
<option value="BD" <?= isset($data['country']) && $data['country'] === "BD" ? "selected" : "" ?>>
Bangladesh
</option>
<option value="BB" <?= isset($data['country']) && $data['country'] === "BB" ? "selected" : "" ?>>
Barbados
</option>
<option value="BY" <?= isset($data['country']) && $data['country'] === "BY" ? "selected" : "" ?>>
Belarus
</option>
<option value="BE" <?= isset($data['country']) && $data['country'] === "BE" ? "selected" : "" ?>>
Belgium
</option>
<option value="BZ" <?= isset($data['country']) && $data['country'] === "BZ" ? "selected" : "" ?>>
Belize
</option>
<option value="BJ" <?= isset($data['country']) && $data['country'] === "BJ" ? "selected" : "" ?>>
Benin
</option>
<option value="BM" <?= isset($data['country']) && $data['country'] === "BM" ? "selected" : "" ?>>
Bermuda
</option>
<option value="BT" <?= isset($data['country']) && $data['country'] === "BT" ? "selected" : "" ?>>
Bhutan
</option>
<option value="BO" <?= isset($data['country']) && $data['country'] === "BO" ? "selected" : "" ?>>
Bolivia, Plurinational State of
</option>
<option value="BQ" <?= isset($data['country']) && $data['country'] === "BQ" ? "selected" : "" ?>>
Bonaire, Sint Eustatius and Saba
</option>
<option value="BA" <?= isset($data['country']) && $data['country'] === "BA" ? "selected" : "" ?>>
Bosnia and Herzegovina
</option>
<option value="BW" <?= isset($data['country']) && $data['country'] === "BW" ? "selected" : "" ?>>
Botswana
</option>
<option value="BV" <?= isset($data['country']) && $data['country'] === "BV" ? "selected" : "" ?>>
Bouvet Island
</option>
<option value="BR" <?= isset($data['country']) && $data['country'] === "BR" ? "selected" : "" ?>>
Brazil
</option>
<option value="IO" <?= isset($data['country']) && $data['country'] === "IO" ? "selected" : "" ?>>
British Indian Ocean Territory
</option>
<option value="BN" <?= isset($data['country']) && $data['country'] === "BN" ? "selected" : "" ?>>
Brunei Darussalam
</option>
<option value="BG" <?= isset($data['country']) && $data['country'] === "BG" ? "selected" : "" ?>>
Bulgaria
</option>
<option value="BF" <?= isset($data['country']) && $data['country'] === "BF" ? "selected" : "" ?>>
Burkina Faso
</option>
<option value="BI" <?= isset($data['country']) && $data['country'] === "BI" ? "selected" : "" ?>>
Burundi
</option>
<option value="KH" <?= isset($data['country']) && $data['country'] === "KH" ? "selected" : "" ?>>
Cambodia
</option>
<option value="CM" <?= isset($data['country']) && $data['country'] === "CM" ? "selected" : "" ?>>
Cameroon
</option>
<option value="CA" <?= isset($data['country']) && $data['country'] === "CA" ? "selected" : "" ?>>
Canada
</option>
<option value="CV" <?= isset($data['country']) && $data['country'] === "CV" ? "selected" : "" ?>>
Cape Verde
</option>
<option value="KY" <?= isset($data['country']) && $data['country'] === "KY" ? "selected" : "" ?>>
Cayman Islands
</option>
<option value="CF" <?= isset($data['country']) && $data['country'] === "CF" ? "selected" : "" ?>>
Central African Republic
</option>
<option value="TD" <?= isset($data['country']) && $data['country'] === "TD" ? "selected" : "" ?>>
Chad
</option>
<option value="CL" <?= isset($data['country']) && $data['country'] === "CL" ? "selected" : "" ?>>
Chile
</option>
<option value="CN" <?= isset($data['country']) && $data['country'] === "CN" ? "selected" : "" ?>>
China
</option>
<option value="CX" <?= isset($data['country']) && $data['country'] === "CX" ? "selected" : "" ?>>
Christmas Island
</option>
<option value="CC" <?= isset($data['country']) && $data['country'] === "CC" ? "selected" : "" ?>>
Cocos (Keeling) Islands
</option>
<option value="CO" <?= isset($data['country']) && $data['country'] === "CO" ? "selected" : "" ?>>
Colombia
</option>
<option value="KM" <?= isset($data['country']) && $data['country'] === "KM" ? "selected" : "" ?>>
Comoros
</option>
<option value="CG" <?= isset($data['country']) && $data['country'] === "CG" ? "selected" : "" ?>>
Congo
</option>
<option value="CD" <?= isset($data['country']) && $data['country'] === "CD" ? "selected" : "" ?>>
Congo, the Democratic Republic of the
</option>
<option value="CK" <?= isset($data['country']) && $data['country'] === "CK" ? "selected" : "" ?>>
Cook Islands
</option>
<option value="CR" <?= isset($data['country']) && $data['country'] === "CR" ? "selected" : "" ?>>
Costa Rica
</option>
<option value="CI" <?= isset($data['country']) && $data['country'] === "CI" ? "selected" : "" ?>>
Côte d'Ivoire
</option>
<option value="HR" <?= isset($data['country']) && $data['country'] === "HR" ? "selected" : "" ?>>
Croatia
</option>
<option value="CU" <?= isset($data['country']) && $data['country'] === "CU" ? "selected" : "" ?>>
Cuba
</option>
<option value="CW" <?= isset($data['country']) && $data['country'] === "CW" ? "selected" : "" ?>>
Curaçao
</option>
<option value="CY" <?= isset($data['country']) && $data['country'] === "CY" ? "selected" : "" ?>>
Cyprus
</option>
<option value="CZ" <?= isset($data['country']) && $data['country'] === "CZ" ? "selected" : "" ?>>
Czech Republic
</option>
<option value="DK" <?= isset($data['country']) && $data['country'] === "DK" ? "selected" : "" ?>>
Denmark
</option>
<option value="DJ" <?= isset($data['country']) && $data['country'] === "DJ" ? "selected" : "" ?>>
Djibouti
</option>
<option value="DM" <?= isset($data['country']) && $data['country'] === "DM" ? "selected" : "" ?>>
Dominica
</option>
<option value="DO" <?= isset($data['country']) && $data['country'] === "DO" ? "selected" : "" ?>>
Dominican Republic
</option>
<option value="EC" <?= isset($data['country']) && $data['country'] === "EC" ? "selected" : "" ?>>
Ecuador
</option>
<option value="EG" <?= isset($data['country']) && $data['country'] === "EG" ? "selected" : "" ?>>
Egypt
</option>
<option value="SV" <?= isset($data['country']) && $data['country'] === "SV" ? "selected" : "" ?>>
El Salvador
</option>
<option value="GQ" <?= isset($data['country']) && $data['country'] === "GQ" ? "selected" : "" ?>>
Equatorial Guinea
</option>
<option value="ER" <?= isset($data['country']) && $data['country'] === "ER" ? "selected" : "" ?>>
Eritrea
</option>
<option value="EE" <?= isset($data['country']) && $data['country'] === "EE" ? "selected" : "" ?>>
Estonia
</option>
<option value="ET" <?= isset($data['country']) && $data['country'] === "ET" ? "selected" : "" ?>>
Ethiopia
</option>
<option value="FK" <?= isset($data['country']) && $data['country'] === "FK" ? "selected" : "" ?>>
Falkland Islands (Malvinas)
</option>
<option value="FO" <?= isset($data['country']) && $data['country'] === "FO" ? "selected" : "" ?>>
Faroe Islands
</option>
<option value="FJ" <?= isset($data['country']) && $data['country'] === "FJ" ? "selected" : "" ?>>
Fiji
</option>
<option value="FI" <?= isset($data['country']) && $data['country'] === "FI" ? "selected" : "" ?>>
Finland
</option>
<option value="FR" <?= isset($data['country']) && $data['country'] === "FR" ? "selected" : "" ?>>
France
</option>
<option value="GF" <?= isset($data['country']) && $data['country'] === "GF" ? "selected" : "" ?>>
French Guiana
</option>
<option value="PF" <?= isset($data['country']) && $data['country'] === "PF" ? "selected" : "" ?>>
French Polynesia
</option>
<option value="TF" <?= isset($data['country']) && $data['country'] === "TF" ? "selected" : "" ?>>
French Southern Territories
</option>
<option value="GA" <?= isset($data['country']) && $data['country'] === "GA" ? "selected" : "" ?>>
Gabon
</option>
<option value="GM" <?= isset($data['country']) && $data['country'] === "GM" ? "selected" : "" ?>>
Gambia
</option>
<option value="GE" <?= isset($data['country']) && $data['country'] === "GE" ? "selected" : "" ?>>
Georgia
</option>
<option value="DE" <?= isset($data['country']) && $data['country'] === "DE" ? "selected" : "" ?>>
Germany
</option>
<option value="GH" <?= isset($data['country']) && $data['country'] === "GH" ? "selected" : "" ?>>
Ghana
</option>
<option value="GI" <?= isset($data['country']) && $data['country'] === "GI" ? "selected" : "" ?>>
Gibraltar
</option>
<option value="GR" <?= isset($data['country']) && $data['country'] === "GR" ? "selected" : "" ?>>
Greece
</option>
<option value="GL" <?= isset($data['country']) && $data['country'] === "GL" ? "selected" : "" ?>>
Greenland
</option>
<option value="GD" <?= isset($data['country']) && $data['country'] === "GD" ? "selected" : "" ?>>
Grenada
</option>
<option value="GP" <?= isset($data['country']) && $data['country'] === "GP" ? "selected" : "" ?>>
Guadeloupe
</option>
<option value="GU" <?= isset($data['country']) && $data['country'] === "GU" ? "selected" : "" ?>>
Guam
</option>
<option value="GT" <?= isset($data['country']) && $data['country'] === "GT" ? "selected" : "" ?>>
Guatemala
</option>
<option value="GG" <?= isset($data['country']) && $data['country'] === "GG" ? "selected" : "" ?>>
Guernsey
</option>
<option value="GN" <?= isset($data['country']) && $data['country'] === "GN" ? "selected" : "" ?>>
Guinea
</option>
<option value="GW" <?= isset($data['country']) && $data['country'] === "GW" ? "selected" : "" ?>>
Guinea-Bissau
</option>
<option value="GY" <?= isset($data['country']) && $data['country'] === "GY" ? "selected" : "" ?>>
Guyana
</option>
<option value="HT" <?= isset($data['country']) && $data['country'] === "HT" ? "selected" : "" ?>>
Haiti
</option>
<option value="HM" <?= isset($data['country']) && $data['country'] === "HM" ? "selected" : "" ?>>
Heard Island and McDonald Islands
</option>
<option value="VA" <?= isset($data['country']) && $data['country'] === "VA" ? "selected" : "" ?>>
Holy See (Vatican City State)
</option>
<option value="HN" <?= isset($data['country']) && $data['country'] === "HN" ? "selected" : "" ?>>
Honduras
</option>
<option value="HK" <?= isset($data['country']) && $data['country'] === "HK" ? "selected" : "" ?>>
Hong Kong
</option>
<option value="HU" <?= isset($data['country']) && $data['country'] === "HU" ? "selected" : "" ?>>
Hungary
</option>
<option value="IS" <?= isset($data['country']) && $data['country'] === "IS" ? "selected" : "" ?>>
Iceland
</option>
<option value="IN" <?= isset($data['country']) && $data['country'] === "IN" ? "selected" : "" ?>>
India
</option>
<option value="ID" <?= isset($data['country']) && $data['country'] === "ID" ? "selected" : "" ?>>
Indonesia
</option>
<option value="IR" <?= isset($data['country']) && $data['country'] === "IR" ? "selected" : "" ?>>
Iran, Islamic Republic of
</option>
<option value="IQ" <?= isset($data['country']) && $data['country'] === "IQ" ? "selected" : "" ?>>
Iraq
</option>
<option value="IE" <?= isset($data['country']) && $data['country'] === "IE" ? "selected" : "" ?>>
Ireland
</option>
<option value="IM" <?= isset($data['country']) && $data['country'] === "IM" ? "selected" : "" ?>>
Isle of Man
</option>
<option value="IL" <?= isset($data['country']) && $data['country'] === "IL" ? "selected" : "" ?>>
Israel
</option>
<option value="IT" <?= isset($data['country']) && $data['country'] === "IT" ? "selected" : "" ?>>
Italy
</option>
<option value="JM" <?= isset($data['country']) && $data['country'] === "JM" ? "selected" : "" ?>>
Jamaica
</option>
<option value="JP" <?= isset($data['country']) && $data['country'] === "JP" ? "selected" : "" ?>>
Japan
</option>
<option value="JE" <?= isset($data['country']) && $data['country'] === "JE" ? "selected" : "" ?>>
Jersey
</option>
<option value="JO" <?= isset($data['country']) && $data['country'] === "JO" ? "selected" : "" ?>>
Jordan
</option>
<option value="KZ" <?= isset($data['country']) && $data['country'] === "KZ" ? "selected" : "" ?>>
Kazakhstan
</option>
<option value="KE" <?= isset($data['country']) && $data['country'] === "KE" ? "selected" : "" ?>>
Kenya
</option>
<option value="KI" <?= isset($data['country']) && $data['country'] === "KI" ? "selected" : "" ?>>
Kiribati
</option>
<option value="KP" <?= isset($data['country']) && $data['country'] === "KP" ? "selected" : "" ?>>
Korea, Democratic People's Republic of
</option>
<option value="KR" <?= isset($data['country']) && $data['country'] === "KR" ? "selected" : "" ?>>
Korea, Republic of
</option>
<option value="KW" <?= isset($data['country']) && $data['country'] === "KW" ? "selected" : "" ?>>
Kuwait
</option>
<option value="KG" <?= isset($data['country']) && $data['country'] === "KG" ? "selected" : "" ?>>
Kyrgyzstan
</option>
<option value="LA" <?= isset($data['country']) && $data['country'] === "LA" ? "selected" : "" ?>>
Lao People's Democratic Republic
</option>
<option value="LV" <?= isset($data['country']) && $data['country'] === "LV" ? "selected" : "" ?>>
Latvia
</option>
<option value="LB" <?= isset($data['country']) && $data['country'] === "LB" ? "selected" : "" ?>>
Lebanon
</option>
<option value="LS" <?= isset($data['country']) && $data['country'] === "LS" ? "selected" : "" ?>>
Lesotho
</option>
<option value="LR" <?= isset($data['country']) && $data['country'] === "LR" ? "selected" : "" ?>>
Liberia
</option>
<option value="LY" <?= isset($data['country']) && $data['country'] === "LY" ? "selected" : "" ?>>
Libya
</option>
<option value="LI" <?= isset($data['country']) && $data['country'] === "LI" ? "selected" : "" ?>>
Liechtenstein
</option>
<option value="LT" <?= isset($data['country']) && $data['country'] === "LT" ? "selected" : "" ?>>
Lithuania
</option>
<option value="LU" <?= isset($data['country']) && $data['country'] === "LU" ? "selected" : "" ?>>
Luxembourg
</option>
<option value="MO" <?= isset($data['country']) && $data['country'] === "MO" ? "selected" : "" ?>>
Macao
</option>
<option value="MK" <?= isset($data['country']) && $data['country'] === "MK" ? "selected" : "" ?>>
Macedonia, the former Yugoslav Republic of
</option>
<option value="MG" <?= isset($data['country']) && $data['country'] === "MG" ? "selected" : "" ?>>
Madagascar
</option>
<option value="MW" <?= isset($data['country']) && $data['country'] === "MW" ? "selected" : "" ?>>
Malawi
</option>
<option value="MY" <?= isset($data['country']) && $data['country'] === "MY" ? "selected" : "" ?>>
Malaysia
</option>
<option value="MV" <?= isset($data['country']) && $data['country'] === "MV" ? "selected" : "" ?>>
Maldives
</option>
<option value="ML" <?= isset($data['country']) && $data['country'] === "ML" ? "selected" : "" ?>>
Mali
</option>
<option value="MT" <?= isset($data['country']) && $data['country'] === "MT" ? "selected" : "" ?>>
Malta
</option>
<option value="MH" <?= isset($data['country']) && $data['country'] === "MH" ? "selected" : "" ?>>
Marshall Islands
</option>
<option value="MQ" <?= isset($data['country']) && $data['country'] === "MQ" ? "selected" : "" ?>>
Martinique
</option>
<option value="MR" <?= isset($data['country']) && $data['country'] === "MR" ? "selected" : "" ?>>
Mauritania
</option>
<option value="MU" <?= isset($data['country']) && $data['country'] === "MU" ? "selected" : "" ?>>
Mauritius
</option>
<option value="YT" <?= isset($data['country']) && $data['country'] === "YT" ? "selected" : "" ?>>
Mayotte
</option>
<option value="MX" <?= isset($data['country']) && $data['country'] === "MX" ? "selected" : "" ?>>
Mexico
</option>
<option value="FM" <?= isset($data['country']) && $data['country'] === "FM" ? "selected" : "" ?>>
Micronesia, Federated States of
</option>
<option value="MD" <?= isset($data['country']) && $data['country'] === "MD" ? "selected" : "" ?>>
Moldova, Republic of
</option>
<option value="MC" <?= isset($data['country']) && $data['country'] === "MC" ? "selected" : "" ?>>
Monaco
</option>
<option value="MN" <?= isset($data['country']) && $data['country'] === "MN" ? "selected" : "" ?>>
Mongolia
</option>
<option value="ME" <?= isset($data['country']) && $data['country'] === "ME" ? "selected" : "" ?>>
Montenegro
</option>
<option value="MS" <?= isset($data['country']) && $data['country'] === "MS" ? "selected" : "" ?>>
Montserrat
</option>
<option value="MA" <?= isset($data['country']) && $data['country'] === "MA" ? "selected" : "" ?>>
Morocco
</option>
<option value="MZ" <?= isset($data['country']) && $data['country'] === "MZ" ? "selected" : "" ?>>
Mozambique
</option>
<option value="MM" <?= isset($data['country']) && $data['country'] === "MM" ? "selected" : "" ?>>
Myanmar
</option>
<option value="NA" <?= isset($data['country']) && $data['country'] === "NA" ? "selected" : "" ?>>
Namibia
</option>
<option value="NR" <?= isset($data['country']) && $data['country'] === "NR" ? "selected" : "" ?>>
Nauru
</option>
<option value="NP" <?= isset($data['country']) && $data['country'] === "NP" ? "selected" : "" ?>>
Nepal
</option>
<option value="NL" <?= isset($data['country']) && $data['country'] === "NL" ? "selected" : "" ?>>
Netherlands
</option>
<option value="NC" <?= isset($data['country']) && $data['country'] === "NC" ? "selected" : "" ?>>
New Caledonia
</option>
<option value="NZ" <?= isset($data['country']) && $data['country'] === "NZ" ? "selected" : "" ?>>
New Zealand
</option>
<option value="NI" <?= isset($data['country']) && $data['country'] === "NI" ? "selected" : "" ?>>
Nicaragua
</option>
<option value="NE" <?= isset($data['country']) && $data['country'] === "NE" ? "selected" : "" ?>>
Niger
</option>
<option value="NG" <?= isset($data['country']) && $data['country'] === "NG" ? "selected" : "" ?>>
Nigeria
</option>
<option value="NU" <?= isset($data['country']) && $data['country'] === "NU" ? "selected" : "" ?>>
Niue
</option>
<option value="NF" <?= isset($data['country']) && $data['country'] === "NF" ? "selected" : "" ?>>
Norfolk Island
</option>
<option value="MP" <?= isset($data['country']) && $data['country'] === "MP" ? "selected" : "" ?>>
Northern Mariana Islands
</option>
<option value="NO" <?= isset($data['country']) && $data['country'] === "NO" ? "selected" : "" ?>>
Norway
</option>
<option value="OM" <?= isset($data['country']) && $data['country'] === "OM" ? "selected" : "" ?>>
Oman
</option>
<option value="PK" <?= isset($data['country']) && $data['country'] === "PK" ? "selected" : "" ?>>
Pakistan
</option>
<option value="PW" <?= isset($data['country']) && $data['country'] === "PW" ? "selected" : "" ?>>
Palau
</option>
<option value="PS" <?= isset($data['country']) && $data['country'] === "PS" ? "selected" : "" ?>>
Palestinian Territory, Occupied
</option>
<option value="PA" <?= isset($data['country']) && $data['country'] === "PA" ? "selected" : "" ?>>
Panama
</option>
<option value="PG" <?= isset($data['country']) && $data['country'] === "PG" ? "selected" : "" ?>>
Papua New Guinea
</option>
<option value="PY" <?= isset($data['country']) && $data['country'] === "PY" ? "selected" : "" ?>>
Paraguay
</option>
<option value="PE" <?= isset($data['country']) && $data['country'] === "PE" ? "selected" : "" ?>>
Peru
</option>
<option value="PH" <?= isset($data['country']) && $data['country'] === "PH" ? "selected" : "" ?>>
Philippines
</option>
<option value="PN" <?= isset($data['country']) && $data['country'] === "PN" ? "selected" : "" ?>>
Pitcairn
</option>
<option value="PL" <?= isset($data['country']) && $data['country'] === "PL" ? "selected" : "" ?>>
Poland
</option>
<option value="PT" <?= isset($data['country']) && $data['country'] === "PT" ? "selected" : "" ?>>
Portugal
</option>
<option value="PR" <?= isset($data['country']) && $data['country'] === "PR" ? "selected" : "" ?>>
Puerto Rico
</option>
<option value="QA" <?= isset($data['country']) && $data['country'] === "QA" ? "selected" : "" ?>>
Qatar
</option>
<option value="RE" <?= isset($data['country']) && $data['country'] === "RE" ? "selected" : "" ?>>
Réunion
</option>
<option value="RO" <?= isset($data['country']) && $data['country'] === "RO" ? "selected" : "" ?>>
Romania
</option>
<option value="RU" <?= isset($data['country']) && $data['country'] === "RU" ? "selected" : "" ?>>
Russian Federation
</option>
<option value="RW" <?= isset($data['country']) && $data['country'] === "RW" ? "selected" : "" ?>>
Rwanda
</option>
<option value="BL" <?= isset($data['country']) && $data['country'] === "BL" ? "selected" : "" ?>>
Saint Barthélemy
</option>
<option value="SH" <?= isset($data['country']) && $data['country'] === "SH" ? "selected" : "" ?>>
Saint Helena, Ascension and Tristan da Cunha
</option>
<option value="KN" <?= isset($data['country']) && $data['country'] === "KN" ? "selected" : "" ?>>
Saint Kitts and Nevis
</option>
<option value="LC" <?= isset($data['country']) && $data['country'] === "LC" ? "selected" : "" ?>>
Saint Lucia
</option>
<option value="MF" <?= isset($data['country']) && $data['country'] === "MF" ? "selected" : "" ?>>
Saint Martin (French part)
</option>
<option value="PM" <?= isset($data['country']) && $data['country'] === "PM" ? "selected" : "" ?>>
Saint Pierre and Miquelon
</option>
<option value="VC" <?= isset($data['country']) && $data['country'] === "VC" ? "selected" : "" ?>>
Saint Vincent and the Grenadines
</option>
<option value="WS" <?= isset($data['country']) && $data['country'] === "WS" ? "selected" : "" ?>>
Samoa
</option>
<option value="SM" <?= isset($data['country']) && $data['country'] === "SM" ? "selected" : "" ?>>
San Marino
</option>
<option value="ST" <?= isset($data['country']) && $data['country'] === "ST" ? "selected" : "" ?>>
Sao Tome and Principe
</option>
<option value="SA" <?= isset($data['country']) && $data['country'] === "SA" ? "selected" : "" ?>>
Saudi Arabia
</option>
<option value="SN" <?= isset($data['country']) && $data['country'] === "SN" ? "selected" : "" ?>>
Senegal
</option>
<option value="RS" <?= isset($data['country']) && $data['country'] === "RS" ? "selected" : "" ?>>
Serbia
</option>
<option value="SC" <?= isset($data['country']) && $data['country'] === "SC" ? "selected" : "" ?>>
Seychelles
</option>
<option value="SL" <?= isset($data['country']) && $data['country'] === "SL" ? "selected" : "" ?>>
Sierra Leone
</option>
<option value="SG" <?= isset($data['country']) && $data['country'] === "SG" ? "selected" : "" ?>>
Singapore
</option>
<option value="SX" <?= isset($data['country']) && $data['country'] === "SX" ? "selected" : "" ?>>
Sint Maarten (Dutch part)
</option>
<option value="SK" <?= isset($data['country']) && $data['country'] === "SK" ? "selected" : "" ?>>
Slovakia
</option>
<option value="SI" <?= isset($data['country']) && $data['country'] === "SI" ? "selected" : "" ?>>
Slovenia
</option>
<option value="SB" <?= isset($data['country']) && $data['country'] === "SB" ? "selected" : "" ?>>
Solomon Islands
</option>
<option value="SO" <?= isset($data['country']) && $data['country'] === "SO" ? "selected" : "" ?>>
Somalia
</option>
<option value="ZA" <?= isset($data['country']) && $data['country'] === "ZA" ? "selected" : "" ?>>
South Africa
</option>
<option value="GS" <?= isset($data['country']) && $data['country'] === "GS" ? "selected" : "" ?>>
South Georgia and the South Sandwich Islands
</option>
<option value="SS" <?= isset($data['country']) && $data['country'] === "SS" ? "selected" : "" ?>>
South Sudan
</option>
<option value="ES" <?= isset($data['country']) && $data['country'] === "ES" ? "selected" : "" ?>>
Spain
</option>
<option value="LK" <?= isset($data['country']) && $data['country'] === "LK" ? "selected" : "" ?>>
Sri Lanka
</option>
<option value="SD" <?= isset($data['country']) && $data['country'] === "SD" ? "selected" : "" ?>>
Sudan
</option>
<option value="SR" <?= isset($data['country']) && $data['country'] === "SR" ? "selected" : "" ?>>
Suriname
</option>
<option value="SJ" <?= isset($data['country']) && $data['country'] === "SJ" ? "selected" : "" ?>>
Svalbard and Jan Mayen
</option>
<option value="SZ" <?= isset($data['country']) && $data['country'] === "SZ" ? "selected" : "" ?>>
Swaziland
</option>
<option value="SE" <?= isset($data['country']) && $data['country'] === "SE" ? "selected" : "" ?>>
Sweden
</option>
<option value="CH" <?= isset($data['country']) && $data['country'] === "CH" ? "selected" : "" ?>>
Switzerland
</option>
<option value="SY" <?= isset($data['country']) && $data['country'] === "SY" ? "selected" : "" ?>>
Syrian Arab Republic
</option>
<option value="TW" <?= isset($data['country']) && $data['country'] === "TW" ? "selected" : "" ?>>
Taiwan, Province of China
</option>
<option value="TJ" <?= isset($data['country']) && $data['country'] === "TJ" ? "selected" : "" ?>>
Tajikistan
</option>
<option value="TZ" <?= isset($data['country']) && $data['country'] === "TZ" ? "selected" : "" ?>>
Tanzania, United Republic of
</option>
<option value="TH" <?= isset($data['country']) && $data['country'] === "TH" ? "selected" : "" ?>>
Thailand
</option>
<option value="TL" <?= isset($data['country']) && $data['country'] === "TL" ? "selected" : "" ?>>
Timor-Leste
</option>
<option value="TG" <?= isset($data['country']) && $data['country'] === "TG" ? "selected" : "" ?>>
Togo
</option>
<option value="TK" <?= isset($data['country']) && $data['country'] === "TK" ? "selected" : "" ?>>
Tokelau
</option>
<option value="TO" <?= isset($data['country']) && $data['country'] === "TO" ? "selected" : "" ?>>
Tonga
</option>
<option value="TT" <?= isset($data['country']) && $data['country'] === "TT" ? "selected" : "" ?>>
Trinidad and Tobago
</option>
<option value="TN" <?= isset($data['country']) && $data['country'] === "TN" ? "selected" : "" ?>>
Tunisia
</option>
<option value="TR" <?= isset($data['country']) && $data['country'] === "TR" ? "selected" : "" ?>>
Turkey
</option>
<option value="TM" <?= isset($data['country']) && $data['country'] === "TM" ? "selected" : "" ?>>
Turkmenistan
</option>
<option value="TC" <?= isset($data['country']) && $data['country'] === "TC" ? "selected" : "" ?>>
Turks and Caicos Islands
</option>
<option value="TV" <?= isset($data['country']) && $data['country'] === "TV" ? "selected" : "" ?>>
Tuvalu
</option>
<option value="UG" <?= isset($data['country']) && $data['country'] === "UG" ? "selected" : "" ?>>
Uganda
</option>
<option value="UA" <?= isset($data['country']) && $data['country'] === "UA" ? "selected" : "" ?>>
Ukraine
</option>
<option value="AE" <?= isset($data['country']) && $data['country'] === "AE" ? "selected" : "" ?>>
United Arab Emirates
</option>
<option value="GB" <?= isset($data['country']) && $data['country'] === "GB" ? "selected" : "" ?>>
United Kingdom
</option>
<option value="US" <?= isset($data['country']) && $data['country'] === "US" ? "selected" : "" ?>>
United States
</option>
<option value="UM" <?= isset($data['country']) && $data['country'] === "UM" ? "selected" : "" ?>>
United States Minor Outlying Islands
</option>
<option value="UY" <?= isset($data['country']) && $data['country'] === "UY" ? "selected" : "" ?>>
Uruguay
</option>
<option value="UZ" <?= isset($data['country']) && $data['country'] === "UZ" ? "selected" : "" ?>>
Uzbekistan
</option>
<option value="VU" <?= isset($data['country']) && $data['country'] === "VU" ? "selected" : "" ?>>
Vanuatu
</option>
<option value="VE" <?= isset($data['country']) && $data['country'] === "VE" ? "selected" : "" ?>>
Venezuela, Bolivarian Republic of
</option>
<option value="VN" <?= isset($data['country']) && $data['country'] === "VN" ? "selected" : "" ?>>
Viet Nam
</option>
<option value="VG" <?= isset($data['country']) && $data['country'] === "VG" ? "selected" : "" ?>>
Virgin Islands, British
</option>
<option value="VI" <?= isset($data['country']) && $data['country'] === "VI" ? "selected" : "" ?>>
Virgin Islands, U.S.
</option>
<option value="WF" <?= isset($data['country']) && $data['country'] === "WF" ? "selected" : "" ?>>
Wallis and Futuna
</option>
<option value="EH" <?= isset($data['country']) && $data['country'] === "EH" ? "selected" : "" ?>>
Western Sahara
</option>
<option value="YE" <?= isset($data['country']) && $data['country'] === "YE" ? "selected" : "" ?>>
Yemen
</option>
<option value="ZM" <?= isset($data['country']) && $data['country'] === "ZM" ? "selected" : "" ?>>
Zambia
</option>
<option value="ZW" <?= isset($data['country']) && $data['country'] === "ZW" ? "selected" : "" ?>>
Zimbabwe
</option>
</select>
<span id="countryHelp" class="help-block">Sollte der Fall auftreten, dass viele Nutzer in einem bestimmten Land leben, welches noch keine gute Anbindung an unsere Server hat, würden wir dies schnellstmöchglich versuchen zu ändern.</span>
</div>
<!-- Bio -->
<div class="form-group">
<label for="biography">Profilbeschreibung/Biographie</label>
<textarea class="form-control" name="biography" id="biography">
<?= isset($data['about']) ? $data['about'] : "" ?>
</textarea>
</div>
<!-- Avatar -->
<div class="form-group">
<label for="avatar">Avatar</label>
<?php if (isset($data['profile_picture']) || $data['profile_picture'] != ""): ?>
<img class="img-fluid img-thumbnail picture-preview d-block"
src="<?= $data['profile_picture'] ?>">
<?php endif; ?>
<input type="file" name="avatar" id="avatar">
</div>
<!-- Header -->
<div class="form-group">
<label for="header">Header</label>
<?php if (isset($data['header_image']) || $data['header_image'] != ""): ?>
<img class="img-fluid img-thumbnail picture-preview d-block"
src="<?= $data['header_image'] ?>">
<?php endif; ?>
<input type="file" name="header" id="header">
</div>
<!-- Social Networks -->
<div class="form-group"></div>
<!-- Color -->
<div class="form-group">
<label for="color">Persönliche Farbe</label>
<div id="color"></div>
</div>
<input type="submit" class="btn btn-primary" value="Speichern">
</form>
</div>
<div class="tab-pane fade" id="email" role="tabpanel" aria-labelledby="email-pill">
<form method="post">
<div class="form-group">
<label for="email">E-Mail-Adresse</label>
<input type="email" class="form-control" name="email" id="email"
value="<?= isset($data['email']) ? $data['email'] : "" ?>">
</div>
<div class="form-group">
<label for="email-password">Passwort zur Bestätigung der E-Mail-Adresse</label>
<input type="password" class="form-control" name="email-password" id="email-password"
placeholder="Bitte gebe dein derzeitiges Passwort ein">
</div>
<input type="submit" class="btn btn-primary" value="Speichern">
</form>
</div>
<div class="tab-pane fade" id="messages" role="tabpanel" aria-labelledby="messages-pill">
<form method="post">
<div class="form-group">
<input type="checkbox" value="true"
rel="email-notifications" id="email-notifications" <?= isset($data['receiveEmails']) && $data['receiveEmails'] ? "checked" : "" ?>>
<label for="email-notifications">E-Mail Benachrichtigungen</label>
</div>
<div class="form-group">
<input type="checkbox" value="true"
rel="newsletter" id="newsletter" <?= isset($data['receiveNewsletter']) && $data['receiveNewsletter'] ? "checked" : "" ?>>
<label for="newsletter">Newsletter</label>
</div>
<input type="submit" class="btn btn-primary" value="Speichern">
</form>
</div>
<div class="tab-pane fade" id="password" role="tabpanel" aria-labelledby="password-pill">
<form method="post">
<div class="form-group">
<label for="passwordOld">Altes Passwort</label>
<input type="password" class="form-control" name="passwordOld" id="passwordOld">
</div>
<div class="form-group">
<label for="passwordNew">Neues Passwort</label>
<input type="password" class="form-control" name="passwordNew" id="passwordNew">
</div>
<div class="form-group">
<label for="passwordNewRepeat">Neues Passwort wiederholen</label>
<input type="password" class="form-control" name="passwordNewRepeat" id="passwordNewRepeat">
</div>
<input type="submit" class="btn btn-primary" value="Speichern">
</form>
</div>
<div class="tab-pane fade" id="premium" role="tabpanel" aria-labelledby="premium-pill">
<form method="post">
<?php if (get_instance()->hasPermission('user.disableAds')): ?>
<div class="form-group">
<input type="checkbox" name="showAds" id="showAds" value="true"
aria-describedby="adsThankYou" <?= isset($data['showAds']) && $data['showAds'] ? "checked" : "" ?>>
<label for="showAds">Werbung anzeigen und uns unterstützen</label>
<small class="form-text text-muted" id="adsThankYou">Danke für deine bisherige Unterstützung durch Spenden. Solltest du dennoch weiterhin uns unterstützen wollen, kannst du freiwilligerweise Werbeanzeigen aktivieren. Wie immer gilt unser Motto: höchstens eine Anzeige pro Seite!</small>
</div>
<?php else: ?>
<p class="text-warning">Um diese Einstellungen zu sehen und zu verändern, musst du
entweder ein Team-Mitglied, ein Plus-Nutzer oder ein Premium-Nutzer sein.</p>
<p>Premium-Nutzer kannst du werden, indem du einen beliebigen Betrag auf der
<a
href="<?= base_url('donate') ?>">Spenden-Seite
</a>
hinterlässt. So
unterstützt du zum einen diese Webseite und sorgst für ein Weiterleben dieses
Services und gleichzeitig erhälst du die Möglichkeit, den Dienst ohne Werbung zu
erleben.
</p>
<p>Plus-Nutzer oder Team-Mitglied kannst du nur auf persönliche Einladung eines
hochrangigen Team-Mitgliedes werden. Der Plus-Rang wird beispielsweise an
YouTuber,
bekannte Persönlichkeiten, sehr aktive Nutzer, sehr großzügige Spender, aktive
Abonnenten des Kanals
<a href="https://youtube.com/KingOfDog" target="_blank">KingOfDog</a>
oder Freunde und Bekannte vergeben.
</p>
<p>Es gilt jedoch eine Regel: <b>Bitte. Nicht. Nach. Einem. Rang. Betteln.</b> Durch
eine solche Aktivität verfliegt eure Chance auf einen Rang.</p>
<?php endif; ?>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<style>
.nav-pills .nav-link {
position: relative;
transition: color .2s, background-color .2s;
}
.nav-pills .nav-link:after {
content: '';
position: absolute;
left: 100%;
top: 50%;
margin-top: -13px;
border-left: 0;
border-bottom: 13px solid transparent;
border-top: 13px solid transparent;
border-left: 10px solid transparent;
transition: border-left-color .2s;
}
.nav-pills .nav-link:not(.active):hover,
.nav-pills .nav-link:not(.active):focus {
color: #2272ff !important;
}
.nav-pills .nav-link.active {
color: #fff !important;
background-color: #2272ff;
}
.nav-pills .nav-link.active:after {
border-left-color: #2272ff;
}
#profile-content-container {
min-height: 375px;
}
.picture-preview {
max-height: 100px;
margin-bottom: 10px;
}
.error-message {
display: none;
color: #F72754;
}
.error-message.active {
display: block;
}
</style>