Greg
04-13-2005, 01:50 PM
There are seven customizable templates in FREEBS. They are used and parsed as follows...
$keyword, $assoc_id, and $dev_token are available in all templates.
header.html
used in index.php and book.php
This template starts all the output. It should be configured to recieve a table of data where the code in it ends.
Variables available you may want to use: $keyword
(or any variable in config.php, but most are private)
bookindex.html
used in index.php
This template is a box for the main index page.
Variables available you may want to use: $keyword and $books_avail
(or any variable in config.php, but most are private)
booklist.html
used in index.php
This template is a box for the book list index by letter page.
Variables available you may want to use: $keyword, $books_avail
(or any variable in config.php, but most are private)
comments.html
used in book.php
This template is part of the main box for the book page.
Variables available you may want to use: $keyword, $crate, $comment, $summary
(or any variable in config.php, but most are private)
similars.html
used in book.php
This template is part of the main box for the book page.
Variables available you may want to use: $keyword, $similars
(or any variable in config.php, but most are private)
book.html
used in book.php
This template is the main box for the book page.
Variables available you may want to use: $keyword,
LIVE INFO: $ourp, $lisp, $avail, $as_of_time
Cached INFO: $data, $url, $name, $author, $rdate, $maker, $image, $media, $rating
(or any variable in config.php, but most are private)
footer.html
used in index.php and book.php
This template end all the output. It should be configured to the end of recieving a table of data where the code in it begins.
Variables available you may want to use: $keyword
(or any variable in config.php, but most are private)
$keyword, $assoc_id, and $dev_token are available in all templates.
header.html
used in index.php and book.php
This template starts all the output. It should be configured to recieve a table of data where the code in it ends.
Variables available you may want to use: $keyword
(or any variable in config.php, but most are private)
bookindex.html
used in index.php
This template is a box for the main index page.
Variables available you may want to use: $keyword and $books_avail
(or any variable in config.php, but most are private)
booklist.html
used in index.php
This template is a box for the book list index by letter page.
Variables available you may want to use: $keyword, $books_avail
(or any variable in config.php, but most are private)
comments.html
used in book.php
This template is part of the main box for the book page.
Variables available you may want to use: $keyword, $crate, $comment, $summary
(or any variable in config.php, but most are private)
similars.html
used in book.php
This template is part of the main box for the book page.
Variables available you may want to use: $keyword, $similars
(or any variable in config.php, but most are private)
book.html
used in book.php
This template is the main box for the book page.
Variables available you may want to use: $keyword,
LIVE INFO: $ourp, $lisp, $avail, $as_of_time
Cached INFO: $data, $url, $name, $author, $rdate, $maker, $image, $media, $rating
(or any variable in config.php, but most are private)
footer.html
used in index.php and book.php
This template end all the output. It should be configured to the end of recieving a table of data where the code in it begins.
Variables available you may want to use: $keyword
(or any variable in config.php, but most are private)