コード例 #1
0
 public function index()
 {
     ini_set("max_execution_time", "500000");
     $user_groups = Emails::getState();
     foreach ($user_groups as $user_group) {
         $national = $user_group["national"];
         //if national is selected
         if ($national == '1') {
             $national;
         }
     }
     $this->get_sms_level();
 }
コード例 #2
0
ファイル: auto_sms.php プロジェクト: EuniceManyasi/DVI
 public function index()
 {
     //current date timestamp
     ini_set("max_execution_time", "500000");
     //checks the national state of that user in the db
     $user_groups = Emails::getState();
     foreach ($user_groups as $user_group) {
         $national = $user_group["national"];
         //if national is selected
         if ($national == '1') {
             //GET national_id from emails table
             $today = mktime(0, 0, 0, date("m"), date("d"), date("Y"));
             $from = $today;
         }
     }
     $this->Calculate_Disbursements($from);
 }