| Server IP : 64.202.187.69 / Your IP : 216.73.217.74 Web Server : Apache System : Linux 69.187.202.64.host.secureserver.net 3.10.0-1160.144.1.el7.tuxcare.els6.x86_64 #1 SMP Fri May 29 16:22:24 UTC 2026 x86_64 User : transmarket ( 1001) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/transmarket/translator/controllers/ |
Upload File : |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
include 'connection.php';
$data = array();
$data['status'] = 300;
//$user_id = $_SESSION['tm_id'];
//ini_set('display_errors',1);
//error_reporting(E_ALL);
?>
<div class="col-lg-12">
<?php
$rs_language_id = $_SESSION['tm_language_id'];
$sql_get_real_sentences_files = "SELECT * FROM real_sentences_files WHERE language_id = " . $rs_language_id . " AND is_closed = 0 AND closed_at IS NULL ORDER BY id ";
$result_real_sentences_files = $mysqli->query( $sql_get_real_sentences_files );
if( $result_real_sentences_files->num_rows > 0 ) {
while( $row_real_sentences_files = $result_real_sentences_files->fetch_object() ) {
?>
<div class="p-2 bg-white mb-3">
<div class="font-weight-normal">
<?php echo $row_real_sentences_files->rs_file_name; ?>
</div>
<div class="float-right">
<a href="real-sentences.php?rs_file_id=<?php echo $row_real_sentences_files->id; ?>" class="btn btn-indigo bkcolor-theme btn-lg wow fadeInDown waves-effect waves-light" data-wow-delay="0.3s">Open</a>
</div>
<div class="clearfix"></div>
</div>
<?php
}
} else {
echo "<div>No record found!</div>";
}
?>
</div>