$smenit1 = date('H:i:s', strtotime($tampiljam->JAM_DATANG));
                                    } else {
                                        $smenit1 = date('H:i:s', strtotime($DATE));
                                    }
                                    mysql_query("UPDATE `absensi` SET `JAM_MASUK` = '{$smenit1}' WHERE `NIP_PEGAWAI` ='{$NIP}' and TANGGAL='{$tmptanggal}' ");
                                    $jmldatamsk++;
                                } else {
                                    $jmldl++;
                                }
                            }
                        }
                    }
                }
            }
            //$zk->clearattendance();
            $zk->getTime();
            $zk->enableDevice();
            $zk->disconnect();
            echo '<script>$(".data-syncA' . $datamachine->KODE_MESIN . '").html("' . $jmldatamsk . '-Sync Masuk And ' . $jmldataklr . '-Sync Keluar And ' . $jmldl . '-Duplicated").show();</script>';
        }
    }
    ?>
					</tr>
					<?php 
}
?>
				</tbody>
			</table>
		</div>
    </div>
</div>
Beispiel #2
0
    echo $zk->faceFunctionOn();
    ?>
</td>
                <td><b>Serial Number</b></td>
                <td><?php 
    echo $zk->serialNumber();
    ?>
</td>
                <td><b>Device Name</b></td>
                <td><?php 
    echo $zk->deviceName();
    ?>
</td>
                <td><b>Get Time</b></td>
                <td><?php 
    echo $zk->getTime();
    ?>
</td>
            </tr>
        </table>
        <hr />
        <table border="1" cellpadding="5" cellspacing="2" style="float: left; margin-right: 10px;">
            <tr>
                <th colspan="5">Data User</th>
            </tr>
            <tr>
                <th>UID</th>
                <th>ID</th>
                <th>Name</th>
                <th>Role</th>
                <th>Password</th>