share titles
This commit is contained in:
parent
116389cd7e
commit
272b7eec1d
7 changed files with 24 additions and 13 deletions
|
|
@ -14,7 +14,13 @@
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap" rel="stylesheet">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
|
||||||
<meta property="og:title" content="DTCH CLAN">
|
<meta property="og:title" content="DTCH CLAN">
|
||||||
<meta property="og:description" content="DTCH CLAN STATS">
|
|
||||||
|
<?php if(isset($ogDescription)): ?>
|
||||||
|
<meta property="og:description" content="<?php echo htmlspecialchars($ogDescription); ?>">
|
||||||
|
<?php else: ?>
|
||||||
|
<meta property="og:description" content="DTCH clan site">
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<meta property="og:image:width" content="800">
|
<meta property="og:image:width" content="800">
|
||||||
<meta property="og:image:height" content="800">
|
<meta property="og:image:height" content="800">
|
||||||
<meta property="og:image" content="https://dtch.online/images/logo800x800.png" >
|
<meta property="og:image" content="https://dtch.online/images/logo800x800.png" >
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
$ogDescription = "Player Stats past month";
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
<?php
|
||||||
|
$ogDescription = "DTCH Clan Match Stats";
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<?php include './includes/head.php'; ?>
|
<?php include './includes/head.php'; ?>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
<?php
|
||||||
|
$ogDescription = "Match information";
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Read the JSON file
|
// Read the JSON file
|
||||||
$jsonData = file_get_contents('data/player_matches.json');
|
$jsonData = file_get_contents('data/player_matches.json');
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
$ogDescription = "User Stats top 10";
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<?php include './includes/head.php'; ?>
|
<?php include './includes/head.php'; ?>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
$ogDescription = "Average User Stats";
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<?php include './includes/head.php'; ?>
|
<?php include './includes/head.php'; ?>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
$ogDescription = "User stats";
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue