thread_PHP
09-02-2006, 10:24 AM
Hello All
I am working on classifieds with an option of topmenu content and bottom menu how to create bottom menu
IN THE FOLLOWING GORUM->INIT.PHP
function showApp()
{
global $gorumcontent,$navBarText,$infoText;
global $upperTemplate,$lowerTemplate,$lll,$xi,$NS4;
$this->makeLoginMenu($loginMenu);
$this->makeUserMenu($userMenu);
$this->makeAdminMenu($adminMenu);
$this->makeClassifMenu($zorumMenu,$loginMenu,$userMenu);
$userStatus=$this->showUserStatus();
$userMenuStr=templateShowMenu($zorumMenu);
$adminMenuStr=templateShowMenu($adminMenu);
// $this->showVersionFooter;
# $footer=$this->showVersionFooter();
if (!$navBarText) $navBarText="";
$s=templateMain($userMenuStr,$adminMenuStr,$userSt atus,
$navBarText,$infoText,$gorumcontent,$footer);
-> $s.=templateShowMenu1($zorumMenu);
-> $s.=templateShowMenu1($adminMenu);
$footer=$this->showVersionFooter();
return $s;
}
I HAVE ADDED LIKE THIS WHERE I PUT ARROWS
IN MY TEMPLATE.PHP PAGE
function templateShowMenu1($menu)
{
global $xi;
//$s="<br>";
$s.="<table border='0' width='98%' height='25' cellpadding='0' cellspacing='1' bgcolor='#000000' align='center' class='whiteTitle12' >";
$s.="<tr><TD valign=top colspan='28'></td></tr>";
$s.="<tr><TD valign=top></TD>";
$first=TRUE;
foreach($menu as $id=>$menuPoint)
{
if (!$first)
{
$s.="<td align='left' valign='middle' colspan=3>";
$s.="<img src='$xi/menu_line.gif' >";
$s.="</td>";
}
$s.="<td><div align='center' colspan=3>";
#$s.="<class ='menulinks'>";
$s.=$menuPoint;
$s.="</font></div></td>";
//$s.="<TD width='4'> </TD>";
#$first=FALSE;//echo $first;die;
}
$s.="<tr><TD valign='bottom' colspan='28'></td></tr>";
$s.="</table>";
#$s.=$menuPoint;
return $s;
}
I HAVE CREATE THIS FUNCTION templateShowMenu1;
I am sending herewith bad_words.zip file along with this mail please help me how to put the menu above as bottom menu
thanks in advance
I am working on classifieds with an option of topmenu content and bottom menu how to create bottom menu
IN THE FOLLOWING GORUM->INIT.PHP
function showApp()
{
global $gorumcontent,$navBarText,$infoText;
global $upperTemplate,$lowerTemplate,$lll,$xi,$NS4;
$this->makeLoginMenu($loginMenu);
$this->makeUserMenu($userMenu);
$this->makeAdminMenu($adminMenu);
$this->makeClassifMenu($zorumMenu,$loginMenu,$userMenu);
$userStatus=$this->showUserStatus();
$userMenuStr=templateShowMenu($zorumMenu);
$adminMenuStr=templateShowMenu($adminMenu);
// $this->showVersionFooter;
# $footer=$this->showVersionFooter();
if (!$navBarText) $navBarText="";
$s=templateMain($userMenuStr,$adminMenuStr,$userSt atus,
$navBarText,$infoText,$gorumcontent,$footer);
-> $s.=templateShowMenu1($zorumMenu);
-> $s.=templateShowMenu1($adminMenu);
$footer=$this->showVersionFooter();
return $s;
}
I HAVE ADDED LIKE THIS WHERE I PUT ARROWS
IN MY TEMPLATE.PHP PAGE
function templateShowMenu1($menu)
{
global $xi;
//$s="<br>";
$s.="<table border='0' width='98%' height='25' cellpadding='0' cellspacing='1' bgcolor='#000000' align='center' class='whiteTitle12' >";
$s.="<tr><TD valign=top colspan='28'></td></tr>";
$s.="<tr><TD valign=top></TD>";
$first=TRUE;
foreach($menu as $id=>$menuPoint)
{
if (!$first)
{
$s.="<td align='left' valign='middle' colspan=3>";
$s.="<img src='$xi/menu_line.gif' >";
$s.="</td>";
}
$s.="<td><div align='center' colspan=3>";
#$s.="<class ='menulinks'>";
$s.=$menuPoint;
$s.="</font></div></td>";
//$s.="<TD width='4'> </TD>";
#$first=FALSE;//echo $first;die;
}
$s.="<tr><TD valign='bottom' colspan='28'></td></tr>";
$s.="</table>";
#$s.=$menuPoint;
return $s;
}
I HAVE CREATE THIS FUNCTION templateShowMenu1;
I am sending herewith bad_words.zip file along with this mail please help me how to put the menu above as bottom menu
thanks in advance