PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.6.7
VikBooking Hotel Booking Engine & PMS v1.6.7
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
vikbooking / admin / views / exportcustomers / tmpl / default.php

default.php in VikBooking Hotel Booking Engine & PMS 1.6.7, at admin/views/exportcustomers/tmpl/default.php

82 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package VikBooking
4 * @subpackage com_vikbooking
5 * @author Alessio Gaggii - e4j - Extensionsforjoomla.com
6 * @copyright Copyright (C) 2018 e4j - Extensionsforjoomla.com. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 * @link https://vikwp.com
9 */
10
11 defined('ABSPATH') or die('No script kiddies please!');
12
13 $cid = $this->cid;
14 $countries = $this->countries;
15
16 $vbo_app = VikBooking::getVboApplication();
17 $nowdf = VikBooking::getDateFormat(true);
18 if ($nowdf == "%d/%m/%Y") {
19 $df = 'd/m/Y';
20 } elseif ($nowdf == "%m/%d/%Y") {
21 $df = 'm/d/Y';
22 } else {
23 $df = 'Y/m/d';
24 }
25 $wselcountries = '<select name="country"><option value="">'.JText::translate('VBOANYCOUNTRY').'</option>'."\n";
26 foreach ($countries as $key => $val) {
27 $wselcountries .= '<option value="'.$val['country_3_code'].'">'.$val['country_name'].'</option>'."\n";
28 }
29 $wselcountries .= '</select>';
30 ?>
31 <form action="index.php?option=com_vikbooking" method="post" name="adminForm" id="adminForm">
32 <?php
33 if (count($cid) > 0 && !empty($cid[0])) {
34 ?>
35 <h4><?php echo JText::sprintf('VBOCUSTOMEREXPSEL', count($cid)); ?></h4>
36 <?php
37 foreach ($cid as $cust_id) {
38 echo '<input type="hidden" name="cid[]" value="'.$cust_id.'" />'."\n";
39 }
40 } else {
41 ?>
42 <h4><?php echo JText::translate('VBOCUSTOMEREXPALL'); ?></h4>
43 <div class="vbo-export-customer-entry">
44 <?php echo $vbo_app->getCalendar('', 'fromdate', 'fromdate', $nowdf, array('class'=>'', 'size'=>'10', 'maxlength'=>'19', 'placeholder' => JText::translate('VBCONFIGCLOSINGDATEFROM'), 'todayBtn' => 'true')); ?>
45 &nbsp;
46 <?php echo $vbo_app->getCalendar('', 'todate', 'todate', $nowdf, array('class'=>'', 'size'=>'10', 'maxlength'=>'19', 'placeholder' => JText::translate('VBCONFIGCLOSINGDATETO'), 'todayBtn' => 'true')); ?>
47 &nbsp;
48 <select name="datefilt">
49 <option value="1"><?php echo JText::translate('VBOFILTERDATEBOOK'); ?></option>
50 <option value="2"><?php echo JText::translate('VBOFILTERDATEIN'); ?></option>
51 <option value="3"><?php echo JText::translate('VBOFILTERDATEOUT'); ?></option>
52 </select>
53 </div>
54 <div class="vbo-export-customer-entry">
55 <?php
56 echo $wselcountries;
57 ?>
58 </div>
59 <?php
60 }
61 ?>
62 <div class="vbo-export-customer-entry">
63 <span>
64 <label for="donotes"><?php echo JText::translate('VBOCUSTOMEREXPNOTES'); ?></label>
65 </span>
66 <input type="checkbox" name="notes" value="1" id="donotes" />
67 </div>
68 <div class="vbo-export-customer-entry">
69 <span>
70 <label for="dopin"><?php echo JText::translate('VBOCUSTOMEREXPPIN'); ?></label>
71 </span>
72 <input type="checkbox" name="pin" value="1" id="dopin" />
73 </div>
74 <div class="vbo-export-customer-entry">
75 <span>
76 <label for="doscanimg"><?php echo JText::translate('VBOCUSTOMEREXPSCANIMG'); ?></label>
77 </span>
78 <input type="checkbox" name="scanimg" value="1" id="doscanimg" />
79 </div>
80 <input type="hidden" name="task" value="" />
81 <input type="hidden" name="option" value="com_vikbooking" />
82 </form>