commit 8e6b85588b74b8b252ccdf5d9e2af08fa5a404a6 Author: Dylan Date: Tue Sep 26 09:25:20 2023 -0400 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1383f39 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/config.php \ No newline at end of file diff --git a/boss_images/blue.png b/boss_images/blue.png new file mode 100644 index 0000000..75bfd3b Binary files /dev/null and b/boss_images/blue.png differ diff --git a/boss_images/bluedrac.png b/boss_images/bluedrac.png new file mode 100644 index 0000000..cc49520 Binary files /dev/null and b/boss_images/bluedrac.png differ diff --git a/boss_images/blueking.png b/boss_images/blueking.png new file mode 100644 index 0000000..42597e9 Binary files /dev/null and b/boss_images/blueking.png differ diff --git a/boss_images/bluerobo.png b/boss_images/bluerobo.png new file mode 100644 index 0000000..058cd46 Binary files /dev/null and b/boss_images/bluerobo.png differ diff --git a/boss_images/bluespin.png b/boss_images/bluespin.png new file mode 100644 index 0000000..b288908 Binary files /dev/null and b/boss_images/bluespin.png differ diff --git a/boss_images/bluewing.png b/boss_images/bluewing.png new file mode 100644 index 0000000..d9a1a8b Binary files /dev/null and b/boss_images/bluewing.png differ diff --git a/boss_images/krak.png b/boss_images/krak.png new file mode 100644 index 0000000..7018cbd Binary files /dev/null and b/boss_images/krak.png differ diff --git a/boss_images/krakdrac.png b/boss_images/krakdrac.png new file mode 100644 index 0000000..56fdc9c Binary files /dev/null and b/boss_images/krakdrac.png differ diff --git a/boss_images/krakking.png b/boss_images/krakking.png new file mode 100644 index 0000000..514ae7c Binary files /dev/null and b/boss_images/krakking.png differ diff --git a/boss_images/krakrobo.png b/boss_images/krakrobo.png new file mode 100644 index 0000000..d127af9 Binary files /dev/null and b/boss_images/krakrobo.png differ diff --git a/boss_images/krakspin.png b/boss_images/krakspin.png new file mode 100644 index 0000000..ecfabaf Binary files /dev/null and b/boss_images/krakspin.png differ diff --git a/boss_images/krakwing.png b/boss_images/krakwing.png new file mode 100644 index 0000000..1024d52 Binary files /dev/null and b/boss_images/krakwing.png differ diff --git a/boss_images/raam.png b/boss_images/raam.png new file mode 100644 index 0000000..3ba40ff Binary files /dev/null and b/boss_images/raam.png differ diff --git a/boss_images/raamdrac.png b/boss_images/raamdrac.png new file mode 100644 index 0000000..bf844cd Binary files /dev/null and b/boss_images/raamdrac.png differ diff --git a/boss_images/raamking.png b/boss_images/raamking.png new file mode 100644 index 0000000..fc962fb Binary files /dev/null and b/boss_images/raamking.png differ diff --git a/boss_images/raamrobo.png b/boss_images/raamrobo.png new file mode 100644 index 0000000..e84a0bf Binary files /dev/null and b/boss_images/raamrobo.png differ diff --git a/boss_images/raamspin.png b/boss_images/raamspin.png new file mode 100644 index 0000000..efac99a Binary files /dev/null and b/boss_images/raamspin.png differ diff --git a/boss_images/raamwing.png b/boss_images/raamwing.png new file mode 100644 index 0000000..e522218 Binary files /dev/null and b/boss_images/raamwing.png differ diff --git a/boss_images/skul.png b/boss_images/skul.png new file mode 100644 index 0000000..8416cda Binary files /dev/null and b/boss_images/skul.png differ diff --git a/boss_images/skuldrac.png b/boss_images/skuldrac.png new file mode 100644 index 0000000..fdf0afd Binary files /dev/null and b/boss_images/skuldrac.png differ diff --git a/boss_images/skulking.png b/boss_images/skulking.png new file mode 100644 index 0000000..6e09456 Binary files /dev/null and b/boss_images/skulking.png differ diff --git a/boss_images/skulrobo.png b/boss_images/skulrobo.png new file mode 100644 index 0000000..4d7d8e1 Binary files /dev/null and b/boss_images/skulrobo.png differ diff --git a/boss_images/skulspin.png b/boss_images/skulspin.png new file mode 100644 index 0000000..dc794c7 Binary files /dev/null and b/boss_images/skulspin.png differ diff --git a/boss_images/skulwing.png b/boss_images/skulwing.png new file mode 100644 index 0000000..ee6a340 Binary files /dev/null and b/boss_images/skulwing.png differ diff --git a/boss_images/turr.png b/boss_images/turr.png new file mode 100644 index 0000000..7c6c527 Binary files /dev/null and b/boss_images/turr.png differ diff --git a/boss_images/turrdrac.png b/boss_images/turrdrac.png new file mode 100644 index 0000000..563f410 Binary files /dev/null and b/boss_images/turrdrac.png differ diff --git a/boss_images/turrking.png b/boss_images/turrking.png new file mode 100644 index 0000000..1123094 Binary files /dev/null and b/boss_images/turrking.png differ diff --git a/boss_images/turrrobo.png b/boss_images/turrrobo.png new file mode 100644 index 0000000..c75cd37 Binary files /dev/null and b/boss_images/turrrobo.png differ diff --git a/boss_images/turrspin.png b/boss_images/turrspin.png new file mode 100644 index 0000000..be0f063 Binary files /dev/null and b/boss_images/turrspin.png differ diff --git a/boss_images/turrwing.png b/boss_images/turrwing.png new file mode 100644 index 0000000..052cb4b Binary files /dev/null and b/boss_images/turrwing.png differ diff --git a/ddd_index.php b/ddd_index.php new file mode 100755 index 0000000..b3c9048 --- /dev/null +++ b/ddd_index.php @@ -0,0 +1,5 @@ + + + + + diff --git a/ddd_score_form.html b/ddd_score_form.html new file mode 100755 index 0000000..4be0cfc --- /dev/null +++ b/ddd_score_form.html @@ -0,0 +1,19 @@ + + + +Top 100 DX Mode + +
+
+ +Top 100 EX Mode + +
+
+
+ENTER YOUR SCORE CODE +
+
+ +
+
diff --git a/ddd_scores.php b/ddd_scores.php new file mode 100755 index 0000000..b5b6f4c --- /dev/null +++ b/ddd_scores.php @@ -0,0 +1,71 @@ +"; + $query = "SELECT * FROM ddd_db.scores WHERE ddd_db.scores.Mode = 'DX' ORDER BY ddd_db.scores.Score DESC LIMIT 100"; +} elseif ($mode == "EX") { + echo "Top 100 EX Mode"; + $query = "SELECT * FROM ddd_db.scores WHERE ddd_db.scores.Mode = 'EX' ORDER BY ddd_db.scores.Score DESC LIMIT 100"; +} +?> + +query($query); + +if ($result->num_rows > 0) { + // output data of each row + $counter = 1; + + echo "
"; + + while ($row = $result->fetch_assoc()) { + $output = "" . $counter . " " . $row["Name"] . "" . "   " . + "" . number_format($row["Score"]) . ""; + + // Retrieve the boss names and split them into an array + $bosses = explode(",", $row["Bosses"]); + + echo "
  • "; + echo "
    "; + echo $output; + echo "
    "; + + if (!empty($bosses)) { + echo "
    "; + + // Display an image for each boss name + foreach ($bosses as $boss) { + $bossImage = trim(strtolower($boss)) . ".png"; + if($bossImage != ".png"){ + echo "
    "; + echo "" . $boss . ""; + echo "
    " . $boss . "
    "; + echo "
    "; + } + + } + + + echo "
    "; + } + + echo "
  • "; + + $counter++; + } + + echo ""; + +} else { + echo "
    0 results"; +} + +$conn->close(); +?> + +
    +Back diff --git a/ddd_source.html b/ddd_source.html new file mode 100755 index 0000000..d774065 --- /dev/null +++ b/ddd_source.html @@ -0,0 +1,11 @@ + + + + + +
    + +DASH-DA-DASH DX + +
    +
    diff --git a/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).exe b/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).exe new file mode 100644 index 0000000..7db2a05 Binary files /dev/null and b/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).exe differ diff --git a/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).mfa b/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).mfa new file mode 100644 index 0000000..0ce592b Binary files /dev/null and b/ddddxhs_files/DASH-DA-DASH DX (2023 Fan Patch).mfa differ diff --git a/ddddxhs_files/code.png b/ddddxhs_files/code.png new file mode 100755 index 0000000..cf2d2d2 Binary files /dev/null and b/ddddxhs_files/code.png differ diff --git a/ddddxhs_files/ddd.css b/ddddxhs_files/ddd.css new file mode 100755 index 0000000..77d4187 --- /dev/null +++ b/ddddxhs_files/ddd.css @@ -0,0 +1,148 @@ +body { + background-image: url("/ddddxhs_files/sitebg.png"); + background-repeat: repeat-y; + background-color: #001432; + background-position: center; + background-attachment: fixed; + color: #fff; + font-family: Verdana, Tahoma, sans-serif; +} + +a { + color: #00c; +} + +a:hover { + color: #6cf; +} + +a img { + border: 0px; +} + +.center { + display: block; + margin-left: auto; + margin-right: auto; + width: 100%; +} + +.ddd { + width: 100%; + text-transform: uppercase; + font-size: 1.5em; + font-weight: bold; + list-style: none; +} + +.top3 { + position: relative; + width: 800px; + height: 215px; + clear: both; + text-transform: uppercase; +} + +.scoreList { + width: 40%; + margin: 0px auto; + padding: 0px; + position: relative; + top: -6em; +} + +.scoreEntry { + height: auto; + list-style: none; + margin-bottom: 0.3em; + text-transform: uppercase; + display: flex; + flex-direction: column; /* New: Stack scoreInfo and bossImages vertically */ +} + +.TopScore1, +.TopScore2, +.TopScore3 { + position: absolute; + text-align: center; + width: 800px; + font-weight: bold; + color: #fff; + font-size: 1.5em; +} + +.TopScore1 { + bottom: 183px; +} + +.TopScore2 { + bottom: 146px; +} + +.TopScore3 { + bottom: 109px; +} + +.even { + background-color: rgba(0, 0, 0, 0.9); +} + +.odd { + background-color: rgba(26, 26, 26, 0.9); +} + +.scoreEntry #player, +.scoreEntry #score { + text-align: left; + font-size: 1.5em; + padding-left: 0.25em; + font-weight: bold; +} + +.scoreEntry { + text-align: center; + font-size: 1.2em; + padding-right: 0.25em; + display: flex; + flex-wrap: wrap; /* New: Allow wrapping for boss images */ + align-items: center; +} + +.bossImages { + text-align: right; + font-size: 1.2em; + padding-right: 0.25em; + display: flex; + flex-wrap: wrap; /* New: Allow wrapping for boss images */ + align-items: center; +} + +.bossImages { + text-align: center; + font-size: 1.2em; + padding-right: 0.25em; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; /* New: Center the boss icons horizontally */ +} + +.bossImages img { + max-height: 80px; + margin-right: 5px; + margin-bottom: 5px; /* New: Add some spacing between boss images */ +} + +.bossImageWrapper { + display: flex; + flex-direction: column; + align-items: center; + margin-right: 10px; +} + +.bossLabel { + font-size: 12px; + color: #fff; + margin-top: 5px; + text-align: center; /* Center the label text */ +} diff --git a/ddddxhs_files/download.png b/ddddxhs_files/download.png new file mode 100755 index 0000000..0e35e11 Binary files /dev/null and b/ddddxhs_files/download.png differ diff --git a/ddddxhs_files/features.png b/ddddxhs_files/features.png new file mode 100755 index 0000000..af917ed Binary files /dev/null and b/ddddxhs_files/features.png differ diff --git a/ddddxhs_files/sitebg.png b/ddddxhs_files/sitebg.png new file mode 100755 index 0000000..db21c15 Binary files /dev/null and b/ddddxhs_files/sitebg.png differ diff --git a/ddddxhs_files/title.png b/ddddxhs_files/title.png new file mode 100755 index 0000000..402653b Binary files /dev/null and b/ddddxhs_files/title.png differ diff --git a/ddddxhs_files/title2.png b/ddddxhs_files/title2.png new file mode 100755 index 0000000..c4d7a0c Binary files /dev/null and b/ddddxhs_files/title2.png differ diff --git a/ddddxhs_files/top100dx.png b/ddddxhs_files/top100dx.png new file mode 100755 index 0000000..a6e2d2d Binary files /dev/null and b/ddddxhs_files/top100dx.png differ diff --git a/ddddxhs_files/top100ex.png b/ddddxhs_files/top100ex.png new file mode 100755 index 0000000..a3c5bbf Binary files /dev/null and b/ddddxhs_files/top100ex.png differ diff --git a/index.php b/index.php new file mode 100755 index 0000000..f4847c0 --- /dev/null +++ b/index.php @@ -0,0 +1,49 @@ + + +
    +



    +
      + +DOWNLOAD DASH-DA-DASH DX + +
      +
      +
      +FEATURES DASH-DA-DASH DX +
      +
      +
      +
    1. +Welcome to the fan made Dash Da Dash DX High Score Board +
    2. +
      +
    3. +I created this homage as a way for my friends and I to post our high scores to an online leaderboard like back in the day. +
    4. +
      + +CODE DASH-DA-DASH DX + +

      +
    5. +Credits +
      +Wiki +
      +itch.io (Has verson 1.14 without 2023 Fan Patch) +
      +DDDDX Archive +
      +Scores Archive +
      +Current Website +
      +Current Website Main +
      +Version 1.12 from WabyBackMachine Archive +
      +2023 Fan Patch .mfa Source File for Clickteam Fusion 2.5 +
    6. +
    +
    +
    diff --git a/input_ddd_scoreboard.php b/input_ddd_scoreboard.php new file mode 100755 index 0000000..7ff917d --- /dev/null +++ b/input_ddd_scoreboard.php @@ -0,0 +1,33 @@ +" . $score . "
    " . $mode . "
    "; +echo "Bosses: " . $bossNames . "
    "; + +// Insert the data into the database +$sql = "INSERT INTO ddd_db.scores (Name, Score, Mode, Bosses) VALUES ('$name', $score, '$mode', '$bossNames')"; + +if (mysqli_query($conn, $sql)) { + echo "New record created successfully"; +} else { + echo "Error: " . $sql . "
    " . mysqli_error($conn); +} + +mysqli_close($conn); +?> +
    +Back