本文整理汇总了PHP中ekstrak_get函数的典型用法代码示例。如果您正苦于以下问题:PHP ekstrak_get函数的具体用法?PHP ekstrak_get怎么用?PHP ekstrak_get使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ekstrak_get函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: checkauthentication
<?php
checkauthentication();
$table = "sifatsurat";
$h = ekstrak_get($get[1]);
$q = ekstrak_get($get[2]);
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'] . "&h=" . $h;
$sql = sql_delete($table, "IdSifat", $q);
$query = mysql_query($sql);
if ($query == 1) {
$msg = "Hapus sifat surat berhasil. Id = " . $q . ".";
update_log($msg, $table, $susername, 1);
$_SESSION['errmsg'] = $msg;
} else {
$msg = "Hapus sifat surat gagal. Id = " . $q . ".";
update_log($msg, $table, $susername, 0);
$_SESSION['errmsg'] = $msg;
}
?>
<meta http-equiv="refresh" content="0;URL=index.php?p=<?php
echo enkripsi($p_next);
?>
"><?php
exit;
示例2: checkauthentication
<?php
checkauthentication();
$table = "suratmasuk";
$field = get_field($table);
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'];
$session_name = "Kh41r4";
$usernamex = @$_SESSION['xusername_' . $session_name];
$q = ekstrak_get(@$get[1]);
if (@$_POST['lokasifile']) {
//extract($_POST);
$TglSurat = $_POST["TglSurat"];
$NoSurat = $_POST["NoSurat"];
$TglTerima = $_POST["TglTerima"];
$AsalSurat = $_POST["AsalSurat"];
$Perihal = trim($_POST["Perihal"]);
$TujuanSurat = $_POST["TujuanSurat"];
$IdSifatSurat = $_POST["IdSifatSurat"];
$IdKategori = $_POST["IdKategori"];
$IdKlasifikasi = $_POST["IdKlasifikasi"];
$Lampiran = $_POST["Lampiran"];
$LokasiFile = $_POST["LokasiFileOLD"];
$Keterangan = $_POST["Keterangan"];
$Retensi = $_POST["Retensi"];
$n = $_POST["n"];
$tl = $_POST["tl"];
$tl_status = $_POST["tl_status"];
$tglawal = $_POST["date_from"];
$tglakhir = $_POST["date_until"];
示例3: checkauthentication
checkauthentication();
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'];
$addtanggapan = 98;
$tanyadisposisi = 97;
$kotaksuratlist = 27;
$addtanggapan = 98;
$q = ekstrak_get(@$get[1]);
$NoSurat = ekstrak_get(@$get[2]);
$Perihal = ekstrak_get(@$get[3]);
$BeritaFlag = ekstrak_get(@$get[4]);
$StatusDisposisi = ekstrak_get(@$get[5]);
$Instruksi = ekstrak_get(@$get[6]);
$Pengirim = ekstrak_get(@$get[7]);
$xlevel = @$_SESSION['xlevel_' . $session_name];
$IdUser = @$_SESSION['xusername_' . $session_name];
$KdSatker = @$_SESSION['xunit_' . $session_name];
date_default_timezone_set('Asia/Jakarta');
//$Perihal =$_GET["Perihal"];
//$Instruksi =$_GET["Instruksi"];
//$NoSurat =$_GET["NoSurat"];
//$id =$_GET["Id"];
//$BeritaFlag =$_GET["BeritaFlag"];
//$Pengirim =$_GET["Pengirim"];
//$ParentId =$_GET["StatusDisposisi"];
//$IdPengirim =$_GET["IdPengirim"];
//$ParentId =$_GET["StatusDisposisi"] + 1;
$bError = false;
$sMessage = "";
示例4: checkauthentication
<?php
checkauthentication();
$table = "xuser";
$field = get_field($table);
$h = ekstrak_get($get[1]);
$q = ekstrak_get(@$get[2]);
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'] . "&h=" . $h;
if (@$_POST['xuser']) {
extract($_POST);
if ($username != "") {
$ocheck = xuser("username", "username = '" . $username . "' AND username != '" . $id . "'");
$ncheck = mysql_num_rows($ocheck);
if ($ncheck == 0) {
if ($id == "") {
if ($password != "") {
if ($password == $password2) {
$len = strlen($password);
$password = encode_password(md5($password), $len);
$reset = "1";
foreach ($field as $k => $val) {
$value[$k] = ${$val};
}
$sql = sql_insert($table, $field, $value);
$sql = str_replace("''", "NULL", $sql);
$query = mysql_query($sql);
if ($query == 1) {
$msg = "Tambah pengguna berhasil. Id = " . $username . ".";
$field = get_field("xuserlevel");
示例5: checkauthentication
<?php
checkauthentication();
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'];
$adddisposisi = 96;
$disposisilist = 93;
$kotaksuratlist = 27;
$q = ekstrak_get(@$get[1]);
$id = ekstrak_get(@$get[2]);
$NoSurat = ekstrak_get(@$get[3]);
$Perihal = ekstrak_get(@$get[4]);
$BeritaFlag = ekstrak_get(@$get[5]);
$StatusDisposisi = ekstrak_get(@$get[6]);
$xlevel = @$_SESSION['xlevel_' . $session_name];
$IdUser = @$_SESSION['v_xusername_' . $session_name];
$KdSatker = @$_SESSION['xunit_' . $session_name];
date_default_timezone_set('Asia/Jakarta');
//$Perihal =$_GET["Perihal"];
//$NoSurat =$_GET["NoSurat"];
//$id =$_GET["Id"];
//$BeritaFlag =$_GET["BeritaFlag"];
function GetName($id)
{
global $Tb_User;
$oGet = mysql_query("SELECT IdSuratMasuk, NoSurat FROM suratmasuk WHERE IdSuratMasuk = '" . $id . "'") or die(mysql_error());
if ($Get = mysql_fetch_object($oGet)) {
return $Get->NoSurat;
}
}
示例6: checkauthentication
<?php
checkauthentication();
$table = "xlevel";
$q = ekstrak_get($get[1]);
$omenu = xmenu("parent", "id = '" . $p . "'");
$xmenu = mysql_fetch_array($omenu);
$p_next = $xmenu['parent'];
$sql = sql_delete($table, "kode", $q);
$query = mysql_query($sql);
if ($query == 1) {
$msg = "Hapus level pengguna berhasil. Id = " . $q . ".";
update_log($msg, $table, $susername, 1);
$_SESSION['errmsg'] = $msg;
} else {
$msg = "Hapus level pengguna gagal. Id = " . $q . ".";
update_log($msg, $table, $susername, 0);
$_SESSION['errmsg'] = $msg;
}
?>
<meta http-equiv="refresh" content="0;URL=index.php?p=<?php
echo enkripsi($p_next);
?>
"><?php
exit;