display current page path and current page id

DarkViper

#2
the constant PAGE_ID always contains the ID of the current, visible page.

also you can request the current/visible ID by calling  $wb->page_id();
the path to current page by $wb->link();

For more information read this.
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

Availor

hello,

Can someone please tell me what a variable there is for the current page and current page id?

I wanted to use a code something like this:

if(PAGE_ID == CURRENT_ID) {
}

I mean I want the script to know he is on the current page I'm viewing.

Thanks :-)