<?php

session_start();

$authorized = false;

if(isset($_GET['logout']) && ($_SESSION['auth'])) {

    $_SESSION['auth'] = null;	

    session_destroy();  

}



if(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) {

    $user = 'test';

    $pass = 'test';

    if (($user == $_SERVER['PHP_AUTH_USER']) && ($pass == ($_SERVER['PHP_AUTH_PW'])) && (!empty($_SESSION['auth']))) {

        $authorized = true;

    }

}



if ((!$authorized)) {

    header('WWW-Authenticate: Basic Realm="Login please"');

    header('HTTP/1.0 401 Unauthorized');

    $_SESSION['auth'] = true;

   ?>

<table align="center" border="0" width="100%">

	<tr>

    	<td align="center"><a href="./errorlog.php">Login</a></td>

    <tr>

</table>   

   <?php

    exit;

}

?>

<table align="center" border="0" width="100%">

	<tr>

    	<td align="center"><a href="./errorlog.php?logout=1">Logout</a></td>

    <tr>

</table>

<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:35AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:36AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:36AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:36AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:36AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:36AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:37AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:37AM</p>

         <p><strong>Message:</strong> Class 'PDO' not found</p>

         <p><strong>Code:</strong> 1</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/lib/simplemvcwf/model_base.php</p>

         <p><strong>Line:</strong> 11</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:47AM</p>

         <p><strong>Message:</strong> count(): Parameter must be an array or an object that implements Countable</p>

         <p><strong>Code:</strong> 2</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/model/admin_model.php</p>

         <p><strong>Line:</strong> 44</p>
        
         <hr />
<h3>Exception information:</h3>

         <p><strong>Date:</strong> Feb 13, 2026 11:47AM</p>

         <p><strong>Message:</strong> count(): Parameter must be an array or an object that implements Countable</p>

         <p><strong>Code:</strong> 2</p>

         <p><strong>File:</strong> /home/arihantseo/public_html/JPC/model/admin_model.php</p>

         <p><strong>Line:</strong> 44</p>
        
         <hr />
