Magellan Linux

Diff of /alx-src/branches/alx-web-050/index.php

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

revision 1649 by niro, Thu Dec 9 22:27:33 2010 UTC revision 1650 by niro, Fri Jan 21 00:01:27 2011 UTC
# Line 157  Line 157 
157   echo '<td>';   echo '<td>';
158   if($c['online'])   if($c['online'])
159   {   {
160   echo '<input type=button style="width:33%" value="RB" onclick="if(confirm(\'REBOOT CLIENT #'.$c['serial'].' ?\')) window.open(\'reboot.php?client='.$c['serial'].'&ip='.$c['ip'].'&op=reboot\', \'ShutdownWin\', \'width=200,height=100\')">';   echo '<input type=button style="width:25%" value="RB" onclick="if(confirm(\'REBOOT CLIENT #'.$c['serial'].' ?\')) window.open(\'reboot.php?client='.$c['serial'].'&ip='.$c['ip'].'&op=reboot\', \'ShutdownWin\', \'width=200,height=100\')">';
161   echo '<input type=button style="width:33%" value="SD" onclick="if(confirm(\'SHUTDOWN CLIENT #'.$c['serial'].' ?\')) window.open(\'reboot.php?client='.$c['serial'].'&ip='.$c['ip'].'&op=halt\', \'ShutdownWin\', \'width=200,height=100\')">';   echo '<input type=button style="width:25%" value="SD" onclick="if(confirm(\'SHUTDOWN CLIENT #'.$c['serial'].' ?\')) window.open(\'reboot.php?client='.$c['serial'].'&ip='.$c['ip'].'&op=halt\', \'ShutdownWin\', \'width=200,height=100\')">';
162   echo '<input type=button style="width:33%" value="VNC" onclick="window.open(\'vncviewer.php?ip='.$c['ip'].'\', \'VncViewer\', \'width=200,height=100\')">';   echo '<input type=button style="width:25%" value="VNC" onclick="window.open(\'vncviewer.php?ip='.$c['ip'].'\', \'VncViewer\', \'width=200,height=100\')">';
163     echo '<input type=button style="width:25%" value="SSH" onclick="window.open(\'mindterm.php?ip='.$c['ip'].'\', \'MindTerm\', \'width=200,height=100\')">';
164   }   }
165   else echo '<input type=button style="width:100%" value="WOL" onclick="if(confirm(\'WAKE CLIENT #'.$c['serial'].' ?\')) window.open(\'wake_on_lan.php?mac='.$c['mac'].'\', \'WakeWin\', \'width=200,height=100\')">';   else echo '<input type=button style="width:100%" value="WOL" onclick="if(confirm(\'WAKE CLIENT #'.$c['serial'].' ?\')) window.open(\'wake_on_lan.php?mac='.$c['mac'].'\', \'WakeWin\', \'width=200,height=100\')">';
166   echo '</td>';   echo '</td>';

Legend:
Removed from v.1649  
changed lines
  Added in v.1650