示例#1
0
	<div id="step2" style="margin:0 auto; width:50%;">
		<div class="post-head"><span class="add_new_heding"><?php 
    _e('Review Your Listing', APP_TD);
    ?>
</span></div>
		

		<form name="mainform" id="mainform" class="form_step" action="" method="post" enctype="multipart/form-data">

				

				<div class="pad10"></div>

				<div class="license"><?php 
    cp_display_message('terms_of_use');
    ?>
</div>

				<div class="clr"></div>

				<p class="terms">
					<?php 
    _e('By clicking the proceed button below, you agree to our terms and conditions.', APP_TD);
    ?>
					<br />
					<?php 
    _e('Your IP address has been logged for security purposes:', APP_TD);
    ?>
 <?php 
    echo $postvals['cp_sys_userIP'];
<div id="step1">

	<h2 class="dotted"><?php 
_e('Purchase a Membership Pack', APP_TD);
?>
</h2>

	<img src="<?php 
echo appthemes_locate_template_uri('images/step1.gif');
?>
" alt="" class="stepimg" />

	<?php 
// display the custom message
cp_display_message('membership_form_help');
if (isset($_GET['membership']) && $_GET['membership'] == 'required') {
    ?>

			<p class="info">
			<?php 
    if (!empty($_GET['cat']) && $_GET['cat'] != 'all') {
        $category_id = appthemes_numbers_only($_GET['cat']);
        $category = get_term_by('term_id ', $category_id, APP_TAX_CAT);
        if ($category) {
            $term_link = html('a', array('href' => get_term_link($category, APP_TAX_CAT), 'title' => $category->name), $category->name);
            printf(__('Membership is currently required in order to post to category %s.', APP_TD), $term_link);
        }
    } else {
        _e('Membership is currently required.', APP_TD);
    }
示例#3
0
 /**
  * Displays extra notices.
  *
  * return void
  */
 public function display_extra_messages()
 {
     // display the custom message entered on admin settings page
     cp_display_message('ads_form_help');
 }
示例#4
0
<?php 
if (is_page_template('tpl-ads-home.php')) {
    $current_user = wp_get_current_user();
    ?>

		<div id="welcome_widget" class="shadowblock_out">

			<div class="shadowblock">

				<?php 
    if (!is_user_logged_in()) {
        ?>

					<?php 
        cp_display_message('welcome');
        ?>
					<a href="<?php 
        echo appthemes_get_registration_url();
        ?>
" class="btn_orange"><?php 
        _e('Join Now!', APP_TD);
        ?>
</a>

				<?php 
    } else {
        ?>

					<div class="avatar"><?php 
        appthemes_get_profile_pic($current_user->ID, $current_user->user_email, 150);
示例#5
0
<div id="step1">

	<h2 class="dotted"><?php 
_e('Submit Your Listing', APP_TD);
?>
</h2>

	<img src="<?php 
echo appthemes_locate_template_uri('images/step1.gif');
?>
" alt="" class="stepimg" />

	<?php 
do_action('appthemes_notices');
// display the custom message
cp_display_message('ads_form_help');
?>

	<p class="dotted">&nbsp;</p>

	<?php 
// show the category dropdown when first arriving to this page.
// Also show it if cat equals -1 which means the 'select one' option was submitted
if (!isset($_POST['cat']) || $_POST['cat'] == '-1') {
    ?>

	<form name="mainform" id="mainform" class="form_step" action="" method="post">

		<ol>

			<li>