<table width="80%" border="0" cellspacing="2" cellpadding="2">
   <tr>
   <th>SNo.</th>
   <th>DashBoard</th>
   <th>Edit</th>
   
  
   </tr>
   <?php 
   
      // LIMIT $startpoint,$perpage
  $GetRecord = "Select * from $table order by id  ";
   $ResultData = DB_query($GetRecord,$db);
   $i=1;
   if(DB_num_rows($ResultData)==0)
   echo "<td>--No Record--</td>";   
   while($RowData = DB_fetch_array($ResultData))
   {?>
 <tr bgcolor="#FFFFFF"> <td width="10%"><?php echo $i; ?></td>
    <td width="30%"><?php echo $RowData['dashboard_name']; ?></td>
	  

<td width="10%"><div align="center"><a href="<?php echo $targetpage?>&amp;action=Edit&amp;id=<?php echo $RowData['id']; ?>"><img src="images/icon-edit.png"  width="10" height="10"/></a></div></td>
   
	 </tr>
 
	<?php $i++;}   
   ?> 
   
    
    <!-- <td colspan="4">
	<?php  
	//$cond="1=1";
	//Pages($table,20,"index.php?route=AccountGroups_Master&action=Edit".$url,$cond,'picklist_id');
	 //echo Pages("jos_users",$perpage,"index.php?option=com_empdictory&dept=$dept&",$condition);?>
	</td> -->
   
  </tr>
 