1- <?php
2- /*
3- First-Coder Teamspeak 3 Webinterface for everyone
4- Copyright (C) 2017 by L.Gmann
5-
6- This program is free software: you can redistribute it and/or modify
7- it under the terms of the GNU General Public License as published by
8- the Free Software Foundation, either version 3 of the License, or
9- any later version.
10-
11- This program is distributed in the hope that it will be useful,
12- but WITHOUT ANY WARRANTY; without even the implied warranty of
13- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14- GNU General Public License for more details.
15-
16- You should have received a copy of the GNU General Public License
17- along with this program. If not, see <http://www.gnu.org/licenses/>.
18-
19- for help look http://first-coder.de/
20- */
21-
22- /*
23- Includes
24- */
25- require_once ("./lang.php " );
26- ?>
27-
28- <div class="card">
29- <div class="card-block card-block-header">
30- <h4 class="card-title"><i class="fa fa-database"></i> <?php echo $ language ['datenbankverbindung ' ]; ?> </h4>
31- </div>
32- <div class="card-block">
33- <div class="form-group">
34- <label>SQL Mode</label>
35- <select id="check_sqlmode" class="form-control c-select">
36- <option value="mysql" selected>MySQL / Maria DB</option>
37- <option value="pgsql">PostgreSQL</option>
38- </select>
39- </div>
40- <div class="form-group">
41- <label>SQL <?php echo $ language ['hostname ' ]; ?> </label>
42- <input type="text" class="form-control" id="check_hostname">
43- </div>
44- <div class="form-group">
45- <label>SQL Port</label>
46- <input type="number" class="form-control" id="check_port" value="3306">
47- </div>
48- <div class="form-group">
49- <label>SQL <?php echo $ language ['datenbank ' ]; ?> </label>
50- <input type="text" class="form-control" id="check_database">
51- </div>
52- <div class="form-group">
53- <label>SQL <?php echo $ language ['benutzername ' ]; ?> </label>
54- <input type="text" class="form-control" id="check_username">
55- </div>
56- <div class="form-group">
57- <label>SQL <?php echo $ language ['passwort ' ]; ?> </label>
58- <input type="password" class="form-control" id="check_password">
59- </div>
60- <div class="form-group">
61- <div>SSL Require</div>
62- <div style="width: 100%;text-align: center;">
63- <label class="c-input c-checkbox">
64- <input id="checkSslRequire" type="checkbox">
65- <span class="c-indicator"></span>
66- <?php echo $ language ['ja ' ]; ?>
67- </label>
68- </div>
69- </div>
70- <button id="databaseConnectionBttn" onClick="checkDatabaseConnection();" class="btn btn-custom btn-sm" style="width: 100%;"><i class="fa fa-edit" aria-hidden="true"></i> <?php echo $ language ['datenbank_pruefen ' ]; ?> </button>
71- </div>
72- </div>
73-
74- <div class="card">
75- <div class="card-block card-block-header">
76- <h4 class="card-title"><i class="fa fa-terminal"></i> <?php echo $ language ['konsole ' ]; ?> </h4>
77- </div>
78- <div class="card-block" id="console_block">
79- <div class="row">
80- <div class="col-md-12">
81- <div id="database_errorbox" class="alert alert-info">
82- Waiting...
83- </div>
84- </div>
85- </div>
86- </div>
1+ <?php
2+ /*
3+ First-Coder Teamspeak 3 Webinterface for everyone
4+ Copyright (C) 2017 by L.Gmann
5+
6+ This program is free software: you can redistribute it and/or modify
7+ it under the terms of the GNU General Public License as published by
8+ the Free Software Foundation, either version 3 of the License, or
9+ any later version.
10+
11+ This program is distributed in the hope that it will be useful,
12+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ GNU General Public License for more details.
15+
16+ You should have received a copy of the GNU General Public License
17+ along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
19+ for help look http://first-coder.de/
20+ */
21+
22+ /*
23+ Includes
24+ */
25+ require_once ("./lang.php " );
26+ ?>
27+
28+ <div class="card">
29+ <div class="card-block card-block-header">
30+ <h4 class="card-title"><i class="fa fa-database"></i> <?php echo $ language ['datenbankverbindung ' ]; ?> </h4>
31+ </div>
32+ <div class="card-block">
33+ <div class="form-group">
34+ <label>SQL Mode</label>
35+ <select id="check_sqlmode" class="form-control c-select">
36+ <option value="mysql" selected>MySQL / Maria DB</option>
37+ <option value="pgsql">PostgreSQL</option>
38+ </select>
39+ </div>
40+ <div class="form-group">
41+ <label>SQL <?php echo $ language ['hostname ' ]; ?> </label>
42+ <input type="text" class="form-control" id="check_hostname">
43+ </div>
44+ <div class="form-group">
45+ <label>SQL Port</label>
46+ <input type="number" class="form-control" id="check_port" value="3306">
47+ </div>
48+ <div class="form-group">
49+ <label>SQL <?php echo $ language ['datenbank ' ]; ?> </label>
50+ <input type="text" class="form-control" id="check_database">
51+ </div>
52+ <div class="form-group">
53+ <label>SQL <?php echo $ language ['benutzername ' ]; ?> </label>
54+ <input type="text" class="form-control" id="check_username">
55+ </div>
56+ <div class="form-group">
57+ <label>SQL <?php echo $ language ['passwort ' ]; ?> </label>
58+ <input type="password" class="form-control" id="check_password">
59+ </div>
60+ <div class="form-group">
61+ <div>SSL Require</div>
62+ <div style="width: 100%;text-align: center;">
63+ <label class="c-input c-checkbox">
64+ <input id="checkSslRequire" type="checkbox">
65+ <span class="c-indicator"></span>
66+ <?php echo $ language ['ja ' ]; ?>
67+ </label>
68+ </div>
69+ </div>
70+ <button id="databaseConnectionBttn" onClick="checkDatabaseConnection();" class="btn btn-custom btn-sm" style="width: 100%;"><i class="fa fa-edit" aria-hidden="true"></i> <?php echo $ language ['datenbank_pruefen ' ]; ?> </button>
71+ </div>
72+ </div>
73+
74+ <div class="card">
75+ <div class="card-block card-block-header">
76+ <h4 class="card-title"><i class="fa fa-terminal"></i> <?php echo $ language ['konsole ' ]; ?> </h4>
77+ </div>
78+ <div class="card-block" id="console_block">
79+ <div class="row">
80+ <div class="col-md-12">
81+ <div id="database_errorbox" class="alert alert-info">
82+ Waiting...
83+ </div>
84+ </div>
85+ </div>
86+ </div>
8787</div>
0 commit comments