i have done some pretty serious edits to my templates/allcss/index.php and now my contact form is not appearing (not visible + no source code).
I did not think that there was any code in the index.php that would affect contact forms.
(As all the form code in index.php seemed to deal with login and logout.)
Here is my code, Please have a look and tell me if this is missing contact form code. Thanks!
<body>
<div id="container">
<div id="opt-heading"><h1>Perth Musical Chior - <?php echo PAGE_TITLE; ?></h1></div>
<div id="panel-header">
<div class="wrapper">
<a href="/the-rejoyce-choir-perth-australia/"<img src="/the-rejoyce-choir-perth-australia/templates/allcss/header-image.jpg" height="185px" width="950px" border="0" alt="the rejoyce choir perth australia">
</div>
</div>
<?php
// Only show menu items if we are supposed to
if(SHOW_MENU) {
?>
<div id="panel-one">
<div class="wrapper">
<?php show_menu2(1,0,1,true,'<li class="menu[page_id]"><a href="[url]" class="menu[page_id]"></a></li>');
if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') {
?>
<?php } ?>
</div>
</div>
<div class="clear-float"><span></span></div>
<div id="free-panel-one">
<div class="top"><span></span></div>
<div id="free-panel-one" class=wrapper>
<?php page_content(4); ?>
<div id="panel-three">
<?php show_menu2(2); ?>
<div id ="point-of-call">
<a href="#" id="mostrar"><span></span></a>
<div id="caja">
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post" class="login_table" >
<?php echo $TEXT['USERNAME']; ?>:
<input type="text" name="username" style="text-transform: lowercase;" />
<?php echo $TEXT['PASSWORD']; ?>:
<input type="password" name="password" />
<input type="submit" name="submit" action="/the-rejoyce-choir-perth-australia/pages/downloads.php" value="<?php echo $TEXT['LOGIN']; ?>" />
</form>
<?php
} elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) {
?>
<?php } ?>
</div>
</div>
<div class="top"><span></span></div>
<div class="wrapper">
<?php
global $wb;
$wb->page_id = 11;
page_content(3);
$wb->page_id = 11;
?>
</div>
<div class="clear-float"><span></span></div>
<div class="bottom"><span></span></div>
</div>
<div id="panel-four">
<div class="top"><span></span></div>
<h2><?php echo PAGE_TITLE; ?></h2>
<div class="wrapper">
<?php page_content(1); ?>
</div>
</div>
</div>
<div class="clear-float"><span></span></div>
<div class="bottom"><span></span></div>
</div>
<div id="panel-footer">
<div class="wrapper">
<?php page_footer(); ?>
<div class="menu">
<?php show_menu2(); ?>
</div>
<div class="powered_by">
Powered by <a href="http://www.websitebaker.org" target="_blank">Website Baker</a>
</div>
<a class="cred" href="http://www.pixelstorm.com.au" target="_blank">Website Design and Hosting by Pixelstorm Melbourne Australia</a>
<p id="copyright">Copyright The Rejoyce Choir PTY LTD 2010</p>
</div>
</div>
</div>
</body>
</html>