Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

commonDashboard.php 674B

123456789101112
  1. <?php
  2. $sql = 'SELECT isea_id, isea_name FROM issues_searches WHERE user_id = \'\'';
  3. $searchesdashboard = mysql_query($sql);
  4. while ($searchdatadashboard = mysql_fetch_assoc($searchesdashboard)) {
  5. addDashboardItem('Searches', $searchdatadashboard['isea_name'] ,'search/'.$searchdatadashboard['isea_id']);
  6. }
  7. $sql = 'SELECT isea_id, isea_name FROM issues_searches WHERE user_id = \''.m(getUserID($_SERVER['REDIRECT_REMOTE_USER'])).'\'';
  8. $searchesdashboard = mysql_query($sql);
  9. while ($searchdatadashboard = mysql_fetch_assoc($searchesdashboard)) {
  10. addDashboardItem('Saved Searches', $searchdatadashboard['isea_name'] ,'search/'.$searchdatadashboard['isea_id']);
  11. }
  12. ?>