
include("./dweb_club/config.php");
$query="SELECT * FROM $table WHERE apr='y'";
$result=mysql_query($query);
$num=mysql_numrows($result);
?> We have a total of =$num?> members!
$query2="SELECT * FROM $table WHERE apr!='y'";
$result2=mysql_query($query2);
$num2=mysql_numrows($result2);
?>
(=$num2?> pending if ($num2 == "1"){ ?>member } else { ?>members } ?>)
$query="SELECT * FROM $table_u";
$result=mysql_query($query);
$num=mysql_numrows($result);
$i=0;
while ($i < $num) {
$last=mysql_result($result,$i,"date");
?>
Member listing last updated on =$last?>.
++$i; } ?>
//The result that should be run in the main
if(!$_GET['page'] || !file_exists('./cont/'.$_GET['page'].'.php')) {
include('./cont/default.php');
} else {
include('./cont/'.$_GET['page'].'.php');
}
?>
(I had another that read in the contents and made the hyperlinks)
The point is that my menu remained unchanged along with the footer and other eliments but the body content changed.
Is there any way that I can generate additional page(s) with out spoffing modules...
I used to do it so that each page would be:
index.php?page=PAGENAME
I think you understand what I want to do but I want to be able to use php, html or whatever like in the custom blocks.