<?php

include_once "../../../vendor/autoload.php";
use App\Bitm\SEIP118719\Book_Title\Book_Title;
$book_obj = new Book_Title();
$book_objs = $book_obj->index();
?>



<!DOCTYPE html>
<!--
If you want you can open this template any browser. There is no any cross-browser problem.
Author:Suraiya Aysha(Asa)-SEIP118719
-->
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>List of Book Title</title>
        
        <!--All Font Link Start-->
        <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,800italic,800,700,700italic,600italic,600,400italic,300,300italic' rel='stylesheet' type='text/css'>
        <link href='https://fonts.googleapis.com/css?family=Raleway:400,300,500,600,700,800,900' rel='stylesheet' type='text/css'>
         <!--All Font Link End-->
         
         <!--All CSS Style Link Start-->
         <link href="../../../resource/css/font-awesome.min.css" rel="stylesheet">
         <link rel="stylesheet" href="../../../resource/css/bootstrap.min.css">
         <link rel="stylesheet" href="../../../resource/style.css">
        <!--All CSS Style Link End-->
<?php

include_once "../../../vendor/autoload.php";
//using relative path
//include_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'AtomicProject'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php'); //using absolute path
use App\Bitm\SEIP118719\Book_Title\Book_Title;
use App\BITM\SEIP118719\Utility\Utility;
use App\BITM\SEIP118719\Mobile\Model;
$book = new Book_Title($_POST['title']);
$message = $book->store($book);
echo $message;
//Utility::redirect();
<?php

include_once "../../../vendor/autoload.php";
//using relative path
//include_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'AtomicProject'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php'); //using absolute path
use App\Bitm\SEIP118719\Book_Title\Book_Title;
$book_obj = new Book_Title($_POST);
$book_obj->store();