Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 5 Months, 3 Weeks ago PHP Page | Page Manager | Pull Custom Template
#4
Solved: 2 Years, 5 Months, 3 Weeks 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);
?>

Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
Jump to the post that solved this thread.


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

Forum Jump:


Users browsing this thread: 1 Guest(s)