<?php
$db = new database();
$db->dbsql();

$page = new viewpage();

if (empty($_GET[act])) {
	include 'main.php';
}elseif ($_GET[act]=='tambah') {
	include 'tambah.php';
}elseif ($_GET[act]=='edit') {
	include 'edit.php';
}
?>