36210-vm/templates/bail_reply.php
Flatlogic Bot 07aa353708 1
2025-11-24 15:14:58 +00:00

45 lines
2.3 KiB
PHP

<?php
function generate_bail_reply($case) {
$case_fir_no = htmlspecialchars($case['fir_no']);
$case_ps = htmlspecialchars($case['ps']);
$case_sections = htmlspecialchars($case['sections']);
$accused_name = htmlspecialchars($case['accused_name']);
return <<<HTML
<div style="font-family: Arial, sans-serif; line-height: 1.6; padding: 20px; border: 1px solid #ccc;">
<h2 style="text-align: center; text-decoration: underline;">REPLY TO BAIL APPLICATION</h2>
<p style="text-align: center;"><strong>IN THE COURT OF [INSERT COURT NAME], [INSERT DISTRICT]</strong></p>
<br>
<p><strong>State</strong></p>
<p style="text-align: center;">VS</p>
<p><strong>{$accused_name}</strong></p>
<br>
<p><strong>FIR No.:</strong> {$case_fir_no}</p>
<p><strong>Police Station:</strong> {$case_ps}</p>
<p><strong>Under Section:</strong> {$case_sections}</p>
<hr>
<p><strong>Subject:</strong> Reply to the bail application filed on behalf of accused {$accused_name}.</p>
<p>Respected Sir/Madam,</p>
<p>It is most respectfully submitted as under:</p>
<ol>
<li>That the brief facts of the case are that [INSERT BRIEF FACTS OF THE CASE HERE]. The present case was registered on the statement of the complainant.</li>
<li>That during the course of investigation, the accused {$accused_name} was arrested and is currently in judicial/police custody.</li>
<li>That the investigation of the case is still in progress and some crucial evidence is yet to be collected.</li>
<li>That the offence committed by the accused is heinous and of a serious nature.</li>
<li>That if the accused is released on bail, they may tamper with the evidence, influence the witnesses, or abscond and evade the process of law.</li>
</ol>
<p><strong>PRAYER:</strong></p>
<p>It is, therefore, most respectfully prayed that the bail application of the accused {$accused_name} may kindly be dismissed in the interest of justice.</p>
<br>
<div style="text-align: right;">
<p><strong>Investigating Officer</strong></p>
<p>PS {$case_ps}</p>
<p>Date: {date('d-m-Y')}</p>
</div>
</div>
HTML;
}