PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Calendar / 1.3.57
Appointment Booking Calendar v1.3.57
1.4.04 1.4.03 1.4.02 trunk 1.3.51 1.3.52 1.3.53 1.3.54 1.3.55 1.3.56 1.3.57 1.3.58 1.3.59 1.3.60 1.3.61 1.3.62 1.3.63 1.3.64 1.3.65 1.3.66 1.3.67 1.3.68 1.3.69 1.3.70 1.3.71 1.3.72 1.3.73 1.3.74 1.3.75 1.3.76 1.3.77 1.3.78 1.3.79 1.3.80 1.3.81 1.3.82 1.3.83 1.3.84 1.3.85 1.3.86 1.3.87 1.3.88 1.3.89 1.3.90 1.3.91 1.3.92 1.3.93 1.3.94 1.3.95 1.3.96 1.3.97 1.3.98 1.3.99 1.4.01
appointment-booking-calendar / inc / cpabc_appointments_admin_addbk.inc.php
appointment-booking-calendar / inc Last commit date
banner.php 5 years ago cp-feedback.php 5 years ago cp_admin_int_edition.inc.php 5 years ago cpabc_appointments_admin_addbk.inc.php 5 years ago cpabc_appointments_admin_int.inc.php 5 years ago cpabc_appointments_admin_int_bookings_list.inc.php 5 years ago cpabc_appointments_admin_int_calendar_list.inc.php 5 years ago cpabc_apps_go.inc.php 5 years ago cpabc_apps_on.inc.php 5 years ago cpabc_publish_wizzard.inc.php 5 years ago cpabc_scheduler.inc.php 5 years ago index.html 5 years ago
cpabc_appointments_admin_addbk.inc.php
45 lines
1 <?php
2
3 if ( !is_admin() && !defined('CPABC_CALENDAR_ON_PUBLIC_WEBSITE'))
4 {
5 echo 'Direct access not allowed.';
6 exit;
7 }
8
9 $plugslug = 'cpabc_appointments.php';
10
11 if (!defined('CP_CALENDAR_ID'))
12 define ('CP_CALENDAR_ID',1);
13
14 global $wpdb;
15
16 $message = '';
17
18 if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST['cpabc_appointments_post'] ) )
19 $message = 'Booking added. It appears now in the <a href="?page='.$plugslug.'&cal='.CP_CALENDAR_ID.'&list=1">bookings list</a>.';
20
21 if ($message) echo "<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>".$message."</strong></p></div>";
22
23
24 ?>
25 <style>
26 .clear{clear:both;}
27 .ahb-first-button{margin-right:10px !important;}
28 .ahb-buttons-container{margin:1em 1em 1em 0;}
29 .ahb-return-link{float:right;}
30 </style>
31 <div class="wrap">
32
33 <h1>Add Booking</h1>
34
35 <div class="ahb-buttons-container">
36 <a href="<?php print esc_attr(admin_url('admin.php?page='.$plugslug));?>" class="ahb-return-link">&larr;Return to the calendars list</a>
37 <div class="clear"></div>
38 </div>
39
40 <p>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.</p>
41
42 <?php echo cpabc_appointments_filter_content(array('calendar' => CP_CALENDAR_ID)); ?>
43
44 </div>
45