<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Home</title> <link rel="stylesheet" type="text/css" href="../public/myStyle.css"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> </head> <body> <?php error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); session_start(); include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; use src\bitm\SEIP107992\message\message; $mobile = new mobile(); $mobiles = $mobile->index(); ?> <div class="container"> <div class="row"> <div class="com-sm-12"> <div class="jumbotron header"> <h3>Mobile List</h3> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-sm-6 col-sm-offset-3 add_item">
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>View</title> <link rel="stylesheet" type="text/css" href="../public/myStyle.css"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> </head> <body> <?php error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; $id = $_GET['var']; $mobile = new mobile(); $mobiles = $mobile->view($id); ?> <div class="container"> <div class="row"> <div class="com-sm-12"> <div class="jumbotron header"> <h3>Full View</h3> </div> </div> </div> <div class="row"> <div class="col-sm-6 col-sm-offset-3 bookview"> <?php //var_dump($mobiles)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Delete</title> </head> <body> <?php include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; $mobile = new mobile(); $mobile->delete(); ?> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Store</title> </head> <body> <?php session_start(); include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; $mobile = new mobile(); $mobile->store($_REQUEST); ?> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Update</title> </head> <body> <?php include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; $mobile = new mobile(); $mobile->update($_REQUEST['serial'], $_REQUEST['m_name']); ?> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Edit</title> <link rel="stylesheet" type="text/css" href="public/myStyle.css"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> </head> <body> <?php error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); include_once "../../../" . "vendor/autoload.php"; use src\bitm\SEIP107992\mobile\mobile; $mb_id = $_GET['var']; $mobile = new mobile(); $mobileUpdate = $mobile->view($mb_id); ?> <div class="container"> <div class="row"> <div class="com-sm-12"> <div class="jumbotron header"> <h3>Mobile Name Update</h3> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-sm-6 col-sm-offset-3">