GamingNews - WebSite & System
A 3D-styled gaming news website with a complete PHP + MySQL system: admin panel, registration and comments, real view counter, esports results and upcoming releases.

Product Video
Product Information
Overview+
Demo: https://demo1-gamingnews.netlify.app
GamingNews – gaming news website with a ready-made system
GamingNews is a complete news website for gaming blogs, communities and editorial teams. It ships with a dark 3D design (animated starfield, neon grid floor, cards that tilt in depth) and a full PHP + MySQL system behind it, so you can publish news from day one.
Upload the files, open install.php, create your admin account and the site is live – with sample content clearly marked as sample, ready to be replaced.
What makes it different
- Real system, not just a template – news, categories, users, comments, esports matches and releases are all managed from the admin panel
- Live 3D look – Three.js scene on the lead story, animated background, chrome-style logo title, smooth reveal animations
- Real numbers only – views, reactions and "Most read" come from the database and start at zero
- Secure by default –
password_hash, CSRF protection on every form, prepared statements, rate limits, safe image uploads - Fully responsive – designed for desktop and phone
Pages
- Home, news article, category, reviews, search
- Login and registration
- About, Contacts, Advertising, Privacy, Terms (editable sample pages)
- Admin: dashboard, news, categories, comments, users, esports matches, releases, subscribers, pages
Built for gaming news. Platform and game names are used only to describe news categories.
Features+
Website
- Lead story with live 3D scene, two side stories and a big chrome-style title
- Latest news with category filters, search and Load more without page reload
- Article page – formatted text (subheadings, quotes, lists, links), reading progress bar, related news, previous / next
- Real view counter – counted once per visitor session, powers the Most read list
- Reactions – heart, bolt and star
- Comments for registered users, with optional moderation
- Esports results – live, upcoming and finished matches
- Upcoming releases slider
- Newsletter sign-up
- Breaking news ticker, live clock, animated background, floating footer shapes
- Favicon set for browsers and phones
Admin panel
- Dashboard – published news, total views, users, pending comments, subscribers, reactions
- News – create, edit, delete, image upload, category, featured flag, review score, draft or scheduled publishing
- Categories – name, URL, icon and cover colours
- Comments – approve or delete, approve all
- Users – make admin, block, delete
- Esports matches and Releases – add, edit, delete
- Subscribers – list and CSV export
- Pages – edit About, Contacts, Privacy, Terms and add your own
Security
- Passwords stored with
password_hash, minimum 8 characters - Rate limits by IP – login, registration, comments, newsletter, reactions
- Session renewed after login,
HttpOnly+SameSitecookies (Secureon HTTPS) - CSRF token on every form, prepared statements for every query
- All user text is escaped – HTML in comments is shown as text
- Uploaded images checked by content, random file names, no PHP execution in
uploads/ - Admin role checked on every admin page
- First admin is created only by the installer, never by registration
Requirements & Dependencies+
Server
- PHP 8.1+ with
pdo_mysql,mbstring,fileinfo - MySQL 5.7+ or MariaDB 10.3+
- Apache (uses
.htaccess) or Nginx (config included in README) - HTTPS recommended
Not required
- No Composer, no npm, no build step
- No cron jobs
- No outgoing connections from the server
Loaded by the visitor's browser
- Three.js r128 – MIT – from cdnjs
- Orbitron, Inter, Roboto Condensed – SIL Open Font License 1.1 – from Google Fonts
All licences are included in the licenses/ folder.
What Files Do I Get?+
Root
index.php– home pagenews.php– article pagepage.php– static pageslogin.php,register.php,logout.php– accountsreact.php,subscribe.php– reactions and newsletterinstall.php– installer (delete after install)config.sample.php– sample settings withCHANGE_ME.htaccess– blocks access to config filesREADME.md– full documentationLICENSE.txt– licence
admin/
index.php,news.php,news_edit.php,categories.php,comments.php,users.php,matches.php,releases.php,subscribers.php,pages.php_layout.php– admin frame and role check
inc/
bootstrap.php,functions.php– core, database, securityheader.php,footer.php,icons.php– layout, icons and logoschema.php– database tables, sample content, config builder
assets/
css/style.css,css/admin.css– designjs/app.js– animations, 3D scene, clock, reactions, load moreimg/– favicon and app icons
Other
uploads/– uploaded images (protected)data/– only used for local SQLite tests (protected)licenses/– Three.js and font licences
No real passwords, API keys or database data are included.
How To Install?+
1. Upload
Upload everything from the gamingnews folder to your web root (for example public_html/).
2. Database
Create an empty MySQL / MariaDB database with collation utf8mb4_unicode_ci and a user with full rights on it.
3. Permissions
Make uploads/ and data/ writable. Keep the root folder writable only during installation, so config.php can be created.
4. Run the installer
Open https://your-site.com/install.php and fill in:
- database host, name, user and password
- your admin username, e-mail and password (min. 8 characters)
- whether to add sample content
5. Delete the installer
Delete install.php from the server. It also stops working after the first install.
6. Log in
Go to https://your-site.com/login.php – the admin panel is at /admin/.
7. Set your details
Open config.php and change your contacts, site name and logo text. Every setting has a comment.
Nginx
Add this to your server { } block:
location = /config.php { return 404; }
location = /config.sample.php { return 404; }
location ^~ /inc/ { return 404; }
location ^~ /data/ { return 404; }
location ~* ^/uploads/.*\.(php|phtml|phar|pl|py|cgi|sh)$ { return 404; }
location ~ /\. { return 404; }Then check that https://your-site.com/config.php returns 404.
Documentation+
The full guide is in README.md inside the package.
Settings – config.php
site.name– site namesite.brand– logo text, e.g.['Gaming', 'News'](white part, accent part)site.tagline– slogansite.per_page– news per pagesite.comments_moderation–true= comments wait for approvalsite.show_credit–falsehides the footer creditcontacts.email,contacts.discord– shown in the footertrust_proxy–trueonly behind Cloudflare / a reverse proxydebug– keepfalseon a live site
Customization
- Logo – SVG symbol
gn-markininc/icons.php, favicons inassets/img/ - Colours – CSS variables at the top of
assets/css/style.css:--bg,--acc,--sup,--vio,--ink,--mute - Category colours and icons – Admin → Categories
- About, Contacts, Privacy, Terms – Admin → Pages
Writing news
HTML is not allowed (for security). Use this formatting instead:
Empty line → new paragraph
## Heading → subheading
> Quote → quote (last line "— Source")
- item → list
**text** → bold
[text](https://…) → linkChanging the admin password
There is no "forgot password" page. Create a new admin from Admin → Users or update the password hash in the database.
License Information+
GamingNews 1.0.0
Copyright (C) 2026 SOVEREIGN
License: Single Site
The terms of this licence type are in section 10 of the store's Terms of Service. One purchase = one website.
Third-party components
Third-party components keep their own licences, included in the licenses/ folder:
- Three.js r128 – MIT
- Orbitron – SIL Open Font License 1.1
- Inter – SIL Open Font License 1.1
- Roboto Condensed – SIL Open Font License 1.1
The logo, icons, generated covers and 3D scene were made for this product.
Important Details
Please read before buying
- Delete install.php after installation.
- Sample content – news, teams, releases and pages are marked as Sample. Replace or delete them from the admin panel. The Privacy and Terms pages are placeholders with
[...], not legal text – fill them in yourself. - No e-mails are sent. Newsletter sign-ups are stored and exported as CSV for your own mailing service.
- No "forgot password" – admins manage users from the admin panel.
- Fonts and Three.js are loaded from Google Fonts and cdnjs by the visitor's browser. Mention this in your privacy page.
- No tracking, no ads, no hidden accounts, no licence check. Nothing is sent anywhere.
- Footer credit "Template by SOVEREIGN" can be removed with show_credit=> false in config.php.
- Comment moderation is on by default.
Not affiliated with Sony Interactive Entertainment, Microsoft, Nintendo, Valve or Riot Games. Platform and game names are used only to describe news categories.
