Skip to content

Commit

Permalink
flare1
Browse files Browse the repository at this point in the history
  • Loading branch information
sajjadef98 committed Oct 27, 2021
0 parents commit 2fb5460
Show file tree
Hide file tree
Showing 1,141 changed files with 97,749 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.idea
6 changes: 6 additions & 0 deletions Flare/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
60 changes: 60 additions & 0 deletions Flare/Controllers/EFTEKHARI.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
namespace Controllers;
use Buki\Router\Http\Controller;
use Respect\Validation\Validator as v;
use League\Plates\Engine ;
//use Email ;
//use Libraries\Captcha ;
class EFTEKHARI extends Controller
{
public function index()
{

global $db,$session ;
$templates = new Engine(CONFIG.'../View/Plates');

/*
dump();
dump($DB);
if you have a session exception in dump method use this
debug($templates ) ;
$q= 'CREATE TABLE `first_table` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`sorting` int(11) NOT NULL,
`created_at` datetime NOT NULL,
`update_at` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_first_table_url` (`url`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;' ;
$results = $DB->rawQuery ($q);
$session->start();
//for use email use this
$Email =new Email() ;
$Email->Email() ;
*/

// $session->start();
// $PHPCAP =new Captcha() ;
// debug($ff);









$data = ['welcome' => 'Flare Framework ' ] ;
return $templates->render('welcome',$data);
// or use
// return View('Welcome/Welcome') ;

}
}
Loading

0 comments on commit 2fb5460

Please sign in to comment.