I'm reading the tutorial on http://www.wpdesigner.com about theme design, and tbh starting to regret it, most of his examples are incorrect. I've managed to correct most of his code apart from this.
<?php include(TEMPLATEPATH . '/searchform.php'); ?>
For some reason, TEMPLATEPATH returns
C:\xampp\htdocs\wordpress/wp-content/themes/PimpinYourPCRed
God knows why, maybe its a design flaw.
I've been trying to put <?php bloginfo('template_directory'); ?> inside the include, and asked on the IRC channel for the past few days now, this is getting frustrating :(