<div id="block5">
<div class="clr"></div>
<div class="undertab"><span class="big"><?php _e( 'Post an Ad', APP_TD ); ?> </span></strong></span></div>
<div class="shadowblock">
<?php global $current_user, $app_abbr;?>
<?php
// check and make sure the form was submitted from step1 and the session value exists
if( isset($_POST['step1']) ) {
include_once( get_template_directory() . '/includes/forms/step2.php' );
} elseif( isset($_POST['step2']) ) {
include_once( get_template_directory() . '/includes/forms/step3.php' );
} else {
// create a unique ID for this new ad order
// uniqid requires a param for php 4.3 or earlier. added for 3.0.1
$order_id = uniqid(rand(10,1000), false);
include_once( get_template_directory() . '/includes/forms/step1.php' );
}
?>
</div><!-- /shadowblock -->
</div><!-- /block5 -->
There are currently 1 users browsing this thread. (0 members and 1 guests)