CARD MANAGER SCRIPT (Version 1.1) ------------------------- Version 1.1: *New option to display your card sections on multiple pages, with an optional and customizable menu. *New option to display html at the bottom of every non-index page (default is a "go back" link). *Moved the "Powered By" link to the index page. *Fixed a bug -- if you separate collecting set names with an underscore (_), they will be counted. TO UPGRADE FROM VERSION 1.0 ------------------------- STEP ONE: Upload the new cardmanager.php and cardcount.php to your site, replacing the old ones. You can upload the new config.php as well, but you'll have to re-input all your variables. If you don't want to re-input anything, go to step two. Otherwise, skip to step three. STEP TWO: Copy and paste the code below to your existing config.php (below the $extension line, and above the "STOP EDITING" line): ~~~NEW CODE STARTS BELOW~~~ $pagination = "multiple"; // single or multiple -- if you want your cards to be all on one page or on different pages $bottom = "Go back?"; // use any html here, this will appear at the bottom of every non-index page // If you selected "multiple" above, edit the variables below. Otherwise, stop editing here. $pages = "5"; // how many pages you want, can be any integer $cPage = "1"; // which page you want the collecting sets to be on $mPage = "4"; // which page you want the mastered sets to be on $introduction = "
These are my cards. Use the above menu to navigate!
"; // use any html here, this will appear on the main index page $where = "below"; // above or below -- where you want the introduction to show up in relation to the menu // You can add or delete as many lines as you want. "Num" is the page number, "Title" is what the link to the page will say. The links will show up in the order that they appear below (not in order of page number). // If you want a link that will lead back to the index page, leave "Num" blank (but make sure to count it as a page when setting $pages above). $pageTitles = array ( array(Num => "1", Title => "Keeping"), array(Num => "2", Title => "Trading"), array(Num => "3", Title => "Pending Trades"), array(Num => "4", Title => "Mastered Sets"), array(Num => "", Title => "Index"), ); // Customize how the links to the different pages will show up. $remain = "yes"; // yes or no -- if you want the menu to stay at the top of every page or not $beginning = ""; // use any html here, this will appear at the beginning of each link except for the first one $end = " | "; // use any html here, this will appear at the end of each link except for the last one $first = "