<!-- If user is in DAG, only show info from that DAG and give note of that -->
<?php 
if ($user_rights['group_id'] != "") {
    ?>
	<p style='color:#800000;padding-bottom:10px;'>
	<?php 
    echo $lang['global_02'] . ": " . $lang['dataqueries_19'];
    ?>
	</p>
<?php 
}
?>

<!-- Render the rules table -->
<div id="table-rules-parent"><?php 
echo $dq->displayRulesTable();
?>
</div>

<!-- Note about missing values and branching logic -->
<div style="max-width:700px;margin:15px 0;color:#555;font-size:11px;">* <?php 
echo $lang['dataqueries_24'];
?>
<br>** <?php 
echo $lang['dataqueries_27'];
?>
</div>

<!-- Div container for AJAX results -->
<div id="dq_results" style="display:none;"></div>