Well IIP uses the send_headet function of Threads which calls the header and menu templates.
However the sidebar should be fine using it on pages that do not have the threads header. You still need to require main.inc.php but just do not use the send_header function. That is how it operates anyway. It does not use a send_header function. IIP uses the send_header function on your entrance page.
Do you follow me?
require ("/path/to/main.inc.php");
make sure the html is correct and use an include to do the sidebar after your extra pages header.