Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 2.X » General Help for 2.X » Modifying Page Numbers
Modifying Page Numbers [message #4651] Wed, 04 August 2010 22:13 Go to next message
watermolecule is currently offline watermolecule  United States
Messages: 109
Registered: July 2010
Super-Seeder
hey there!

I've been struggling to modify the page numbers on the torrent listing in index.php. Since the background of our site is dark, and our text is dark the page numbers are hard to see. I've been trying to get each page to be displayed in its own enclosed table (with a light background color) or just have the whole lot displayed within a new table (via OpenTable()Wink.

No joy so far.
Re: Modifying Page Numbers [message #4653 is a reply to message #4651] Wed, 04 August 2010 22:39 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
in torrents.php find
				}                echo "<table border=\"0\" width=\"100%\"><tr><td align=\"left\"><p>".$prev."</p></td><td align=\"center\"><p>".(($pages > 1) ? $pager : "")."</p></td><td align=\"right\"><p>".$next."</p></td></tr></table>";

and change it to
				}                echo "<table border=\"0\" width=\"100%\"><tr><td align=\"left\"><p>".$prev."</p></td><td class=\"pagenumbers\" align=\"center\"><p>".(($pages > 1) ? $pager : "")."</p></td><td align=\"right\"><p>".$next."</p></td></tr></table>";

now add
td.pagenumbers{
}

to your css and set bg fount and colors you want


http://a.imageshack.us/img831/5562/mybikes.png
Re: Modifying Page Numbers [message #4660 is a reply to message #4653] Thu, 05 August 2010 17:34 Go to previous messageGo to next message
watermolecule is currently offline watermolecule  United States
Messages: 109
Registered: July 2010
Super-Seeder
I tried controlling the font size within td.pagenumbers in the css, but id doesn't work. Also, any way to make the corners rounded on this table? Inserting all this html within php isn't too easy (in terms of formatting/syntax).
Re: Modifying Page Numbers [message #4664 is a reply to message #4660] Thu, 05 August 2010 18:02 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
dont know never tried Confused

http://a.imageshack.us/img831/5562/mybikes.png
Re: Modifying Page Numbers [message #4668 is a reply to message #4664] Thu, 05 August 2010 18:25 Go to previous message
watermolecule is currently offline watermolecule  United States
Messages: 109
Registered: July 2010
Super-Seeder
Okay, I'll keep hacking away at it.
Previous Topic:Search by Relevance & Search Exact Phrase
Next Topic:Can't login
Goto Forum:
  


Current Time: Wed Feb 08 11:31:33 GMT 2012

Total time taken to generate the page: 0.00748 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software