delete_value('global_promotion_state'); stderr('Success','All torrents have been set free..'); } elseif ($action == 'setall2up') { sql_query("UPDATE torrents_state SET global_sp_state = 3"); $Cache->delete_value('global_promotion_state'); stderr('Success','All torrents have been set 2x up..'); } elseif ($action == 'setall2up_free') { sql_query("UPDATE torrents_state SET global_sp_state = 4"); $Cache->delete_value('global_promotion_state'); stderr('Success','All torrents have been set 2x up and free..'); } elseif ($action == 'setallhalf_down') { sql_query("UPDATE torrents_state SET global_sp_state = 5"); $Cache->delete_value('global_promotion_state'); stderr('Success','All torrents have been set half down..'); } elseif ($action == 'setall2up_half_down') { sql_query("UPDATE torrents_state SET global_sp_state = 6"); $Cache->delete_value('global_promotion_state'); stderr('Success','All torrents have been set half down..'); } elseif ($action == 'setallnormal') { sql_query("UPDATE torrents_state SET global_sp_state = 1"); $Cache->delete_value('global_promotion_state'); stderr('Success','All torrents have been set normal..'); } elseif ($action == 'main') { stderr('Select action','Click here to set all torrents free..
Click here to set all torrents 2x up..
Click here to set all torrents 2x up and free..
Click here to set all torrents half down..
Click here to set all torrents 2x up and half down..
Click here to set all torrents normal..', false); } ?>