Advertisement
Guest User

Untitled

a guest
Jul 1st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1.  
  2. function bkup_UsageUpdate() {
  3. global $CONFIG;
  4. // Load configuration data
  5. $data = select_query("bkup_conf", "name, value", array());
  6. while ($r = mysql_fetch_array($data)) {
  7. switch ($r['name']) {
  8. case "api_username":
  9. $api_username = $r['value'];
  10. break;
  11. case "api_password":
  12. $api_password = base64_decode($r['value']);
  13. break;
  14. case "warning_level":
  15. $warning_level = $r['value'];
  16. break;
  17. case "warning_template":
  18. $warning_template = $r['value'];
  19. break;
  20. }
  21.  
  22.  
  23.  
  24.  
  25.  
  26. ----------------------
  27.  
  28.  
  29. <form method="post" action="'.$modulelink.'&_a=forceupdate" name="updatefrm">
  30. <p align="center"><input type="submit" class="button" value="Force Usage Update" /></p>
  31. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement