diff --git a/devtools.php b/devtools.php
index 314f596..c1c35d8 100755
--- a/devtools.php
+++ b/devtools.php
@@ -150,7 +150,6 @@ function getIcon(string $file)
return "/img/logo.png";
}
}
-
?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
+ ?>
+
+
+
+ PSM SDK
+
+
+
+
+
+
+ PSM Runtime
+
+
+
+
+
+
+ Dev Assistant
+
+
+
+
+
+
+ PSDP Packages
+
+
+
+
+
+
+ Documentation
+
+
+
+
+
+
+ PSM Sources
+
+
+
+
+
+
+ Publisher Keys
+
+
+
+
+
+
+ PSM Drivers
+
+
+
-
-
-
- PSM Mono Src
-
-
-
-
-
- ';
+ ?>
+
+
+
+ PSM Mono Src
+
+
+
+
+
+
+ PSM Games Src
+
+
+
-
-
-
- Unity Exports
-
-
-
-
-
-
-
-
-
-
-
-
-
- ';
+ ?>
+
+
+
+ Unity Exports
+
+
+
+
+
+
+ Dev Assistant
+
+
+
+
+
+
+ Documentation
+
+
+
+
+
+
+ Assets
+
+
+
+
+
+
+ Tools for Unity
+
+
+
+
+
+
+ PSDP Packages
+
+
+
-
-
-
- '.getName(pathinfo(basename($path), PATHINFO_FILENAME)).'
-
-
- ';
- }
+ foreach ($dirlist as &$path) { ?>
+
+
+
+
+
+
+
diff --git a/header.php b/header.php
index 9c1b1d6..e79fbc5 100755
--- a/header.php
+++ b/header.php
@@ -1,126 +1,118 @@
+
+", PHP_EOL, $description);
+ $descsocial = str_replace("
", PHP_EOL, $descsocial);
+ $descsocial = str_replace("
", PHP_EOL, $descsocial);
+ $descsocial = str_replace("
", PHP_EOL, $descsocial);
+ $descsocial = str_replace('"', '', $descsocial);
+ $descsocial = str_replace("'", "", $descsocial);
+
+ /*
+ * Default Image
+ */
+ if($image == "")
+ {
+ $image .= 'http://'.$_SERVER['HTTP_HOST'].'/img/logo.png';
+ }
+?>
+
- ".$title."\n");
+
+
+
+
+
+
+
+
+
+
- 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("
", PHP_EOL, $description);
- $descsocial = str_replace("
", PHP_EOL, $descsocial);
- $descsocial = str_replace("
", PHP_EOL, $descsocial);
- $descsocial = str_replace("
", PHP_EOL, $descsocial);
- $descsocial = str_replace('"', '', $descsocial);
- $descsocial = str_replace("'", "", $descsocial);
-
-
- /*
- * Write metadata
- */
- echo('');
- echo('');
- echo('');
- echo('');
-
- /*
- * Default Image
- */
- if($image == "")
- {
- $image .= 'http://'.$_SERVER['HTTP_HOST'].'/img/logo.png';
- }
- /*
- * Social Media
- */
-
- echo('');
- echo('');
- echo('');
-
- echo('');
- echo('');
- echo('');
- ?>
+
+
+