Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBPythonScripte
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBPythonScripte
Commits
1f3c1c65
Commit
1f3c1c65
authored
Jan 25, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
8d63e000
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
media.php
media.php
+15
-12
No files found.
media.php
View file @
1f3c1c65
...
@@ -6,18 +6,21 @@ $colors = new Colors();
...
@@ -6,18 +6,21 @@ $colors = new Colors();
//echo "md5: ".$colors->getColoredString("Fehler!", "white", "red") .PHP_EOL;
//echo "md5: ".$colors->getColoredString("Fehler!", "white", "red") .PHP_EOL;
//echo "md5: ".$colors->getColoredString("Erfolgreich!", "white", "green") .PHP_EOL;
//echo "md5: ".$colors->getColoredString("Erfolgreich!", "white", "green") .PHP_EOL;
if
(
isset
(
$argv
[
1
])){
switch
(
$argv
[
1
]){
switch
(
$argv
[
1
]){
case
"filme"
:
case
"filme"
:
echo
$colors
->
getColoredString
(
"Filme"
,
"black"
,
"white"
)
.
PHP_EOL
;
echo
$colors
->
getColoredString
(
"Filme"
,
"white"
,
"light_gray"
)
.
PHP_EOL
;
break
;
break
;
default
:
default
:
echo
$colors
->
getColoredString
(
"Benutzung:"
,
"black"
,
"white"
)
.
PHP_EOL
;
echo
$colors
->
getColoredString
(
"Fehler"
,
"white"
,
"light_gray"
)
.
PHP_EOL
;
echo
" filme [Pfad zum einlesen] [Zielfestplatte]"
.
PHP_EOL
;
echo
"Bitte ohne Parameter aufrufen für Hilfe!"
.
PHP_EOL
;
break
;
break
;
}
}
else
{
echo
$colors
->
getColoredString
(
"Benutzung:"
,
"white"
,
"light_gray"
)
.
PHP_EOL
;
echo
" filme [Pfad zum einlesen] [Zielfestplatte]"
.
PHP_EOL
;
}
}
?>
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment