Waraxe IT Security Portal
Login or Register
November 18, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 66
Members: 0
Total: 66
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> what is't
Post new topicReply to topic View previous topic :: View next topic
what is't
PostPosted: Wed Sep 24, 2008 7:32 am Reply with quote
elbas
Regular user
Regular user
Joined: Sep 11, 2008
Posts: 18




what is it;

Code:
<?php /* default.php . */
$o="QAAEO29zams5Cg07b2Jm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zYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
View user's profile Send private message
PostPosted: Wed Sep 24, 2008 3:44 pm Reply with quote
mge
Valuable expert
Valuable expert
Joined: Jul 16, 2008
Posts: 142




Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="../settings/style/custom.css">
<link rel="stylesheet" type="text/css" href="../settings/style/general.css">
<link rel="stylesheet" type="text/css" href="../settings/style/layout.css">
<link rel="stylesheet" type="text/css" href="../settings/style/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="javascript" src="../settings/java_script/format_date.js"></script>
<script language="javascript" src="../settings/java_script/popup.js"></script>
<DIV ID=overDiv style="position:absolute; visibility:hidden; z-index:1000;"></DIV>

<?
$kode = $_SESSION['SESSION_SISKO']["user"]["kode_pegawai"];


$qid = db_query("SELECT kode_pegawai,
nama_lengkap,
nama,
nip,
karpeg,
login,
passwd,
login_counter
FROM peg_guru_karyawan
WHERE kode_pegawai = '$kode'
");
$list = db_fetch_object($qid);
$arr_guru = array();
$arr_guru[] = array ($list->kode_pegawai,
$list->nama_lengkap,
$list->nama,
$list->nip,
$list->karpeg,
$list->login,
$list->passwd,
$list->login_counter);


?>

<title><? echo $DOC_TITLE;?></title>

<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {color: #000000}
-->
</style>
</head>
<body>


<table width="95%" border="0" cellpadding="2" cellspacing="1" align="center">
<tr><td >
<fieldset>
<legend>Halaman Utama</legend>
<table width="100%" height="105" align="center">
<tr><TD width="120" height="99" class="txtcoklat" ><img src="modul/kepegawaian/guru/prog_db_guru/foto.php?kode_pegawai=<? echo $list->kode_pegawai?>" name="view" width="85" height="97" border="2">
</TD>

<TD width="357"><div align="left"><span class="txtcoklat">Hak Akses : <strong>
<? echo $_SESSION['SESSION_SISKO']["user"]["klpakses"]?>
</strong><br>
<br>
Selamat Datang,
<? echo pv($list->nama_lengkap)?>
<br>
<br>
No. Induk Pegawai :
<? echo $list->nip?>
<br>
No. Kartu Pegawai :

<? echo $list->karpeg?>
<br>
<br>
<?
function cek_akses_wali(){

global $_SESSION;

$qid = db_query("SELECT 1 FROM kur_kelas WHERE kode_pegawai = '".$_SESSION['SESSION_SISKO']["user"]["kode_pegawai"]."'");
$cek = db_num_rows($qid);
if ($cek){
return 1;
} else{
return 0;
}
}

function kelas_akses_wali(){

global $_SESSION;

$qid = db_query("SELECT nama_kelas FROM kur_kelas WHERE kode_pegawai = '".$_SESSION['SESSION_SISKO']["user"]["kode_pegawai"]."'");

$list= db_fetch_object($qid);
return $list->nama_kelas;
}

if (cek_akses_wali()){

?>
Anda menjabat sebagai Wali Kelas
<? echo kelas_akses_wali()?>
<?
}
?>
<br>
Login Counter :
<? echo $list->login_counter?>
kali <br>
<?
function get_max_wkt_kenaikan_gaji_berkala(){
global $_SESSION;
$qid = db_query("SELECT tgl_naik_gaji FROM peg_gaji_berkala WHERE kode_pegawai = '".$_SESSION['SESSION_SISKO']["user"]["kode_pegawai"]."'");
$list= db_fetch_object($qid);

return $list->tgl_naik_gaji;

}

$max_wkt_kenaikan_gaji_berkala = get_max_wkt_kenaikan_gaji_berkala();
$harinya = kurang_tgl($max_wkt_kenaikan_gaji_berkala,$waktu_kenaikan_gaji_berkala);
if ($harinya < $now_date && $max_wkt_kenaikan_gaji_berkala > $now_date){
?>
Waktu kenaikan gaji berkala <br>
<? echo tampil_tgl($max_wkt_kenaikan_gaji_berkala)?> / <? echo days_to_go($max_wkt_kenaikan_gaji_berkala)?>

<?
}
?>

<?
//$qid_1 = db_query("SELECT kode_berita, tanggal_acara, tanggal_kadaluarsa, judul, isi_berita FROM adh_berita $where ORDER BY tanggal_kadaluarsa DESC");
$qid_pengumuman = db_query("SELECT kode_pengumuman, tanggal_acara, judul, isi_pengumuman FROM adh_pengumuman WHERE tanggal_acara >= '$now_date' ORDER BY tanggal_acara DESC");
$arr_pengumuman= array();
while ($list = db_fetch_object($qid_pengumuman)) {
$arr_pengumuman[] = array ($list->kode_pengumuman, $list->tanggal_acara, $list->judul, $list->isi_pengumuman);
}
$qid_pengumuman = db_query("SELECT kode_pengumuman, tanggal_acara, judul, isi_pengumuman FROM adh_pengumuman ORDER BY tanggal_acara DESC LIMIT 6");


$qid = db_query("SELECT kode_berita, tanggal_acara, tanggal_kadaluarsa, judul, isi_berita FROM adh_berita WHERE tanggal_kadaluarsa >= '$now_date' ORDER BY tanggal_kadaluarsa DESC");
$arr_berita= array();
while ($list = db_fetch_object($qid)) {
$arr_berita[] = array ($list->kode_berita, $list->tanggal_acara, $list->tanggal_kadaluarsa, $list->judul, $list->isi_berita);
}
//for ($i = 1; $i < count($arr_berita); $i++) {
//$kode_agama = $arr[$i][0];

$qid = db_query("SELECT kode_berita, tanggal_acara, tanggal_kadaluarsa, judul, isi_berita FROM adh_berita $where ORDER BY tanggal_kadaluarsa DESC LIMIT 6");



?>
</span></div></TD>
<td width="373" bgcolor="#F4D9D9" style="background-image:url(images/menu/xptitle2_red.gif);background-repeat:repeat-y; background-position:left ">
<div align="center">
<?
$ssql = "
SELECT
right(tanggal,2) AS tgl, tanggal, keterangan, font_color,
font_weight, font_size, text_decoration, bg_color, url, tekstur, legend
FROM
kur_kalender_pendidikan, kur_kalender_legend
WHERE
kur_kalender_pendidikan.kode_legend = kur_kalender_legend.kode_legend AND
(left(tanggal,7)='$thn_skr-$bln_skr')";

$qid = db_query($ssql);

$hari = array();
while ($list = db_fetch_object($qid)) {

$hari[$list->tanggal] = array($list->url,NULL,
"<span style=\"color: ".$list->font_color."; font-weight: ".$list->font_weight."; font-size: ".$list->font_size."; text-decoration: ".$list->text_decoration."; \">".number_format($list->tgl)."</span>",
$list->tanggal,
$list->keterangan,
$list->bg_color,
$list->tekstur,
$list->legend
);

}

echo generate_calendar($thn_skr, $bln_skr, $hari, 6, NULL,NULL);

?>
</div>
</td>
</table>

</fieldset>
</TD>
</table>


<table width="95%" border="0" cellspacing="1" cellpadding="2" align="center">
<tr>
<td width="50%" >
<fieldset><legend>Info</legend><br>
<iframe src="jadwal_mengajar.php" width="100%" height="250" frameborder="0"></iframe>

</fieldset></td>
<td width="50%" bgcolor="">
<fieldset>
<legend>Terbaru</legend><div align="center"><strong>BERITA TERBARU</strong><br>
</div>
<table width="90%" cellpadding="2" cellspacing="1" align="center" border="0" >
<tr>
<td style="background-image:url(images/menu/xptitle2_green.gif);background-repeat:repeat-y; background-position:right "><strong>

<? echo ($arr_berita[0][3])?>
</strong><br>
<span class="txtcoklat">
<? echo tampil_tgl($arr_berita[0][1])?>
</span>
<!-- Tanggal Kadaluarsa : <?//=tampil_tgl($arr_berita[0][2],'short')?> -->
</td>
</tr>
<tr>

<td bgcolor="#FFFFFF"><? echo read_text($arr_berita[0][4])?>
</td>
</tr>
</table>
<div align="center"><span class="style1"><span class="style2"><br>
<strong>PENGUMUMAN TERBARU</strong></span><br>
</span> </div>
<table width="90%" align="center" border="0" cellspacing="1" cellpadding="2">

<tr>
<td style="background-image:url(images/menu/xptitle2_orange.gif);background-repeat:repeat-y; background-position:right "><strong>
<? echo ($arr_pengumuman[0][2])?>
</strong><br>
<span class="txtcoklat">
<? echo tampil_tgl($arr_pengumuman[0][1])?>
</span> </td>
</tr>
<tr>

<td><? echo read_text($arr_pengumuman[0][3])?>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>


<table width="95%" border="0" cellpadding="0" cellspacing="5" align="center">
<tr>

<td width="50%">
<fieldset>
<legend>Berita Lainnya</legend>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
<tr >
<!-- <td width="100" align="center" >Tanggal Kadaluarsa</td> -->
<td width="100" align="right">Tanggal Acara </td>
<td bgcolor="#DEF3DB" style="background-image:url(images/menu/xptitle2_green.gif);background-repeat:repeat-y; background-position:left ">+ Judul Berita </td>


</tr>
<?
//while ($list = db_fetch_object($qid)){
for ($i=1; $i < count($arr_berita); $i++) {
?>
<tr onMouseOver="this.style.backgroundColor='#DEF3DB'" onMouseOut="this.style.backgroundColor='';">
<!-- <td align="center"><?//=tampil_tgl($arr_berita[$i][2],'short')?></td> -->
<td align="right"><? echo tampil_tgl($arr_berita[$i][1],'short')?></td>
<td><a href="modul/alumni_humas/berita_sekolah/index.php"><? echo $arr_berita[$i][3]?></a></td>
</tr>
<?
}
?>
</table>

<BR>
<a href="modul/alumni_humas/berita_sekolah/index.php"> see more...</a>
</fieldset>
</td>

<td width="50%">
<fieldset>
<legend>Pengumuman Lainnya</legend>
<table width="100%" align="center" border="0" cellspacing="1" cellpadding="3">

<tr>
<td width="100" align="right">Tanggal Acara</td>
<td bgcolor="#F9E7D5" style="background-image:url(images/menu/xptitle2_orange.gif);background-repeat:repeat-y; background-position:left ">+ Judul Pengumuman </td>
<?
for ($i=1; $i < (count($arr_pengumuman)); $i++) {
?>
<tr onMouseOver="this.style.backgroundColor='#F9E7D5'" onMouseOut="this.style.backgroundColor='';">
<td align="right"><? echo tampil_tgl($arr_pengumuman[$i][1],'short')?></td>
<td><a href="modul/alumni_humas/pengumuman/index.php"><? echo $arr_pengumuman[$i][2]?></a></td>
</tr>

<?
}
?>
</table><BR>
<a href="modul/alumni_humas/pengumuman/index.php">see more...</a> </fieldset>
</td>
</tr>
</table>
</body>
</html>
View user's profile Send private message
what is't
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.050 Seconds