loginAction.php 743 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. class loginClassAction extends ActionNot
  3. {
  4. public function defaultAction()
  5. {
  6. if($this->adminid>0){
  7. $this->rock->location('?d=reim');
  8. }
  9. $this->title = getconfig('reimtitle','REIM');
  10. $this->assign('loginyzm', (int)getconfig('loginyzm','0'));
  11. }
  12. public function xinAction()
  13. {
  14. if($this->adminid>0){
  15. $this->rock->location('?d=reim&a=xin');
  16. }
  17. $this->title = getconfig('reimtitle','REIM');
  18. $this->assign('loginyzm', (int)getconfig('loginyzm','0'));
  19. }
  20. public function xinaAction()
  21. {
  22. if($this->adminid>0){
  23. $this->rock->location('?d=reim&a=xina');
  24. }
  25. $this->title = getconfig('reimtitle','REIM');
  26. $this->assign('loginyzm', (int)getconfig('loginyzm','0'));
  27. }
  28. }
粤ICP备19079148号