示例#1
0
<!DOCTYPE html>

<?php 
require_once '.././libs/csv-crud.php';
require_once '.././libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('.././data/city.csv', 'CityID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        foreach ($data as $value) {
            DeleteDataByKey('.././data/city.csv', 'CityID', $value);
        }
    }
}
$data = GetAllData('.././data/city.csv');
?>

<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">
  <meta name="author" content="mmt">

  <title>ANGEL</title>
  <link rel="stylesheet" href="../css/bootstrap.min.css"  />
示例#2
0
<!DOCTYPE html>
<?php 
require_once './libs/csv-crud.php';
require_once './libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('./data/country.csv', 'CountryID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        foreach ($data as $value) {
            DeleteDataByKey('./data/country.csv', 'CountryID', $value);
        }
    }
}
$data = GetAllData('./data/country.csv');
?>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <!-- The below 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="Kyaw Naing">

    <!-- Theme Matter -->
    <title>Tutorial</title>
示例#3
0
<!DOCTYPE html>
<?php 
require_once '.././libs/csv-crud.php';
require_once '.././libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('.././data/category.csv', 'CategoryID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        foreach ($data as $value) {
            DeleteDataByKey('.././data/category.csv', 'CategoryID', $value);
        }
    }
}
$data = GetAllData('.././data/category.csv');
?>

<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">
  <meta name="author" content="mmt">

  <title>ANGEL</title>
  <link rel="stylesheet" href="../css/bootstrap.min.css"  />
  <link rel="stylesheet" href="../css/font-awesome.min.css" />
示例#4
0
<!DOCTYPE html>

<?php 
require_once '.././libs/csv-crud.php';
require_once '.././libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('.././data/month.csv', 'MonthID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        foreach ($data as $value) {
            DeleteDataByKey('.././data/month.csv', 'MonthID', $value);
        }
    }
}
$data = GetAllData('.././data/month.csv');
?>

<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">
  <meta name="author" content="mmt">

  <title>ANGEL</title>
  <link rel="stylesheet" href="../css/bootstrap.min.css"  />
示例#5
0
require_once './libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('./data/brand.csv', 'BrandID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        //        echo '<pre>';
        //        print_r($data);
        //        echo '</pre>';
        //        die;
        foreach ($data as $value) {
            DeleteDataByKey('./data/brand.csv', 'BrandID', $value);
        }
    }
}
$data = GetAllData('./data/brand.csv');
?>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <!-- The below 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="Kyaw Naing">

    <!-- Theme Matter -->
    <title>Tutorial</title>
示例#6
0
<!DOCTYPE html>

<?php 
require_once '.././libs/csv-crud.php';
require_once '.././libs/breadcrumb.php';
$Id = $Name = $Action = '';
$data = array();
if (!empty($_POST)) {
    if ($_POST['hidDelete'] == 'single') {
        $Id = $_POST['hidCode'];
        DeleteDataByKey('.././data/location.csv', 'LocationID', $Id);
    }
    if ($_POST['hidDelete'] == 'multi') {
        $data = $_POST['delCheck'];
        foreach ($data as $value) {
            DeleteDataByKey('.././data/location.csv', 'LocationID', $value);
        }
    }
}
$data = GetAllData('.././data/location.csv');
?>

<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">
  <meta name="author" content="mmt">

  <title>ANGEL</title>
  <link rel="stylesheet" href="../css/bootstrap.min.css"  />