Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sundaysec committed Dec 8, 2018
0 parents commit 4ee39b8
Show file tree
Hide file tree
Showing 291 changed files with 41,708 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
DSC Kabarak Website
====

Link : https://kabu-ihub.github.io/dsc

Good luck!!
Binary file added __MACOSX/._blog-single.html
Binary file not shown.
Binary file added __MACOSX/._blog.html
Binary file not shown.
Binary file added __MACOSX/._css
Binary file not shown.
Binary file added __MACOSX/._demo.html
Binary file not shown.
Binary file added __MACOSX/._favicon.ico
Binary file not shown.
Binary file added __MACOSX/._images
Binary file not shown.
Binary file added __MACOSX/._inc
Binary file not shown.
Binary file added __MACOSX/._index.html
Binary file not shown.
Binary file added __MACOSX/._js
Binary file not shown.
Binary file added __MACOSX/._readme.txt
Binary file not shown.
Binary file added __MACOSX/css/._base.css
Binary file not shown.
Binary file added __MACOSX/css/._font-awesome
Binary file not shown.
Binary file added __MACOSX/css/._fonts
Binary file not shown.
Binary file added __MACOSX/css/._fonts.css
Binary file not shown.
Binary file added __MACOSX/css/._layout.css
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/._css
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/._font
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/._less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/._scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/css/._font-awesome-ie7.css
Binary file not shown.
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/css/._font-awesome.css
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/css/._font-awesome.min.css
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/font/._FontAwesome.otf
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._bootstrap.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._core.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._extras.less
Binary file not shown.
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._font-awesome.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._icons.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._mixins.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._path.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/less/._variables.less
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__bootstrap.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__core.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__extras.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__icons.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__mixins.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__path.scss
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/.__variables.scss
Binary file not shown.
Binary file not shown.
Binary file added __MACOSX/css/font-awesome/scss/._font-awesome.scss
Binary file not shown.
Binary file added __MACOSX/css/fonts/._montserrat
Binary file not shown.
Binary file added __MACOSX/css/fonts/._opensans
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added __MACOSX/images/._author-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._client-img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._direction-nav-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._direction-nav-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._intro-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._k-opacity-60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._k-opacity-70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._loader2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._patterns
Binary file not shown.
Binary file added __MACOSX/images/._portfolio
Binary file not shown.
Binary file added __MACOSX/images/._post-image
Binary file not shown.
Binary file added __MACOSX/images/._sample-image-120x120.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._team
Binary file not shown.
Binary file added __MACOSX/images/._user-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __MACOSX/images/._user-02.png
Binary file added __MACOSX/images/._user-03.png
Binary file added __MACOSX/images/patterns/._grey.png
Binary file added __MACOSX/images/patterns/._servicesbg.png
Binary file added __MACOSX/images/portfolio/._clock.jpg
Binary file added __MACOSX/images/portfolio/._cosmic-sneakers.jpg
Binary file added __MACOSX/images/portfolio/._eve.jpg
Binary file added __MACOSX/images/portfolio/._fields.jpg
Binary file added __MACOSX/images/portfolio/._judah.jpg
Binary file added __MACOSX/images/portfolio/._milk-splash.jpg
Binary file added __MACOSX/images/portfolio/._modals
Binary file not shown.
Binary file added __MACOSX/images/portfolio/._sneaker-splash.jpg
Binary file added __MACOSX/images/portfolio/._vector-flower.jpg
Binary file added __MACOSX/images/portfolio/modals/._m-clock.jpg
Binary file added __MACOSX/images/portfolio/modals/._m-eve.jpg
Binary file added __MACOSX/images/portfolio/modals/._m-fields.jpg
Binary file added __MACOSX/images/portfolio/modals/._m-judah.jpg
Binary file added __MACOSX/images/portfolio/modals/._m-milk-splash.jpg
Binary file added __MACOSX/images/team/._team-img-01.jpg
Binary file added __MACOSX/images/team/._team-img-02.jpg
Binary file added __MACOSX/images/team/._team-img-03.jpg
Binary file added __MACOSX/inc/._sendEmail.php
Binary file not shown.
Binary file added __MACOSX/js/._gmaps.js
Binary file not shown.
Binary file added __MACOSX/js/._init.js
Binary file not shown.
Binary file added __MACOSX/js/._jquery-1.10.2.min.js
Binary file not shown.
Binary file added __MACOSX/js/._jquery-migrate-1.2.1.min.js
Binary file not shown.
Binary file added __MACOSX/js/._jquery.flexslider.js
Binary file not shown.
Binary file added __MACOSX/js/._jquery.reveal.js
Binary file not shown.
Binary file added __MACOSX/js/._scrollspy.js
Binary file not shown.
Binary file added __MACOSX/js/._smoothscrolling.js
Binary file not shown.
2,475 changes: 2,475 additions & 0 deletions backend/access.php

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions backend/submit_contact.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
$_contactName = $_POST['contactName'];
$_contactEmail = $_POST['contactEmail'];
$_contactSubject = $_POST['contactSubject'];
$_contactMessage = $_POST['contactMessage'];

if (!empty(contactName) || !empty(contactEmail) || !empty(contactSubject) || !empty(contactMessage)) {
$host = 'localhost';
$dbUsername = 'root';
$dbPassword = 'dracular';
$dbname = 'dsc';

//Connection
$con = new mysqli($host, $dbUsername, $dbPassword, $dbname);

if (mysqli_connect_error()) {
die('Connect_Error'( mysqli_connect_errno().')'. mysqli_connect_error()));
}
else {
// $SELECT = "SELECT co
$INSERT = "INSERT INTO `contact` (`contactName`, `contactEmail`, `contactSubject`, `contactMessage`) VALUES (?, ?, ?, ?)";

$stmt = $con->prepare($INSERT);
$stmt->bind_param($_contactName, $contactEmail, $_contactSubject, $_contactMessage);
$stm->execute();
$stm->close();
$stm->close();
}
}
?>
Loading

0 comments on commit 4ee39b8

Please sign in to comment.