Example #1
0
 public function run()
 {
     $oAccount = new m\Account();
     $iTotal = $oAccount->getTotal();
     if ($iTotal === false) {
         $oAccount->createTable();
     }
     $aData = ['page_title' => 'Open Sesame', 'form_action_add' => c\Router::genURL('AddAccount'), 'site_total' => $iTotal, 'recomm' => (new m\Recommand())->get(4)];
     return $aData;
 }