Exemple #1
0
<?php

session_start();
include_once $_SERVER["DOCUMENT_ROOT"] . DIRECTORY_SEPARATOR . "AtomicProject" . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
use App\BITM\SEIP108347\Gender\Gender;
use App\BITM\SEIP108347\Utility\Utility;
use App\BITM\SEIP108347\Message\Message;
$obj = new Gender();
$b = $obj->show($_GET['id']);
//Utility::dd($b);
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <link href="../../../Resource/bootstrap-3.3.6-dist/css/bootstrap.min.css" rel="stylesheet">
    </head>
    <body>
        <div class="col-md-3"></div>
        <div class="col-md-6">
            <table class="table table-bordered table-hover table-responsive table-striped text-center">
                <tr>
                    <th class="text-center">ID</th>
                    <th class="text-center">Gender</th>
                </tr>
Exemple #2
0
<?php

session_start();
include_once $_SERVER["DOCUMENT_ROOT"] . DIRECTORY_SEPARATOR . "AtomicProject" . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
use App\BITM\SEIP108347\Gender\Gender;
use App\BITM\SEIP108347\Utility\Utility;
use App\BITM\SEIP108347\Message\Message;
$obj = new Gender();
//Utility::dd($_REQUEST);
$obj->prepare($_REQUEST)->store();
//print_r($_POST);
Exemple #3
0
<?php

session_start();
include_once $_SERVER["DOCUMENT_ROOT"] . DIRECTORY_SEPARATOR . "AtomicProject" . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
use App\BITM\SEIP108347\Gender\Gender;
use App\BITM\SEIP108347\Utility\Utility;
use App\BITM\SEIP108347\Message\Message;
$obj = new Gender();
$b = $obj->edit($_REQUEST['id']);
//Utility::dd($b);
?>

<html>
    <head>
        <title>Edit Gender</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="../../../Resource/bootstrap-3.3.6-dist/css/bootstrap.min.css">
    </head>
    <body>
        <div class="row">
            <div class="col-md-4"></div>
            <div class="col-md-6">
                <h1>Edit Gender</h1>  
            </div>
            <div class="col-md-2"></div>
        </div>
        <div class="row">
            <div class="col-md-3"></div>
            <div class="col-md-4">
                <form role="form" action="update.php" method="post">
Exemple #4
0
<?php

session_start();
include_once $_SERVER["DOCUMENT_ROOT"] . DIRECTORY_SEPARATOR . "AtomicProject" . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
use App\BITM\SEIP108347\Gender\Gender;
use App\BITM\SEIP108347\Utility\Utility;
use App\BITM\SEIP108347\Message\Message;
$obj = new Gender();
//$obj=($_REQUEST);
//Utility::dd($obj);
$obj->delete($_REQUEST['id']);
//Utility::dd($_REQUEST['id']);
Exemple #5
0
<?php

session_start();
include_once $_SERVER["DOCUMENT_ROOT"] . DIRECTORY_SEPARATOR . "AtomicProject" . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
use App\BITM\SEIP108347\Gender\Gender;
use App\BITM\SEIP108347\Utility\Utility;
use App\BITM\SEIP108347\Message\Message;
$obj = new Gender();
//$obj=($_REQUEST);
//Utility::dd($obj);
$obj->prepare($_REQUEST)->update();