コード例 #1
0
            _e('Listed:', 'appthemes');
            ?>
</span> <?php 
            the_time(get_option('date_format') . ' ' . get_option('time_format'));
            ?>
</li>

                                            <?php 
            if (get_post_meta($post->ID, 'cp_sys_expire_date', true)) {
            }
            ?>
                                                <li id="cp_expires"><span><?php 
            _e('Expires:', 'appthemes');
            ?>
</span> <?php 
            echo cp_timeleft(strtotime(get_post_meta($post->ID, 'cp_sys_expire_date', true)));
            ?>
</li>

                                        <?php 
        }
        // end legacy check
        ?>

                                    </ul>

                                </div><!-- /bigright -->


                                <?php 
        if (get_option('cp_ad_images') == 'yes') {
コード例 #2
0
ファイル: single-ad_listing.php プロジェクト: kalushta/darom
										<li id="cp_listed"><span><?php 
        _e('Listed:', APP_TD);
        ?>
</span> <?php 
        echo appthemes_display_date($post->post_date);
        ?>
</li>
									<?php 
        if ($expire_date = get_post_meta($post->ID, 'cp_sys_expire_date', true)) {
            ?>
										<li id="cp_expires"><span><?php 
            _e('Expires:', APP_TD);
            ?>
</span> <?php 
            echo cp_timeleft($expire_date);
            ?>
</li>
									<?php 
        }
        ?>

									</ul>

								</div><!-- /bigright -->


								<?php 
        if ($cp_options->ad_images) {
            ?>
コード例 #3
0
            echo appthemes_make_clickable(get_post_meta($post->ID, 'cp_adURL', true));
            ?>
</li>

                                            <li><span><?php 
            _e('Listed:', 'appthemes');
            ?>
</span> <?php 
            the_time(get_option('date_format') . ' ' . get_option('time_format'));
            ?>
</li>
                                            <li><span><?php 
            _e('Expires:', 'appthemes');
            ?>
</span> <?php 
            echo cp_timeleft(strtotime(get_post_meta($post->ID, 'expires', true)));
            ?>
</li>

                                        <?php 
        } else {
            if (get_post_meta($post->ID, 'cp_av_solved', true) == 'yes') {
                ?>
                                            <li id="cp_sold"><span><?php 
                _e('Bu Erisim Engeli Cozuldu.', 'appthemes');
                ?>
</span><img src="<?php 
                echo content_url('themes/classipress/images/bullet-1.jpg');
                ?>
" alt="Cozuldu" /></li>
                                            <?php