Commit 6e229337 authored by Abdul R. Wahid's avatar Abdul R. Wahid
Browse files

Move to git from old repository

parents
-- License Agreement GTFW --
Hak cipta (c) 2006-2014, PT Gamatechno Indonesia. Lisensi ini merupakan perjanjian hukum antara PT Gamatechno Indonesia dengan pengguna GTFW (Gamatechno Framework). Dengan mengunduh, memiliki dan menggunakan framework ini, maka pengguna GTFW setuju untuk mematuhi syarat dan ketentuan dari lisensi ini. Pengguna GTFW diijinkan untuk menggunakan, menyalin, dan mendistribusikan GTFW Framework beserta dokumentasi, dengan syarat kondisi berikut ini terpenuhi:
1. Salinan perjanjian lisensi ini harus disertakan dalam distribusi.
2. Pendistribusian kembali source code harus menyertakan pemberitahuan hak cipta di atas source code pada semua file dan tanpa modifikasi dalam base GTFW.
3. Setiap file yang telah dimodifikasi harus menyertakan pemberitahuan yang menyatakan sifat perubahan dan nama orang-orang yang mengubahnya.
4. Produk yang berasal dari GTFW harus menyertakan pengakuan bahwa produk tersebut berasal dari GTFW dengan versi tertentu dalam dokumentasinya, tidak menggunakan nama GTFW sebagai bagian dari nama produk tersebut, dan produk tersebut bukan merupakan produk komersial yang bertujuan mendapatkan profit.
5. Pengguna GTFW setuju untuk mengganti kerugian atas klaim pihak ketiga yang langsung, tidak langsung, insidental, atau konsekuensial apapun, dari penyalahgunaan framework, atau pelanggaran persyaratan lisensi ini.
-- Disclaimer of Warranty --
GTFW disediakan sebagaimana adanya, tanpa jaminan apapun, baik tersurat maupun tersirat.
-- Limitations of Liability --
Pengguna menanggung segala risiko yang terkait dengan instalasi dan penggunaan GTFW. Pemegang lisensi bertanggung jawab menentukan kelayakan penggunaan dan risiko yang terkait dengan penggunaannya, serta tidak terbatas untuk risiko kesalahan aplikasi, kerusakan peralatan, kehilangan data dan gangguan operasional.
\ No newline at end of file
<?php
/**
* @copyright Copyright (c) 2014, PT Gamatechno Indonesia
* @license http://gtfw.gamatechno.com/#license
**/
error_reporting(E_ALL);
//=============ApplicationId========================
$application['application_id'] = 200; //isikan dengan id aplikasi
//=============directory============================
// do not edit this config
$application['gtfw_base'] = GTFW_BASE_DIR;
$application['docroot'] = GTFW_APP_DIR;
$application['basedir'] = str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']); // with trailling slash
$application['baseaddress'] = "http" . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s" : "") . "://" . $_SERVER['HTTP_HOST']; // without trailling slash
$application['domain'] = ''; // name of domain
//============database============================
// connection number 0, digunakan base utk mengakses user
$application['db_conn'][0]['db_driv'] = 'adodb';
$application['db_conn'][0]['db_type'] = 'mysqlt';
$application['db_conn'][0]['db_host'] = 'localhost';
$application['db_conn'][0]['db_user'] = 'root';
$application['db_conn'][0]['db_pass'] = '';
$application['db_conn'][0]['db_name'] = 'gtfw';
$application['db_conn'][0]['db_result_cache_lifetime'] = '';
$application['db_conn'][0]['db_result_cache_path'] = '';
$application['db_conn'][0]['db_debug_enabled'] = FALSE;
$application['db_conn'][0]['db_port'] = '3306';
//============session============================
$application['use_session'] = TRUE;
$application['session_save_handler'] = 'default'; // default|database 'default' is php internal save handler
$application['session_multiuser_enabled'] = false;
$application['session_name'] = 'GTFWSessID';
$application['session_save_path'] = NULL;//'/tmp/'; ///TODO: should not be here!!!, and pelase, support NULL value to fallback to PHP INI's session save path
$application['session_expire'] = 180; // in minutes
$application['session_cookie_params']['lifetime'] = 60 * $application['session_expire']; // in seconds
$application['session_cookie_params']['path'] = $application['basedir'];
$application['session_cookie_params']['domain'] = $application['domain'];
$application['session_cookie_params']['secure'] = FALSE; // needs secure connection?
$application['session_sso_enabled'] = false;
$application['session_sso_name'] = 'GTFWSSOSessID';
$application['session_sso_session_save_path'] = '/path/to/sso/session/dir/'; // with trailing slash
//============default page============================
$application['default_module'] = 'login_default';
$application['default_submodule'] = 'login';
$application['default_action'] = 'view';
$application['default_type'] = 'html';
//============security===========================
$application['enable_security'] = TRUE;
$application['enable_request_id'] = false;
$application['default_user'] = 'nobody';
$application['enable_url_obfuscator'] = FALSE;
$application['url_obfuscator_exception'] = array('soap'); // list of exeption request/response type
$application['url_type'] = 'Long'; // type: Long or Short
$application['login_method'] = 'default';
$application['authentication_method'] = 'default';
$application['authorization_method'] = 'default';
$application['xss_clean'] = false;
$application['strip_html_tags'] = false;
//============application============================
$application['use_persistent_process'] = false;
//============development============================
$application['debug_mode'] = true;
//=========== Single Sign On ========================
$application['system_id'] = 'com.gamatechno.gtfw';
$application['sso_group'] = 'com_gamatechno_academica'; //FIXME: what if this system is associated with more than one sso group
//=========== Single Sign On Server ========================
$application['sso_ldap_connection'] = 3; // connection number available for ldap access, see db_conn above
//============== syslog =============================
$application['syslog_category'] = array(); // what category permitted to be printed out, array() equals all category
$application['syslog_enabled'] = FALSE;
$application['syslog_io_engine'] = 'std'; // tcp, file, std
$application['syslog_log_path'] = '/tmp/';
$application['syslog_tcp_host'] = 'localhost';
$application['syslog_tcp_port'] = 9777;
//================ soapgateway ========================
$application['wsdl_use_cache'] = false; // use cached wsdl if available
$application['wsdl_cache_path'] = '/tmp/'; // use cached wsdl if available
$application['wsdl_cache_lifetime'] = 60 * 60 * 24 /* one day!*/; // invalidate wsdl cache every x seconds
//================ additional config =====================
$application['menu_version'] = '2';
$application['paging_limit'] = 50;
$application['paging_limit_popup'] = 20;
$application['application_logo'] = 'logo.png';
$application['application_icon'] = 'favicon.ico';
?>
<?php
//============= Proses Error Message ======================
$error[1001]['lang'] = 'Proses hapus data telah gagal';
$error[1001]['type'] = 'warning';
$error[1002]['lang'] = 'Proses tambah data telah gagal';
$error[1002]['type'] = 'warning';
$error[1003]['lang'] = 'Proses pengeditan data telah gagal';
$error[1003]['type'] = 'warning';
$error[1004]['lang'] = 'Data tidak ditemukan';
$error[1004]['type'] = 'warning';
$error[1005]['lang'] = 'Tanggal yang dimasukkan tidak valid';
$error[1005]['type'] = 'alert';
$error[1501]['lang'] = 'buah data telah berhasil dihapus';
$error[1501]['type'] = 'done';
$error[1502]['lang'] = 'Perubahan data telah berhasil disimpan';
$error[1502]['type'] = 'done';
$error[1504]['lang'] = 'Data ditemukan';
$error[1504]['type'] = 'done';
$error[1503]['lang'] = 'Data baru telah berhasil ditambahkan';
$error[1503]['type'] = 'done';
$error[1505]['lang'] = 'telah berhasil diaktifkan';
$error[1505]['type'] = 'done';
$error[1506]['lang'] = 'buah data telah berhasil dibatalkan';
$error[1506]['type'] = 'done';
//============= Form Error Message ======================
$error[3001]['lang'] = 'Pengisian data salah';
$error[3001]['type'] = 'alert';
$error[3002]['lang'] = '<fieldname> harus diisi';
$error[3003]['lang'] = 'Data yang dihapus belum diisi';
$error[3003]['type'] = 'alert';
?>
D:\www\gtfw_riset\base_3.2
\ No newline at end of file
application_name = Sistem Informasi Akademika
company_name = Universitas Akademika Indonesia
company_city = Yogyakarta
<?php
/**
* Configuration file for TCPDF.
* @author Nicola Asuni
* @package com.tecnick.tcpdf
* @version 4.9.005
* @since 2004-10-27
*/
// IMPORTANT:
// If you define the constant K_TCPDF_EXTERNAL_CONFIG, all the following settings will be ignored.
// If you use the tcpdf_autoconfig.php, then you can overwrite some values here.
/**
* Installation path (/var/www/tcpdf/).
* By default it is automatically calculated but you can also set it as a fixed string to improve performances.
*/
//define ('K_PATH_MAIN', '');
/**
* URL path to tcpdf installation folder (http://localhost/tcpdf/).
* By default it is automatically set but you can also set it as a fixed string to improve performances.
*/
//define ('K_PATH_URL', '');
/**
* Path for PDF fonts.
* By default it is automatically set but you can also set it as a fixed string to improve performances.
*/
//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
/**
* Default images directory.
* By default it is automatically set but you can also set it as a fixed string to improve performances.
*/
define ('K_PATH_IMAGES', GTFW_APP_DIR.'images/');
/**
* Deafult image logo used be the default Header() method.
* Please set here your own logo or an empty string to disable it.
*/
//define ('PDF_HEADER_LOGO', '');
/**
* Header logo image width in user units.
*/
//define ('PDF_HEADER_LOGO_WIDTH', 0);
/**
* Cache directory for temporary files (full path).
*/
//define ('K_PATH_CACHE', '/tmp/');
/**
* Generic name for a blank image.
*/
define ('K_BLANK_IMAGE', '_blank.png');
/**
* Page format.
*/
define ('PDF_PAGE_FORMAT', 'A4');
/**
* Page orientation (P=portrait, L=landscape).
*/
define ('PDF_PAGE_ORIENTATION', 'P');
/**
* Document creator.
*/
define ('PDF_CREATOR', 'TCPDF');
/**
* Document author.
*/
define ('PDF_AUTHOR', 'TCPDF');
/**
* Header title.
*/
define ('PDF_HEADER_TITLE', 'TCPDF Example');
/**
* Header description string.
*/
define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
/**
* Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
*/
define ('PDF_UNIT', 'mm');
/**
* Header margin.
*/
define ('PDF_MARGIN_HEADER', 5);
/**
* Footer margin.
*/
define ('PDF_MARGIN_FOOTER', 10);
/**
* Top margin.
*/
define ('PDF_MARGIN_TOP', 27);
/**
* Bottom margin.
*/
define ('PDF_MARGIN_BOTTOM', 25);
/**
* Left margin.
*/
define ('PDF_MARGIN_LEFT', 15);
/**
* Right margin.
*/
define ('PDF_MARGIN_RIGHT', 15);
/**
* Default main font name.
*/
define ('PDF_FONT_NAME_MAIN', 'helvetica');
/**
* Default main font size.
*/
define ('PDF_FONT_SIZE_MAIN', 10);
/**
* Default data font name.
*/
define ('PDF_FONT_NAME_DATA', 'helvetica');
/**
* Default data font size.
*/
define ('PDF_FONT_SIZE_DATA', 8);
/**
* Default monospaced font name.
*/
define ('PDF_FONT_MONOSPACED', 'courier');
/**
* Ratio used to adjust the conversion of pixels to user units.
*/
define ('PDF_IMAGE_SCALE_RATIO', 1.25);
/**
* Magnification factor for titles.
*/
define('HEAD_MAGNIFICATION', 1.1);
/**
* Height of cell respect font height.
*/
define('K_CELL_HEIGHT_RATIO', 1.25);
/**
* Title magnification respect main font size.
*/
define('K_TITLE_MAGNIFICATION', 1.3);
/**
* Reduction factor for small font.
*/
define('K_SMALL_RATIO', 2/3);
/**
* Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
*/
define('K_THAI_TOPCHARS', true);
/**
* If true allows to call TCPDF methods using HTML syntax
* IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
*/
define('K_TCPDF_CALLS_IN_HTML', true);
/**
* If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
*/
define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
//============================================================+
// END OF FILE
//============================================================+
<?php
// this should be set to the proper place (ie. in module's template directory)
// automatically in SmartyResponse, so no need to set
$smarty['templates'] = '';
////////////////
// these two directories must be web server writeable and should not be in web
// server's document root
$smarty['templates_c'] = 'C:/Temp/smarty_cache/templates_c';
$smarty['cache'] = 'C:/Temp/smarty_cache/cache';
// this should be the same as GTFW config files reside
$smarty['configs'] = 'C:/My Projects/Work on GT/Framework/gtfw-166/config';
?>
This diff is collapsed.
This diff is collapsed.
body {
font-family: Tahoma;
font-size: 11px;
}
h1, h2, h3, h4, h5, h6 {
padding: 2px 0px;
margin: 0px;
}
h1 {
font-size: 15pt;
}
h2 {
font-size: 13pt;
}
h3 {
font-size: 11pt;
}
h4 {
font-size: 9pt;
}
hr {
clear: both;
}
img {
margin: 2px;
}
.center {
text-align: center;
}
div.page-portrait {
visibility: visible;
font-family: Tahoma;
font-size: 11px;
margin: 6px 0px 6px 0px;
width: 17cm;
}
div.page-landscape {
visibility: visible;
font-family: Tahoma;
font-size: 11px;
margin: 6px 0px 6px 0px;
width: 25.5cm;
}
table {
border-collapse: collapse;
}
.box {
border: 1px solid #ccc;
padding: 4px;
}
table tr td {
font-family: Tahoma;
font-size: 11px;
padding: 0px 2px 0px 2px;
}
table tr th {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
background-color: #fff;
padding: 2px;
}
.tabel-common tr td {
font-family: Tahoma;
font-size: 11px;
padding: 0px 2px 0px 2px;
border: 1px solid #ccc;
vertical-align: top;
}
.tabel-common .nama {
width: 250px;
overflow: hidden;
}
.tabel-common tr th {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
background-color: #fff;
padding: 2px;
border: 1px solid #ccc;
}
.tabel-info tr td, th {
font-family: Tahoma;
font-size: 11px;
padding: 2px;
font-weight: bold;
}
div.nobreak .hidden {
visibility: hidden;
display: none;
}
div.page-break .hidden {
visibility: visible;
margin: 10px 0px 10px 0px;
}
.page-break {
clear: both;
}
.link {
clear:both;
visibility: visible;
}
/* added by roby@gamatechno.com */
.header {
float: left;
height: 70px;
width: 100%;
}
.header img {
float: left;
margin: 10px 10px 0 10px;
}
.header h1 {
font-family: Helvetica,Arial,sans-serif;
font-size: 14pt;
font-weight: bold;
margin: 14px 0 0 10px;
padding: 0;
text-transform: uppercase;
}
.header h2 {
font-family: Helvetica,Arial,sans-serif;
font-size: 12px;
font-weight: bold;
margin: 0 0 0 12px;
padding: 0;
text-transform: uppercase;
}
/* khusus pengesah */
.box_pengesah {
float: right;
width: 33%;
text-align: center;
}
\ No newline at end of file
body {
font-family: Tahoma;
font-size: 11px;
}
h1, h2, h3, h4, h5, h6 {
padding: 2px 0px;
margin: 0px;
}
h1 {
font-size: 15pt;
}
h2 {
font-size: 13pt;
}
h3 {
font-size: 11pt;
}
h4 {
font-size: 9pt;
}
hr {
clear: both;
}
img {
margin: 2px;
}
@page size-A4 {size: 21.0cm 29.7cm; margin: 1.5cm;}
@page rotate-landscape {size: landscape; }
div.page-portrait {
visibility: visible;
font-family: Tahoma;
font-size: 11px;
margin: 6px 0px 6px 0px;
width: 17cm;
}
div.page-landscape {
visibility: visible;
font-family: Tahoma;
font-size: 11px;
margin: 6px 0px 6px 0px;
width: 25.5cm;
}
div.page-break {
visibility: visible;
page-break-after: always;
}
div.nobreak {
visibility: visible;
}
table {
border-collapse: collapse;
}
.box {
border: 1px solid #000;
padding: 4px;
}
table tr td {
font-family: Tahoma;
font-size: 11px;
padding: 0px 2px 0px 2px;
}
table tr th {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
background-color: #eee;
padding: 2px;