";
}
if($hasWriteAccess)
{
$edit_link="";
}
if($hasExecuteAccess)
{
$delete_link="";
}
$space=" ";
$links = $assign_link.$space.$view_link.$space.$edit_link.$space.$delete_link;
$data['rows'][] = array(
'email_id' => $row_report['email_id'],
'cell' => array($links, $count++,
$row_report['ref_type'],
$row_report['email_to'],
//($row_report['report_type']==1)?'Report':'Dashboard',
$row_report['email_cc'],
$row_report['email_subject'],
$row_report['email_message']
)
);
}
echo json_encode($data);
?>