-
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
1 parent
a39a90b
commit d472a37
Showing
9 changed files
with
3,607 additions
and
8 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,21 @@ | ||
<?php | ||
require 'rb.php'; | ||
R::setup(); | ||
|
||
$opts = getopt( '', [ 'add:', 'list' ] ); | ||
if ( isset( $opts['add'] ) ) { | ||
$w = R::dispense( 'whisky' ); | ||
$w->name = $opts['add']; | ||
$id = R::store( $w ); | ||
die( "OK.\n" ); | ||
} | ||
if ( isset( $opts['list'] ) ) { | ||
$bottles = R::find( 'whisky' ); | ||
if ( !count( $bottles ) ) | ||
die( "The cellar is empty!\n" ); | ||
foreach( $bottles as $b ) { | ||
echo "* #{$b->id}: {$b->name}\n"; | ||
} | ||
exit; | ||
} | ||
?> |
526 changes: 526 additions & 0 deletions
526
...e-dark-bootstrap-admin-template-1.0.0/template/pages/informations-groupes/Add_Groupe.html
Large diffs are not rendered by default.
Oops, something went wrong.
520 changes: 520 additions & 0 deletions
520
...-dark-bootstrap-admin-template-1.0.0/template/pages/informations-groupes/Add_courses.html
Large diffs are not rendered by default.
Oops, something went wrong.
577 changes: 577 additions & 0 deletions
577
...dark-bootstrap-admin-template-1.0.0/template/pages/informations-groupes/Check_Groupe.html
Large diffs are not rendered by default.
Oops, something went wrong.
567 changes: 567 additions & 0 deletions
567
...ark-bootstrap-admin-template-1.0.0/template/pages/informations-groupes/Check_courses.html
Large diffs are not rendered by default.
Oops, something went wrong.
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
702 changes: 702 additions & 0 deletions
702
...-free-dark-bootstrap-admin-template-1.0.0/template/pages/informations-groupes/Groups.html
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.