예제 #1
1
 public function decode($value = '')
 {
     echo paramDecrypt($value);
 }
예제 #2
0
function decode($x)
{
    $pecahURI = explode('?', $x);
    $parameter = $pecahURI[1];
    $pecahParam = explode('&', paramDecrypt($parameter));
    for ($i = 0; $i <= count($pecahParam) - 1; $i++) {
        $decode = explode('=', $pecahParam[$i]);
        $var[$decode[0]] = $decode[1];
    }
    return $var;
}
예제 #3
0
 public function surat_jalan()
 {
     $this->load->library('thoni_fpdf');
     define('FPDF_FONTPATH', $this->config->item('fonts_path'));
     $param = paramDecrypt($this->input->get('kode'));
     $data['config'] = $this->config->item('astro');
     $data['data'] = $this->mp->get_selling($param);
     $data['detail'] = $this->mp->get_selling_items($param);
     // $data['data'] = $this->mc->get_visited($param);
     // $data['room'] = $this->mc->get_visited_room($param);
     $this->load->view('/surat_jalan', $data);
 }
예제 #4
0
function decode($x)
{
    // proses decoding: memecah parameter dan masing-masing value yang terkait
    $pecahURI = explode('?', $x);
    $parameter = $pecahURI[1];
    $pecahParam = explode('&', paramDecrypt($parameter));
    for ($i = 0; $i <= count($pecahParam) - 1; $i++) {
        $decode = explode('=', $pecahParam[$i]);
        $var[$decode[0]] = $decode[1];
    }
    return $var;
}
예제 #5
0
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label class="control-label">Username</label>
                            <input required value="<?php 
echo @$karyawan->uname;
?>
" type="text" id="uname" name="uname" class="form-control" placeholder="username">
                        </div>
                    </div>
                    <!--/span-->
                    <div class="col-md-6">
                        <div class="form-group">
                            <label class="control-label">Password</label>
                            <input required value="<?php 
echo @paramDecrypt($karyawan->upass);
?>
" type="password" id="upass" name="upass" class="form-control" placeholder="pwd">
                        </div>
                    </div>
                    <!--/span-->
                </div>
                <!--/row-->
                <h3 class="form-section">Details</h3>
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label >NIK - Nama</label>
                            <!-- <input type="text" name="nama" id="nama" value="<?php 
echo @$karyawan->nama;
?>