Beispiel #1
0
<?php

require_once "./script/config.php";
require_once $site_path . "script/library.php";
cekSession();
$id = validasi($_GET[id]);
?>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="shortcut icon" href="./design/favicon.ico">
        <title><?php 
echo $site_title;
?>
</title>
    </head>
    <body onload="body_onLoad()">
		<div id="wrapper">
			<div id="header">
				<h1>Toko Kelontong Makmur</h1>
				<p>jl. antah berantah no.1</p>
				<p>No. Nota: <?php 
echo $id;
?>
</p>
				<p>Tanggal: <?php 
echo date('d-m-Y');
?>
</p>
			</div>
			<div id="main">
Beispiel #2
0
<?php

define('YBASE', true);
if (isset($_SESSION['yuser'])) {
    include 'config/connect.php';
    include 'config/function.php';
    include 'config/config.php';
    cekSession($_SESSION['yuser']);
    include_once 'config/log.php';
    $mtime = microtime();
    $mtime = explode(" ", $mtime);
    $mtime = $mtime[1] + $mtime[0];
    $tstart = $mtime;
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title><?php 
    echo $set->nama_toko;
    ?>
</title>
    <link rel="stylesheet" type="text/css" href="css/layout.css">
    <link rel="stylesheet" type="text/css" href="css/stylesheet.css">
    <link rel="stylesheet" type="text/css" href="css/easyui.css">
    <link rel="stylesheet" type="text/css" href="css/icon.css">
	<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.css">
    <link rel="stylesheet" type="text/css" href="css/jquery_notification.css">
    <link rel="stylesheet" type="text/css" href="css/jquery.autocomplete.css"/>
    <link rel="stylesheet" type="text/css" href="css/jpaging.css">
    <link rel="stylesheet" type="text/css" href="css/ui.datepicker.css"/>