1<?php 2if (! isset($var['section'])) { 3 $vars['section'] = 'tnmsne'; 4} 5$pagetitle[] = 'Hardware'; 6?> 7<h4><i class="fa fa-file-info-text-o"></i> Coriant NE Hardware</h4> 8<div class="table-responsive"> 9 <table id="tnmsne" class="table table-hover table-condensed tnmsne"> 10 <thead> 11 <tr> 12 <th data-column-id="neName">Name</th> 13 <th data-column-id="neLocation">Location</th> 14 <th data-column-id="neType">Type</th> 15 <th data-column-id="neOpMode">Operation Mode</th> 16 <th data-column-id="neAlarm">Alarm</th> 17 <th data-column-id="neOpState">State</th> 18 </tr> 19 </thead> 20 </table> 21</div> 22 23<script> 24 var grid = $("#tnmsne").bootgrid({ 25 ajax: true, 26 rowCount: [50, 100, 250, -1], 27 post: function() 28 { 29 return { 30 id: "tnmsneinfo", 31 device_id: '<?php echo htmlspecialchars($device['device_id']); ?>', 32 }; 33 }, 34 url: "ajax_table.php", 35 formatters: { 36 }, 37 templates: { 38 } 39 }); 40</script> 41