diff --git a/.gitignore b/.gitignore index a919e4b..03011bc 100644 --- a/.gitignore +++ b/.gitignore @@ -127,6 +127,7 @@ dist # Stores VSCode versions used for testing VSCode extensions .vscode-test +.vscode # yarn v2 .yarn/cache diff --git a/.htaccess b/.htaccess index d2640a4..b88f6e1 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,7 @@ Require all denied + + + Require all denied + diff --git a/composer.json b/composer.json index 3b6e70c..c182adc 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "moh/bld", + "name": "rod/bld", "description": "BLD e-Sports Team: A Counter-Strike team management system", "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index c95a116..517d110 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "43ba62bfb693cc4a5fa4fc266ba5d601", + "content-hash": "948f0855aa04b6ec9cd1b48f94386d66", "packages": [], "packages-dev": [], "aliases": [], diff --git a/public/admin/adminContactDashboard.php b/public/admin/adminContactDashboard.php index 1b95f64..f7e8253 100644 --- a/public/admin/adminContactDashboard.php +++ b/public/admin/adminContactDashboard.php @@ -1,4 +1,6 @@ First Name Last Name Email + Phone Number Subject Message Date @@ -62,6 +65,7 @@ + diff --git a/public/css/style.css b/public/css/style.css index 6000c18..ef95c98 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -538,10 +538,10 @@ header nav .nav-item a:hover { .news-article img { margin: 30px auto; - width: auto; - height: auto; + width: 70%; + height: 40%; + display: flex; object-fit: cover; - display: flow; border: 1px solid transparent; border-radius: 10px; box-shadow: 0 0 30px -10px rgba(0, 0, 0, 0.3); @@ -549,6 +549,7 @@ header nav .nav-item a:hover { overflow: hidden; } + .news-article p { font-family: "Space Mono", monospace; font-weight: 400; diff --git a/public/html/contactus.php b/public/html/contactus.php index fd47eca..3cc78d0 100644 --- a/public/html/contactus.php +++ b/public/html/contactus.php @@ -14,13 +14,14 @@ $firstName = htmlspecialchars($_POST['first-name']); $lastName = htmlspecialchars($_POST['last-name']); $email = htmlspecialchars($_POST['email']); + $phonenumber = htmlspecialchars($_POST['phonenumber']); $subject = htmlspecialchars($_POST['subject']); $message = htmlspecialchars($_POST['message']); try { // Prepare SQL statement and execute - $stmt = $conn->prepare("INSERT INTO ContactUS (firstname, lastname, email, subject, message) VALUES (?, ?, ?, ?, ?)"); - $stmt->execute([$firstName, $lastName, $email, $subject, $message]); + $stmt = $conn->prepare("INSERT INTO ContactUS (firstname, lastname, email, phonenumber, subject, message) VALUES (?, ?, ?, ?, ?, ?)"); + $stmt->execute([$firstName, $lastName, $email, $phonenumber, $subject, $message]); // Redirect to avoid form re-submission on page reload header("Location: " . $_SERVER['REQUEST_URI']); @@ -56,6 +57,12 @@ + +
+ + +
+
diff --git a/public/html/home.php b/public/html/home.php index 1c23a75..a46c2a0 100644 --- a/public/html/home.php +++ b/public/html/home.php @@ -58,19 +58,19 @@

BLD named as Esports World Cup Foundation Partner

- BLD named as Esports World Cup Foundation Partner + BLD named as Esports World Cup Foundation Partner

BLD announces Cubert Academy, a CS:GO Academy team for the 2025 season

- Cubert Academy announcement + Cubert Academy announcement

BLD announces gaming chair sponsorship with Razer

- Gaming chair sponsorship + Gaming chair sponsorship

BLD victorious at first VCT Americas tournament of 2024, qualifies for VCT Masters Madrid

- VCT win announcement + VCT win announcement
diff --git a/public/html/news/news-1.php b/public/html/news/news-1.php index 0abc9fa..ab29b91 100644 --- a/public/html/news/news-1.php +++ b/public/html/news/news-1.php @@ -2,6 +2,7 @@ + @@ -10,8 +11,9 @@

BLD named as Esports World Cup Foundation Partner

- - BLD named as Esports World Cup Foundation Partner +

Published on: 2023-10-01

+

Author: BLD e-Sports

+ BLD named as Esports World Cup Foundation Partner

Los Angeles, California

diff --git a/public/html/news/news-2.php b/public/html/news/news-2.php index b3d9bbc..aa0304f 100644 --- a/public/html/news/news-2.php +++ b/public/html/news/news-2.php @@ -1 +1,34 @@ - + + + + + + BLD e-Sports | News + + +
+

BLD announces Cubert Academy, a Counter-Strike Academy team for the 2025 season

+

Published on: 2023-12-15

+

Author: BLD e-Sports

+ BLD announces Cubert Academy, a Counter-Strike Academy team for the 2025 season +
+
+

Los Angeles, California

+

– North American organization **BLD** is thrilled to unveil its **Counter-Strike Academy** roster for the 2025 season. Featuring **Zaki “Reduxx” Dilan** as the first core member, **Cubert Academy** is set to make waves in the competitive **Counter-Strike** scene.

+ +

“Our vision is simple but impactful. First, we aim to provide a nurturing environment for up-and-coming talent who aren’t yet eligible for premier **CS:GO** competitions, offering them a platform to evolve. At the same time, we want to create opportunities for seasoned players to showcase their skills, positioning them as strong candidates for joining top-tier **CS:GO** teams in the future, including our own **BLD** roster,” said **Mohamad F**, CEO of **BLD**.

+ +

While **Cubert Academy** won’t be competing in the **Pro League** just yet, contracts will be structured to give experienced players the option to transition to any top-tier **CS:GO** organization mid-season. After that point, a predetermined buyout of $10k or less will be available, ensuring they can pursue new opportunities without the usual high buyout hurdles.

+ +

This initiative will allow players to gain crucial experience in the **Challengers Circuit** and get scouted by major **CS:GO** teams, including **BLD**, without the usual high buyout hurdles.

+ +

**Cubert Academy** will be the only North American **Counter-Strike** academy team with such an arrangement. Fans can keep up to date with all team news and updates by following the official **@CubertAcademy** Twitter account.

+ +

Support the team directly by grabbing exclusive **Cubert Collection** merch, available in the **BLD Store**.

+ + +
+
+ +
diff --git a/public/html/news/news-3.php b/public/html/news/news-3.php index b3d9bbc..bd0f607 100644 --- a/public/html/news/news-3.php +++ b/public/html/news/news-3.php @@ -1 +1,32 @@ - + + + + + + BLD e-Sports | News + + +
+

BLD announces gaming chair sponsorship with Razer

+

Published on: 2024-06-12

+

Author: BLD e-Sports

+ BLD announces gaming chair sponsorship with Razer +
+
+

Los Angeles, California

+

– North American organization **BLD** is proud to announce a year-long partnership with **Razer**, the world’s leading lifestyle brand for gamers. With this partnership, the **Razer Iskur V2** gaming chair becomes the official chair for **BLD** players.

+ +

The **Razer Iskur V2** is built for ergonomic comfort, with its 6D Adjustable and Adaptive Lumbar Support System designed to fit the natural curvature of the spine. It also offers a custom-tailored experience with adjustable lumbar protrusion and height, ensuring optimal comfort. The chair also features high-density foam cushions, a reactive seat tilt, and up to 152-degree recline functionality.

+ +

Speaking on the partnership, CEO **Mohamad F** said:

+

“We’re excited to partner with **Razer**, a brand that has been a long-time leader in the esports industry. This partnership ensures that our players will have the most comfortable and innovative gaming chairs, helping them perform at their highest level. With the **Razer Iskur V2**, we’re confident our team will have the perfect equipment to compete in the most intense **Counter-Strike** matches.”

+ +

**BLD** is now officially part of **Team Razer**, alongside some of the world’s best esports athletes. This announcement follows the success of **Zaki “Reduxx” Dilan** in securing victories with the **Razer Viper V3 Pro** wireless esports mouse in **Counter-Strike** tournaments.

+ +

Fans can look forward to exclusive **Razer Iskur V2** chairs and other **Razer** products available in the **BLD Store**. With this partnership, **BLD** players will now have top-tier gaming peripherals and ergonomic support to keep them at the top of their game.

+ + +
+
+
diff --git a/public/html/news/news-4.php b/public/html/news/news-4.php index b3d9bbc..a6954c6 100644 --- a/public/html/news/news-4.php +++ b/public/html/news/news-4.php @@ -1 +1,34 @@ - + + + + + + BLD e-Sports | News + + +
+

BLD victorious at first CS:GO Americas tournament of 2024, qualifies for CS:GO Masters Madrid

+

Published on: 2024-03-04

+

Author: BLD e-Sports

+ BLD victorious at first CS:GO Americas tournament of 2024, qualifies for CS:GO Masters Madrid +
+
+

Los Angeles, California

+

– **BLD**, who won their first official international **Counter-Strike** event in Reykjavik in 2021, have added another trophy to their cabinet with an emphatic victory over 2022 World Champions and 2023 Americas Champions LOUD in the first official **CS:GO** event of 2024.

+ +

Following an intense off-season that saw the organization bring home titles in the **BLD Invitational** and the **Afreeca TV League Tournament** where the team defeated the 2023 Pacific Champions Paper Rex, **BLD** went into the tournament with high expectations. After a series of hard-fought wins against top-level opponents such as NRG, Leviatan, and 100 Thieves, **BLD** was crowned the **CS:GO Kick-Off Champions**, earning their spot at **CS:GO Masters Madrid**, the first international tournament of the year.

+ +

Speaking on the victory, CEO **Mohamad F** said:

+

“The team has put in the work over the last six months capturing two titles along the way. We brought in two new players who have helped us culminate our turnaround with in-game leader, Mouhamed “johnqt” Ouarid, and the ultimate flex player Jordan “Zellsis” Montemurro. They have meshed so well with the sole remaining member of our 2021 title-winning team, Tyson “TenZ” Ngo, former World Champion Gustavo “Sacy” Rossi, and budding superstar Zachary “zekken” Patrone. We are incredibly excited about the possibility of going to Madrid and capturing another Masters crown.”

+ +

**BLD** superstars Tyson “TenZ” Ngo and Zachary “zekken” Patrone were two of the best performers in the tournament. Zekken was the second joint-highest-rated player of the event, while TenZ was crowned the player of the match in the grand final against LOUD.

+ +

The match against LOUD was the highest-watched of the event in any region with 823,008 peak viewers, according to data collected by EsportsCharts. To add to this impressive achievement, the match holds the all-time record for most viewership in any non-international **Counter-Strike** match. Out of the top five matches with the highest viewership figures in this tournament, **BLD** features in three of them.

+ +

**BLD** is set to open the event at **CS:GO Masters Madrid** against Europe’s Team Heretics at 11am PST on Friday, March 15. The entire playoff field at **CS:GO Masters Madrid** includes Karmine Corp, Paper Rex, Heretics, Gen.G, Edward Gaming, FPX, and LOUD. The tournament starts on March 14 and concludes with the Grand Finals on March 24.

+ + +
+
+
diff --git a/public/images/news/worldcuppartner.jpeg b/public/images/news/worldcuppartner.jpeg deleted file mode 100644 index 8979fcb..0000000 Binary files a/public/images/news/worldcuppartner.jpeg and /dev/null differ diff --git a/public/images/news/worldcuppartner.jpg b/public/images/news/worldcuppartner.jpg new file mode 100644 index 0000000..9a5f926 Binary files /dev/null and b/public/images/news/worldcuppartner.jpg differ diff --git a/public/php/mysqlTables.php b/public/php/mysqlTables.php index ba8b20c..e0d379a 100644 --- a/public/php/mysqlTables.php +++ b/public/php/mysqlTables.php @@ -1,18 +1,39 @@ exec($sql); + foreach ($queries as $sql) { + $conn->exec($sql); + } } catch (PDOException $e) { error_log("Table creation error: " . $e->getMessage()); die("Internal error creating tables.");