forked from Li/psmreborn
devtools less hacky
This commit is contained in:
parent
af0fb3d719
commit
bd7fa4620e
345
devtools.php
345
devtools.php
|
@ -150,7 +150,6 @@ function getIcon(string $file)
|
|||
return "/img/logo.png";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="devtoollist">
|
||||
|
@ -171,211 +170,171 @@ function getIcon(string $file)
|
|||
echo "<h1>What are you looking for?</h1>";
|
||||
}
|
||||
|
||||
if($type == "")
|
||||
{
|
||||
echo'<div class="devtool" id="unity" onclick="open_url(\'?type=unity\')">
|
||||
<a href="?type=unity" class="image">
|
||||
<img src="/img/unity_icon.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Unity
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="psm" onclick="open_url(\'?type=psm\')">
|
||||
<a href="?type=psm" class="image">
|
||||
<img src="/img/psm_icon.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="android" onclick="open_url(\'?type=psm-android\')">
|
||||
<a href="?type=psm-android" class="image">
|
||||
<img src="/img/androiddev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Android
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="tools" onclick="open_url(\'?type=psm-tools\')">
|
||||
<a href="?type=psm-tools" class="image">
|
||||
<img src="/img/tools.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Unofficial Tools
|
||||
</span>
|
||||
</a>
|
||||
</div>';
|
||||
if($type == "") { ?>
|
||||
<a href="?type=unity" class="devtool" id="unity">
|
||||
<img src="/img/unity_icon.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Unity
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm" class="devtool" id="psm">
|
||||
<img src="/img/psm_icon.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-android" class="devtool" id="android" >
|
||||
<img src="/img/androiddev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Android
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-tools" class="devtool" id="tools">
|
||||
<img src="/img/tools.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Unofficial Tools
|
||||
</span>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
elseif($type == "psm")
|
||||
{
|
||||
echo'<div class="devtool" id="psmsdk" onclick="open_url(\'?type=psm-sdk\')">
|
||||
<a href="?type=psm-sdk" class="image">
|
||||
<img src="/img/sdk.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM SDK
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="psmruntime" onclick="open_url(\'?type=psm-runtime\')">
|
||||
<a href="?type=psm-runtime" class="image">
|
||||
<img src="/img/psmruntime.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Runtime
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="psmdev" onclick="open_url(\'?type=psm-dev\')">
|
||||
<a href="?type=psm-dev" class="image">
|
||||
<img src="/img/psmdev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Dev Assistant
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="psdp" onclick="open_url(\'?type=psm-psdp\')">
|
||||
<a href="?type=psm-psdp" class="image">
|
||||
<img src="/img/psdp.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSDP Packages
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="docs" onclick="open_url(\'?type=psm-docs\')">
|
||||
<a href="?type=psm-docs" class="image">
|
||||
<img src="/img/docs.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Documentation
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="sources" onclick="open_url(\'?type=psm-sources\')">
|
||||
<a href="?type=psm-sources" class="image">
|
||||
<img src="/img/sources.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Sources
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="keys" onclick="open_url(\'?type=psm-offical-keys\')">
|
||||
<a href="?type=psm-offical-keys" class="image">
|
||||
<img src="/img/psmda_keys.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Publisher Keys
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="devtool" id="drivers" onclick="open_url(\'?type=psm-drivers\')">
|
||||
<a href="?type=psm-drivers" class="image">
|
||||
<img src="/img/psm-drivers.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Drivers
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
';
|
||||
?>
|
||||
<a href="?type=psm-sdk" class="devtool" id="psmsdk">
|
||||
<img src="/img/sdk.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM SDK
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-runtime" class="devtool" id="psmruntime">
|
||||
<img src="/img/psmruntime.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Runtime
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-dev" class="devtool" id="psmdev">
|
||||
<img src="/img/psmdev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Dev Assistant
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-psdp" class="devtool" id="psdp">
|
||||
<img src="/img/psdp.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSDP Packages
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-docs" class="devtool" id="docs">
|
||||
<img src="/img/docs.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Documentation
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-sources" class="devtool" id="sources">
|
||||
<img src="/img/sources.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Sources
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-offical-keys" class="devtool" id="keys">
|
||||
<img src="/img/psmda_keys.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Publisher Keys
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-drivers" class="devtool" id="drivers">
|
||||
<img src="/img/psm-drivers.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Drivers
|
||||
</span>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
elseif($type == "psm-sources")
|
||||
{
|
||||
echo'<div class="devtool" id="monosrc" onclick="open_url(\'?type=psm-mono-src\')">
|
||||
<a href="?type=psm-mono-src" class="image">
|
||||
<img src="/img/mono.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Mono Src
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="gamessrc" onclick="open_url(\'?type=psm-games-src\')">
|
||||
<a href="?type=psm-games-src" class="image">
|
||||
<img src="/img/games.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Games Src
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
';
|
||||
?>
|
||||
<a href="?type=psm-mono-src" class="devtool" id="monosrc">
|
||||
<img src="/img/mono.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Mono Src
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=psm-games-src" class="devtool" id="gamessrc">
|
||||
<img src="/img/games.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSM Games Src
|
||||
</span>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
elseif($type == "unity")
|
||||
{
|
||||
echo'<div class="devtool" id="unityexport" onclick="open_url(\'?type=unity-support\')">
|
||||
<a href="?type=unity-support" class="image">
|
||||
<img src="/img/export.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Unity Exports
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="unitydev" onclick="open_url(\'?type=unity-dev\')">
|
||||
<a href="?type=unity-dev" class="image">
|
||||
<img src="/img/unitydev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Dev Assistant
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="unitydocs" onclick="open_url(\'?type=unity-docs\')">
|
||||
<a href="?type=unity-docs" class="image">
|
||||
<img src="/img/docs.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Documentation
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="unityassets" onclick="open_url(\'?type=unity-assets\')">
|
||||
<a href="?type=unity-assets" class="image">
|
||||
<img src="/img/psm-drivers.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Assets
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="unitytools" onclick="open_url(\'?type=unity-tools\')">
|
||||
<a href="?type=unity-tools" class="image">
|
||||
<img src="/img/tools.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Tools for Unity
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="devtool" id="unity-psdp" onclick="open_url(\'?type=unity-psdp\')">
|
||||
<a href="?type=unity-psdp" class="image">
|
||||
<img src="/img/psdp.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSDP Packages
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
';
|
||||
?>
|
||||
<a href="?type=unity-support" class="devtool" id="unityexport">
|
||||
<img src="/img/export.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Unity Exports
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-dev" class="devtool" id="unitydev">
|
||||
<img src="/img/unitydev.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Dev Assistant
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-docs" class="devtool" id="unitydocs">
|
||||
<img src="/img/docs.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Documentation
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-assets" class="devtool" id="unityassets">
|
||||
<img src="/img/psm-drivers.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Assets
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-tools" class="devtool" id="unitytools">
|
||||
<img src="/img/tools.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
Tools for Unity
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="?type=unity-psdp" class="devtool" id="unity-psdp">
|
||||
<img src="/img/psdp.png" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
PSDP Packages
|
||||
</span>
|
||||
</a>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
$dirlist = glob($type.'/*');
|
||||
foreach ($dirlist as &$path) {
|
||||
echo '<div class="devtool" onclick="open_url(\''.$path.'\')">
|
||||
<a href="'.$path.'" class="image" title="'.basename($path).'">
|
||||
<img src="'.getIcon($path).'" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
'.getName(pathinfo(basename($path), PATHINFO_FILENAME)).'
|
||||
</span>
|
||||
</a>
|
||||
</div>';
|
||||
}
|
||||
foreach ($dirlist as &$path) { ?>
|
||||
<a href="'.$path.'" class="devtool" title="<?php echo basename($path) ?>">
|
||||
<img src="<?php echo getIcon($path) ?>" width="128" height="128" class="bubble">
|
||||
<span id="textContent">
|
||||
<?php echo getName(pathinfo(basename($path), PATHINFO_FILENAME)) ?>
|
||||
</span>
|
||||
</a>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
|
222
header.php
222
header.php
|
@ -1,126 +1,118 @@
|
|||
<?php include("common.php"); ?>
|
||||
|
||||
<?php
|
||||
$title = "";
|
||||
$description = "";
|
||||
$image = "";
|
||||
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
if(strpos($url, 'libary.php') !== false)
|
||||
{
|
||||
if(isset($_GET["game"]))
|
||||
{
|
||||
$game = htmlspecialchars($_GET["game"], ENT_QUOTES);
|
||||
|
||||
$game = str_replace("/", "",$game);
|
||||
$game = str_replace(".", "",$game);
|
||||
$game = str_replace("*", "",$game);
|
||||
|
||||
$title = getTitle($game);
|
||||
$title.= " - ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$title .= "PSM Game Library - ";
|
||||
}
|
||||
}
|
||||
else if(strpos($url, 'devtools.php') !== false)
|
||||
{
|
||||
$title .= "PlayStation Mobile Development Tools - ";
|
||||
if(isset($_GET["type"]))
|
||||
{
|
||||
$type = htmlspecialchars($_GET["type"], ENT_QUOTES);
|
||||
$type = str_replace("/", "",$type);
|
||||
$type = str_replace(".", "",$type);
|
||||
$type = str_replace("*", "",$type);
|
||||
$title .= $type."/ - ";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$title .= "PSM Reborn";
|
||||
|
||||
if(strpos($url, 'libary.php') !== false)
|
||||
{
|
||||
if(isset($_GET["game"]))
|
||||
{
|
||||
$game = htmlspecialchars($_GET["game"], ENT_QUOTES);
|
||||
$game = str_replace("/", "",$game);
|
||||
$game = str_replace(".", "",$game);
|
||||
$game = str_replace("*", "",$game);
|
||||
$title = getTitle($game);
|
||||
$description = $title . " - ";
|
||||
$description .= getDesc($game);
|
||||
$description .= " - PSMReborn #1 place for all PSM Content";
|
||||
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/gameinfo/'.$game.'/icon_512x512.png';
|
||||
}
|
||||
else
|
||||
{
|
||||
$description .= "PlayStation Mobile Game/App Library - PSMReborn #1 place for all PSM Content";
|
||||
}
|
||||
}
|
||||
else if(strpos($url, 'devtools.php') !== false)
|
||||
{
|
||||
$description .= "PlayStation Mobile Development Tools";
|
||||
if(isset($_GET["type"]))
|
||||
{
|
||||
$type = htmlspecialchars($_GET["type"], ENT_QUOTES);
|
||||
$type = str_replace("/", "",$type);
|
||||
$type = str_replace(".", "",$type);
|
||||
$type = str_replace("*", "",$type);
|
||||
$description .= " - ".$type."/";
|
||||
}
|
||||
$description .= " - PSMReborn #1 place for all PSM Content";
|
||||
}
|
||||
else
|
||||
{
|
||||
$description = "PSMReborn is the largest archive of PlayStation Mobile content on the internet containing Games, SDK's, Source Code, and Unity for PSM exporters.";
|
||||
}
|
||||
|
||||
$descsocial = str_replace("<BR>", PHP_EOL, $description);
|
||||
$descsocial = str_replace("<bR>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace("<Br>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace("<br>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace('"', '', $descsocial);
|
||||
$descsocial = str_replace("'", "", $descsocial);
|
||||
|
||||
/*
|
||||
* Default Image
|
||||
*/
|
||||
if($image == "")
|
||||
{
|
||||
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/img/logo.png';
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<script src="common.js"></script>
|
||||
<?php
|
||||
$title = "";
|
||||
$description = "";
|
||||
$image = "";
|
||||
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
if(strpos($url, 'libary.php') !== false)
|
||||
{
|
||||
if(isset($_GET["game"]))
|
||||
{
|
||||
$game = htmlspecialchars($_GET["game"], ENT_QUOTES);
|
||||
|
||||
$game = str_replace("/", "",$game);
|
||||
$game = str_replace(".", "",$game);
|
||||
$game = str_replace("*", "",$game);
|
||||
|
||||
$title = getTitle($game);
|
||||
$title.= " - ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$title .= "PSM Game Library - ";
|
||||
}
|
||||
}
|
||||
else if(strpos($url, 'devtools.php') !== false)
|
||||
{
|
||||
$title .= "PlayStation Mobile Development Tools - ";
|
||||
if(isset($_GET["type"]))
|
||||
{
|
||||
$type = htmlspecialchars($_GET["type"], ENT_QUOTES);
|
||||
$type = str_replace("/", "",$type);
|
||||
$type = str_replace(".", "",$type);
|
||||
$type = str_replace("*", "",$type);
|
||||
$title .= $type."/ - ";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$title .= "PSM Reborn";
|
||||
|
||||
/*
|
||||
* Write title
|
||||
*/
|
||||
echo("<title>".$title."</title>\n");
|
||||
<title><?php echo $title ?></title>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="all">
|
||||
<meta name="viewport" content="width=1000; user-scalable=0;"/>
|
||||
<meta name="Description" content="<?php echo $descsocial?>"/>
|
||||
|
||||
<meta property="og:image" content="<?php echo $image ?>"/>
|
||||
<meta property="og:title" content="<?php echo $title ?>"/>
|
||||
<meta property="og:description" content="<?php echo $descsocial ?>"/>
|
||||
|
||||
if(strpos($url, 'libary.php') !== false)
|
||||
{
|
||||
if(isset($_GET["game"]))
|
||||
{
|
||||
$game = htmlspecialchars($_GET["game"], ENT_QUOTES);
|
||||
$game = str_replace("/", "",$game);
|
||||
$game = str_replace(".", "",$game);
|
||||
$game = str_replace("*", "",$game);
|
||||
$title = getTitle($game);
|
||||
$description = $title . " - ";
|
||||
$description .= getDesc($game);
|
||||
$description .= " - PSMReborn #1 place for all PSM Content";
|
||||
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/gameinfo/'.$game.'/icon_512x512.png';
|
||||
}
|
||||
else
|
||||
{
|
||||
$description .= "PlayStation Mobile Game/App Library - PSMReborn #1 place for all PSM Content";
|
||||
}
|
||||
}
|
||||
else if(strpos($url, 'devtools.php') !== false)
|
||||
{
|
||||
$description .= "PlayStation Mobile Development Tools";
|
||||
if(isset($_GET["type"]))
|
||||
{
|
||||
$type = htmlspecialchars($_GET["type"], ENT_QUOTES);
|
||||
$type = str_replace("/", "",$type);
|
||||
$type = str_replace(".", "",$type);
|
||||
$type = str_replace("*", "",$type);
|
||||
$description .= " - ".$type."/";
|
||||
}
|
||||
$description .= " - PSMReborn #1 place for all PSM Content";
|
||||
}
|
||||
else
|
||||
{
|
||||
$description = "PSMReborn is the largest archive of PlayStation Mobile content on the internet containing Games, SDK's, Source Code, and Unity for PSM exporters.";
|
||||
}
|
||||
|
||||
$descsocial = str_replace("<BR>", PHP_EOL, $description);
|
||||
$descsocial = str_replace("<bR>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace("<Br>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace("<br>", PHP_EOL, $descsocial);
|
||||
$descsocial = str_replace('"', '', $descsocial);
|
||||
$descsocial = str_replace("'", "", $descsocial);
|
||||
|
||||
|
||||
/*
|
||||
* Write metadata
|
||||
*/
|
||||
echo('<meta charset="utf-8">');
|
||||
echo('<meta name="robots" content="all">');
|
||||
echo('<meta name="viewport" content="width=1000; user-scalable=0;"/>');
|
||||
echo('<meta name="Description" content="'.$descsocial.'"/>');
|
||||
|
||||
/*
|
||||
* Default Image
|
||||
*/
|
||||
if($image == "")
|
||||
{
|
||||
$image .= 'http://'.$_SERVER['HTTP_HOST'].'/img/logo.png';
|
||||
}
|
||||
/*
|
||||
* Social Media
|
||||
*/
|
||||
|
||||
echo('<meta property="og:image" content="'.$image.'"/>');
|
||||
echo('<meta property="og:title" content="'.$title.'"/>');
|
||||
echo('<meta property="og:description" content="'.$descsocial.'"/>');
|
||||
|
||||
echo('<meta property="twitter:image" content="'.$image.'"/>');
|
||||
echo('<meta property="twitter:title" content="'.$title.'"/>');
|
||||
echo('<meta property="twitter:description" content="'.$descsocial.'"/>');
|
||||
?>
|
||||
<meta property="twitter:image" content="<?php echo $image ?>"/>
|
||||
<meta property="twitter:title" content="<?php echo $title ?>"/>
|
||||
<meta property="twitter:description" content="<?php echo $descsocial ?>"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
|
|
Loading…
Reference in New Issue