OSDN Git Service

Add files via upload
[idb/iDB.git.git] / messenger.php
index f34e48a..3cadd77 100644 (file)
@@ -8,10 +8,10 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2011 iDB Support - http://idb.berlios.de/
-    Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
+    Copyright 2004-2019 iDB Support - https://idb.osdn.jp/support/category.php?act=view&id=1
+    Copyright 2004-2019 Game Maker 2k - https://idb.osdn.jp/support/category.php?act=view&id=2
 
-    $FileInfo: messenger.php - Last Update: 07/21/2011 SVN 725 - Author: cooldude2k $
+    $FileInfo: messenger.php - Last Update: 08/02/2019 SVN 905 - Author: cooldude2k $
 */
 if(ini_get("register_globals")) {
 require_once('inc/misc/killglobals.php'); }
@@ -21,11 +21,23 @@ if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; }
 $filewpath = $exfile['messenger'].$usefileext.$_SERVER['PATH_INFO'];
 $idbactcheck = array("view", "viewsent", "read", "create", "sendmessage");
 ?>
-
+<?php $iWrappers['EXTRALINKS'] = null;
+ob_start("idb_suboutput_handler");
+$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']);
+?>
+<meta itemprop="title" property="og:title" content="<?php echo $title_html; ?>" />
+<meta itemprop="sitename" property="og:site_name" content="<?php echo $title_html; ?>" />
+<meta itemprop="title" property="twitter:title" content="<?php echo $title_html; ?>" />
 <title> <?php echo $Settings['board_name'].$idbpowertitle; ?> </title>
+<?php $iWrappers['TITLETAG'] = ob_get_clean(); 
+ob_start("idb_suboutput_handler"); ?>
 </head>
 <body>
-<?php require($SettDir['inc'].'navbar.php');
+<?php $iWrappers['BODYTAG'] = ob_get_clean();
+ob_start("idb_suboutput_handler");
+require($SettDir['inc'].'navbar.php');
+$iWrappers['NAVBAR'] = ob_get_clean();
+ob_start("idb_suboutput_handler");
 if($_SESSION['UserGroup']==$Settings['GuestGroup']||$GroupInfo['CanPM']=="no") {
 redirect("location",$rbasedir.url_maker($exfile['index'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['index'],$exqstr['index'],false));
 ob_clean(); header("Content-Type: text/plain; charset=".$Settings['charset']); $urlstatus = 302;
@@ -46,8 +58,18 @@ if($_GET['act']=="view"||$_GET['act']=="viewsent")
 if($_GET['act']=="read"||$_GET['act']=="create"||
        $_GET['act']=="sendmessage"||$_POST['act']=="sendmessages")
 { require($SettDir['inc'].'messages.php'); } }
+$iWrappers['CONTENT'] = ob_get_clean();
+ob_start("idb_suboutput_handler");
 require($SettDir['inc'].'endpage.php');
+$iWrappers['COPYRIGHT'] = ob_get_clean();
+ob_start("idb_suboutput_handler");
 if(!isset($MessageName)) { $MessageName = null; }
+?>
+</body>
+</html>
+<?php 
+$iWrappers['HTMLEND'] = ob_get_clean();
+require($SettDir['inc'].'iwrapper.php');
 if($_GET['act']=="read") {
 change_title($Settings['board_name']." ".$ThemeSet['TitleDivider']." ".$MessageName,$Settings['use_gzip'],$GZipEncode['Type']); }
 if($_GET['act']=="viewsent") {