コード例 #1
0
<p class="epl_button_wrapper" style="margin-top:10px;padding:10px 0;">
    <a href="#" class="epl_continue epl_button"><?php 
epl_e('Add more to your cart');
?>
</a>
    <a href="#" id="calculate_total_due" class="epl_button from_modal"><?php 
epl_e('Update Total');
?>
</a>
    <a href="<?php 
echo $checkout_url;
?>
" class="epl_checkout epl_button"><?php 
epl_e('Checkout');
?>
</a>
    <input type="hidden" name="event_id" value="<?php 
echo $event_id;
?>
" />
</p>
<script>
                
    jQuery(document).ready(function($){
        $('.epl_continue').click(function(){
            epl_modal.close();
            return false;
        })
    });
                
</script>
コード例 #2
0
                        <tr class="epl_date_time">
                            <td style="padding-left:38px;"><?php 
        echo date_i18n('D', epl_get_element($date_id, $event_details['_epl_start_date']));
        ?>
</td>
                            <td><?php 
        echo date_i18n('M d, Y', epl_get_element($date_id, $event_details['_epl_start_date']));
        ?>
</td>

<?php 
        if (epl_is_time_optonal()) {
            ?>
                                <td colspan="2"><?php 
            epl_e('All Day');
            ?>
</td>
<?php 
        } else {
            ?>
                                <td><?php 
            echo $time_data['disp'];
            ?>
</td>
                                <td><?php 
            echo epl_get_element($time_id, $event_details['_epl_end_time']);
            ?>
</td>
<?php 
        }
コード例 #3
0
<div id="">
<table class="epl_form_data_table" cellspacing ="0">
<?php 
echo current($fields);
?>
</table>

    <div class="epl_info">
        <div class="epl_box_content">

            <?php 
epl_e('NOTE: You must publish this post for users to be able to see it.');
?>

        </div>
    </div>
</div>
コード例 #4
0
        <div class=""> <?php 
epl_e('Payment Details');
?>
</div>

        <div><strong><?php 
epl_e('Amount Paid');
?>
 <?php 
echo get_the_regis_payment_amount();
?>
</strong></div>
        <div><strong><?php 
epl_e('Date Paid');
?>
 <?php 
echo get_the_regis_payment_date();
?>
</strong></div>
        <div><strong><?php 
epl_e('Transaction ID');
?>
 <?php 
echo get_the_regis_transaction_id();
?>
</strong></div>

    </div>

コード例 #5
0
            <?php 
epl_e('Price');
?>
        </th>
        <th>
            <?php 
echo apply_filters('epl_cart_prices_quanitity_label', epl__('Quantity'));
?>
        </th>
        <?php 
if (epl_is_addon_active('_epl_atp') && $mode != 'overview' && $has_date_limit) {
    //do not deacitvate, will not work
    ?>
                <th>
            <?php 
    epl_e('Ends');
    ?>
            </th>
        <?php 
}
?>

            </tr>


    <?php 
echo $prices_table;
?>


</table>
コード例 #6
0
            </tr>

            <?php 
        foreach ($times as $time_id => $time_data) {
            if ($time_id == 'total_tickets') {
                continue;
            }
            //if ( epl_get_element( $time_id, epl_get_element( '_epl_time_hide', $event_details ) ) == 0 ):
            $prices = $time_data['price'];
            ?>

                <tr class="epl_time"><td><?php 
            echo epl_get_element('disp', $time_data);
            ?>
</td><td style="width: 200px;"><?php 
            epl_e('Qty');
            ?>
</td></tr>

                <?php 
            foreach ($prices as $price_id => $price_data) {
                if (epl_get_element($price_id, epl_get_element('_epl_price_hide', $event_details)) == 0) {
                    ?>

                        <tr class="epl_price">
                            <td><?php 
                    echo $price_data['disp'];
                    ?>
</td>                           
                            <td><?php 
                    echo $price_data['qty'];
コード例 #7
0
<?php

global $wpdb;
$rptm = EPL_report_model::get_instance();
?>

<div id="wpbody-content" style="min-height: 100%;">

    <div class="wrap">

        <h2><?php 
epl_e('Events Planner Dashboard');
?>
</h2>


        <div id="poststuff" style="min-height: 100%;position: relative;">
            <form id="report_form" ction="<?php 
echo epl_get_url();
?>
" method="post">

                <table class="table">
                    <tr>
                        <td>
                            <label>Date</label> <input type="text" name="daterange" class ="daterange" size="30" /> 

                        </td>
                        <td>
                            <?php 
$field = array('input_name' => 'location', 'input_type' => 'select', 'options' => array('all' => 'All') + get_list_of_available_locations());
コード例 #8
0
<table class="epl_regis_list_attendee_info">

    <tr>
        <td><?php 
epl_e('Due');
?>
</td>
        <td><?php 
epl_e('Paid');
?>
</td>
        <td></td>

    </tr>
    <tr>
        <td><?php 
echo $grand_total;
?>
</td>
        <td><?php 
echo $amount_paid;
?>
</td>
        <td><?php 
echo $snapshot_link;
?>
</td>
    </tr>
    
</table>
コード例 #9
0
    ?>
        <tr class="epl_discount_amount">

            <td class="epl_w200">
                <?php 
    echo epl_e('Donation');
    ?>

            </td>
            <td class="epl_total_price epl_w100 epl_ta_r"> <?php 
    echo epl_get_formatted_curr($money_totals['donation_amount'], null, true);
    ?>
</td>
        </tr>
    <?php 
}
?>
    <tr class="epl_grand_total">

        <td class="epl_w200"><?php 
echo epl_e('Total');
?>
</td>
        <td class="epl_total_price epl_w100 epl_ta_r"> <?php 
echo epl_get_formatted_curr(epl_get_element('grand_total', $money_totals), null, true);
?>
</td>
    </tr>


</table>
コード例 #10
0
                                    </table>




                                </td>
                            </tr>
                            <?php 
            break;
    }
    echo '</table>';
}
?>
                <p class="submit" style="clear: both;">
                    <input type="submit" name="Submit"  class="button-primary" value="<?php 
epl_e('Save Changes');
?>
" />

                </p>
            </form>


        </div>

    </div>

</div>

<div class="clear"></div>
<script>
コード例 #11
0
</h1>

                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td valign="top" height="34" style="height: 34px; border-bottom-color: #d6d6d6; border-bottom-width: 1px; border-bottom-style: solid;">


                                                        <div class="" style="margin:10px auto;border:1px solid #eee;padding: 10px;">
                                                            <div class="section">


                                                                <div class="address_section">

                                                                    <div><strong><?php 
epl_e('Registration ID');
?>
: <?php 
echo get_the_regis_id();
?>
</strong></div>
                                                                    <?php 
echo get_the_location_name();
?>
<br />
                                                                    <?php 
echo get_the_location_address();
?>
 <?php 
echo get_the_location_address2();
?>
<?php 
epl_e('Auto-fill Amount');
?>
 <input id="autofil_epl_discount_amount" />
<?php 
epl_e('Auto-fill Discount Type');
?>
<select id="autofil_epl_discount_type">
    <option value=""></option>
    <option value="5"><?php 
epl_e('Fixed');
?>
</option>
    <option value="10"><?php 
epl_e('Percent');
?>
</option>
</select>

<table cellspacing ="0" id="epl_discount_table" >

    <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>
コード例 #13
0
<?php

if (isset($event_time)) {
    ?>

    <div class="epl_times_wrapper <?php 
    echo $time_optional ? 'epl_d_n' : '';
    ?>
">


        <span><?php 
    epl_e('Time');
    ?>
: </span>

    <?php 
    echo $event_time;
    ?>

</div>

<?php 
}
コード例 #14
0
<div id="epl_attendee_lookup_wrapper" class="epl_regis_attendee_wrapper" style="">
    <fieldset class="epl_fieldset" style="">

        <div class="epl_section epl_regis_field_wrapper regis_form">
            <b><?php 
epl_e('Use this dropdown to assign this registration to a member of your website');
?>
</b>


            <div  class="row_wrapper clearfix">
                <?php 
echo epl_get_element('label', $user_list_dd);
?>
                <div class="field_wrapper">
                    <?php 
echo epl_get_element('field', $user_list_dd);
?>

                    
                </div>
            </div>


        </div>
    </fieldset>
</div>
コード例 #15
0
?>
</a></li>
        <li><a href="#tabs-2"><?php 
epl_e('Times/Prices');
?>
</a></li>
        <li><a href="#tabs-3"><?php 
epl_e('Location/Organization');
?>
</a></li>
        <li><a href="#tabs-4"><?php 
epl_e('Registration Fields');
?>
</a></li>
        <li><a href="#tabs-5"><?php 
epl_e('Other Settings');
?>
</a></li>
    </ul>
    <div id="tabs-1">

        <?php 
echo $event_dates_section;
?>
        <?php 
echo $event_recurrence_section;
?>

    </div>

コード例 #16
0
<?php

if (!$registrants) {
    epl_e('No registrants found for this session');
    return null;
}
?>
<h3><?php 
epl_e('All Purchases');
?>
</h3>
<?php 
global $event_details, $session_signed_in_counts, $user_session_signed_in_counts, $user_ticket_use_counts;
$erptm = EPL_report_model::get_instance();
$avail_fields = epl_get_list_of_available_fields();
$default_row = array_fill_keys(array_keys($avail_fields), null);
$tmpl = array('table_open' => '<table border="1" cellpadding="0" cellspacing="0" class="epl_standard_table" id="epl_daily_session_registrants">');
$this->epl->epl_table->set_template($tmpl);
$header = array(epl__('Regis ID'), epl__('Status'), epl__('Purchase'), epl__('Package'), epl__('Use Count'));
foreach ($registrants as $row) {
    setup_event_details($row->event_id);
    $time_optional = epl_is_time_optonal();
    $time_id = $time_optional ? '' : $row->time_id;
    $session_time_id = $time_optional ? epl_get_element('time_id', $_POST, '') : $row->time_id;
    $_r = array();
    $_r['regis_key'] = epl_anchor(admin_url('post.php?post=' . $row->regis_id . '&action=edit'), $row->regis_key);
    $_r['status'] = get_the_regis_status($row->status);
    $_r['ticket'] = $event_details['_epl_price_name'][$row->price_id];
    $_r['package'] = '-';
    $user_ticket_use_count_key = "{$row->regis_id}-{$row->event_id}-{$row->date_id}-{$time_id}-{$row->price_id}-{$row->user_id}";
    $_r['use_count'] = epl_get_element($user_ticket_use_count_key, $user_ticket_use_counts, 0);
コード例 #17
0
<?php

if ($show_date_selector_link == true && $mode != 'overview') {
    ?>
    <div class="epl_section">
        <div  class="epl_section_header"><?php 
    epl_e('Please click to select a date');
    ?>
</div>

        <div id="epl_date_selector-<?php 
    echo $event_id;
    ?>
" class="epl_date_selector" style="margin-top:10px;"></div>
    </div>

<?php 
}
?>
                        
<div class="epl_section epl_cart_dates">
    <div  class="epl_section_header"><?php 
//epl_e( 'Dates' );
?>
</div>

    <div id="epl_cart_dates_body-<?php 
echo $event_id;
?>
" style="max-height: 250px;overflow: auto;">
コード例 #18
0
if ($gateway_info['_epl_pay_type'] == '_check') {
    ?>
    
    <tr>
        <td><?php 
    epl_e('Payable To');
    ?>
</td>
        <td><?php 
    echo $gateway_info['_epl_check_payable_to'];
    ?>
</td>
    </tr>    
    <tr>    
        <td><?php 
    epl_e('Send Payment To');
    ?>
</td>
        <td><?php 
    echo nl2br($gateway_info['_epl_check_address']);
    ?>
</td>
    </tr>

<?php 
}
?>



コード例 #19
0
    </table>
    <div class="epl_box epl_warning epl_w400">
        <div class="epl_box_content">

        <?php 
epl_e("At lease one price is required, even if it's a free event");
?>
    </div>
</div>

<table class="epl_form_data_table epl_w400" cellspacing ="0" id="epl_prices_table">
    <thead>
    <th></th>
    <th><?php 
epl_e('Price Type');
?>
</th>
    <th>Price (<?php 
echo epl_get_currency_symbol();
?>
)</th>

    <th></th>
</thead>
<tfoot>
    <tr><td colspan ="8">
            <a href="#" class="add_table_row"><img src ="<?php 
echo EPL_FULL_URL;
?>
images/add.png" /></a>
コード例 #20
0
<h4><?php 
epl_e('Click on a date to add it to the section that opened this calendar.');
?>
</h4>
<div id='fc_calendar' style="width:250px;"></div>


<script type='text/javascript'>

    jQuery(document).ready(function($) {

        var calendar = $('#fc_calendar').fullCalendar({
            height: 200,
            aspectRatio: 1,
            firstDay: EPL.firstDay,
            header: {
                left: 'title',
                center: '',
                right: 'today prev,next'
            },

            selectable: true,
            selectHelper: true,
            select: function(start, end, allDay) {
                var date_format = EPL.date_format;
                //date_format = //date_format.replace(/m/, 'MM'); //m in full calendar is minutes
                var currentTime = new Date();
                //var _today = '<?php 
echo epl_fc_date_format();
?>
';
コード例 #21
0
                                <option value="full-report">Full</option>

                                <!--<option value="daily">Snapshot</option>-->

                            </select>
                        </td>
                        <td>
                            <br />
                            <input type="submit" name="Submit"  class="submit_form button-primary" value="<?php 
epl_e('Search');
?>
" />

                            <input type="reset" id="form_reset"  class="button-secondary" value="<?php 
epl_e('Reset');
?>
" />

                        </td>


                    </tr>
                </table>



                <div style ="width: 90%;padding: 0;margin-bottom:10px; border: 0px solid #eee;" class="epl_report_reponse">

                    <ul class='tabs'>
コード例 #22
0
<div class="epl_regis_attendee_wrapper">
<div id="" class="epl_regis_field_wrapper epl_section regis_form">

        <div class="header">
            <legend style="white-space: nowrap;"><?php 
epl_e('Billing Information');
?>
</legend>
        </div>

            <?php 
if (epl_get_element('field', $_f['_epl_cc_first_name'])) {
    ?>
                <div>
                    <?php 
    echo epl_get_element('label', $_f['_epl_cc_first_name']);
    ?>
                    <div>
                        <?php 
    echo epl_get_element('field', $_f['_epl_cc_first_name']);
    ?>

                        <small> <?php 
    echo epl_get_element('description', $_f['_epl_cc_first_name']);
    ?>
</small>
                    </div>
                </div>

            <?php 
}
コード例 #23
0
<div class="lookup_field_wrapper">
    <form id="epl_lookup_form" action="" method="post">
        <?php 
epl_e('Lookup');
?>
 <input id="epl_wildcard_lookup" name="lookup_value" placeholder="<?php 
epl_e('First Name, Last Name, or Email');
?>
" size="50" /><button id="epl_lookup_button"><?php 
epl_e('Search');
?>
</button>
        
        <input type="hidden" name="s_key" value="<?php 
echo epl_get_element('s_key', $_REQUEST);
?>
" />
        <input type="hidden" name="scope" value="<?php 
echo epl_get_element('scope', $_REQUEST);
?>
" />
    </form>
</div>

<div id="lookup_result"></div>
コード例 #24
0
    <?php 
if (($original_total = epl_get_element('original_total', $money_totals)) > 0) {
    ?>
        <tr class="epl_original_total" style="background-color: #ffcccc ">

            <td class="epl_w200"><?php 
    epl_e('Original Total');
    ?>
</td>
            <td class="epl_total_price epl_w100 epl_ta_r"> <?php 
    echo epl_get_formatted_curr($original_total, null, true);
    ?>
</td>
        </tr>
    <?php 
}
?>
    <tr class="epl_grand_total">

        <td class="epl_w200"><?php 
echo epl_e('Event Total');
?>
</td>
        <td class="epl_total_price epl_w100 epl_ta_r"> <?php 
echo epl_get_formatted_curr($total, null, true);
?>
</td>
    </tr>


</table>
コード例 #25
0
<div class="" style="">

    <table class="epl_form_data_table" cellspacing ="0" id="">
        <thead>


        <th><?php 
epl_e('Location');
?>
</th>
        <th><?php 
epl_e('Type');
?>
</th>
        <th colspan="2"><?php 
epl_e('Message');
?>
</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>
コード例 #26
0
    echo get_the_location_phone();
    ?>
<br />
                <?php 
    echo get_the_location_website() ? epl_anchor(get_the_location_website(), epl__('Visit Website') . '<br />') : '';
    ?>
                <?php 
    echo get_the_location_gmap_icon();
    ?>

            <?php 
} elseif (epl_is_multi_location()) {
    ?>

                <?php 
    epl_e('Multiple locations');
    ?>

            <?php 
}
?>


        </div>


        <?php 
//organization id is stored in $event_details['_epl_event_organization']
if (epl_get_event_property('_epl_event_organization') != '') {
    ?>
            <div class ="event_organization">
コード例 #27
0
                        <table cellspacing="0" cellpadding="0" border="0" align="center" width="750" bgcolor="#ffffff">
                            <tbody>

                                <tr>
                                    <td valign="top" bgcolor="#ffffff" align="center">
                                        <table cellspacing="0" border="0" cellpadding="0" width="700">
                                            <tbody>

                                                <tr>
                                                    <td valign="top" height="34" style="height: 34px; border-bottom-color: #d6d6d6; border-bottom-width: 1px; border-bottom-style: solid;">


                                                          <div class="" style="margin:10px auto;border:1px solid #eee;padding: 10px;">
                                                         <div class="section" style="display:block;">
                                                                <div class="section_header" style="display:block;width: 595px;font-size:15px;font-weight: bold;"><?php 
epl_e('Purchase Details');
?>
</div>


                                                            </div>

                                                            <div class="section" style="margin:10px;">
                                                                
                                                                <?php 
$_style = 'style="clear:both;width:100%;margin:10px auto;border:1px solid #eee"';
$_t = get_the_regis_dates_times_prices();
echo str_replace('class="epl_dates_times_prices_table"', $_style, $_t);
?>

                                                                </div>
コード例 #28
0
if ($regis_status_id <= 2) {
    echo '<br>' . $payment_method;
}
?>
            </td>
        </tr>
        <tr>
            <td style="width:50%"><span class="small1"><?php 
epl_e('Total');
?>
: </span><span  class="amount"><?php 
echo $grand_total;
?>
</span></td>
            <td><span class="small1"><?php 
epl_e('Balance Due');
?>
: </span><span  class="amount"><?php 
echo epl_get_formatted_curr(epl_get_balance_due(), null, true);
?>
</span></td>

        </tr>
        <?php 
$payment_data = epl_get_regis_payments();
foreach ($payment_data as $t => $p) {
    if ($p['_epl_payment_amount'] == 0) {
        continue;
    }
    ?>
            <tr style="border-top:1px solid #d7d7d7;">
    echo $row['_epl_discount_active']['field'];
    ?>
</td>

                        </tr>

                        <tr>
                            <td colspan="7">
                                <?php 
    epl_e('Apply to');
    ?>
 <?php 
    echo $row['_epl_discount_target']['field'];
    ?>
                                <?php 
    epl_e('if (optional)');
    ?>
 <?php 
    echo $row['_epl_discount_condition']['field'];
    ?>
                                <?php 
    echo $row['_epl_discount_condition_logic']['field'];
    ?>
                                <?php 
    echo $row['_epl_discount_condition_value']['field'];
    ?>
 and
                                <?php 
    echo $row['_epl_discount_condition_value2']['field'];
    ?>
                            </td>
コード例 #30
0
                            </div>
                        </div>
                    <?php 
        }
        ?>



                </li>

            <?php 
    }
    ?>
        </ul>

    <?php 
} else {
    ?>
        <p><?php 
    epl_e('No Upcoming Events');
    ?>
</p>

    <?php 
}
?>


</div>