Posted By

mrtonix on 08/05/12


Tagged

BY made Joy


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tux-world


Imba Shutdown


 / Published in: PHP
 

Placed after dummy for picker

  1. $quota[]="QTYPE_".srvGetData("QTYPE");
  2. $quota[]="QP".srvGetData("QPANEL")."TYPE_".srvGetData("QTYPE");
  3.  
  4. foreach($quota as $qtag) {
  5. if(srvShutDown($qtag)) {
  6. srvSetData("QSHUTDOWNOE","{$qtag}: ".srvQuotaCount($qtag)."/".srvQuotaMax($qtag));
  7. dvlp_echo(srvGetData("QSHUTDOWNOE"));
  8. srvTerm("97");
  9. return;
  10. }
  11. }

Report this snippet  

You need to login to post a comment.