23 lines
534 B
PHP
23 lines
534 B
PHP
<?php
|
|
$nonRDUser = 'false';
|
|
if(!empty($_SESSION['user']->feedback) or !empty($_COOKIE['feedbackView'])) $nonRDUser = 'true';
|
|
|
|
global $app;
|
|
?>
|
|
|
|
<script language='Javascript'>
|
|
$(function()
|
|
{
|
|
var nonRDuser = <?php echo $nonRDUser;?>;
|
|
if(nonRDuser == false) return false;
|
|
|
|
$('table tr').find('th:eq(4)').hide();
|
|
$('table tr').find('th:eq(5)').hide();
|
|
$('table tr').find('td:eq(4)').hide();
|
|
$('table tr').find('td:eq(5)').hide();
|
|
|
|
$('table tfoot tr td:first').attr('colspan','5');
|
|
|
|
});
|
|
</script>
|