Magellan Linux

Diff of /alx-src/branches/alx-web-070/show.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9461 by niro, Thu Apr 6 12:38:46 2017 UTC revision 11133 by niro, Thu Nov 23 10:21:44 2017 UTC
# Line 6  include('include/common-functions.php'); Line 6  include('include/common-functions.php');
6  // INCLUDE CURRENT-PROBLEMS  // INCLUDE CURRENT-PROBLEMS
7  include('include/current-problems.php');  include('include/current-problems.php');
8    
9  $tabs = array('cfg_graphic', 'cfg_network', 'cfg_input', 'client_auth', 'cfg_fluxbox_autostart', 'client_serials', 'cfg_comments', 'cfg_printers', 'cfg_sessions_citrix', 'cfg_sessions_storefront', 'cfg_sessions_rdesktop', 'cfg_modules', 'cfg_fluxbox_menuitems', 'cfg_screensaver', 'client_version');  $tabs = array('cfg_graphic', 'cfg_network', 'cfg_input', 'client_auth', 'cfg_fluxbox_autostart', 'client_serials', 'cfg_comments', 'cfg_printers', 'cfg_sessions_citrix', 'cfg_sessions_storefront', 'cfg_sessions_rdesktop', 'cfg_modules', 'cfg_fluxbox_menuitem', 'cfg_screensaver', 'client_version');
10  $multi= array( 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0);  $multi= array( 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0);
11  $data = array();  $data = array();
12    
# Line 14  $data = array(); Line 14  $data = array();
14  $alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$id);  $alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$id);
15  $alxos = $alxinfo[os];  $alxos = $alxinfo[os];
16  $alxutils = $alxinfo[utils];  $alxutils = $alxinfo[utils];
17    $alxarch = $alxinfo[arch];
18    
19  // get gfxdriver  // get gfxdriver
20  $gfxinfo = sqlfirst('SELECT * FROM cfg_graphic WHERE serial='.$id);  $gfxinfo = sqlfirst('SELECT * FROM cfg_graphic WHERE serial='.$id);
# Line 64  $drop['hostname'] = 'bold'; Line 65  $drop['hostname'] = 'bold';
65  $drop['session'] = 'bold';  $drop['session'] = 'bold';
66  $drop['mtime'] = 'showtime';  $drop['mtime'] = 'showtime';
67  $drop['mac'] = 'show';  $drop['mac'] = 'show';
68    $drop['arch'] = 'show';
69  $drop['client_serials_serial'] = 'show';  $drop['client_serials_serial'] = 'show';
70  $drop['password'] = 'password';  $drop['password'] = 'password';
71  //$drop['shell'] = 'password';  //$drop['shell'] = 'password';
# Line 117  if(isset($_POST['do_add'])) Line 119  if(isset($_POST['do_add']))
119   else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'serverlist'=>$citrix_serverlist, 'serial'=>$id));   else if($what=='SESSION-CITRIX') sqladd('cfg_sessions_citrix', array('domain'=>$citrix_domain_name, 'serverlist'=>$citrix_serverlist, 'serial'=>$id));
120   else if($what=='SESSION-STOREFRONT') sqladd('cfg_sessions_storefront', array('domain'=>$storefront_domain_name, 'store'=>$storefront_store, 'serial'=>$id));   else if($what=='SESSION-STOREFRONT') sqladd('cfg_sessions_storefront', array('domain'=>$storefront_domain_name, 'store'=>$storefront_store, 'serial'=>$id));
121   else if($what=='SESSION-RDP') sqladd('cfg_sessions_rdesktop', array('domain'=>$rdesktop_domain_name, 'server'=>$rdesktop_server, 'serial'=>$id));   else if($what=='SESSION-RDP') sqladd('cfg_sessions_rdesktop', array('domain'=>$rdesktop_domain_name, 'server'=>$rdesktop_server, 'serial'=>$id));
122   else if($what=='MENUITEM') sqladd('cfg_fluxbox_menuitems', array('serial'=>$id));   else if($what=='MENUITEM') sqladd('cfg_fluxbox_menuitem', array('serial'=>$id));
123   else if($what=='AUTOSTART') sqladd('cfg_fluxbox_autostart', array('serial'=>$id));   else if($what=='AUTOSTART') sqladd('cfg_fluxbox_autostart', array('serial'=>$id));
124  }  }
125    
# Line 400  echo '</td><td valign=top>'; Line 402  echo '</td><td valign=top>';
402   echo '<br>';   echo '<br>';
403   echo '<u>OS:</u> '.$alxos.'<br>';   echo '<u>OS:</u> '.$alxos.'<br>';
404   echo '<u>Utils:</u> '.$alxutils.'<br>';   echo '<u>Utils:</u> '.$alxutils.'<br>';
405     echo '<u>Arch:</u> '.$alxarch.'<br>';
406   }   }
407    
408   echo '</b></div>';   echo '</b></div>';

Legend:
Removed from v.9461  
changed lines
  Added in v.11133