<?php
session_start();
/*if (!isset($_SESSION['myusername'])) {
header("Location: checkstud.php");
} */
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<title> biblioteca </title>
<script type="text/javascript" src="jquery.js"> </script>
<meta charset="UTF-8">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<script>
function invia()
{
$.ajax({
url:"http://itisdeveloper.altervista.org/BibliotecaScuola/visualizza.php",
data: {
button: button.value
} ,
success: function( response ) {
$( "#risposta" ).html( response );
}
});
}
function prenota (ISBN) {
$.ajax({
url:"http://itisdeveloper.altervista.org/BibliotecaScuola/prenota.php",
data: {
ISBN: ISBN
} ,
success: function( response ) {
$( "#risposta" ).html( response );
}
});
}
</script>
<style>
#sfondo {
background: url(libri.jpg) no-repeat 5%;
color: white;
}
</style>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" type="text/css" href="app_framework/css/af.ui.min.css">
<link rel="stylesheet" type="text/css" href="app_framework/css/icons.min.css">
<link rel="stylesheet" type="text/css" href="css/index_main.less.css" class="main-less">
<script type="application/javascript" src="app_framework/2.1/appframework.js"></script>
<script type="application/javascript" src="js/jquery.min.js"></script>
<script type="application/javascript" src="sidebar/js/jquery.event.move.js"></script>
<script type="application/javascript" src="sidebar/js/jquery.event.swipe.js"></script>
<script type="application/javascript" src="sidebar/js/sidebar.js"></script>
<script type="application/javascript" src="sidebar/js/swipe.js"></script>
<script type="application/javascript" src="js/index_user_scripts.js"></script>
<!--
You may substitute jQuery for the App Framework selector library.
See
http://app-framework-software.intel....ui/afui_jquery
-->
<!-- Recommended location for your third-party JavaScript libraries -->
<!-- These library references (below) are just examples to give you the general idea... -->
<!-- <script src="lib/mc/hammer.js"></script> -->
<!-- <script src="lib/ft/fastclick.js"></script> -->
<!--
* cordova.js is a phantom lib for "Cordova HTML5 web app," it does nothing in a "Standard HTML5 web app"
* Seeing a "Failed to load resource: net::ERR_FILE_NOT_FOUND" message caused by this "cordova.js" script?
* The cordova.js script is required if you convert your "Standard HTML5" project into a "Cordova" project.
* You can safely ignore the error or comment out this line if you will not be developing a Cordova app.
-->
<script src="cordova.js" id="xdkJScordova_"></script>
<!-- for your event code, see README and file comments for details -->
<script src="js/app.js"></script>
<!-- for your init code, see README and file comments for details -->
<script src="js/init-app.js"></script>
<!-- normalizes device and document ready events, see file for details -->
<script src="xdk/init-dev.js"></script>
</head>
<body >
</br>
<div class="container">
<div id="sfondo" class="jumbotron">
<p></p>
<h1>Biblioteca</h1>
</div>
<div class="row">
<div class="col-sm-4">
</div>
</div>
<p align="center" >
<INPUT id="button" NAME="Visualizza Libri" VALUE="Visualizza Libri" TYPE="submit" class="btn btn-primary" onclick="invia()" >
</p>
<div id="risposta"></div>
</body>
</html>