-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nicolas Del castillo
committed
Aug 29, 2014
1 parent
39c7c40
commit ddaa206
Showing
1,693 changed files
with
200,814 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
php_flag display_startup_errors on | ||
php_flag display_errors on | ||
|
||
<IfModule mod_rewrite.c> | ||
Options -MultiViews | ||
|
||
#Redirect 301 / http://stg.tendresmomentsmilka.fr/index.php | ||
|
||
RewriteEngine On | ||
RewriteBase / | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^ index.php [L] | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
$section = isset($_GET["section"]) ? $_GET["section"] : null; | ||
|
||
|
||
$jsonFile = "../_dynamic/data/en.json"; | ||
$data = file_get_contents($jsonFile); | ||
|
||
$data = json_decode($data, true); | ||
|
||
$sections = array(); | ||
foreach($data as $name=>$d) { | ||
$sections[] = $name; | ||
} | ||
|
||
foreach($sections as $s) { | ||
echo '<a href="?section='.urlencode($s).'">'.$s.'</a> - '; | ||
} | ||
|
||
|
||
if($section) { | ||
echo '<table>'; | ||
foreach($data[$section] as $r) { | ||
echo '<tr>'; | ||
if(is_array($r)) { | ||
foreach($r as $item) { | ||
echo '<td>'.$item.'</td>'; | ||
} | ||
} | ||
echo '</tr>'; | ||
|
||
} | ||
echo '</table>'; | ||
} | ||
|
||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"require": { | ||
"silex/silex": "~1.1", | ||
"doctrine/dbal": "~2.2", | ||
"symfony/validator": "~2.3", | ||
"symfony/security": "~2.3", | ||
"imagine/imagine": "0.4.*", | ||
"neutron/silex-imagine-provider": "0.1.*", | ||
"xamin/handlebars.php": "dev-master", | ||
"kilte/silex-captcha": "1.0.0" | ||
}, | ||
"autoload": { | ||
"psr-0": {"Core": "src/"} | ||
} | ||
} |
Oops, something went wrong.