Advertisement
Guest User

Untitled

a guest
Mar 26th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender Public (PHP5 Decompiler)
  6. *
  7. * @ Version : 1.2.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.08.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $style = xt::getparam( 'style' ) != '' ? xt::getparam( 'style' ) : 'default.tpl';
  15.  
  16. if (xt::getvalue( 'password') != '' ) {
  17. if (xt::getvalue( 'password' ) == xt::getvalue( 'password_repeat' )) {
  18. $md5pwd = generateencryptedpassword( xt::getvalue( 'password' ) );
  19. setpasswdforid( xt::getuserid(), $md5pwd );
  20. $data['messages']['password'] = xt::translate( 'password changed' );
  21. } else {
  22. $data['errors']['password'] = xt::translate( 'passwords not equal' );
  23. }
  24. }
  25. .......................................
  26. .........................
  27. .......
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement