Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 1 Month, 1 Week ago PHP Page | Page Manager | Pull Custom Template
#4
Solved: 3 Years, 1 Month, 1 Week ago
<?php
global $headerinclude, $header, $theme, $templates, $footer, $db;

eval("\$guidebook = \"".$templates->get("guidebook")."\";");

$template='<html>
	<head>
		<title>'.$mybb->settings['bbname']." - ".$pages['name'].'</title>
		{$headerinclude}
	</head>
	<body>
		{$header}
		Testing beep? <br /><br />
		{$guidebook}
		{$footer}
	</body>
</html>';
$template=str_replace("\'", "'", addslashes($template));
add_breadcrumb($pages['name']);
eval("\$page=\"".$template."\";");
output_page($page);
?>

Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: PHP Page | Page Manager | Pull Custom Template - by SvePu - 2017-02-20, 07:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)