HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /var/www/selfanalyse/emu-aptitude-test/sectional_instruction.php
<?php
include_once('../wp-config.php');
global $wpdb;
$PSY_ABILITY = $wpdb->prefix . PSY_ABILITY;

//psycho_ability

$section_id = $_REQUEST['section_id'];

$spaceArray = array(
        "https://selfanalyse.com/wp-content/plugins/tet-india/files/","../wp-content/plugins/tet-india/files/"
    );
    $replaceSpaceArray = array("https://selfanalyse.com/","../");
$getInstruction = $wpdb->get_row("SELECT full_name, instruction from $PSY_ABILITY where FIND_IN_SET($section_id,ref_id)");

if($getInstruction->full_name!='' && $getInstruction->full_name!=''){
	?>
	<div class="col-md-12 col-sm-12 col-xs-12" id="instruction_area1">
		<h1 style="color:red; font-size: 14px;">Instructions to be read carefully before starting any section test, the same will not be repeated. Every section has allocated time, test will submit itself as soon as allocated time is over.</h1>
		<h4 class="gen_ins">Instructions for "<?php echo $getInstruction->full_name; ?>" Test</h4>                           
		<p class="bld2"><?php echo str_replace($spaceArray, $replaceSpaceArray, $getInstruction->instruction); ?></p>
	</div>
	<?php
} else {
	echo "No Instruction Found";
}
?>