Blame view

modules/default/controller/callController.php 407 Bytes
8d65d0ce   andryeyev   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <?php
  
  Class CallController Extends baseController {
  
  //protected $_navig = array('name'=>"info");
  
  public function index(){
    if ($_SERVER["REQUEST_METHOD"] == "POST") {
       $call = new Call($this->lang);
  	 $this->error = $call->valid($this->postParam,$_FILES);
       if(!$this->error){
  	  $call->send($this->postParam);
        Redirect($this->url.'/call/ok/');
       }
    }
  }
  
  public function ok(){
  
  }
  
  }
  ?>