/*
 * two ways to get the information passed to this view:
 * epl_get_the_field($field, $fields);
 * epl_get_the_label($field, $fields);
 * epl_get_the_desc($field, $fields);
 *
 * or directly from the array
 * 
 * $_f['_epl_event_available_space_display']['field'];
 * $_f['_epl_event_available_space_display']['label'];
 * $_f['_epl_event_available_space_display']['description'];
 */
?>
<div id="capacity_section">
    <?php 
echo epl_show_ad('More options available in PRO.');
?>
    <table class="epl_form_data_table" cellspacing ="0" id ="">

        <tr>
            <td><?php 
echo $_f['_epl_event_capacity_per']['label'];
?>
</td>
            <td><?php 
echo $_f['_epl_event_capacity_per']['field'];
?>
                
            <small><?php 
echo epl_get_the_desc('_epl_event_capacity_per', $_f);
?>
<?php

if (isset($epl_pay_types)) {
    echo $epl_pay_types['label'];
    echo $epl_pay_types['field'];
}
?>

<div id="epl_pay_profile_fields_wrapper" class="meta_box_content rounded_corners">
    <?php 
if (isset($epl_pay_profile_fields)) {
    ?>
    <?php 
    echo current((array) $epl_pay_profile_fields);
}
?>
    </div>

<?php 
echo epl_show_ad('Would you like to get access to more payment options, gateways, and use filters to add fields in this section?');
<div class="epl_cart_wrapper">

    <input name="event_id" type ="hidden" value ="<?php 
echo $event_id;
?>
" />

    <?php 
echo epl_show_ad('Editable registrations, manual emails are available in PRO version.');
/*
 * This loop grabs each one of the forms and displays.
 */
if (is_array($cart_data['cart_items'])) {
    foreach ($cart_data['cart_items'] as $event) {
        ?>
            <div class="epl_cart_section">

                <div class="event_name"><h1><?php 
        echo $event['title'];
        ?>
</h1></div>
                <div class="epl_event_section">


                    <p class="message"></p>
                    <div class="content epl_event_dates">


                        <?php 
        echo $event['event_dates'];
        ?>
<div class="epl_mh_300 epl_ov_a" style="">
<?php 
echo epl_show_ad('Control Registration Start and End times in the pro version.');
?>
    <table class="epl_form_data_table" cellspacing ="0" id="epl_dates_table">
        <thead>
        <th></th>
        <th>Event Start Date</th>
        <th>Event End Date</th>
        <th>Regis. Starts On</th>

        <th>Regis. Ends On</th>
 
        <th>Capacity</th>
        <th></th>
        </thead>
        <tfoot>
            <tr>
                <td colspan="7" style="vertical-align: middle;">


                    <a href="#" class="add_table_row"><img src ="<?php 
echo EPL_FULL_URL;
?>
images/add.png" /></a>
                </td>
            </tr>


        </tfoot>
        <tbody class="events_planner_tbody">
<table class="epl_form_data_table" cellspacing="0">
    <?php 
echo current($epl_location_field_list);
?>



</table>
<?php 
echo epl_show_ad('Easily add and access more fields here.');
    <script type="text/javascript">
        jQuery(document).ready(function($){
             $("#epl_tabs").tabs({ fx: {opacity: 'toggle', duration:'fast' } });

        });
    </script>
    <div class="wrap">

        <div class="icon32" id="icon-options-general"></div>
        <h2>Events Planner General Settings <?php 
echo get_help_icon(array('section' => 'settings'));
?>
</h2>
        <?php 
echo epl_show_ad('Go Pro, get access to plenty of other features, create new fields and access them anywhere.');
?>
        <?php 
if ($settings_updated == 'true') {
    ?>
            <div id="message" class="updated"><?php 
    _e('Settings Updated', 'events_planner');
    ?>
</div>
        <?php 
}
?>

            <form action="<?php 
echo $_SERVER['REQUEST_URI'];
?>
<table class="epl_form_data_table" cellspacing ="0">
<?php 
echo current($epl_genral_fields);
?>
</table>

<?php 
echo epl_show_ad('Easily add more fields here with action filters and access their values from anywhere in the program.');
?>

<input type="hidden" value="<?php 
echo $_GET['action'];
?>
" name="post_action" />
Exemplo n.º 8
0
<div id="wpbody-content" style="overflow: hidden;">

    <div class="wrap">

        <h2>Events Planner Help Section <?php 
echo get_help_icon(array('section' => 'help'));
?>
 <?php 
echo EPL_PLUGIN_VERSION;
?>
</h2>
        <?php 
echo epl_show_ad('Go Pro, get priority help, more tools, discounts on custom development, and more.');
?>

        <h3>Thanks for choosing Events Planner for your event management needs.</h3>

        <div class="epl_box">
            <div class="epl_box_content">
                <h4>Help Channels</h4>

                <ol>
                    <li>
                        Every place you see this icon <?php 
echo '<img  src ="' . EPL_FULL_URL . 'images/email.png" alt="Send Feedback" />';
?>
, please click on it to send a feedback straight from this install of wordpress (if of course you can send emails out of this install).
                    </li>
                    <li>
                        Every place you see this icon <?php 
echo '<img  src ="' . EPL_FULL_URL . 'images/help.png" alt="Send Feedback" />';
<div id="epl_event_type_0">
    <?php 
$m = 'Available in the Pro Version:
<ul>
<li>- Give your user the option to select a different <span class="epl_font_red">time</span> for different days.</li>
<li>- Give your user the option to select a different <span class="epl_font_red">price</span> for different days.</li>
<li>- Ability to have <span class="epl_font_red">time specific pricing</span>.</li>
</ul>

';
echo epl_show_ad($m);
?>


    <div class="epl_box epl_highlight">
        <div class="epl_box_content">
            <?php 
echo epl_get_the_label('_epl_free_event', $price_option_fields);
echo epl_get_the_field('_epl_free_event', $price_option_fields);
?>
        </div>

    </div>




    <div id="epl_time_price_section" class="">

        <?php 
echo $time_price_section;