Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php // This file is protected by copyright law and provided under license. Reverse engin..
Decoded Output download
class Kepuasan_pelanggan extends CI_Controller{
function __construct()
{
parent::__construct();
$this->load->helper('adodisini_helper');
otentikasi();
$this->load->model('Kepuasan_pelanggan_model');
}
function index()
{
if(($this->input->post('tgldari')!=null)and($this->input->post('tglsampai')!=null)){
$data['kepuasan_pelanggan'] = $this->Kepuasan_pelanggan_model->get_all_kepuasan_pelanggan($this->input->post('tgldari'), $this->input->post('tglsampai'));
}else{
$data['kepuasan_pelanggan'] = $this->Kepuasan_pelanggan_model->get_all_kepuasan_pelanggan(date('Y-m-d'), date('Y-m-d'));
}
$data['_view'] = 'kepuasan_pelanggan/index';
$this->load->view('layouts/main',$data);
}
function add()
{
if(isset($_POST) && count($_POST) > 0)
{
$params = array(
'id_counter' => $this->input->post('id_counter'),
'id_penilaian' => $this->input->post('id_penilaian'),
'tanggal' => $this->input->post('tanggal'),
);
$kepuasan_pelanggan_id = $this->Kepuasan_pelanggan_model->add_kepuasan_pelanggan($params);
redirect('kepuasan_pelanggan/index');
}
else
{
$this->load->model('Counter_model');
$data['all_counter'] = $this->Counter_model->get_all_counter();
$this->load->model('Penilaian_model');
$data['all_penilaian'] = $this->Penilaian_model->get_all_penilaian();
$data['_view'] = 'kepuasan_pelanggan/add';
$this->load->view('layouts/main',$data);
}
}
function edit($id_kp)
{
$data['kepuasan_pelanggan'] = $this->Kepuasan_pelanggan_model->get_kepuasan_pelanggan($id_kp);
if(isset($data['kepuasan_pelanggan']['id_kp']))
{
if(isset($_POST) && count($_POST) > 0)
{
$params = array(
'id_counter' => $this->input->post('id_counter'),
'id_penilaian' => $this->input->post('id_penilaian'),
'tanggal' => $this->input->post('tanggal'),
);
$this->Kepuasan_pelanggan_model->update_kepuasan_pelanggan($id_kp,$params);
redirect('kepuasan_pelanggan/index');
}
else
{
$this->load->model('Counter_model');
$data['all_counter'] = $this->Counter_model->get_all_counter();
$this->load->model('Penilaian_model');
$data['all_penilaian'] = $this->Penilaian_model->get_all_penilaian();
$data['_view'] = 'kepuasan_pelanggan/edit';
$this->load->view('layouts/main',$data);
}
}
else
show_error('The kepuasan_pelanggan you are trying to edit does not exist.');
}
function remove($id_kp)
{
$kepuasan_pelanggan = $this->Kepuasan_pelanggan_model->get_kepuasan_pelanggan($id_kp);
if(isset($kepuasan_pelanggan['id_kp']))
{
$this->Kepuasan_pelanggan_model->delete_kepuasan_pelanggan($id_kp);
redirect('kepuasan_pelanggan/index');
}
else
show_error('The kepuasan_pelanggan you are trying to delete does not exist.');
}
}
Did this file decode correctly?
Original Code
<?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
$OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=4400;eval((base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ21kcDMxNjIwUERNQWFCYkNjRWVGZkdnSGhJaUpqS2tMbE5uT29RcVJyU3NUdFV1VnZXd1h4WXlaejQ1Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
D19Ca3dCa3dCa3YQjqGRHZDQj2WNhyfrDY9LEoQaEG9LDwvnDwPuD19CFXdCa18vapznDwPtM2DNjyfyB69oIgBVI2frjZEwK0PrIRDQhgcrD18va3dCa18vapvoFx8va18va3mvMevRJgEvaX1yaOdcE1YdhfDncyB6IfIqEyKPi1QSeqSAixWtFq4CJY6WfRDFjYExGHGgKQKZg0N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