Example #1
0
<?php

include "../class/extension.class.php";
$extension = new includes();
?>
<html>
	<head>
	<?php 
echo $extension->includeCSS();
echo $extension->includeJS();
?>
		<title>HUMANO</title>
		<style>
				form { 
					margin: 5 auto; 
					width:500px;
					border: 3px solid black;
					padding: 25px;
					
					}
		</style>
		<script>
		
				var data = [
				{firstname: "Andrew", lastname: "Fuller", productname: "Black Tea", quantity: "2", price: "2.5", total: "5"},
				{firstname: "Nancy", lastname: "Davolio", productname: "Green Tea", quantity: "1", price: "3", total: "3"},
				{firstname: "Shelley", lastname: "Burke", productname: "Caffe Espresso", quantity: "3", price: "1.5", total: "4.5"},
				{firstname: "Regina", lastname: "Murphy", productname: "Doubleshot Espresso", quantity: "3", price: "3", total: "9"},
				{firstname: "Yoshi", lastname: "Nagase", productname: "Caffe Latte", quantity: "4", price: "3", total: "12"},
				{firstname: "Antoni", lastname: "Saavedra", productname: "White Chocolate Mocha", quantity: "3", price: "2", total: "6"},
				{firstname: "Mayumi", lastname: "Ohno", productname: "Cramel Latte", quantity: "3", price: "1", total: "3"},
Example #2
0
<?php

error_reporting(E_ALL ^ E_DEPRECATED);
session_start();
if (!isset($_SESSION['username'])) {
    header("Location:../index.php");
}
include "../class/includes.class.php";
$include = new includes();
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta name="description" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
		<link rel="shortcut icon" type="image/x-icon" href="../assets/images/icons/icon.png" />
		<title id="Description">CHANGE METER/NEW CONNECTION</title>
		
		<?php 
echo $include->includeCSS();
echo $include->includeJS();
?>
		
		<script>
			$(document).ready(function(){
				var req1 = req2 = req3 = req4 = req5 = req6 = req7 = 0;
				var q1 = q2 = q3 = q4 = q5 = q6 = 1;
				var ownerName = ownerAddress = prevOccupant = "";
				$("#jqxMenu").jqxMenu({ width:window.innerWidth-5, height: "30px", theme:"custom-zandro", autoOpen:false});
				$("#addApp").jqxButton({ theme:'energyblue',height:35,width:150,disabled:false});
				$("#mainSplitter").jqxSplitter({