Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* This file is protected by copyright law and provided under license. Reverse engin..
Decoded Output download
$master = new cls_master();
$titlehead = "Examination Mark";
require("commontop.php");
$titlehead =$action." ".$titlehead;
$campus_id = $_SESSION['AJ123YZXC_CAMPUS'];
$id=$_REQUEST['id'];
$keywords=$_REQUEST['keywords'];
$action=$_GET['action'];
$exam_det = base64_decode($_GET["det_id"]);$_REQUEST['id'];
$div = base64_decode($_GET["div"]);$_REQUEST['id'];
$max_mark = $db->fn_select("SELECT A.intTotalMarks,A.dtmExamDate,C.chrCourseCode, D.chrSecCode, E.chrDivCode,
F.dtmStartDate, F.dtmEndDate , ASS.chrSubject ,ASS.intAutoNo AS subId
FROM academic_exam_date_setting_dtls A
LEFT JOIN academic_exam_date_setting G ON A.intExamTimeID=G.intAutoNo
LEFT JOIN coursesem_divmaster B ON G.intCouSemDivMatID=B.intAutoNo
LEFT JOIN course_master C ON B.intCourseID = C.intAutoNo
LEFT JOIN semester_master D ON B.intSemID = D.intAutoNo
LEFT JOIN division_master E ON B.intDivID = E.intAutoNo
LEFT JOIN batch_details F ON B.intBatchID = F.intAutoNo
LEFT JOIN academic_subjects ASS ON ASS.intAutoNo = A.intSubID
WHERE A.intAutoNo='$exam_det'");
$intSubID = $max_mark[0]['subId'];
$selectTypeSubject = $db->fn_select("SELECT * FROM academic_subjects WHERE intAutoNo = '$intSubID' ");
$chrDiscription = $selectTypeSubject[0]['chrDiscription'];
if($chrDiscription=='Language')
{
$sql_div = "SELECT B.intAutoNo,B.chrStudFirstName,B.chrStudMiddleName,B.chrStudLastName FROM academic_stud_language A
LEFT JOIN admission_studmaster B ON FIND_IN_SET( B.intAutoNo, A.intstudentIDs )
WHERE A.intCouSemDivMatID='$div' AND B.chrCancel='' AND B.chrTCIssued='N' AND A.intSubjectID = '$intSubID' ORDER BY B.chrStudFirstName";
}
else
{
$sql_div = "SELECT B.intAutoNo,B.chrStudFirstName,B.chrStudMiddleName,B.chrStudLastName FROM admission_stud_division A
LEFT JOIN admission_studmaster B ON FIND_IN_SET( B.intAutoNo, A.intstudentIDs )
WHERE A.intCouSemDivMatID='$div' AND B.chrCancel<>'Y' AND B.chrTCIssued='N' ORDER BY B.chrStudFirstName";
}
$existCount = $db->fn_num_rows($sql_div);
if($existCount==0)
{
$sql_div = "SELECT B.intAutoNo,B.chrStudFirstName,B.chrStudMiddleName,B.chrStudLastName FROM admission_stud_division_archive A
LEFT JOIN admission_studmaster B ON FIND_IN_SET( B.intAutoNo, A.intstudentIDs )
WHERE A.intCouSemDivMatID='$div' AND B.chrCancel='' AND B.chrTCIssued='N' GROUP BY B.intAutoNo ORDER BY B.chrStudFirstName ";
}
$res_div=$db->fn_select($sql_div);
if (isset($_POST['submit'])) {
$condition='intExamDetID='.$exam_det;
$num=$db->fn_delete('academic_class_test_marks',$condition);
foreach($res_div as $key=>$data)
{
$arFieldsValues1 = array();
$arFieldsValues1['intExamDetID'] = $exam_det;
$arFieldsValues1['intStudID'] = $data['intAutoNo'];
$arFieldsValues1['intMark'] = $_POST['mark_'.$data['intAutoNo']];
$arFieldsValues1['intAttVal'] = $_POST['intAttVal_'.$data['intAutoNo']];
$result_insere=$db->fn_insert('academic_class_test_marks',$arFieldsValues1);
}
header("location:exam_detail_view.php?flag=1&action=View&page=$page&keywords=$keywords&listing_per_page=$listing_per_page&id=$id");
}
function get_marks($db,$studID,$exam_det)
{
$get_stud_mark=$db->fn_select("SELECT intMark,intAttVal FROM academic_class_test_marks WHERE intStudID='$studID' AND intExamDetID='$exam_det'");
return $get_stud_mark;
}
;echo '<link href="';echo $config['css_url'];;echo 'style-timetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function(){
if($("#hid_view").val()==\'View\')
{
$("#form_password :input").prop("disabled", true);
document.getElementById(\'back\').disabled = false;
}
});
$(function(){
$("#form_password").submit(function(e){
var self = this;
var check=0;
$(\'form input[type="text"]\').each(function(){
var total = $("#total").val();
var val = $(this).val();
var val_id=$(this).attr(\'id\');
var uniq_ar = val_id.split("_");
var attnd=$(\'#intAttVal_\'+uniq_ar[1]).val();
if (isNaN(val)) // regular expression for numbers only.
{
check=1;
}
else{
if((val!="" && val!=0.00) && attnd==0)
{
check=2;
}
else if(parseFloat(val) > total)
{
check=1;
}
}
});
var val= callback(check, self);
return val;
});
var callback = function(result, form){
if(result==0){form.submit();}
else if(result==1){alert(\'Check Marks\');return false;}
else if(result==2){alert(\'Check Marks for Absent Student\');return false;}
};
});
</script>';
Did this file decode correctly?
Original Code
<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x184c;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Nyk7JE9PMDBPMDB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X7tWLYtIl9hTSYtILYtIl2CbwIC2ySdokiC2SINUnMfB5jfolvdJiZcbY1duWSwocvFM0pGX0htWlpcJiZcbY1duW9NTEpG2cvFM0VF3aJdBl0htL7gW0htWllduYlwolMhuklF3aSfe09HUl7CBxlFmWPbtfeDoajDZnYCbkqF1XmhTsZcbO1FM4IcMySF2A7gWLYtILkcBxzcUnpcJiZcbY1duW9NTwpG2yScbk0hyXmW2ilC2SITByZD3HIcM9ZwryJF2aVftnTfuaLcB50btFpK3klfuaZdJnMCBxzcTs9eWPkeWPkgTSYtILYtm0pKX0heWP8R3YjFMlXfe4mKX==DC
Function Calls
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | ae1f17303892b1f60fe897aeab89f5c4 |
Eval Count | 3 |
Decode Time | 122 ms |