PATH:
root
/
ENIFwp-contentpluginsappointment-hour-booking
<?php $this->item = intval($_GET["cal"]); $current_user = wp_get_current_user(); $current_user_access = current_user_can('edit_pages'); if ( !is_admin() || (!$current_user_access && !@in_array($current_user->ID, unserialize($this->get_option("cp_user_access",""))))) { echo 'Direct access not allowed.'; exit; } $message = ''; if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST[$this->prefix.'_pform_process'] ) ) $message = 'Booking added. It appears now in the <a href="?page='.$this->menu_parameter.'&cal='.$this->item.'&list=1">bookings list</a>.'; $nonce = wp_create_nonce( 'cpappb_actions_admin' ); if ($message) echo "<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>".$message."</strong></p></div>"; ?> <style> .clear{clear:both;} .ahb-first-button{margin-right:10px !important;} .ahb-buttons-container{margin:1em 1em 1em 0;} .ahb-return-link{float:right;} </style> <div class="wrap"> <h1><?php _e('Add Booking','appointment-hour-booking'); ?></h1> <div class="ahb-buttons-container"> <a href="<?php print esc_attr(admin_url('admin.php?page='.$this->menu_parameter));?>" class="ahb-return-link">←<?php _e('Return to the calendars list','appointment-hour-booking'); ?></a> <div class="clear"></div> </div> <p><?php _e('This page is for adding bookings from the administration area. The captcha and payment process are disabled in order to allow the website manager easily adding bookings.','appointment-hour-booking'); ?></p> <script>var cpapphourbk_in_admin=true;</script> <?php echo $this->filter_content(array('id' => $this->item)); ?> </div>
[+]
..
[+]
templates
[-] cp-admin-int-schedule.inc.php
[edit]
[-] cp-addons.inc.php
[edit]
[-] cp-admin-int-message-list.inc.php
[edit]
[-] cp-settings.inc.php
[edit]
[-] cp-admin-int-report.inc.php
[edit]
[-] app-booking-plugin.php
[edit]
[-] cp-admin-int.inc.php
[edit]
[+]
css
[+]
images
[+]
classes
[+]
languages
[-] cp-public-int.inc.php
[edit]
[-] cp-data-source.inc.php
[edit]
[+]
controllers
[-] cp-admin-int-add-booking.inc.php
[edit]
[-] cp-publish-wizzard.inc.php
[edit]
[+]
captcha
[-] cp-feedback.php
[edit]
[-] cp-admin-int-list.inc.php
[edit]
[-] banner.php
[edit]
[-] cp-admin-int-block-times.inc.php
[edit]
[+]
addons
[-] cp-main-class.inc.php
[edit]
[+]
mv
[-] cp-widget.inc.php
[edit]
[-] README.txt
[edit]
[+]
js