| Server IP : 64.202.187.69 / Your IP : 216.73.216.17 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/testtranslator/ |
Upload File : |
<?php include 'header.php'; ?>
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid1">
<div class="row mb-2 align-center">
<div class="col-sm-6">
<h1 class="my-3 h1">Marketplace Suggestions</h1>
</div><!-- /.col -->
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active">Suggestions</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container-fluid -->
</div>
<hr class="mb-3">
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
<div class="container-fluid1">
<div class="card-body">
<div class="card card-cascade narrower z-depth-0">
<!-- Grid column -->
<div class="col-lg-12 col-md-12 col-sm-12 table-outer">
<?php if($_SESSION['tm_marketplace_access'] == 1) { ?>
<div class="table-responsive" >
<table id="dataTable" class="dataTable table table-hover">
<thead>
<tr>
<th>Customer</th>
<th>No. of Sentences</th>
<th>Action</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<?php } else { ?>
<div class="intro-info-content text-center mb-3 mt-3">
<h5 class="mb-5 font-weight-bold wow fadeInDown" data-wow-delay="0.3s">Please continue on reputation to build up your translator status.</h5>
<a href="suggestions.php" class="btn btn-indigo bkcolor-theme btn-lg wow fadeInDown" data-wow-delay="0.3s">Reputation Suggestions</a>
</div>
<?php } ?>
</div>
<!-- Grid column -->
</div>
</div>
<!-- /.row (main row) -->
</div><!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php include 'footer.php'; ?>
<script>
initialiseDatatable();
if (typeof ($_GET('success')) != "undefined" && $_GET('success') == 1) {
toastr.success("Congratulations! All suggestions submitted successfully.");
}
if (typeof ($_GET('error')) != "undefined" && $_GET('error') == 1) {
toastr.error("Job is opened by another user.");
}
function $_GET(param) {
var vars = {};
window.location.href.replace(location.hash, '').replace(
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
function (m, key, value) { // callback
vars[key] = value !== undefined ? value : '';
}
);
if (param) {
return vars[param] ? vars[param] : null;
}
return vars;
}
function initialiseDatatable() {
$('#dataTable').dataTable().fnDestroy();
$('#dataTable').DataTable({
language: {
searchPlaceholder: "Search"
},
"pagingType": "first_last_numbers",
"processing": true,
"bDestroy": true,
"serverSide": true,
"bAutoWidth": false,
"searching": true,
"destroy": true,
"columnDefs": [
{
"targets": [0],
"searchable": true,
"orderable": true,
"visible": true,
}, {
"targets": [1],
"searchable": true,
"orderable": true,
"visible": true,
}, {
"targets": [2],
"searchable": false,
"orderable": false,
"visible": true,
}
],
"order": [
[1, "desc"]
],
"lengthMenu": [[25, 50, 100, 200], [25, 50, 100, 200]],
"ajax": {
url: "controllers/get_paragraphs.php", // json datasource
type: "post",
data: {
type: 0
},
error: function () {
$(".claim-list").append('<tr><td colspan="3">No data found</td></tr>');
}
}
});
$('input[type="search"]').addClass('txt-search');
}
</script>