Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding a page
#1
how do i add a page
i got this where do i put html or php code
Code:
<?php
define("LINK", "../includes/");
include(LINK ."compiler.php");

ob_start();

    echo '<div>';
    echo $main->table("Contact Us");
    echo '</div>';

$data = ob_get_contents();
ob_end_clean();

echo $style->get("header.tpl");
echo $data;
echo $style->get("footer.tpl");

//Output
include(LINK ."output.php");

?>
Reply
#2
You put it in clients/pages (or admin/pages).
Remote Servers - Shared, Reseller & KVM Hosting Services
Reply
#3
a NavBar page
i got it to work without the table but i wont it in the table
Code:
<?php
define("LINK", "../includes/");
include(LINK ."compiler.php");

ob_start();

    echo '<html here>';

$data = ob_get_contents();
ob_end_clean();

echo $style->get("header.tpl");
echo $data;
echo $style->get("footer.tpl");

//Output
include(LINK ."output.php");

?>
where do i put it with the table
u can see it at http://lawinghosting.com/contactus/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)