adding pdf and phone number
No files matched your search
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
// header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: *');
|
||||||
// header('Access-Control-Allow-Methods: GET, POST, DELETE, PUT');
|
header('Access-Control-Allow-Methods: GET, POST, DELETE, PUT');
|
||||||
// header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization');
|
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization');
|
||||||
// header('Access-Control-Allow-Credentials: true');
|
header('Access-Control-Allow-Credentials: true');
|
||||||
// header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
|
|
||||||
defined('BASEPATH') or exit('No direct script access allowed');
|
defined('BASEPATH') or exit('No direct script access allowed');
|
||||||
|
|
||||||
@@ -58,8 +58,9 @@ class Api_server extends RestController
|
|||||||
if(count($cek_data) > 0){
|
if(count($cek_data) > 0){
|
||||||
$this->response(['message' => 'NIK <i>'.$data['nik_karyawan'].'</i> telah terdaftar dalam sistem sebelumnya'], 400);
|
$this->response(['message' => 'NIK <i>'.$data['nik_karyawan'].'</i> telah terdaftar dalam sistem sebelumnya'], 400);
|
||||||
}else{
|
}else{
|
||||||
|
$this->model->qrcode_karyawan($data['nik_karyawan']);
|
||||||
$this->model->insert('tb_karyawan',$data);
|
$this->model->insert('tb_karyawan',$data);
|
||||||
$this->model->insert('tb_login',['username' => $data['nik_karyawan'],'password' => md5($data['nik_karyawan'])]);
|
// $this->model->insert('tb_login',['username' => $data['nik_karyawan'],'password' => md5($data['nik_karyawan']),'nik_karyawan' => $data['nik_karyawan']]);
|
||||||
$this->response(['message' => 'ok'], 200);
|
$this->response(['message' => 'ok'], 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,6 +176,19 @@ class Api_server extends RestController
|
|||||||
if (count($cek_data) > 0) {
|
if (count($cek_data) > 0) {
|
||||||
$cek_absensi = $this->model->tampil_data_where('tb_absensi',['bulan' => date('m'),'tahun' => date('Y')])->result();
|
$cek_absensi = $this->model->tampil_data_where('tb_absensi',['bulan' => date('m'),'tahun' => date('Y')])->result();
|
||||||
if(count($cek_absensi) > 0){
|
if(count($cek_absensi) > 0){
|
||||||
|
$array_libur = ($cek_data[0]->detail != null) ? json_decode($cek_data[0]->detail,true) : null;
|
||||||
|
$libur = false;
|
||||||
|
$ket_libur = null;
|
||||||
|
if ($array_libur != null){
|
||||||
|
foreach ($array_libur as $key => $value) {
|
||||||
|
if ($value['tanggal'] == date('Y-m-d')) {
|
||||||
|
$libur = true;
|
||||||
|
$ket_libur = $value['ket'];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$array_absensi = json_decode($cek_absensi[0]->detail,true);
|
$array_absensi = json_decode($cek_absensi[0]->detail,true);
|
||||||
$tanggal_ada = false;
|
$tanggal_ada = false;
|
||||||
$nik_ada = false;
|
$nik_ada = false;
|
||||||
@@ -199,7 +213,11 @@ class Api_server extends RestController
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($jam_keluar == true){
|
if ($libur == true) {
|
||||||
|
$this->response(['message' => $cek_data[0]->nama.' libur karena '. $ket_libur], 401);
|
||||||
|
}
|
||||||
|
|
||||||
|
elseif ($jam_keluar == true){
|
||||||
$this->response(['message' => $cek_data[0]->nama.' telah diabsensi masuk kerja dan pulang kerja pada hari ini'], 401);
|
$this->response(['message' => $cek_data[0]->nama.' telah diabsensi masuk kerja dan pulang kerja pada hari ini'], 401);
|
||||||
}
|
}
|
||||||
elseif ($nik_ada == true) {
|
elseif ($nik_ada == true) {
|
||||||
@@ -302,5 +320,20 @@ class Api_server extends RestController
|
|||||||
$this->response($cek_data, 200);
|
$this->response($cek_data, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function notifikasi_post(){
|
||||||
|
$no_telpon = $this->post('no_telpon');
|
||||||
|
|
||||||
|
$cek_data = $this->model->tampil_data_keseluruhan('tb_notifikasi')->result();
|
||||||
|
|
||||||
|
if (count($cek_data) == 0) {
|
||||||
|
$this->model->insert('tb_notifikasi',['no_telpon' => $no_telpon]);
|
||||||
|
}else{
|
||||||
|
$this->model->custom_query('UPDATE tb_notifikasi set no_telpon = '.$no_telpon);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->response(['message' => $no_telpon], 200);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ class Home extends CI_Controller {
|
|||||||
$row[] = $no;
|
$row[] = $no;
|
||||||
$row[] = $field->nik_karyawan;
|
$row[] = $field->nik_karyawan;
|
||||||
$row[] = $field->nama;
|
$row[] = $field->nama;
|
||||||
$row[] = '<center><button type="button" onclick="detail_karyawan('.$field->nik_karyawan.','."'".$field->nama."'".')" class="btn btn-primary btn-circle btn-sm waves-effect waves-light"><i class="ico fa fa-edit"></i></button></center>';
|
$row[] = '<center><button type="button" onclick="detail_karyawan('.$field->nik_karyawan.','."'".$field->nama."'".')" class="btn btn-primary btn-circle btn-sm waves-effect waves-light"><i class="ico fa fa-edit"></i></button> <button type="button" onclick="qrcode_karyawan('.$field->nik_karyawan.')" class="btn btn-info btn-circle btn-sm waves-effect waves-light"><i class="ico fa fa-qrcode"></i></button></center>';
|
||||||
$data[] = $row;
|
$data[] = $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -274,6 +274,18 @@ class Home extends CI_Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function notifikasi(){
|
||||||
|
$cek_data = $this->model->tampil_data_keseluruhan('tb_notifikasi')->result();
|
||||||
|
|
||||||
|
if (count($cek_data) > 0) {
|
||||||
|
$main['no_telpon'] = $cek_data[0]->no_telpon;
|
||||||
|
}else{
|
||||||
|
$main['no_telpon'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$main['header'] = 'Halaman No Notifikasi';
|
||||||
|
$this->load->view('home/menu/notifikasi', $main);
|
||||||
|
}
|
||||||
|
|
||||||
function cetak($tahun = null, $bulan = null){
|
function cetak($tahun = null, $bulan = null){
|
||||||
if (is_numeric($bulan) && is_numeric($tahun)) {
|
if (is_numeric($bulan) && is_numeric($tahun)) {
|
||||||
@@ -413,6 +425,61 @@ class Home extends CI_Controller {
|
|||||||
redirect('/home/laporan');
|
redirect('/home/laporan');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function print_id_karyawan($nik_karyawan = null)
|
||||||
|
{
|
||||||
|
// print_r($this->uri->segment(3));
|
||||||
|
|
||||||
|
if ($nik_karyawan != null) {
|
||||||
|
$cek_data = $this->model->tampil_data_where('tb_karyawan',array('nik_karyawan' => $nik_karyawan))->result();
|
||||||
|
if (count($cek_data) > 0) {
|
||||||
|
$this->model->qrcode_karyawan($nik_karyawan);
|
||||||
|
$pdf = new TCPDF('P','mm',array(80,60));
|
||||||
|
$pdf->setPrintHeader(false);
|
||||||
|
$pdf->AddPage();
|
||||||
|
// $pdf->Image(base_url('images/karyawan/'.$nik_karyawan.'.png'),5,7,30);
|
||||||
|
|
||||||
|
$html = '
|
||||||
|
<style>
|
||||||
|
|
||||||
|
.ini {
|
||||||
|
border-bottom: 1px dotted black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ada {
|
||||||
|
border-left: 1px solid black;border-bottom: 1px solid black;border-right: 1px solid black;border-top: 1px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tiada {
|
||||||
|
border-left: 1px solid black;border-right: 1px solid black;border-top: 1px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tiada1 {
|
||||||
|
border-left: 1px solid black;border-right: 1px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<table width="100%" style="font-size: 10px;">
|
||||||
|
<tr>
|
||||||
|
<td width="15%"></td>
|
||||||
|
<td width="70%" align="center"><img src="'.base_url().'images/karyawan/'.$nik_karyawan.'.png" ></td>
|
||||||
|
<td width="15%"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width="15%"></td>
|
||||||
|
<td width="70%" align="center">'.$cek_data[0]->nama.'</td>
|
||||||
|
<td width="15%"></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
';
|
||||||
|
$pdf->writeHTML($html, true, false, true, false, '');
|
||||||
|
$pdf->output();
|
||||||
|
}else{
|
||||||
|
redirect('/home');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function logout()
|
function logout()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -281,30 +281,30 @@ class Model extends CI_Model {
|
|||||||
return $ini;
|
return $ini;
|
||||||
}
|
}
|
||||||
|
|
||||||
// function qrcode_buku($kode){
|
function qrcode_karyawan($karyawan){
|
||||||
// include "phpqrcode/qrlib.php";
|
include "phpqrcode/qrlib.php";
|
||||||
// $kode = $kode;
|
|
||||||
|
|
||||||
// // $PNG_TEMP_DIR = 'images/'.$kategori;
|
|
||||||
|
|
||||||
// $PNG_WEB_DIR = 'images/buku/';
|
// $PNG_TEMP_DIR = 'images/'.$kategori;
|
||||||
|
|
||||||
|
$PNG_WEB_DIR = 'images/karyawan/';
|
||||||
|
|
||||||
// if (!file_exists($PNG_WEB_DIR))
|
if (!file_exists($PNG_WEB_DIR))
|
||||||
// mkdir($PNG_WEB_DIR);
|
mkdir($PNG_WEB_DIR);
|
||||||
|
|
||||||
// $errorCorrectionLevel = 'H';
|
$errorCorrectionLevel = 'H';
|
||||||
|
|
||||||
// $matrixPointSize = 10;
|
$matrixPointSize = 10;
|
||||||
|
|
||||||
// $filename =$PNG_WEB_DIR.md5($kode).'.png';
|
$filename =$PNG_WEB_DIR.$karyawan.'.png';
|
||||||
// QRcode::png($kode, $filename, $errorCorrectionLevel, $matrixPointSize, 2);
|
QRcode::png($karyawan, $filename, $errorCorrectionLevel, $matrixPointSize, 2);
|
||||||
|
|
||||||
// if (file_exists($PNG_WEB_DIR.md5($kode).'.png') > 0) {
|
if (file_exists($PNG_WEB_DIR.$karyawan.'.png') > 0) {
|
||||||
// return "ada";
|
return "ada";
|
||||||
// }else{
|
}else{
|
||||||
// return "tiada";
|
return "tiada";
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
function cek_last_ai($tables){
|
function cek_last_ai($tables){
|
||||||
return $this->db->query("SELECT `AUTO_INCREMENT` as no
|
return $this->db->query("SELECT `AUTO_INCREMENT` as no
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
<button type="button" class="button-close fa fa-times js__menu_close"></button>
|
<button type="button" class="button-close fa fa-times js__menu_close"></button>
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<a href="#" class="avatar"><img src="<?=base_url()?>/assets/images/admin.png" alt=""><span class="status online"></span></a>
|
<a href="#" class="avatar"><img src="<?=base_url()?>/assets/images/admin.png" alt=""><span class="status online"></span></a>
|
||||||
<h5 class="name"></h5>
|
<h5 class="name">Admin</h5>
|
||||||
<h5 class="position"></h5>
|
<h5 class="position">Admin</h5>
|
||||||
<!-- /.name -->
|
<!-- /.name -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -30,6 +30,9 @@
|
|||||||
<li <?php if ($this->uri->segment(2) == "laporan"): ?>class="current"<?php endif ?>>
|
<li <?php if ($this->uri->segment(2) == "laporan"): ?>class="current"<?php endif ?>>
|
||||||
<a class="waves-effect" href="<?=base_url()?>home/laporan"><i class="menu-icon zmdi zmdi-storage"></i><span>Laporan Absensi</span></a>
|
<a class="waves-effect" href="<?=base_url()?>home/laporan"><i class="menu-icon zmdi zmdi-storage"></i><span>Laporan Absensi</span></a>
|
||||||
</li>
|
</li>
|
||||||
|
<li <?php if ($this->uri->segment(2) == "notifikasi"): ?>class="current"<?php endif ?>>
|
||||||
|
<a class="waves-effect" href="<?=base_url()?>home/notifikasi"><i class="menu-icon fa fa-phone"></i><span>No Telpon Notifikasi</span></a>
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<!-- /.menu js__accordion -->
|
<!-- /.menu js__accordion -->
|
||||||
|
|||||||
@@ -243,7 +243,7 @@
|
|||||||
|
|
||||||
block_ui()
|
block_ui()
|
||||||
},
|
},
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
$('#sini_form')[0].reset();
|
$('#sini_form')[0].reset();
|
||||||
$('#table_list_karyawan').dataTable().fnDestroy();
|
$('#table_list_karyawan').dataTable().fnDestroy();
|
||||||
datatables()
|
datatables()
|
||||||
@@ -263,10 +263,8 @@
|
|||||||
timer : 3000
|
timer : 3000
|
||||||
// dangerMode: true,
|
// dangerMode: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
qrcode_karyawan(nik_karyawan)
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
// console.log(errorThrown)
|
// console.log(errorThrown)
|
||||||
@@ -574,6 +572,18 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function qrcode_karyawan(nik_karyawan){
|
||||||
|
let html = await `<div class="row small-spacing">
|
||||||
|
<div class="col-lg-12 col-xs-12" style="overflow-x: auto; ">
|
||||||
|
<iframe src="${url}home/print_id_karyawan/${nik_karyawan}" width="100%" height="450px"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>`
|
||||||
|
|
||||||
|
await $("#sini_modalnya .modal-body").html(html)
|
||||||
|
|
||||||
|
await $('#sini_modalnya').modal('show');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -51,8 +51,8 @@
|
|||||||
</thead> -->
|
</thead> -->
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<hr>
|
<!-- <hr>
|
||||||
<center><button type="button" class="btn btn-primary btn-sm waves-effect waves-light" onclick="cetak_laporan()">Cetak Laporan</button></center>
|
<center><button type="button" class="btn btn-primary btn-sm waves-effect waves-light" onclick="cetak_laporan()">Cetak Laporan</button></center> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.card-content -->
|
<!-- /.card-content -->
|
||||||
</div>
|
</div>
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
await $("#sini_modalnya .modal-header .modal-title").html(`Laporan Bulan ${$("#val_bulan").val()} , Tahun ${$("#val_tahun").val()}`)
|
await $("#sini_modalnya .modal-header .modal-title").html(`Laporan Bulan ${$("#val_bulan").val()} , Tahun ${$("#val_tahun").val()}`)
|
||||||
await $("#sini_modalnya .modal-dialog").attr('class','modal-dialog modal-lg')
|
await $("#sini_modalnya .modal-dialog").attr('class','modal-dialog modal-lg')
|
||||||
|
|
||||||
console.log(``)
|
// console.log(``)
|
||||||
let html = await `<div class="row small-spacing">
|
let html = await `<div class="row small-spacing">
|
||||||
<div class="col-lg-12 col-xs-12" style="overflow-x: auto; ">
|
<div class="col-lg-12 col-xs-12" style="overflow-x: auto; ">
|
||||||
<iframe src="${url}home/cetak/${$("#val_tahun").val()}/${$("#val_bulan").val()}" title="W3Schools Free Online Web Tutorials" width="100%" height="600px"></iframe>
|
<iframe src="${url}home/cetak/${$("#val_tahun").val()}/${$("#val_bulan").val()}" title="W3Schools Free Online Web Tutorials" width="100%" height="600px"></iframe>
|
||||||
|
|||||||
@@ -259,8 +259,19 @@
|
|||||||
},
|
},
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
$.unblockUI();
|
$.unblockUI();
|
||||||
console.log(response)
|
// console.log(response)
|
||||||
|
swal({
|
||||||
|
title : "Sukses",
|
||||||
|
text: "Libur Berhasil Ditambah ",
|
||||||
|
icon: "success",
|
||||||
|
buttons: {
|
||||||
|
cancel: false,
|
||||||
|
confirm: true,
|
||||||
|
},
|
||||||
|
timer : 3000
|
||||||
|
// dangerMode: true,
|
||||||
|
})
|
||||||
|
$('#sini_modalnya').modal('hide');
|
||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
// console.log(errorThrown)
|
// console.log(errorThrown)
|
||||||
@@ -272,6 +283,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function qrcode_karyawan(nik_karyawan){
|
||||||
|
let html = await `<div class="row small-spacing">
|
||||||
|
<div class="col-lg-12 col-xs-12" style="overflow-x: auto; ">
|
||||||
|
<iframe src="${url}home/print_id_karyawan/${nik_karyawan}" width="100%" height="450px"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>`
|
||||||
|
|
||||||
|
await $("#sini_modalnya .modal-body").html(html)
|
||||||
|
|
||||||
|
await $('#sini_modalnya').modal('show');
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -0,0 +1,147 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<?php $this->load->view('home/head');?>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="<?=base_url()?>assets/plugin/datatables/media/css/dataTables.bootstrap.min.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<?php $this->load->view('home/header');?>
|
||||||
|
|
||||||
|
<div class="modal fade" id="sini_modalnya" role="dialog">
|
||||||
|
<div class="modal-dialog ">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
|
<h4 class="modal-title">Modal Header</h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body row">
|
||||||
|
<p>This is a small modal.</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="wrapper">
|
||||||
|
<div class="main-content">
|
||||||
|
<div class="row small-spacing">
|
||||||
|
|
||||||
|
<div class="col-lg-2 col-md-2 col-xs-12"></div>
|
||||||
|
<input type="hidden" id="sini_no_telpon" value="<?=$no_telpon?>">
|
||||||
|
<div class="col-lg-8 col-md-8 col-xs-12">
|
||||||
|
<div class="box-content card">
|
||||||
|
<h4 class="box-title" style="background: #0055FF ;cursor: pointer;" onclick="myFunction('div_notifikasi')">No Telpon Notifikasi</h4>
|
||||||
|
<!-- /.box-title -->
|
||||||
|
<div class="card-content" style="overflow-x: auto;" id="div_notifikasi">
|
||||||
|
<form id="sini_form">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="exampleInputEmail1">No Telpon Notifikasi</label>
|
||||||
|
<input type="text" class="form-control" id="no_telpon" name="no_telpon" placeholder="Masukkan No Telpon Notifikasi" maxlength="13" onkeypress="return isNumberKey(event)" value="<?=$no_telpon?>" >
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<center><button type="button" class="btn btn-primary btn-sm waves-effect waves-light" onclick="tambah_notifikasi()">Tambah / Edit No Telpon</button></center>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<!-- /.card-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.box-content -->
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-2 col-md-2 col-xs-12"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<?php $this->load->view('home/footer');?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- /.main-content -->
|
||||||
|
</div><!--/#wrapper -->
|
||||||
|
|
||||||
|
<?php $this->load->view('home/script'); ?>
|
||||||
|
|
||||||
|
<!-- <script src="<?=base_url()?>assets/plugin/datatables/media/js/jquery.dataTables.min.js"></script> -->
|
||||||
|
<!-- <script src="<?=base_url()?>assets/plugin/datatables/media/js/dataTables.bootstrap.min.js"></script> -->
|
||||||
|
|
||||||
|
<script async="">
|
||||||
|
async function tambah_notifikasi(){
|
||||||
|
|
||||||
|
let no_telpon = $("#no_telpon").val();
|
||||||
|
|
||||||
|
if(no_telpon == ''){
|
||||||
|
toastnya('Nomor Telpon Harus Terisi');
|
||||||
|
$("#no_telpon").focus();
|
||||||
|
}
|
||||||
|
else if(no_telpon.length < 10){
|
||||||
|
toastnya('Panjang Nomor Telpon Minimal 10 Karakter');
|
||||||
|
$("#no_telpon").focus();
|
||||||
|
}else{
|
||||||
|
// console.log($("#sini_no_telpon").val())
|
||||||
|
let ada_nom = ($("#sini_no_telpon").val() != '') ? true : false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
swal({
|
||||||
|
title : (ada_nom) ? `Update Nomor` : `Tambah Nomor`,
|
||||||
|
text: (ada_nom) ? `Update Nomor Notifkasi Dari ${$("#sini_no_telpon").val()} kepada ${no_telpon}` : `Tambah Nomor ${no_telpon}`,
|
||||||
|
icon: "info",
|
||||||
|
buttons: {
|
||||||
|
cancel: false,
|
||||||
|
confirm: true,
|
||||||
|
},
|
||||||
|
// timer : 3000
|
||||||
|
// dangerMode: true,
|
||||||
|
})
|
||||||
|
.then((hehe) => {
|
||||||
|
if (hehe) {
|
||||||
|
$.ajax({
|
||||||
|
url: url+"api_server/notifikasi",
|
||||||
|
type: 'post',
|
||||||
|
data: {no_telpon : no_telpon},
|
||||||
|
beforeSend: function(res) {
|
||||||
|
|
||||||
|
block_ui()
|
||||||
|
},
|
||||||
|
success: (response) => {
|
||||||
|
console.log(response);
|
||||||
|
$.unblockUI();
|
||||||
|
$("#sini_no_telpon").val(no_telpon)
|
||||||
|
swal({
|
||||||
|
title : "Sukses",
|
||||||
|
text: "No Telpon Notifikasi Berhasil Ditambah / Diupdate ",
|
||||||
|
icon: "success",
|
||||||
|
buttons: {
|
||||||
|
cancel: false,
|
||||||
|
confirm: true,
|
||||||
|
},
|
||||||
|
timer : 3000
|
||||||
|
// dangerMode: true,
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
|
// console.log(errorThrown)
|
||||||
|
bad_request(errorThrown,JSON.parse(XMLHttpRequest.responseText).message,'no_telpon')
|
||||||
|
$.unblockUI();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1 +1,2 @@
|
|||||||
var url = 'http://localhost/barcode_absensi_admin/';
|
// var url = 'http://localhost/barcode_absensi_admin/';
|
||||||
|
var url = 'https://barcode-absensi.kicap-karan.com/';
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
-- https://www.phpmyadmin.net/
|
-- https://www.phpmyadmin.net/
|
||||||
--
|
--
|
||||||
-- Host: 127.0.0.1
|
-- Host: 127.0.0.1
|
||||||
-- Generation Time: May 06, 2021 at 07:32 PM
|
-- Generation Time: May 21, 2021 at 03:53 PM
|
||||||
-- Server version: 10.4.17-MariaDB
|
-- Server version: 10.4.17-MariaDB
|
||||||
-- PHP Version: 7.4.15
|
-- PHP Version: 7.4.15
|
||||||
|
|
||||||
@@ -70,7 +70,8 @@ CREATE TABLE `tb_karyawan` (
|
|||||||
INSERT INTO `tb_karyawan` (`nik_karyawan`, `nama`, `tempat_lahir`, `tanggal_lahir`, `jk`, `agama`, `status`, `pendidikan`, `alamat`, `jabatan`, `tanggal_daftar`, `detail`) VALUES
|
INSERT INTO `tb_karyawan` (`nik_karyawan`, `nama`, `tempat_lahir`, `tanggal_lahir`, `jk`, `agama`, `status`, `pendidikan`, `alamat`, `jabatan`, `tanggal_daftar`, `detail`) VALUES
|
||||||
('45454545545454', 'Kicap Karan 1', '', '0000-00-00', '', '', '', '', '', '', '2021-04-06', '[{\"tanggal\":\"2021-05-07\",\"ket\":\"asdasdasd\"},{\"tanggal\":\"2021-05-08\",\"ket\":\"asdasdasd\"}]'),
|
('45454545545454', 'Kicap Karan 1', '', '0000-00-00', '', '', '', '', '', '', '2021-04-06', '[{\"tanggal\":\"2021-05-07\",\"ket\":\"asdasdasd\"},{\"tanggal\":\"2021-05-08\",\"ket\":\"asdasdasd\"}]'),
|
||||||
('56465456465465', 'asdasdas', 'asdasd', '1992-08-30', 'Laki-laki', 'Kristen Protestan', 'Belum Menikah', 'S1', 'asdasd', 'asdasd', '2021-04-06', NULL),
|
('56465456465465', 'asdasdas', 'asdasd', '1992-08-30', 'Laki-laki', 'Kristen Protestan', 'Belum Menikah', 'S1', 'asdasd', 'asdasd', '2021-04-06', NULL),
|
||||||
('65656566666665', 'Percobaan2', 'asdasdsads1', '1992-08-30', 'Laki-laki', 'Kristen Protestan', 'Belum Menikah', 'S1', 'Tawau', 'asdasdasds1', '2021-05-08', NULL);
|
('65656566666665', 'Percobaan2', 'asdasdsads1', '1992-08-30', 'Laki-laki', 'Kristen Protestan', 'Belum Menikah', 'S1', 'Tawau', 'asdasdasds1', '2021-05-08', NULL),
|
||||||
|
('87484654848486', 'asdasdsadas1', 'asdasdsads1', '1992-08-30', 'Perempuan', 'Kristen Protestan', 'Belum Menikah', 'D3', 'asdasd', 'asdasdasds1', '2021-05-19', '[{\"tanggal\":\"2021-05-19\",\"ket\":\"asdasdad\"}]');
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@@ -92,12 +93,24 @@ CREATE TABLE `tb_login` (
|
|||||||
|
|
||||||
INSERT INTO `tb_login` (`id_login`, `username`, `password`, `nik_karyawan`, `level`) VALUES
|
INSERT INTO `tb_login` (`id_login`, `username`, `password`, `nik_karyawan`, `level`) VALUES
|
||||||
(1, 'admin absensi', '584c60ea9b41500d26f446a2543d8a98', NULL, 'admin'),
|
(1, 'admin absensi', '584c60ea9b41500d26f446a2543d8a98', NULL, 'admin'),
|
||||||
(2, '56465465456465', 'd41d8cd98f00b204e9800998ecf8427e', NULL, ''),
|
(4, 'admin petugas', '77c10df6c2867dddbe812c3c950b0a73', NULL, 'petugas');
|
||||||
(3, '56465456465465', '176fd7322b6beaf7afdda3b88ee76b9b', NULL, ''),
|
|
||||||
(4, 'admin petugas', '77c10df6c2867dddbe812c3c950b0a73', NULL, 'petugas'),
|
-- --------------------------------------------------------
|
||||||
(5, '23213123123123', '38f93121eee2c37c5aaf7902ecad0843', NULL, ''),
|
|
||||||
(6, '78787878787878', '81bdbd39af125a6bfb21282c810ecb86', NULL, ''),
|
--
|
||||||
(7, '65656566666665', '4a29f705441a615ef353fcae6cf781e1', NULL, '');
|
-- Table structure for table `tb_notifikasi`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `tb_notifikasi` (
|
||||||
|
`no_telpon` varchar(13) NOT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `tb_notifikasi`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `tb_notifikasi` (`no_telpon`) VALUES
|
||||||
|
('2342342342343');
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indexes for dumped tables
|
-- Indexes for dumped tables
|
||||||
@@ -122,6 +135,12 @@ ALTER TABLE `tb_login`
|
|||||||
ADD PRIMARY KEY (`id_login`),
|
ADD PRIMARY KEY (`id_login`),
|
||||||
ADD KEY `nik_karyawan` (`nik_karyawan`);
|
ADD KEY `nik_karyawan` (`nik_karyawan`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `tb_notifikasi`
|
||||||
|
--
|
||||||
|
ALTER TABLE `tb_notifikasi`
|
||||||
|
ADD PRIMARY KEY (`no_telpon`);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- AUTO_INCREMENT for dumped tables
|
-- AUTO_INCREMENT for dumped tables
|
||||||
--
|
--
|
||||||
@@ -136,7 +155,7 @@ ALTER TABLE `tb_absensi`
|
|||||||
-- AUTO_INCREMENT for table `tb_login`
|
-- AUTO_INCREMENT for table `tb_login`
|
||||||
--
|
--
|
||||||
ALTER TABLE `tb_login`
|
ALTER TABLE `tb_login`
|
||||||
MODIFY `id_login` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
|
MODIFY `id_login` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Constraints for dumped tables
|
-- Constraints for dumped tables
|
||||||
|
|||||||
|
After Width: | Height: | Size: 345 B |
|
After Width: | Height: | Size: 345 B |
|
After Width: | Height: | Size: 351 B |
|
After Width: | Height: | Size: 338 B |
@@ -0,0 +1,38 @@
|
|||||||
|
* 1.0.0 build 2010031920
|
||||||
|
|
||||||
|
- first public release
|
||||||
|
- help in readme, install
|
||||||
|
- cleanup ans separation of QRtools and QRspec
|
||||||
|
- now TCPDF binding requires minimal changes in TCPDF, having most of job
|
||||||
|
done in QRtools tcpdfBarcodeArray
|
||||||
|
- nicer QRtools::timeBenchmark output
|
||||||
|
- license and copyright notices in files
|
||||||
|
- indent cleanup - from tab to 4spc, keep it that way please :)
|
||||||
|
- sf project, repository, wiki
|
||||||
|
- simple code generator in index.php
|
||||||
|
|
||||||
|
* 1.1.0 build 2010032113
|
||||||
|
|
||||||
|
- added merge tool wich generate merged version of code
|
||||||
|
located in phpqrcode.php
|
||||||
|
- splited qrconst.php from qrlib.php
|
||||||
|
|
||||||
|
* 1.1.1 build 2010032405
|
||||||
|
|
||||||
|
- patch by Rick Seymour allowing saving PNG and displaying it at the same time
|
||||||
|
- added version info in VERSION file
|
||||||
|
- modified merge tool to include version info into generated file
|
||||||
|
- fixed e-mail in almost all head comments
|
||||||
|
|
||||||
|
* 1.1.2 build 2010032722
|
||||||
|
|
||||||
|
- full integration with TCPDF thanks to Nicola Asuni, it's author
|
||||||
|
- fixed bug with alphanumeric encoding detection
|
||||||
|
|
||||||
|
* 1.1.3 build 2010081807
|
||||||
|
|
||||||
|
- short opening tags replaced with standard ones
|
||||||
|
|
||||||
|
* 1.1.4 build 2010100721
|
||||||
|
|
||||||
|
- added missing static keyword QRinput::check (found by Luke Brookhart, Onjax LLC)
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
== REQUIREMENTS ==
|
||||||
|
|
||||||
|
* PHP5
|
||||||
|
* PHP GD2 extension with JPEG and PNG support
|
||||||
|
|
||||||
|
== INSTALLATION ==
|
||||||
|
|
||||||
|
If you want to recreate cache by yourself make sure cache directory is
|
||||||
|
writable and you have permisions to write into it. Also make sure you are
|
||||||
|
able to read files in it if you have cache option enabled
|
||||||
|
|
||||||
|
== CONFIGURATION ==
|
||||||
|
|
||||||
|
Feel free to modify config constants in qrconfig.php file. Read about it in
|
||||||
|
provided comments and project wiki page (links in README file)
|
||||||
|
|
||||||
|
== QUICK START ==
|
||||||
|
|
||||||
|
Notice: probably you should'nt use all of this in same script :)
|
||||||
|
|
||||||
|
<?phpb
|
||||||
|
|
||||||
|
//include only that one, rest required files will be included from it
|
||||||
|
include "qrlib.php"
|
||||||
|
|
||||||
|
//write code into file, Error corection lecer is lowest, L (one form: L,M,Q,H)
|
||||||
|
//each code square will be 4x4 pixels (4x zoom)
|
||||||
|
//code will have 2 code squares white boundary around
|
||||||
|
|
||||||
|
QRcode::png('PHP QR Code :)', 'test.png', 'L', 4, 2);
|
||||||
|
|
||||||
|
//same as above but outputs file directly into browser (with appr. header etc.)
|
||||||
|
//all other settings are default
|
||||||
|
//WARNING! it should be FIRST and ONLY output generated by script, otherwise
|
||||||
|
//rest of output will land inside PNG binary, breaking it for sure
|
||||||
|
QRcode::png('PHP QR Code :)');
|
||||||
|
|
||||||
|
//show benchmark
|
||||||
|
QRtools::timeBenchmark();
|
||||||
|
|
||||||
|
//rebuild cache
|
||||||
|
QRtools::buildCache();
|
||||||
|
|
||||||
|
//code generated in text mode - as a binary table
|
||||||
|
//then displayed out as HTML using Unicode block building chars :)
|
||||||
|
$tab = $qr->encode('PHP QR Code :)');
|
||||||
|
QRspec::debug($tab, true);
|
||||||
|
|
||||||
|
== TCPDF INTEGRATION ==
|
||||||
|
|
||||||
|
Inside bindings/tcpdf you will find slightly modified 2dbarcodes.php.
|
||||||
|
Instal phpqrcode liblaty inside tcpdf folder, then overwrite (or merge)
|
||||||
|
2dbarcodes.php
|
||||||
|
|
||||||
|
Then use similar as example #50 from TCPDF examples:
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$style = array(
|
||||||
|
'border' => true,
|
||||||
|
'padding' => 4,
|
||||||
|
'fgcolor' => array(0,0,0),
|
||||||
|
'bgcolor' => false, //array(255,255,255)
|
||||||
|
);
|
||||||
|
|
||||||
|
//code name: QR, specify error correction level after semicolon (L,M,Q,H)
|
||||||
|
$pdf->write2DBarcode('PHP QR Code :)', 'QR,L', '', '', 30, 30, $style, 'N');
|
||||||
@@ -0,0 +1,165 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates
|
||||||
|
the terms and conditions of version 3 of the GNU General Public
|
||||||
|
License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||||
|
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||||
|
General Public License.
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License,
|
||||||
|
other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided
|
||||||
|
by the Library, but which is not otherwise based on the Library.
|
||||||
|
Defining a subclass of a class defined by the Library is deemed a mode
|
||||||
|
of using an interface provided by the Library.
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an
|
||||||
|
Application with the Library. The particular version of the Library
|
||||||
|
with which the Combined Work was made is also called the "Linked
|
||||||
|
Version".
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the
|
||||||
|
Corresponding Source for the Combined Work, excluding any source code
|
||||||
|
for portions of the Combined Work that, considered in isolation, are
|
||||||
|
based on the Application, and not on the Linked Version.
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the
|
||||||
|
object code and/or source code for the Application, including any data
|
||||||
|
and utility programs needed for reproducing the Combined Work from the
|
||||||
|
Application, but excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License
|
||||||
|
without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a
|
||||||
|
facility refers to a function or data to be supplied by an Application
|
||||||
|
that uses the facility (other than as an argument passed when the
|
||||||
|
facility is invoked), then you may convey a copy of the modified
|
||||||
|
version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to
|
||||||
|
ensure that, in the event an Application does not supply the
|
||||||
|
function or data, the facility still operates, and performs
|
||||||
|
whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of
|
||||||
|
this License applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
|
||||||
|
The object code form of an Application may incorporate material from
|
||||||
|
a header file that is part of the Library. You may convey such object
|
||||||
|
code under terms of your choice, provided that, if the incorporated
|
||||||
|
material is not limited to numerical parameters, data structure
|
||||||
|
layouts and accessors, or small macros, inline functions and templates
|
||||||
|
(ten or fewer lines in length), you do both of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the
|
||||||
|
Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
|
||||||
|
You may convey a Combined Work under terms of your choice that,
|
||||||
|
taken together, effectively do not restrict modification of the
|
||||||
|
portions of the Library contained in the Combined Work and reverse
|
||||||
|
engineering for debugging such modifications, if you also do each of
|
||||||
|
the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that
|
||||||
|
the Library is used in it and that the Library and its use are
|
||||||
|
covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during
|
||||||
|
execution, include the copyright notice for the Library among
|
||||||
|
these notices, as well as a reference directing the user to the
|
||||||
|
copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this
|
||||||
|
License, and the Corresponding Application Code in a form
|
||||||
|
suitable for, and under terms that permit, the user to
|
||||||
|
recombine or relink the Application with a modified version of
|
||||||
|
the Linked Version to produce a modified Combined Work, in the
|
||||||
|
manner specified by section 6 of the GNU GPL for conveying
|
||||||
|
Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (a) uses at run time
|
||||||
|
a copy of the Library already present on the user's computer
|
||||||
|
system, and (b) will operate properly with a modified version
|
||||||
|
of the Library that is interface-compatible with the Linked
|
||||||
|
Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise
|
||||||
|
be required to provide such information under section 6 of the
|
||||||
|
GNU GPL, and only to the extent that such information is
|
||||||
|
necessary to install and execute a modified version of the
|
||||||
|
Combined Work produced by recombining or relinking the
|
||||||
|
Application with a modified version of the Linked Version. (If
|
||||||
|
you use option 4d0, the Installation Information must accompany
|
||||||
|
the Minimal Corresponding Source and Corresponding Application
|
||||||
|
Code. If you use option 4d1, you must provide the Installation
|
||||||
|
Information in the manner specified by section 6 of the GNU GPL
|
||||||
|
for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
|
||||||
|
You may place library facilities that are a work based on the
|
||||||
|
Library side by side in a single library together with other library
|
||||||
|
facilities that are not Applications and are not covered by this
|
||||||
|
License, and convey such a combined library under terms of your
|
||||||
|
choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based
|
||||||
|
on the Library, uncombined with any other library facilities,
|
||||||
|
conveyed under the terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it
|
||||||
|
is a work based on the Library, and explaining where to find the
|
||||||
|
accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Lesser General Public License from time to time. Such new
|
||||||
|
versions will be similar in spirit to the present version, but may
|
||||||
|
differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Library as you received it specifies that a certain numbered version
|
||||||
|
of the GNU Lesser General Public License "or any later version"
|
||||||
|
applies to it, you have the option of following the terms and
|
||||||
|
conditions either of that published version or of any later version
|
||||||
|
published by the Free Software Foundation. If the Library as you
|
||||||
|
received it does not specify a version number of the GNU Lesser
|
||||||
|
General Public License, you may choose any version of the GNU Lesser
|
||||||
|
General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide
|
||||||
|
whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is
|
||||||
|
permanent authorization for you to choose that version for the
|
||||||
|
Library.
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
|
||||||
|
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
|
||||||
|
|
||||||
|
== LICENSING ==
|
||||||
|
|
||||||
|
Copyright (C) 2010 by Dominik Dzienia
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU Lesser General Public License as published by the Free
|
||||||
|
Software Foundation; either version 3 of the License, or any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
|
||||||
|
for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License along
|
||||||
|
with this library; if not, write to the Free Software Foundation, Inc., 51
|
||||||
|
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
== INSTALATION AND USAGE ==
|
||||||
|
|
||||||
|
* INSTALL file
|
||||||
|
* http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
|
||||||
|
|
||||||
|
== CONTACT ==
|
||||||
|
|
||||||
|
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
|
||||||
|
folowing project pages:
|
||||||
|
|
||||||
|
* http://sourceforge.net/projects/phpqrcode/
|
||||||
|
* http://phpqrcode.sourceforge.net/
|
||||||
|
|
||||||
|
== ACKNOWLEDGMENTS ==
|
||||||
|
|
||||||
|
Based on C libqrencode library (ver. 3.1.1)
|
||||||
|
Copyright (C) 2006-2010 by Kentaro Fukuchi
|
||||||
|
http://megaui.net/fukuchi/works/qrencode/index.en.html
|
||||||
|
|
||||||
|
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
|
||||||
|
countries.
|
||||||
|
|
||||||
|
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
1.1.4
|
||||||
|
2010100721
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2020-04-12 14:04:55: empty string!!!2020-04-12 14:05:18: empty string!!!
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
xÚ��Á
À E9³u��`³"PÅ„CÛ牗T!0$
|
||||||
|
E•ɲQ™�Ém½úhÛ¾9{kI"› 9Ln)Ap¤åÖ¾Ë>ß^‡Õz³mënÅ–;ü´mßn†ú¦Ë
|
||||||
|
After Width: | Height: | Size: 126 B |
|
After Width: | Height: | Size: 202 B |
|
After Width: | Height: | Size: 205 B |
|
After Width: | Height: | Size: 216 B |
|
After Width: | Height: | Size: 210 B |
|
After Width: | Height: | Size: 213 B |
|
After Width: | Height: | Size: 219 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚí™A„ E]sëIX´;¸Ün6€È`‚q”êêW6ñ奚`Œ%A/3!¢°‚¢Š!g–ÈÌ¡’1N)éE¢Ï|;®—>6â¸�Þ97$ëÄôëc]kkö�wé1Öü[·mCÍœcÊRºÄê¹>¦èµ¾šE,•hʼnp„#áxF�yWÏÇVWGçòÕ3¼Õ+шþàË“úSŽâ}Äž�#áG8b^c^cÏÀŽp„c&3YQ"ñŽ÷çÌvµù›…ñàÎþþ¼–¹kÞ9ŠÜ‡÷}”¹³ï×ú ¢Ä¿�QäÿL—/ÝÔÀÏ
|
||||||
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 211 B |
@@ -0,0 +1,2 @@
|
|||||||
|
xÚí™A
|
||||||
|
ƒ0E]çÖ…,2;sƒä&ÉÍšh¥ÛêO¡ôÝÈàã1&09OIv@DDÒÌ&§Ù‰K�XÈÕFv•<Ádqò9Ö<%h•¹Yïs!(d¥²ës;~||b(ÏøYůg#µ`œK ±S¼Åô¹Ä¶˜ùsàidß�Lg:Ó™Îtþ/gmª�™ƒkÅMâ3³{4rTÈQýÿe¥·s·>ó<Ó™Ît¦3�éÌ;ïH¼#Ñ™Ît¦3�ÍYœ+og©hù¶óµÙ½¬lnðûF>Øi^»#awm;gè~pÛgìNs{6z’‘»ãºïÞäp¾Ê'
|
||||||
|
After Width: | Height: | Size: 228 B |
@@ -0,0 +1,3 @@
|
|||||||
|
xÚíšA
|
||||||
|
Ä E»öÖ.ĚNo 7Ń›Ť¶iiRÚN2‹áW%đxÁ@ÚÚśę'
|
||||||
|
u�6×ę�.ť*S;}�«ŇĂ ĎTúčĚzrŤtąď%ç,ŇĹÚâÎ}ç;“âç)ąź�âÝZÚîLĺčą÷¬Pçç$Ż×÷ĎqËgśLÂôdJ‡;Üáw¸Ăý.]z#źľ«[Íť˝ďOg‚Ćô"ĐË áBíî¦}Ç}‡;Üáw¸Ăî�#1GbŽ„;Üáw¸Ăý_ÝC+w˘@Dfî÷ďç™uťř2™ĹÚÉNţű9R7|pWßkďű®ż“ßßkşöżşú»ĽÎÓ
|
||||||
|
After Width: | Height: | Size: 225 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚÍ’Í
À F{vë& à&°Y+?Z1öÐSŸ'y!¢ŸÌÁa�815&£•Û´ŽÙHå£Ùžc³•l«ÏFÆè1º#é6fÊÖü©§6Äø•O7ˆ¨†C¦«›ðÖ�ž�Ï8gI®ÏöfB¦ÃÄÿæ\DÔ»(
|
||||||
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 225 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚíšA„ E]sëIX´;¹Ün6Up‚�“в™ÿ]Ù˜þ<i-eWö‹¶˜)×äÅ•¼ÉÂ…H\jvqÙHL\6–šÝÐ…rI›¢LܹÜÕ%ÅÓ@´þ±V—vÆÂúý¤(ÏP4|ÎXnÒgÉ�ß¼~]D¾ÉÕ×u1Us S\À°€,ÿÅ2Þ¢N§Ã?D›KºüF-:“eJ]p_À°€,˜a0Ã`†ÁÝXÀ°`†Áƒw,`X´]˜ˆ™‚¹‹˜°5‰®Y4{屿ñ2íûåvçJs†±Ûí9±˜í)õu±Û¹êÏØ,«]¸“‹Ù^_§7$ƒ_Í
|
||||||
|
After Width: | Height: | Size: 235 B |
@@ -0,0 +1,3 @@
|
|||||||
|
xÚíšA
|
||||||
|
„0E]{ë�.’]{{{³©Z¥BepÆÞwe@�V›ERZ3»Á"*2o€4¦y‰)i#dÒbdFÒ…´ŒI"ú‘—4ž½WIíuŠÓ45ßx«.ZSÙ{ÁŸ¯8åËÿk={o.±qÊÙ£[œÍ:帒q»õƒy
|
||||||
|
)t#á„N8ádCj�-O�OG}¼:/Ÿ:s�z!Å)^<ùe½·S·uâ{ 'œp 'ú=ú=ú=¾'œp 'œp¢ß£ß£ßã�N8á„Óÿ9©ªˆôpQQõ]HÔpz¾�ØGœ^æ½Qº˜I|¾ß³�u;9™ÎïÕëd;“X~$ËÙÑÉt¶ÊÛédy
|
||||||
|
After Width: | Height: | Size: 226 B |
@@ -0,0 +1,3 @@
|
|||||||
|
xÚíšA
|
||||||
|
à E³öÖfo 7Ñ›U�) %M!ΔÂûYu(<šð“sK²“Tœ›Ó
|
||||||
|
É&§IÚ\i+¥Ðª™(m®´FQ¡¹¯h±æöüèv~n1„oÏ]sëçÖï¤_ÞŸÊ3`î_w2õȹ•lc[¼•;·Ûc֟ˤ’Nóª4ÜpÃ
7ÜpÃímTÿ¸œ›‘ÝêrÞiñä_ƒç¿pS=7Þ7ÜpÃ
7ÜpÃ�>IŸ¤Oò-Á
7ÜpÃ
7ú$}’>É·7ÜpÃ
·tss‰Órs
§åVÍÎÜÆ÷’mýï¡Ò¹ò‡�Þñ}R~7ôà&¾÷º?7ù�Þý�Ô¦Iïbhâ{æ»<ÀMi-
|
||||||
|
After Width: | Height: | Size: 220 B |
@@ -0,0 +1 @@
|
|||||||
|
xΪν›Aƒ E»φΦMX0;Έ�άnVP4ΪHSS»xίU3±/O΄ύLiJ4��±VβJC�%ύ‰6VR&ΓήD‘B�HjDω‚JΟ??™―κBlcΗ±ρ½§'σUλXοUοή�0ζΓywΝΔ―χj¬ιλ�³€3Ε›Ύλ�cj†ω£{¨¥½:GqΔG�έρψ�ϋΪ°N†v;Ή¶η¬“J‡ΔΠ<ϋ‡Ι]�κλΘσ�#�8β�#�8βH'§“ΣΙωΝΑGqΔGιδtr:9Ο#�8β�#�8βΨ“h�―NΤt”�΄Φ_έΨ>tΉeλμS―¦ζ�ω^�\g―υΞQe?ωvuφΜoοΥ;�ο>μ�*οwlςΧmΡ
|
||||||
|
After Width: | Height: | Size: 242 B |
@@ -0,0 +1,3 @@
|
|||||||
|
xÚíÛA
|
||||||
|
à …á¬së‚‹™]rƒx½Y51mMÈBG
|
||||||
|
ÿ¸*Sx|Ua5Ƶ‚Z—Š„-,Ž1ä²HÑPÒRj–šX5§®i†©’áG©>W¥ŽžRïöÕ/Ëâ+uT廯åÏӯ嗴ªuæÏ¥Ú[Sía£[kví÷5•+5n§Á´JêÜ%+V¬X±bÅŠõ߬u'Á�±þÔû SRýå÷štzZ»ì+÷+V¬X±bÅŠ•ٟٟٟûŠ+V¬X±bÅÊìÏìÏìÏ}ÅŠ+V¬X±ö±ª¤¥ÖVI©¢ÖÖ‘+k«qÿ[úËtŽ·oVZÍþvoNV³wÇ}µ{³r<ýRÞ"�RÍÞ]ê
W«r}
|
||||||
|
After Width: | Height: | Size: 242 B |
@@ -0,0 +1,2 @@
|
|||||||
|
xÚí›A
|
||||||
|
à E³öÖ…,t§7ˆ7Ñ›U� E)i7ï»*~cÃüÅÄXÖEBÆè°FC–˜³6¡:&çL,å¬Mv.ŽÂÎæKgŸÕ¸ãYMç>ŸÎí>ûmÛš·?ª•vô¹¾mg?�ßÒ±Îþ³æÎ·ªd˜“Cµ¹U¦ÏIk•ÚÚE\ÕÙMs†f˜a†f˜a>œ[sÓˆ9쬩ެ8bö<kÕÙ7œ}ç†k³™§õ™ÿ3Ì0Ã3Ì0Ã3Ìä*r¹Š\Å7f˜a†f˜a†fr¹Š\Å7f˜a†f˜a†YÆÙ�Îæd›4ƒ9kíÆÌÔÝyûX y‰gŒØÙ)›«dw�nÌ¢ûU×>Ëî”]ßöLgÉÝÁ›³è¾äEo‚ w1
|
||||||
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 234 B |
@@ -0,0 +1,2 @@
|
|||||||
|
xÚíÜA� …a×Ţş ‹™ťÜ@n7+*¶šÖÚ4‘!Í?®Jšđň ł�”抮«]Ş—ÉSźâTf)–ŮsŠIÂ"…Č”bžÝ0…Š|•"Luٸî,Ž×EÇ1\6®*ĎuQŢ?Ľ>aĚĎ…ăţńŽÄRő-r“÷n.ďꯋ\®Tżü:Ó*)|)°Ŕ,°Ŕ,ţŃâęóĺéx_ă¬}:^R„�Uoɢ‰uÁ~ÁމX`�XĐŹĐŹĐŹĐŹ°_`�X`�XĐŹĐŹĐŹ°_`�X`�XĐŹĐŹĐŹĐŹ°wb�X`�żĄPUőö)DÔŢ"cČ{‹zçÎő3ę›é<}¸óˇ^?b÷m˙ÎÂěž�íş°»óaűŽ´’Âę.�]
|
||||||
|
ł{Q6uáT,9
|
||||||
|
After Width: | Height: | Size: 232 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚí“Á
À E{vë& à&°Y+¢b¤öÐkŸ'yù‘¤¿ÌÁa :äÀTXl�Þ¶$W+Ó�vû®îœ¢9}gRæ¬@H0YPB½ÆÃEmÚÚ?ûœÍ±ísœÖ"bµìt2cnÖé†É:½ïºë;¿Y§“ÃzÿQã«7¿Ô
|
||||||
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 255 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚíÜAƒ …a×Þº ØÉ
à&r³‚ Á´¸ªÎ4ù§«†´yù‚Ä·!¥mV3I�µv!ÒœÖ2¢i\NSSä4EF2�+65Å¥‰e¾þÃ/Wœs]šñ¾‰!„Á?ÿpÅõû¦=S~ùüÄ�?Ëý+þx¦Ö6r6yö³Ùƹ}“Ç´™ë×eR1-�W•l°Ál°Á›ûÒŒÞXŸz/>Væ«·ù§:ñÒÒÄAš8üý-+mTíÎÎbl°Ál°ÁlèštMº&]“³l°Ál°Áº&]“®I×ä¼Ál°Ál°Áº&]“®Éyƒ
6Ø`ƒ
6Ø`ƒÍÝi¬uy´ØXWòè±Éi¬²\t†ýz•—Š>•.î”z¾kÊß
t²¿7©ß7òwJõÏ”¶4Òw‘�ÒˆßÓÖÍ85‰
|
||||||
|
After Width: | Height: | Size: 260 B |
@@ -0,0 +1,2 @@
|
|||||||
|
xЪнЬБ
|
||||||
|
„ …бЦѕхЂ‹л.Я ЯDЯl¬,¦љMz‰я6›†Г‡ gcJЛD;ф'.®A’IqћЮ‰ДI,IrўYЁ»‘ЛFk%‰DюOжy|EDЄDЧы(LУ_YЌК>*Яљ?aКOѓїk±L_Ј<[c—с¶п>КcЛ�хuФLIдХ%В#Њ0В#Њ0В#ЊЮotСўљхµ}ЕЬ4Нfќv_)‰ВEўpъЏ¬h5R·Џ8Џ8і1В#Њ0В#Њ0ўУТiйґtZО#Њ0В#Њ0В#Њ0ўУТiйґtZО#Њ0В#Њ0В#Њ0ўУТiйґtZОlЊ0В#Њ0ВЈч9q"ўЙHЬњH™Qюќµп"ЫХL5}-ЭЬYЧѕУкёkм`¤в>¶zйёі®юЦ4&Тpчб!‘Љы!«щ`ї:5
|
||||||
|
After Width: | Height: | Size: 262 B |
@@ -0,0 +1,14 @@
|
|||||||
|
xЪнЬAѓ …aЧЮє‰‹™ќЬ@n7+*L++Ужџ®ут‰МbbЬ*LCп‘°‡‰ck™HҐrљ”j•ІђJ5Yнi~0•_«тЊыЧTКTх}е—e©>эц5‘b_еwРНџ?ї¤Ямж§ЦЬщ†\эRaЖi+7хЯW©¦\гюwLUNеL¦В
|
||||||
|
+¬°В
|
||||||
|
+¬°ВкяjЯТO·џkcлЮсфз\Л©|%•o<б‹k–Lо+О+Оv¬°В
|
||||||
|
+¬°В
|
||||||
|
+¬°ВЉ>}ъф8Ї°В
|
||||||
|
+¬°В
|
||||||
|
+¬°В
|
||||||
|
+ъфи3РgајВ
|
||||||
|
+¬°В
|
||||||
|
+¬°В
|
||||||
|
+¬и3Рg П@џЃу
|
||||||
|
+¬°В
|
||||||
|
+¬°В
|
||||||
|
+¬°:R‰ЁЄXіЪB‰9«”IФ=зkЮЏ±o/SwзШ�™ЩЇП`g¶бЕКМИr_Щ™™YѕѓVSY™ЕzIefnmQoz
>б
|
||||||
|
After Width: | Height: | Size: 253 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 272 B |
|
After Width: | Height: | Size: 279 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚíÝAªƒ0ÐŽÝuÁA2«;Ð�èÎkü(üg¾Ày•tp9Äï$Ëò™¹Dœ”ò¼\ºe^'tÒ-aIºŠFMšSškÂðIóŤÓ:7®¤|LúkŸNã8N7®œöi}ö‡×Ÿi,Ÿ[W†¿g®Ó´Ì°ë?3ô1÷i™¾N·}}=ÂOM:4“”)S¦L™2eÊ”)S¦L#$½ÿ
ôÂJãþÂJM:}ý]˜•ÖL›Ù§ÎSÿQL™2eÊ”)S¦L™2Õ¡èPt(:Šó”)S¦L™2eÊ”)S¦:ŠE‡¢Cqž2eÊ”)S¦L™2eÊ”©E‡¢CÑ¡8O™2eÊ”)S¦L™2eÊT‡¢CÑ¡èPœ§L™2eÊ”)S¦L™2Ý“¦”sJCIKÖÔ‚iÍ93�ônº_Ñòÿ¾¿ü¼“+R‡û®£“ièû£Žû4ö�\Çg¿¥¤‘ïŽ;%
}ßaÞnŽ£
|
||||||
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 264 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚí”Á
À E=»uÐ
pجQ•ØCOMŸ'ÃË�$ ³@à¨Ø3e–F©\FNXRyÉØ¾C{‰a8RæÅƒa2@ñ圉qküßÉH1ê(£�ˆÅ`cç¦j³~Ë0ö¥¿ÃܨÖËÃØ¹nXÿGåÿ�Ä€
|
||||||
|
After Width: | Height: | Size: 149 B |
@@ -0,0 +1,2 @@
|
|||||||
|
xΪνέA�ƒ@Π¬½υ€‹ξ�ή@oΆ7“�`“QfeΊδ•«PA>�¦ΐΪτ<?jjo5WNiz�›yΊWύ‰σ΄&]ί…C?“I�rώWβρ^;ο8·—
|
||||||
|
γύs<Γ°ϋφS{Ε9^gEί}>γ°<]ίΥΠλί³bZ«nγ¥^A›φQ}[χ9^�]«yώμnajMά‡KΜ�1cΖ�3fΜ�1γΈΖ{ίW5}η½{ΝΡ7lMί�οή�xάI<ΌαK½¨ΖαΞ±yl3fΜ�1cΖ�3fΜ�1γ«Ϋ»Ω»={·“Ξ±yl3fΜ�1cΖ�3fΜ�1γ«Ϋ»Ω»={·“Ξ±yl3fΜ�1cΖ�3fΜ�1γ«Ϋ»Ω»={·“Ξ±yl3fΜ�1cΖ�3fΜ�1γ«Ϋ»Ω»={·“Ξ±yl3fΜ�1cΖ�3fΜ�ρχη�SΚ‘�Σ’7¥HΖKήΌg\ηΎβuυίΟ_��r'4ά[ηή-Ζ]›…q�ϋL·η8Ζ�±ΫY1q„»�‹Δ!ξ—ήΤ/(%ϋ
|
||||||
|
After Width: | Height: | Size: 267 B |
@@ -0,0 +1 @@
|
|||||||
|
xÚí”1À E�½u 7ЛÀÍZµ‡|N†—üDB0@R$l,-™>VKZ[<ýØÚz—qÆŽ¨ØYJ&ƒi�åš‚‹ZyË:Y'ë¯YµÁVÿ&—e•RÄ"§sj©Ýrþö+Ëé‰ù.·MÆŽ»–Ó9ÓòzµsŽ”É,
|
||||||
|
After Width: | Height: | Size: 150 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 189 B |