I need a little bit of advice please... I am using a membership script called simplememberpro. At the moment I am in the process of chaning the layout and look of each page..
Here is what the original script looks like:
Simple Member Pro Membership System -
And here is what I have done so far:
Untitled Document
My first question is there any way that I can create a generic template page, so that the left side, and right sidebar parts are always displayed no matter what I am looking, no matter what page I go to..
At the moment each page that I go to has go it different layout. I dont mind creating the same page again and again.. But is there any way that I can save time
My second question if that can't be done.. I need to changed the following page to read the contactus.php and then have the contactus displayed correctly using the code, but have it in the right place.. In the middle underneath the red header..
<?php
include_once ("header.php");
// get contact page info from database
$q = "select * from ".$prefix."site_settings";
$v = $db->get_a_line($q);
$contact_page = $v['contact'];
$contact_page = stripslashes($contact_page);
// display contact page
$returncontent = preg_replace ("/\[\[(.*?)\]\]/e", "$$1", $contact_page);
$returncontent = preg_replace("/[$]/","$",$returncontent);
echo $returncontent;
include_once ("footer.php");
?>
Edited by James.H, 21 January 2010 - 04:21 AM.


Sign In
Create Account


Back to top









