diff --git a/config/db.php b/config/db.php new file mode 100644 index 0000000..4bca290 --- /dev/null +++ b/config/db.php @@ -0,0 +1,25 @@ +load(); + +$DB_HOST = $_ENV['DB_HOST']; +$DB_PORT = $_ENV['DB_PORT']; +$DB_NAME = $_ENV['DB_DATABASE']; +$DB_USER = $_ENV['DB_USERNAME']; +$DB_PASS = $_ENV['DB_PASSWORD']; + +// try { +// $pdo = new PDO( +// "mysql:host=$DB_HOST;dbname=$DB_NAME;charset=utf8mb4", +// $DB_USER, +// $DB_PASS, +// [ +// PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION +// ] +// ); +// echo "Connessione al database riuscita!"; +// } catch (PDOException $e) { +// echo "Errore connessione DB: " . $e->getMessage(); +// } diff --git a/config/test_db.php b/config/test_db.php new file mode 100644 index 0000000..18c192e --- /dev/null +++ b/config/test_db.php @@ -0,0 +1,25 @@ +load(); + +$DB_HOST = $_ENV['DB_HOST']; +$DB_PORT = $_ENV['DB_PORT']; +$DB_NAME = $_ENV['DB_DATABASE']; +$DB_USER = $_ENV['DB_USERNAME']; +$DB_PASS = $_ENV['DB_PASSWORD']; + +try { + $pdo = new PDO( + "mysql:host=$DB_HOST;dbname=$DB_NAME;charset=utf8mb4", + $DB_USER, + $DB_PASS, + [ + PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION + ] + ); + echo "Connessione al database riuscita!"; +} catch (PDOException $e) { + echo "Errore connessione DB: " . $e->getMessage(); +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..f8ea88a --- /dev/null +++ b/index.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/parts/content.php b/parts/content.php new file mode 100644 index 0000000..064c0d9 --- /dev/null +++ b/parts/content.php @@ -0,0 +1,556 @@ + +
+ + +
+ + + + + + +
+ + +
+

Dashboard

+ Generate Report +
+ + +
+ + +
+
+
+
+
+
+ Earnings (Monthly)
+
$40,000
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ Earnings (Annual)
+
$215,000
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
Tasks +
+
+
+
50%
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ Pending Requests
+
18
+
+
+ +
+
+
+
+
+
+ + + +
+ + +
+
+ +
+
Earnings Overview
+ +
+ +
+
+ +
+
+
+
+ + +
+
+ +
+
Revenue Sources
+ +
+ +
+
+ +
+
+ + Direct + + + Social + + + Referral + +
+
+
+
+
+ + +
+ + +
+ + +
+
+
Projects
+
+
+

Server Migration 20%

+
+
+
+

Sales Tracking 40%

+
+
+
+

Customer Database 60%

+
+
+
+

Payout Details 80%

+
+
+
+

Account Setup Complete!

+
+
+
+
+
+ + +
+
+
+
+ Primary +
#4e73df
+
+
+
+
+
+
+ Success +
#1cc88a
+
+
+
+
+
+
+ Info +
#36b9cc
+
+
+
+
+
+
+ Warning +
#f6c23e
+
+
+
+
+
+
+ Danger +
#e74a3b
+
+
+
+
+
+
+ Secondary +
#858796
+
+
+
+
+
+
+ Light +
#f8f9fc
+
+
+
+
+
+
+ Dark +
#5a5c69
+
+
+
+
+ +
+ +
+ + +
+
+
Illustrations
+
+
+
+ ... +
+

Add some quality, svg illustrations to your project courtesy of unDraw, a + constantly updated collection of beautiful svg images that you can use + completely free and without attribution!

+ Browse Illustrations on + unDraw → +
+
+ + +
+
+
Development Approach
+
+
+

SB Admin 2 makes extensive use of Bootstrap 4 utility classes in order to reduce + CSS bloat and poor page performance. Custom CSS classes are used to create + custom components and custom utility classes.

+

Before working with this theme, you should become familiar with the + Bootstrap framework, especially the utility classes.

+
+
+ +
+
+ +
+ + +
+ + + + + + +
+ \ No newline at end of file diff --git a/parts/footer.php b/parts/footer.php new file mode 100644 index 0000000..5075edb --- /dev/null +++ b/parts/footer.php @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/parts/head.php b/parts/head.php new file mode 100644 index 0000000..e75de29 --- /dev/null +++ b/parts/head.php @@ -0,0 +1,19 @@ + + + + + + + + + DEVVV + + + + + + + +
\ No newline at end of file diff --git a/parts/sidebar.php b/parts/sidebar.php new file mode 100644 index 0000000..335ecd4 --- /dev/null +++ b/parts/sidebar.php @@ -0,0 +1,124 @@ + + + \ No newline at end of file diff --git a/404.html b/tpl/404.html similarity index 100% rename from 404.html rename to tpl/404.html diff --git a/LICENSE b/tpl/LICENSE similarity index 100% rename from LICENSE rename to tpl/LICENSE diff --git a/PRO_UPGRADE.txt b/tpl/PRO_UPGRADE.txt similarity index 100% rename from PRO_UPGRADE.txt rename to tpl/PRO_UPGRADE.txt diff --git a/README.md b/tpl/README.md similarity index 100% rename from README.md rename to tpl/README.md diff --git a/blank.html b/tpl/blank.html similarity index 100% rename from blank.html rename to tpl/blank.html diff --git a/buttons.html b/tpl/buttons.html similarity index 100% rename from buttons.html rename to tpl/buttons.html diff --git a/cards.html b/tpl/cards.html similarity index 100% rename from cards.html rename to tpl/cards.html diff --git a/charts.html b/tpl/charts.html similarity index 100% rename from charts.html rename to tpl/charts.html diff --git a/forgot-password.html b/tpl/forgot-password.html similarity index 100% rename from forgot-password.html rename to tpl/forgot-password.html diff --git a/gulpfile.js b/tpl/gulpfile.js similarity index 100% rename from gulpfile.js rename to tpl/gulpfile.js diff --git a/index.html b/tpl/index.html similarity index 99% rename from index.html rename to tpl/index.html index 51cf7bb..13b3190 100644 --- a/index.html +++ b/tpl/index.html @@ -9,7 +9,7 @@ - SB Admin 2 - Dashboard + DEVVV diff --git a/register.html b/tpl/register.html similarity index 100% rename from register.html rename to tpl/register.html diff --git a/tables.html b/tpl/tables.html similarity index 100% rename from tables.html rename to tpl/tables.html diff --git a/utilities-animation.html b/tpl/utilities-animation.html similarity index 100% rename from utilities-animation.html rename to tpl/utilities-animation.html diff --git a/utilities-border.html b/tpl/utilities-border.html similarity index 100% rename from utilities-border.html rename to tpl/utilities-border.html diff --git a/utilities-color.html b/tpl/utilities-color.html similarity index 100% rename from utilities-color.html rename to tpl/utilities-color.html diff --git a/utilities-other.html b/tpl/utilities-other.html similarity index 100% rename from utilities-other.html rename to tpl/utilities-other.html