diff --git a/Shota_pirtskhalava/display.php b/Shota_pirtskhalava/display.php new file mode 100644 index 0000000..47fb963 --- /dev/null +++ b/Shota_pirtskhalava/display.php @@ -0,0 +1,71 @@ + "image/jpg", + "jpeg" => "image/jpeg", + "gif" => "image/gif", + "png" => "image/png"); + $profile_image_url = NULL; + $ext = pathinfo($porfile_image, PATHINFO_EXTENSION); + if (!array_key_exists($ext, $allowed_ext)) { + $errorFile="please use JPG PNG JPEG GIF PNG"; + } + if(in_array($_FILES["profileimage"]["type"], $allowed_ext)) { + if(!file_exists($target_dir)) { + mkdir($target_dir); + } + if(move_uploaded_file($_FILES["profileimage"]["tmp_name"], $target_dir . $porfile_image) ){ + $profile_image_url = $target_dir.$porfile_image; + } + } + } + +} + + + + + + + + + + +?> + + + + + diff --git a/Shota_pirtskhalava/index.php b/Shota_pirtskhalava/index.php new file mode 100644 index 0000000..09dbb4a --- /dev/null +++ b/Shota_pirtskhalava/index.php @@ -0,0 +1,63 @@ + + + + + Document + + + + + + + +
+ + +
+ + + +
+ + + + + + + + + + + +
+ + + + + + + + + + +
+ "> + +
+ + + + + + + \ No newline at end of file diff --git a/Shota_pirtskhalava/style.css b/Shota_pirtskhalava/style.css new file mode 100644 index 0000000..ea9c113 --- /dev/null +++ b/Shota_pirtskhalava/style.css @@ -0,0 +1,59 @@ +body { background:rgb(30,30,40); } +form { max-width:420px; margin:50px auto; } + +.feedback-input { + color:MediumTurquoise; + font-weight:500; + font-size: 18px; + border-radius: 5px; + line-height: 22px; + background-color: transparent; + border:2px solid aquamarine; + padding: 13px; + margin-bottom: 15px; + width:100%; + box-sizing: border-box; + outline:0; +} + +[type="submit"] { + + width: 100%; + background: yellow; + border-radius:5px; + border:0; + color:black; + font-size:24px; + padding-top:10px; + padding-bottom:10px; + margin-top:-4px; + font-weight:700; +} +[type="submit"]:hover { background:#218161; +} + +.list { + list-style-type: none; + font-family: Arial; + color: rgb(209, 8, 8); + text-align: center; + font-size:xx-large; + + + + +} + + + + +img { + width: 500px;; + display: block; + margin-left: auto; + margin-right: auto; + height: 10%; + border-radius: 10px; + + +} \ No newline at end of file diff --git a/Shota_pirtskhalava/uploads/Paolo.jpg b/Shota_pirtskhalava/uploads/Paolo.jpg new file mode 100644 index 0000000..afd1a59 Binary files /dev/null and b/Shota_pirtskhalava/uploads/Paolo.jpg differ