function _set_hyperlink_($var_link_url, $var_link_text = "", $var_parameter = "", $var_link_parameter = "", $var_span = true, $var_ssid = true) { if (!_is_not_null_($var_link_url)) { return $var_link_text; } $var_hyperlink_value = '<a href="' . _set_link_($var_link_url, $var_link_parameter, $var_ssid) . '"'; if (_is_not_null_($var_parameter)) { $var_hyperlink_value .= ' ' . $var_parameter; } if ($var_span == true) { $var_hyperlink_value .= '><span>' . $var_link_text . '</span></a>'; } else { $var_hyperlink_value .= '>' . $var_link_text . '</a>'; } return $var_hyperlink_value; }
_set_select_database_(def_database_name); if (!isset($PHP_SELF)) { $PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"]; } require_once "../" . def_directory_functions . "function_session.php"; define("def_session_write_directory", "../tmp"); _set_session_name_("orderid"); _set_session_save_path_(def_session_write_directory); if (function_exists("session_set_cookie_params")) { session_set_cookie_params(0, def_http_cookie_path, def_http_cookie_domain); } elseif (function_exists("ini_set")) { ini_set("session.cookie_lifetime", "0"); ini_set("session.cookie_path", def_http_cookie_path); ini_set("session.cookie_domain", def_http_cookie_domain); } if (isset($HTTP_POST_VARS[_set_session_name_()])) { _set_session_id_($HTTP_POST_VARS[_set_session_name_()]); } elseif (isset($HTTP_GET_VARS[_set_session_name_()])) { _set_session_id_($HTTP_GET_VARS[_set_session_name_()]); } _set_session_start_(); if (function_exists("ini_get") && ini_get("register_globals") == false) { extract($_SESSION, EXTR_OVERWRITE + EXTR_REFS); } if (_is_session_registered_("session_userid")) { require_once "../" . def_directory_classes . "class_user.php"; $var_class_user = new _class_user_(); if (!$var_class_user->_is_admin_($session_userid)) { _set_location_(_set_link_("../" . def_application_home)); } }
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center"> <table border="1" cellpadding="5" cellspacing="0" class="myform"> <tr> <td colspan="2" align="left" class="mycaption"> <?php echo _set_label_("", "UBAH PASSWORD"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_account, "process=changepassword&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="5"> <?php if (_is_session_registered_("session_error")) { ?> <tr> <td colspan="2" align="left" class="myerror"> <?php echo _set_image_link_(def_directory_images_buttons . "error.png", "", "", "48px", "48px"); ?> <?php echo _set_label_("", $session_error); ?> </td>
<table border="0" width="100%" cellpadding="10" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"><?php echo _set_label_("", "Setting"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_setting, "process="); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"><?php echo _set_label_("", "Konektifitas"); ?> </td> <td><?php echo _set_label_("", " : "); ?> </td> <td align="left"><?php require_once "../" . def_directory_classes_master . "class_handphone.php";
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "RESTORAN"); ?> </td> </tr> <tr> <td> <form enctype="multipart/form-data" action="<?php echo _set_link_(def_application_restoran, "process=add&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Id Restoran"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
<table border="0" width="100%" cellpadding="10" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "Tulis Pesan"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_write, "process="); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Nomor Telepon"); ?> </td> <td align="left"> <?php echo _set_label_("", " : "); ?> </td> <td align="left"> <?php
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"><?php echo _set_label_("", "PEMAKAI"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_pemakai, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"><?php echo _set_label_("", "Id Pemakai"); ?> </td> <td><?php echo _set_input_("txt_userid", "", "text"); ?> </td> </tr> <tr>
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "PEMAKAI"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_pemakai, "process=add&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Id Pemakai"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"><?php echo _set_label_("", "RESTORAN"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_restoran, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"><?php echo _set_label_("", "Id Restoran"); ?> </td> <td><?php echo _set_input_("txt_restoranid", "", "text"); ?> </td> </tr> <tr>
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"> <?php echo _set_label_("", "KOTAK KELUAR"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_outbox, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"> <?php echo _set_label_("", "No Handphone"); ?> </td> <td> <?php echo _set_input_("txt_nohp", "", "text"); ?> </td> </tr> <tr>
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "MENU"); ?> </td> </tr> <tr> <td> <form enctype="multipart/form-data" action="<?php echo _set_link_(def_application_menu, "process=update&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Id Menu"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
} elseif ($HTTP_GET_VARS["process"] == "handphone") { require_once "../" . def_directory_classes . "class_gammu.php"; $var_class_gammu = new _class_gammu_("..\\gammu\\gammu.exe"); $var_class_gammu->_gammu_outbox_(&$var_respon); if (_is_not_null_($var_respon)) { $session_error = $var_respon; _set_session_register_("session_error"); } } elseif ($HTTP_GET_VARS["process"] == "deleteall") { if (isset($HTTP_GET_VARS["action"])) { require_once "../" . def_directory_classes_master . "class_outbox.php"; $var_class_outbox = new _class_outbox_(); $var_class_outbox->_delete_all_(); $session_success = "Semua Data Sudah Dihapus"; _set_session_register_("session_success"); _set_location_(_set_link_(def_application_outbox)); } } } if (isset($var_class_outbox) && is_object($var_class_outbox)) { } else { require_once "../" . def_directory_classes_master . "class_outbox.php"; $var_class_outbox = new _class_outbox_(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "JENIS"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_jenis, "process=add&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Id Jenis"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "KONEKTIFITAS"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_handphone, "process=add&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Model Handphone"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center"> <table border="1" cellpadding="5" cellspacing="0" class="myform"> <tr> <td colspan="2" align="left" class="mycaption"> <?php echo _set_label_("", "PEMAKAI BARU"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_signup, "process=signup"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="5"> <?php if (_is_session_registered_("session_error")) { ?> <tr> <td colspan="2" align="left" class="myerror"> <?php echo _set_image_link_(def_directory_images_buttons . "error.png", "", "", "48px", "48px"); ?> <?php echo _set_label_("", $session_error); ?> </td> </tr>
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "DAFTAR HARGA"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_daftarharga, "process=add&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Menu"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
<?php echo _set_label_("", "LUPA PASSWORD"); ?> </td> </tr> <tr> <td colspan="2" align="left" class="mycaption"> <?php echo _set_label_("", "Pastikan HP Anda Dalam Kondisi Aktif, Kami Segera Mengirimkannya Pada Anda!"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_forget, "process=forget"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="5"> <?php if (_is_session_registered_("session_error")) { ?> <tr> <td colspan="2" align="left" class="myerror"> <?php echo _set_image_link_(def_directory_images_buttons . "error.png", "", "", "48px", "48px"); ?> <?php echo _set_label_("", $session_error); ?> </td>
} else { if (_is_not_null_($var_handphone)) { if ($var_class_pemakai->_is_exist2_($var_handphone)) { $session_error = "No. Handphone Sudah Ada Yang Digunakan"; _set_session_register_("session_error"); } else { $var_class_pemakai->_save_data_($var_userid, $var_username, $var_userpwd, def_no, def_no, $var_email, $var_address, $var_handphone, $var_phone, def_no); $session_success = "Registrasi akan diproses oleh Administrator, Harap Ditunggu beberapa saat"; _set_session_register_("session_success"); _set_location_(_set_link_(def_application_confirm)); } } else { $var_class_pemakai->_save_data_($var_userid, $var_username, $var_userpwd, def_no, def_no, $var_email, $var_address, $var_handphone, $var_phone, def_no); $session_success = "Registrasi akan diproses oleh Administrator, Harap Ditunggu beberapa saat"; _set_session_register_("session_success"); _set_location_(_set_link_(def_application_confirm)); } } } else { $session_error = "Password Harus Minimal 5 Karakter"; _set_session_register_("session_error"); } } else { $session_error = "Alamat Harap Diisi"; _set_session_register_("session_error"); } } else { $session_error = "Email Harap Diisi"; _set_session_register_("session_error"); } } else {
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "ISI VOUCHER"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_voucher, "process=update&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <tr> <td align="left"> <?php echo _set_label_("", "Id Voucher"); ?> </td> <td> <?php echo _set_label_("", " : "); ?> </td> <td align="left">
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"><?php echo _set_label_("", "KONEKTIFITAS"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_handphone, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"><?php echo _set_label_("", "Model Handphone"); ?> </td> <td><?php echo _set_input_("txt_model", "", "text"); ?> </td> </tr> <tr>
<table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <table border="1" cellpadding="5" cellspacing="0" class="myform"> <tr> <td colspan="2" align="left" class="mycaption"> <?php echo _set_label_("", "Private Login"); ?> </td> </tr> <tr> <td valign="top"> <form action="<?php echo _set_link_(def_application_login, "process=login"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0"> <tr> <td align="left"> <?php echo _set_label_("", "Id Pemakai", 'class="mylabel"'); ?> </td> <td> <?php echo _set_input_("txt_userid", "", "text", 'class="mytextinput" onfocus="javascript:_set_focus_(this);" onblur="javascript:_set_focus_(this);" style="width: 150px;"'); ?> </td> </tr> <tr>
_set_session_unregister_("session_success"); } else { ?> <table border="0" width="100%" cellpadding="10" cellspacing="0" align="center"> <tr> <td align="center" class="mytitle"> <?php echo _set_label_("", "Keranjang Anda", 'class="mylabel large"'); ?> </td> </tr> <tr> <td align="center"> <form action="<?php echo _set_link_(def_application_keranjang, "process=confirm&action=true"); ?> " method="post"> <table border="0" cellpadding="5" cellspacing="5" class="mytable_brw"> <tr> <td colspan="5" align="center" class="mytable_cpt"><?php echo _set_label_("", $var_class_pemakai->var_userid); ?> </td> </tr> <tr> <td><?php echo _set_label_("", "Menu"); ?> </td> <td><?php
} } } } else { require_once "../" . def_directory_classes_master . "class_daftarharga.php"; $var_class_daftarharga = new _class_daftarharga_(); } } } } } else { require_once "../" . def_directory_classes_master . "class_daftarharga.php"; $var_class_daftarharga = new _class_daftarharga_(); } } else { _set_location_(_set_link_(def_application_login)); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="<?php echo def_text_keywords; ?> " /> <meta name="description" content="<?php echo def_text_description; ?>
} } else { $session_error = "Id Pemakai atau Password Salah"; _set_session_register_("session_error"); } } else { $session_error = "Password Kosong"; _set_session_register_("session_error"); } } else { $session_error = "Id Pemakai Kosong"; _set_session_register_("session_error"); } } } else { _set_location_(_set_link_(def_application_home)); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="<?php echo def_text_keywords; ?> " /> <meta name="description" content="<?php echo def_text_description; ?>
} ?> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center" class="mycaption"> <?php echo _set_label_("", "PEMAKAI"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_pemakai, "process=delete&processid=" . $HTTP_GET_VARS["processid"] . "&action=true"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="0" align="center" class="myform"> <?php if ($var_view == true) { ?> <tr> <td align="left"> <?php echo _set_label_("", "Id Pemakai"); ?> </td> <td> <?php echo _set_label_("", " : ");
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"><?php echo _set_label_("", "MENU"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_menu, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"><?php echo _set_label_("", "Id Menu"); ?> </td> <td><?php echo _set_input_("txt_menuid", "", "text"); ?> </td> </tr> <tr>
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center"> <table border="1" cellpadding="5" cellspacing="0" class="myform"> <tr> <td colspan="2" align="left" class="mycaption"> <?php echo _set_label_("", "CONTACT US"); ?> </td> </tr> <tr> <td> <form action="<?php echo _set_link_(def_application_contactus, "process=pesan"); ?> " method="post"> <table border="0" cellpadding="3" cellspacing="5"> <?php if (_is_session_registered_("session_error")) { ?> <tr> <td colspan="2" align="left" class="myerror"> <?php echo _set_image_link_(def_directory_images_buttons . "error.png", "", "", "48px", "48px"); ?> <?php echo _set_label_("", $session_error); ?> </td>
$var_class_pemakai->_set_data_($session_userid); } } elseif (isset($HTTP_GET_VARS["process"]) && $HTTP_GET_VARS["process"] == "changepassword") { if (isset($HTTP_GET_VARS["action"])) { if (_set_variable_http_("action") == "true") { $var_userid = _set_variable_http_("txt_userid", false); $var_userpwdold = _set_variable_http_("txt_userpwdold", false); $var_userpwd = _set_variable_http_("txt_userpwd", false); if (_is_not_null_($var_userpwdold)) { if (_is_not_null_($var_userpwd)) { if (strlen($var_userpwd) >= 5) { require_once def_directory_classes . "class_user.php"; $var_class_user = new _class_user_(); if ($var_class_user->_is_user_exist_($var_userid, $var_userpwdold)) { $var_class_pemakai->_save_data3_($var_userid, $var_userpwd); _set_location_(_set_link_(def_application_account)); } else { $session_error = "Password Anda Salah"; _set_session_register_("session_error"); $var_class_pemakai->_set_data_($session_userid); } } else { $session_error = "Password Harus Minimal 5 Karakter"; _set_session_register_("session_error"); $var_class_pemakai->_set_data_($session_userid); } } else { $session_error = "Password Baru Diisi Terlebih Dahulu"; _set_session_register_("session_error"); $var_class_pemakai->_set_data_($session_userid); }
?> " /> <meta name="description" content="<?php echo def_text_description; ?> " /> <?php $var_class_setting->_get_autorefresh_(); if (_is_not_null_($var_class_setting->var_autorefresh)) { ?> <meta http-equiv="refresh" content="<?php echo $var_class_setting->var_autorefresh; ?> ;url=<?php echo _set_link_(def_application_inbox, "process=handphone"); ?> " /> <?php } ?> <title><?php echo def_text_application; ?> </title> <script language="javascript" src="<?php echo "../" . def_directory_styles . def_application_javascript; ?> "></script> <link rel="shortcut icon" href="<?php echo "../" . def_directory_styles . def_application_icon;
<table border="0" width="100%" cellpadding="5" cellspacing="2"> <tr> <td align="center" class="mytitle"><?php echo _set_label_("", "ISI VOUCHER"); ?> </td> </tr> </table> <table border="0" width="100%" cellpadding="0" cellspacing="0" class="myform"> <tr> <td align="right"> <form action="<?php echo _set_link_(def_application_voucher, "process=search"); ?> " method="post"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td align="left" class="mytext"><?php echo _set_label_("", "Id Voucher"); ?> </td> <td><?php echo _set_input_("txt_voucherid", "", "text"); ?> </td> </tr> <tr>