Ok, I see it. Try changing
to
That should fix it :)
Basically, its the "current" page (that normally prints just as a plain number), that was getting outputted- and because this was within a <ul> element, it got added right at the end (as it was not a correct <li></li> element within <ul>)
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
if ($i == 1) { ($i == $nh) ? ($url .= qq~$i ~) : ($url .= qq~<li><a href="$first_url">$i</a></li> ~); }to
Code:
if ($i == 1) { ($i == $nh) ? ($url .= qq~<li><a href="#">$i</a></li> ~) : ($url .= qq~<li><a href="$first_url">$i</a></li> ~); }That should fix it :)
Basically, its the "current" page (that normally prints just as a plain number), that was getting outputted- and because this was within a <ul> element, it got added right at the end (as it was not a correct <li></li> element within <ul>)
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!