PHP Classes

File: add-photo.php

Recommend this page to a friend!
  Classes of Ann   Purp Project   add-photo.php   Download  
File: add-photo.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Purp Project
Application to manage photo albums
Author: By
Last change: Update of add-photo.php
Date: 1 year ago
Size: 3,459 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" rel="stylesheet">
    <link href="styles/add-photo.css" rel="stylesheet" type="text/css" />
   
    <link href="styles/croppie.css" rel="stylesheet" />
    <link href="styles/style.css" rel="stylesheet" />
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
      rel="stylesheet">
      <link href="styles/tags.css"
      rel="stylesheet">
</head>
<body>

<?php require_once 'header.php';

include
'php/menu.php';
include
'php/albums.php';
 
?>
<!-- <form action="php/addPhoto.php" method="POST"> -->
    <div class="photo_form">
        <div class="form-box">
                <di class="image-box">
                    <div id="upload-image"></div>
                </div>
                <div class="downForm">
                    <div class="file-input">
                        <input type="file" name="file" id="images" class="file">
                        <label class="add" id="tr" for="images">?????????</label>
                      </div>
                    <button class="buttonUp add">????????</button>
                </div>
        </div>
    </div>


    <div class="overlay"></div>
  <!-- <form action="php/addPhoto.php" method="POST" enctype="multipart/form-data" class="add-form"> -->
    <section class="photoRedactor">

 
        <div class="boxPhoto">
            <img class="photo" id="pic" />
        </div>

        <div class="param">

            <!-- <div>-->
            <label for="">????????</label>
            <textarea name="title"></textarea>
            <div class="selects">
                <div class="select">
                <label for="">?????????<br></label>
               
                <select name="cathegories" id="cats">
                    <?
                        getCats
();
                   
?>
</select>
                </div>
                <div class="select">
                <label for="">??????<br></label>
                <select name = "albums">
                    <?php
                        getSelect
();
                   
?>
</select>
                </div>
            </div>
            <!-- <label for="">????</label>
            <div class="container">
                <div class="tag-container">
                    <input/>
                </div>
            </div> -->
            <!-- </div> -->
           
            <input name="AddPhoto" class="buttonR" type="button" value="????????"/>

        </div>
        </div>
 
    </section>
 <!-- </form> -->

    <script src="js/jquery-3.5.1.js"></script>
    <script src="js/add-photo.js"></script>
    <!-- <script src="js/tags.js"></script> -->
   
    <script src="js/croppie.js"></script>
   

</body>
</html>