Need Help

Template porting issue

adding advanced options

As requested I have started a new thread to discuss my attempts to bring in a new template for using with YACS on my website.

If you visit my website at the momment you'll note that its using a modified listapart template (since it functions well) but I've attached a copy of the design that I'm still tweaking and hoping to use soon, since I've just started adding in content to my site (but won't start marketing it yet).

Known problems so far for me are the fact that I haven't been able to get the advanced option link to work when submitting content of any type and while all the other pages render properly, when clicking the comments link the right side bar/menu/etc shows up below the comments area instead of remaining on the right.

Attached is the template.php file that I'm working on and if anyone can spot the errors or missing info I would greatly appreciate it.