first commit of v1.0

This commit is contained in:
Vinay Yadav
2016-10-15 20:54:13 +05:30
parent d750aa96e1
commit 966c105f84
4171 changed files with 121373 additions and 364716 deletions

90
CHANGELOG.txt Normal file
View File

@@ -0,0 +1,90 @@
# Change Log previous version to V1.0.0:
## Added Features:
[+] Project : Theme has been improved.
[+] FO : Order summary page design improved in case of advance payment
[+] BO : Order Edit functionality is added.
[+] BO : Order Restrict functionality is added.
[+] BO : Order Edit id added.
[+] MO : wkpaypaladaptive : Added Feature Admin can refund full transaction.
[+] MO : wkpaypaladaptive : Order is created by IPN.
[+] MO : Added wkhotelroom
[+] MO : Added wkfooteraboutblock
[+] MO : Added wkfooterexploreblock
[+] MO : Added wkfooternotificationblock
[+] MO : Added wkfooterpaymentblock
[+] MO : hotelreservationsystem : Added Settings tab to centralize all configurations.
## Improved/changed features:
[+] Project : Theme has been improved.
[*] FO : Fixed partial amount calculation issues in case of advance payment at order summary page.
[*] FO : Room details page design has been improved.
[*] FO : Room search results page design has been improved.
[*] FO : Home page design has been improved.
[*] FO : Contact page design has been improved.
[*] FO : All pages design has been changed according to new theme.
[*] FO : Theme Footer design has been improved. more modules are added to improve the view.
[*] BO : Quantity tab from Catalog->products removed.
[*] BO : Tab Catalog->Attachments removed.
[*] BO : Tab Cart Rules is improved to make compatible for a hotel reservation system.
[*] BO : Gift product functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] BO : Carrier selection functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] BO : Compatibility with other cart rules functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] BO : Product selection functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] BO : Free shipping functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] BO : Free shipping functionality is removed from Cart Rules to make compatible for a hotel reservation system.
[*] MO : wkpaypaladaptive : Order is created by IPN.
[*] MO : wkpaypaladaptive : Improved exception handling.
[*] MO : wkpaypaladaptive : Configuration of the module moved to Hotel Reservation System -> Settings Tab.
[*] MO : wkhotelfeaturesblock : Configuration of the module moved to Hotel Reservation System -> Settings Tab.
[*] MO : wktestimonialblock : Configuration of the module moved to Hotel Reservation System -> Settings Tab.
[*] MO : wkhotelfilterblock : Configuration of the module moved to Hotel Reservation System -> Settings Tab.
[*] MO : wkroomsearchblock : design changed on home page.
## Fixed bugs:
[-] PROJECT : Fixed anonymous object creation issue on php version lower than 5.4 (feature does not support before php version 5.4).
[-] Installer : Fixed changed mails for qloapps converted into prestashop default mails while installing the software.
[-] FO : Fixed if 'Product Comment' module is uninstalled then showing error on each page at frontend where rating is shown.
[-] FO : Fixed bug search is not working on iphones.
[-] FO : Reservations of dates before today's date does not remove from Cart.
[-] FO : Fixed bug search is not working on iphones.
[-] FO : Fixed 'Total Order Cancellation' & 'Refund Request' button does not work on order confirmation page on some servers.
[-] FO : Fixed in case when hotel is disabled and its rooms are enabled then showing error on room detail page.
[-] FO : Fixed Contact us page at frontend is not working.
[-] FO : Fixed link creation functions by creating them with objects created by sending id_lang also to their constructor.
[-] BO : Fixed wrong "way of payment" issue regarding advance payment On Hotel Reservation System->Manage Order Refund Requests.
[-] BO : Fixed wrong "way of payment" issue regarding advance payment On Hotel Reservation System->Manage Order Refund Requests.
[-] BO : Fixed bug Cancellation charge is accepting the -ve value so the refund amount becomes more than total amount.
[-] BO : Fixed view option is coming twice on manage order refund requests-> view page.
[-] BO : Fixed Showing error 'Order->id_customer is empty' on admin order detail page after completing the order from backoffice.
[-] BO : Fixed bug how number of times admin clicks add to cart button,same no. of times the room gets added into the cart from Hotel Reservation System->Book Now tab.
[-] BO : Fixed issue if Tax is applied on the order even then Tax is shown 0 in admin order detail page.
[-] BO : Fixed error if enter numeric data in child feature field while adding the new hotel feature on 'Manage Hotel Features' page.
[-] BO : Fixed all filters on 'Manage hotel features page' are showing errors.
[-] BO : Fixed all filters on Manage hotel page showing error.
[-] BO : Fixed if deleting the hotels through 'bulk actions dropdown' then showing error.
[-] BO : Fixed If set 'disable for 'enable hotel' option while adding the hotel showing error page.
[-] BO : Fixed bug if update Order's room status(checking, allotted or checkout) all rooms status changed with same room number of same room type.
[-] BO : Fixed bug if update Order's room status(checking, allotted or checkout) all rooms status changed with same room number of same room type.
[-] MO : wktestimonialblock : Fixed while adding the image in valid format on configuration page then showing error page.
[-] MO : wkpaypaladaptive : Fixed paypal is not working because paypal api has been changed.
[-] MO : wkpaypaladaptive : Fixed fopen issues fixed, done by CURL.
[-] MO : wkpaypaladaptive : Fixed payment negative value bug fixed.

View File

@@ -1,7 +1,8 @@
Hotel Commerce
--------
Hotel Commerce is Hotel Booking & Reservarion system . Using this you can easily launch your hotel booking website and even manage your offline booking too . This package is developed on top of Prestashop 1.6.
For more info you can visit : http://qloapps.com
Demo
--------
FrontEnd : http://prestashop.webkul.com/hotel-reservation/ </br>
@@ -34,7 +35,4 @@ or raise ticket at https://webkul.com/ticket/
Webkul is known for his proactive support and already developed more than 100+ plugins on prestashop and more than 700+ plugins on other opensource platforms.
license
--------
OSL V3 : https://opensource.org/licenses/OSL-3.0
Thank you for downloading .

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 KiB

View File

@@ -1,4 +0,0 @@
[13-Oct-2015 16:44:08 Asia/Kolkata] PHP Warning: imagepng(/home/sumit/public_html/html/Hotel-Management/img/rf/8.jpg): failed to open stream: No such file or directory in /home/sumit/public_html/html/Hotel-Management/classes/ImageManager.php on line 533
[13-Oct-2015 16:44:55 Asia/Kolkata] PHP Warning: imagepng(/home/sumit/public_html/html/Hotel-Management/img/rf/9.jpg): failed to open stream: No such file or directory in /home/sumit/public_html/html/Hotel-Management/classes/ImageManager.php on line 533
[13-Oct-2015 17:16:16 Asia/Kolkata] PHP Warning: Division by zero in /home/sumit/public_html/html/Hotel-Management/controllers/admin/AdminStatsController.php on line 599
[13-Oct-2015 17:24:15 Asia/Kolkata] PHP Warning: Division by zero in /home/sumit/public_html/html/Hotel-Management/controllers/admin/AdminStatsController.php on line 599

View File

@@ -1,3 +0,0 @@
[PHP]
upload_max_filesize = 8M

View File

@@ -1,4 +1,4 @@
<div class="form-group">
<div class="form-group hidden">
<label class="control-label col-lg-3">{l s='Free shipping'}</label>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
@@ -80,32 +80,32 @@
<p class="radio">
<label for="apply_discount_to_order">
<input type="radio" name="apply_discount_to" id="apply_discount_to_order" value="order"{if $currentTab->getFieldValue($currentObject, 'reduction_product')|intval == 0} checked="checked"{/if} />
{l s='Order (without shipping)'}
{l s='Order'}
</label>
</p>
<p class="radio">
<label for="apply_discount_to_product">
<input type="radio" name="apply_discount_to" id="apply_discount_to_product" value="specific"{if $currentTab->getFieldValue($currentObject, 'reduction_product')|intval > 0} checked="checked"{/if} />
{l s='Specific product'}
{l s='Specific Room type'}
</label>
</p>
<p class="radio">
<label for="apply_discount_to_cheapest">
<input type="radio" name="apply_discount_to" id="apply_discount_to_cheapest" value="cheapest"{if $currentTab->getFieldValue($currentObject, 'reduction_product')|intval == -1} checked="checked"{/if} />
{l s='Cheapest product'}
{l s='Cheapest Room type'}
</label>
</p>
<p class="radio">
<label for="apply_discount_to_selection">
<input type="radio" name="apply_discount_to" id="apply_discount_to_selection" value="selection"{if $currentTab->getFieldValue($currentObject, 'reduction_product')|intval == -2} checked="checked"{/if}{if $product_rule_groups|@count == 0}disabled="disabled"{/if} />
{l s='Selected product(s)'}{if $product_rule_groups|@count == 0}&nbsp;<span id="apply_discount_to_selection_warning" class="text-muted clearfix"><i class="icon-warning-sign"></i> <a href="#" id="apply_discount_to_selection_shortcut">{l s='You must select some products before'}</a></span>{/if}
{l s='Selected product(s)'}{if $product_rule_groups|@count == 0}&nbsp;<span id="apply_discount_to_selection_warning" class="text-muted clearfix"><i class="icon-warning-sign"></i> <a href="#" id="apply_discount_to_selection_shortcut">{l s='You must select some room types before'}</a></span>{/if}
</label>
</p>
</div>
</div>
<div id="apply_discount_to_product_div" class="form-group">
<label class="control-label col-lg-3">{l s='Product'}</label>
<label class="control-label col-lg-3">{l s='Room Type'}</label>
<div class="col-lg-9">
<div class="input-group col-lg-5">
<input type="text" id="reductionProductFilter" name="reductionProductFilter" value="{$reductionProductFilter|escape:'html':'UTF-8'}" />
@@ -115,7 +115,7 @@
</div>
</div>
<div class="form-group">
<div class="form-group hidden">
<label class="control-label col-lg-3">{l s='Send a free gift'}</label>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">

View File

@@ -153,7 +153,7 @@
{/if}
{if $carriers.unselected|@count + $carriers.selected|@count > 1}
<p class="checkbox">
<p class="checkbox hidden">
<label>
<input type="checkbox" id="carrier_restriction" name="carrier_restriction" value="1" {if $carriers.unselected|@count}checked="checked"{/if} />
{l s='Carrier selection'}
@@ -255,7 +255,7 @@
<p class="checkbox">
<label>
<input type="checkbox" id="product_restriction" name="product_restriction" value="1" {if $product_rule_groups|@count}checked="checked"{/if} />
{l s='Product selection'}
{l s='Room Type selection'}
</label>
</p>
<div id="product_restriction_div">
@@ -266,7 +266,7 @@
{/foreach}
</table>
<a href="javascript:addProductRuleGroup();" class="btn btn-default ">
<i class="icon-plus-sign"></i> {l s='Product selection'}
<i class="icon-plus-sign"></i> {l s='Room Type selection'}
</a>
</div>

View File

@@ -3,7 +3,7 @@
<input type="hidden" name="product_rule_{$product_rule_group_id|intval}[]" value="{$product_rule_id}" />
<input type="hidden" name="product_rule_{$product_rule_group_id|intval}_{$product_rule_id|intval}_type" value="{$product_rule_type|escape}" />
{* Everything is on a single line in order to avoid a empty space between the [ ] and the word *}
[{if $product_rule_type == 'products'}{l s='Products:'}{elseif $product_rule_type == 'categories'}{l s='Categories:'}{elseif $product_rule_type == 'manufacturers'}{l s='Manufacturers:'}{elseif $product_rule_type == 'suppliers'}{l s='Suppliers'}{elseif $product_rule_type == 'attributes'}{l s='Attributes'}{/if}]
[{if $product_rule_type == 'products'}{l s='Room types:'}{elseif $product_rule_type == 'categories'}{l s='Categories:'}{elseif $product_rule_type == 'manufacturers'}{l s='Manufacturers:'}{elseif $product_rule_type == 'suppliers'}{l s='Suppliers'}{elseif $product_rule_type == 'attributes'}{l s='Attributes'}{/if}]
</td>
<td>
<input type="text" id="product_rule_{$product_rule_group_id|intval}_{$product_rule_id|intval}_match" value="" disabled="disabled" />

View File

@@ -14,7 +14,7 @@
<input class="form-control" type="text" name="product_rule_group_{$product_rule_group_id|intval}_quantity" value="{$product_rule_group_quantity|intval}" />
</div>
<div class="col-lg-7">
<label class="control-label pull-left">{l s='product(s) matching the following rules:'}</label>
<label class="control-label pull-left">{l s='Room type(s) matching the following rules:'}</label>
</div>
</div>
@@ -26,11 +26,11 @@
<div class="col-lg-4">
<select class="form-control" id="product_rule_type_{$product_rule_group_id|intval}">
<option value="">{l s='-- Choose --'}</option>
<option value="products">{l s='Products'}</option>
<option value="attributes">{l s='Attributes'}</option>
<option value="products">{l s='Room Types'}</option>
{*<option value="attributes">{l s='Attributes'}</option>
<option value="categories">{l s='Categories'}</option>
<option value="manufacturers">{l s='Manufacturers'}</option>
<option value="suppliers">{l s='Suppliers'}</option>
<option value="suppliers">{l s='Suppliers'}</option>*}
</select>
</div>
<div class="col-lg-4">
@@ -42,7 +42,7 @@
</div>
{l s='The product(s) are matching one of these:'}
{l s='The Room Type(s) are matching one of these:'}
<table id="product_rule_table_{$product_rule_group_id|intval}" class="table table-bordered">
{if isset($product_rules) && $product_rules|@count}
{foreach from=$product_rules item='product_rule'}

View File

@@ -41,7 +41,7 @@
<select class="form-control" name="discount_type" id="discount_type">
<option value="1">{l s='Percent'}</option>
<option value="2">{l s='Amount'}</option>
<option value="3">{l s='Free shipping'}</option>
{*<option value="3">{l s='Free shipping'}</option>*}<!-- By webkul no need of free shipping voucher -->
</select>
</div>
</div>

View File

@@ -23,11 +23,11 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<tr id="new_product" style="display:none">
<td style="display:none;" colspan="2">
<td style="display:none;" colspan="2" class="text-center">
<input type="hidden" id="add_product_product_id" name="add_product[product_id]" value="0" />
<div class="form-group">
<label>{l s='Product:'}</label>
<label>{l s='Room Type:'}</label>
<div class="input-group">
<input type="text" id="add_product_product_name" value=""/>
<div class="input-group-addon">
@@ -35,8 +35,7 @@
</div>
</div>
</div>
<div id="add_product_product_attribute_area" class="form-group" style="display: none;">
<!-- <div id="add_product_product_attribute_area" class="form-group" style="display: none;">
<label>{l s='Combinations'}</label>
<select name="add_product[product_attribute_id]" id="add_product_product_attribute_id"></select>
</div>
@@ -44,36 +43,57 @@
<div id="add_product_product_warehouse_area" class="form-group" style="display: none;">
<label>{l s='Warehouse'}</label>
<select id="add_product_warehouse" name="add_product_warehouse"></select>
</div>
</div> -->
</td>
<td style="display:none;">
<div class="row">
<div class="input-group fixed-width-xl">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<td style="display:none;" class="bookingDuration text-center" colspan="2">
<center>
<div class="room_check_in_div">
<div class="input-group fixed-width-xl">
<div class="input-group-addon">{l s='Check In'}</div>
<input type="text" class="form-control add_product_date_from" name="add_product[date_from]" readonly />
<div class="input-group-addon"><i class="icon-calendar"></i></div>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="input-group fixed-width-xl">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<br/>
<div class="room_check_out_div">
<div class="input-group fixed-width-xl">
<div class="input-group-addon">{l s='Check Out'}</div>
<input type="text" class="form-control add_product_date_to" name="add_product[date_to]" readonly/>
<div class="input-group-addon"><i class="icon-calendar"></i></div>
</div>
</div>
</div>
</center>
</td>
<td style="display:none;" class="productQuantity">
<input type="number" class="form-control fixed-width-sm" name="add_product[product_quantity]" id="add_product_product_quantity" value="1" disabled="disabled" />
<td style="display:none;" class="text-center" colspan="2">
<center>
<div class="row">
<div class="input-group fixed-width-xl">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
</div>
</div>
<br/>
<div class="row">
<div class="input-group fixed-width-xl">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
</div>
</div>
</center>
</td>
{if ($order->hasBeenPaid())}<td style="display:none;" class="productQuantity"></td>{/if}
<td style="display:none;" class="productQuantity text-center">
<center>
<input type="number" class="form-control fixed-width-sm" name="add_product[product_quantity]" id="add_product_product_quantity" value="1" disabled="disabled" min="1"/>
</center>
</td>
{*{if ($order->hasBeenPaid())}<td style="display:none;" class="productQuantity"></td>{/if}
{if $display_warehouse}<td></td>{/if}
{if ($order->hasBeenDelivered())}<td style="display:none;" class="productQuantity"></td>{/if}
<td style="display:none;" class="productQuantity" id="add_product_product_stock">0</td>
<td style="display:none;" id="add_product_product_total">{displayPrice price=0 currency=$currency->id}</td>
<td style="display:none;" colspan="2">
<td style="display:none;" class="productQuantity" id="add_product_product_stock">0</td>*}
<td style="display:none;" id="add_product_product_total" class="text-center">{displayPrice price=0 currency=$currency->id}</td>
<td style="display:none;" colspan="2" class="text-center">
{if sizeof($invoices_collection)}
<select class="form-control" name="add_product[invoice]" id="add_product_product_invoice" disabled="disabled">
<optgroup class="existing" label="{l s='Existing'}">
@@ -87,7 +107,7 @@
</select>
{/if}
</td>
<td style="display:none;">
<td style="display:none;" class="text-center">
<button type="button" class="btn btn-default" id="cancelAddProduct">
<i class="icon-remove text-danger"></i>
{l s='Cancel'}
@@ -99,7 +119,7 @@
</td>
</tr>
<tr id="new_invoice" style="display:none">
<!-- <tr id="new_invoice" style="display:none">
<td colspan="10">
<h4>{l s='New invoice information'}</h4>
<div class="form-horizontal">
@@ -124,3 +144,4 @@
</div>
</td>
</tr>
-->

View File

@@ -23,38 +23,51 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{* Assign product price *}
{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{assign var=product_price value=($product['unit_price_tax_excl'] + $product['ecotax'])}
{else}
{assign var=product_price value=$product['unit_price_tax_incl']}
{/if}
<tr class="product-line-row" data-id_room="{$data.id_room}" data-id_product="{$data.id_product}" data-id_hotel="{$data.id_hotel}" data-date_from="{$data.date_from}" data-date_to="{$data.date_to}" data-product_price="{$data.unit_amt_tax_incl}" data-order_detail_id="{$data.id_order_detail}">
<td class="text-center">
{$data.room_num}
</td>
<td class="text-center">
<img src="{$data.image_link}" title="Room image" />
</td>
<td class="text-center">
{$data.room_type}
</td>
<td class="text-center">
<span class="booking_duration_show">{$data.date_from|date_format:"%d-%m-%Y"}&nbsp-&nbsp {$data.date_to|date_format:"%d-%m-%Y"}</span>
{if ($product['product_quantity'] > $product['customized_product_quantity'])}
<tr class="product-line-row">
<td>{if isset($product.image) && $product.image->id}{$product.image_tag}{/if}</td>
<td>
<a href="{$link->getAdminLink('AdminProducts')|escape:'html':'UTF-8'}&amp;id_product={$product['product_id']|intval}&amp;updateproduct&amp;token={getAdminToken tab='AdminProducts'}">
<span class="productName">{$product['product_name']}</span><br />
{if $product.product_reference}{l s='Reference number:'} {$product.product_reference}<br />{/if}
{if $product.product_supplier_reference}{l s='Supplier reference:'} {$product.product_supplier_reference}{/if}
</a>
<div class="row-editing-warning" style="display:none;">
<div class="alert alert-warning">
<strong>{l s='Editing this product line will remove the reduction and base price.'}</strong>
{if $can_edit}
<div class="booking_duration_edit" style="display:none;">
<div class="form-group">
<div class="fixed-width-xl room_check_in_div">
<div class="input-group">
<div class="input-group-addon">{l s='Check In'}</div>
<input type="text" class="form-control add_product_date_from" name="add_product[date_from]" value="{$data.date_from|date_format:"%d-%m-%Y"}" readonly/>
<div class="input-group-addon"><i class="icon-calendar"></i></div>
</div>
</div>
<br/>
<div class="fixed-width-xl room_check_out_div">
<div class="input-group">
<div class="input-group-addon">{l s='Check Out'}</div>
<input type="text" class="form-control add_product_date_to" name="add_product[date_to]" value="{$data.date_to|date_format:"%d-%m-%Y"}" readonly/>
<div class="input-group-addon"><i class="icon-calendar"></i></div>
</div>
</div>
</div>
</div>
{/if}
</td>
<td>
<span class="product_price_show">{displayPrice price=$product_price currency=$currency->id}</span>
</td>
<td class="text-center">
<span class="product_price_show">{convertPriceWithCurrency price=$data.amt_with_qty_tax_incl currency=$currency->id}</span>
{if $can_edit}
<div class="product_price_edit" style="display:none;">
<input type="hidden" name="product_id_order_detail" class="edit_product_id_order_detail" value="{$product['id_order_detail']}" />
<div class="form-group">
<div class="fixed-width-xl">
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
<input type="text" name="product_price_tax_excl" class="edit_product_price_tax_excl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_excl'], 2)}"/>
<input type="text" name="product_price_tax_excl" class="edit_product_price_tax_excl edit_product_price" value="{Tools::ps_round($data.unit_amt_tax_excl, 2)}"/>
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax excl.'}</div>{/if}
</div>
</div>
@@ -62,7 +75,7 @@
<div class="fixed-width-xl">
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
<input type="text" name="product_price_tax_incl" class="edit_product_price_tax_incl edit_product_price" value="{Tools::ps_round($product['unit_price_tax_incl'], 2)}"/>
<input type="text" name="product_price_tax_incl" class="edit_product_price_tax_incl edit_product_price" value="{Tools::ps_round($data.unit_amt_tax_incl, 2)}"/>
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign} {l s='tax incl.'}</div>{/if}
</div>
</div>
@@ -70,132 +83,45 @@
</div>
{/if}
</td>
<td class="productQuantity text-center">
<span class="product_quantity_show{if (int)$product['product_quantity'] - (int)$product['customized_product_quantity'] > 1} badge{/if}">{(int)$product['product_quantity'] - (int)$product['customized_product_quantity']}</span>
{if $can_edit}
<span class="product_quantity_edit" style="display:none;">
<input type="text" name="product_quantity" class="edit_product_quantity" value="{$product['product_quantity']|htmlentities}"/>
</span>
{/if}
<td class="text-center stage_name">
<p>
{if isset($data['stage_name']) && $data['stage_name']}
{$data['stage_name']}
{else}
--
{/if}
</p>
</td>
{if $display_warehouse}
<td>
{$product.warehouse_name|escape:'html':'UTF-8'}
{if $product.warehouse_location}
<br>{l s='Location'}: <strong>{$product.warehouse_location|escape:'html':'UTF-8'}</strong>
<td class="text-center status_name">
<p>
{if $data['stage_name'] == 'Refunded' || $data['stage_name'] == 'Rejected'}
{l s="Done!"}
{else if $data['stage_name'] == 'Waitting' || $data['stage_name'] == 'Accepted'}
{l s="Pending..."}
{else}
--
{/if}
</td>
{/if}
{if ($order->hasBeenPaid())}
<td class="productQuantity text-center">
{if !empty($product['amount_refund'])}
{l s='%s (%s refund)' sprintf=[$product['product_quantity_refunded'], $product['amount_refund']]}
{/if}
<input type="hidden" value="{$product['quantity_refundable']}" class="partialRefundProductQuantity" />
<input type="hidden" value="{(Tools::ps_round($product_price, 2) * ($product['product_quantity'] - $product['customizationQuantityTotal']))}" class="partialRefundProductAmount" />
{if count($product['refund_history'])}
<span class="tooltip">
<span class="tooltip_label tooltip_button">+</span>
<span class="tooltip_content">
<span class="title">{l s='Refund history'}</span>
{foreach $product['refund_history'] as $refund}
{l s='%1s - %2s' sprintf=[{dateFormat date=$refund.date_add}, {displayPrice price=$refund.amount_tax_incl}]}<br />
{/foreach}
</span>
</span>
{/if}
</td>
{/if}
{if $order->hasBeenDelivered() || $order->hasProductReturned()}
<td class="productQuantity text-center">
{$product['product_quantity_return']}
{if count($product['return_history'])}
<span class="tooltip">
<span class="tooltip_label tooltip_button">+</span>
<span class="tooltip_content">
<span class="title">{l s='Return history'}</span>
{foreach $product['return_history'] as $return}
{l s='%1s - %2s - %3s' sprintf=[{dateFormat date=$return.date_add}, $return.product_quantity, $return.state]}<br />
{/foreach}
</span>
</span>
{/if}
</td>
{/if}
{if $stock_management}<td class="productQuantity product_stock text-center">{$product['current_stock']}</td>{/if}
<td class="total_product">
{displayPrice price=(Tools::ps_round($product_price, 2) * ($product['product_quantity'] - $product['customizationQuantityTotal'])) currency=$currency->id}
</p>
</td>
<td colspan="2" style="display: none;" class="add_product_fields">&nbsp;</td>
<td class="cancelCheck standard_refund_fields current-edit" style="display:none">
<input type="hidden" name="totalQtyReturn" id="totalQtyReturn" value="{$product['product_quantity_return']}" />
<input type="hidden" name="totalQty" id="totalQty" value="{$product['product_quantity']}" />
<input type="hidden" name="productName" id="productName" value="{$product['product_name']}" />
{if ((!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN')) AND (int)($product['product_quantity_return']) < (int)($product['product_quantity']))}
<input type="checkbox" name="id_order_detail[{$product['id_order_detail']}]" id="id_order_detail[{$product['id_order_detail']}]" value="{$product['id_order_detail']}" onchange="setCancelQuantity(this, {$product['id_order_detail']}, {$product['product_quantity'] - $product['customizationQuantityTotal'] - $product['product_quantity_return'] - $product['product_quantity_refunded']})" {if ($product['product_quantity_return'] + $product['product_quantity_refunded'] >= $product['product_quantity'])}disabled="disabled" {/if}/>
{else}
--
{/if}
</td>
<td class="cancelQuantity standard_refund_fields current-edit" style="display:none">
{if ($product['product_quantity_return'] + $product['product_quantity_refunded'] >= $product['product_quantity'])}
<input type="hidden" name="cancelQuantity[{$product['id_order_detail']}]" value="0" />
{elseif (!$order->hasBeenDelivered() OR Configuration::get('PS_ORDER_RETURN'))}
<input type="text" id="cancelQuantity_{$product['id_order_detail']}" name="cancelQuantity[{$product['id_order_detail']}]" onchange="checkTotalRefundProductQuantity(this)" value="" />
{/if}
{if $product['customizationQuantityTotal']}
{assign var=productQuantity value=($product['product_quantity']-$product['customizationQuantityTotal'])}
{else}
{assign var=productQuantity value=$product['product_quantity']}
{/if}
{if ($order->hasBeenDelivered())}
{$product['product_quantity_refunded']}/{$productQuantity-$product['product_quantity_refunded']}
{elseif ($order->hasBeenPaid())}
{$product['product_quantity_return']}/{$productQuantity}
{else}
0/{$productQuantity}
{/if}
</td>
<td class="partial_refund_fields current-edit" colspan="2" style="display:none; width: 250px;">
{if $product['quantity_refundable'] > 0}
{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{assign var='amount_refundable' value=$product['amount_refundable']}
{if $data.booking_type == 1}
<td class="text-center">
{if $data['stage_name'] == 'Refunded' || $data['stage_name'] == 'Rejected'}
<p class="text-center">----</p>
{else}
{assign var='amount_refundable' value=$product['amount_refundable_tax_incl']}
{/if}
<div class="form-group">
<div class="{if $product['amount_refundable'] > 0}col-lg-4{else}col-lg-12{/if}">
<label class="control-label">
{l s='Quantity:'}
</label>
<div class="input-group">
<input onchange="checkPartialRefundProductQuantity(this)" type="text" name="partialRefundProductQuantity[{{$product['id_order_detail']}}]" value="0" />
<div class="input-group-addon">/ {$product['quantity_refundable']}</div>
</div>
</div>
<div class="{if $product['quantity_refundable'] > 0}col-lg-8{else}col-lg-12{/if}">
<label class="control-label">
<span class="title_box ">{l s='Amount:'}</span>
<small class="text-muted">({$smarty.capture.TaxMethod})</small>
</label>
<div class="input-group">
{if $currency->format % 2}<div class="input-group-addon">{$currency->sign}</div>{/if}
<input onchange="checkPartialRefundProductAmount(this)" type="text" name="partialRefundProduct[{$product['id_order_detail']}]" />
{if !($currency->format % 2)}<div class="input-group-addon">{$currency->sign}</div>{/if}
</div>
<p class="help-block"><i class="icon-warning-sign"></i> {l s='(Max %s %s)' sprintf=[Tools::displayPrice(Tools::ps_round($amount_refundable, 2), $currency->id) , $smarty.capture.TaxMethod]}</p>
</div>
</div>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#mySwappigModal" data-id_order="{$order->id}" data-room_num={$data['room_num']} data-date_from={$data['date_from']} data-date_to={$data['date_to']} data-id_room={$data['id_room']} data-cust_name="{$data['alloted_cust_name']}" data-cust_email="{$data['alloted_cust_email']}" data-avail_rm_swap={$data['avail_rooms_to_swap']|@json_encode} data-avail_rm_realloc={$data['avail_rooms_to_realloc']|@json_encode}>
{l s='Reallocate Room' mod='hotelreservationsystem'}
</button>
{/if}
</td>
{/if}
{if ($can_edit && !$order->hasBeenDelivered())}
<td class="product_invoice" style="display: none;">
<td class="product_invoice" style="display: none;">
{if sizeof($invoices_collection)}
<select name="product_invoice" class="edit_product_invoice">
{foreach from=$invoices_collection item=invoice}
<option value="{$invoice->id}" {if $invoice->id == $product['id_order_invoice']}selected="selected"{/if}>
<option value="{$invoice->id}" {*{if $invoice->id == $product['id_order_invoice']}selected="selected"{/if}*}>
#{Configuration::get('PS_INVOICE_PREFIX', $current_id_lang, null, $order->id_shop)}{'%06d'|sprintf:$invoice->number}
</option>
{/foreach}
@@ -203,36 +129,35 @@
{else}
&nbsp;
{/if}
</td>
<td class="product_action text-right">
{* edit/delete controls *}
<div class="btn-group">
<button type="button" class="btn btn-default edit_product_change_link">
<i class="icon-pencil"></i>
{l s='Edit'}
</td>
<td class="product_action text-right">
{* edit/delete controls *}
<div class="btn-group">
<button type="button" class="btn btn-default edit_product_change_link">
<i class="icon-pencil"></i>
{l s='Edit'}
</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#" class="delete_product_line">
<i class="icon-trash"></i>
{l s='Delete'}
</a>
</li>
</ul>
</div>
{* Update controls *}
<button type="button" class="btn btn-default submitProductChange" style="display: none;">
<i class="icon-ok"></i>
{l s='Update'}
</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
<button type="button" class="btn btn-default cancel_product_change_link" style="display: none;">
<i class="icon-remove"></i>
{l s='Cancel'}
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a href="#" class="delete_product_line">
<i class="icon-trash"></i>
{l s='Delete'}
</a>
</li>
</ul>
</div>
{* Update controls *}
<button type="button" class="btn btn-default submitProductChange" style="display: none;">
<i class="icon-ok"></i>
{l s='Update'}
</button>
<button type="button" class="btn btn-default cancel_product_change_link" style="display: none;">
<i class="icon-remove"></i>
{l s='Cancel'}
</button>
</td>
</td>
{/if}
</tr>
{/if}

View File

@@ -17,14 +17,14 @@
</tr>
</thead>
<tbody>
{assign var=curr_id value=$cart->id_currency|intval}
{if $cart_detail_data}
{if isset($cart_detail_data) && $cart_detail_data}
{assign var=curr_id value=$cart->id_currency|intval}
{foreach from=$cart_detail_data item=data}
<tr>
<td>{$data.room_num}</td>
<td><img src="{$data.image_link}" title="Room image" /></td>
<td>{$data.room_type}</td>
<td>{$data.date_from|date_format:"%d %b %Y"}&nbsp-&nbsp {$data.date_to|date_format:"%d %b %Y"}</td>
<td>{$data.date_from|date_format:"%d-%m-%Y"}&nbsp-&nbsp {$data.date_to|date_format:"%d-%m-%Y"}</td>
<td id="cart_detail_data_price_{$data.id}">{displayPrice price=$data.amt_with_qty}</td>
<td>
<button class="btn btn-primary delete_hotel_cart_data" data-id_room={$data.id_room} data-id_product={$data.id_product} data-id = {$data.id} data-id_cart = {$data.id_cart} data-date_to = {$data.date_to} data-date_from = {$data.date_from}><i class="icon-trash"></i>&nbsp{l s='Delete'}</button>
@@ -33,7 +33,7 @@
{/foreach}
{else}
<tr>
<td>{l s='No Data Found.'}</td>
<td>{l s='No Room Found in the cart.'}</td>
</tr>
{/if}
</tbody>

View File

@@ -23,7 +23,9 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
var id_cart = {$cart->id|intval};
{if isset($cart->id) && $cart->id}
var id_cart = {$cart->id|intval};
{/if}
var id_customer = 0;
var admin_order_tab_link = "{$link->getAdminLink('AdminOrders')|addslashes}";
var changed_shipping_price = false;
@@ -121,7 +123,7 @@
$('#voucher').val(data.name);
add_cart_rule(data.id_cart_rule);
});
{if $cart->id}
{if isset($cart->id) && $cart->id}
setupCustomer({$cart->id_customer|intval});
useCart('{$cart->id|intval}');
{/if}
@@ -568,8 +570,10 @@
$('#summary_part').show();
var address_link = $('#new_address').attr('href');
id_customer = idCustomer;
//id_cart = 0;
id_cart = "{$cart->id}";
id_cart = 0;
{if isset($cart->id) && $cart->id}
id_cart = "{$cart->id}";
{/if}
$('#new_address').attr('href', address_link.replace(/id_customer=[0-9]+/, 'id_customer='+id_customer));
$.ajax({
type:"POST",
@@ -1163,7 +1167,7 @@
<div class="leadin">{block name="leadin"}{/block}</div>
{include file='controllers/orders/current_cart_details_data.tpl'}
<div class="panel form-horizontal" id="customer_part">
<div class="panel form-horizontal" id="customer_part" {if isset($is_order_created) && $is_order_created}style="display:none;"{/if}>
<div class="panel-heading">
<i class="icon-user"></i>
{l s='Customer'}
@@ -1197,7 +1201,7 @@
<div class="row">
<div id="customers"></div>
</div>
<!-- <div id="carts">
{*<div id="carts">
<button type="button" id="show_old_carts" class="btn btn-default pull-right" data-toggle="collapse" data-target="#old_carts_orders">
<i class="icon-caret-down"></i>
</button>
@@ -1249,7 +1253,7 @@
</table>
</div>
</div>
</div> --><!-- by webkul to hide unnessesary content -->
</div> -->*}<!-- by webkul to hide unnessesary content -->
</div>
<form class="form-horizontal" action="{$link->getAdminLink('AdminOrders')|escape:'html':'UTF-8'}&amp;submitAdd{$table|escape:'html':'UTF-8'}=1" method="post" autocomplete="off" style="display:none" id="cart_detail_form">
@@ -1261,7 +1265,7 @@
<div class="form-group">
<input type="hidden" value="{$cart->id}" id="id_cart" name="id_cart" />
</div>
<!-- <div class="form-group">
{*<div class="form-group">
<label class="control-label col-lg-3">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="{l s='Search for an existing product by typing the first letters of its name.'}">
{l s='Search for a product'}
@@ -1283,7 +1287,7 @@
<div id="product_list" class="form-group"></div>
<div id="attributes_list" class="form-group"></div> -->
<!-- @TODO: please be kind refacto -->
<!-- <div class="form-group">
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<iframe id="customization_list" seamless>
<html>
@@ -1344,7 +1348,7 @@
<div class="col-lg-9 col-lg-offset-3">
<div class="alert alert-warning">{l s='The prices are without taxes.'}</div>
</div>
</div> --><!-- by webkul to hide unnessesary content -->
</div> *}<!-- by webkul to hide unnessesary content -->
<div class="form-group">

View File

@@ -98,7 +98,7 @@
<!-- <span class="title">{l s='Total'}</span>
<span class="value">{sizeof($products)}</span> -->
<span class="title">{l s='Total Rooms'}</span>
<span class="value">{$cart_detail_data|@count}</span>
<span class="value">{$order_detail_data|@count}</span>
</div>
</a>
</div>
@@ -291,10 +291,10 @@
{$data['room_num']}
</td>
<td>
{$data['date_from']|date_format:"%d %b %Y"}
{$data['date_from']|date_format:"%d-%m-%Y"}
</td>
<td>
{$data['date_to']|date_format:"%d %b %Y"}
{$data['date_to']|date_format:"%d-%m-%Y"}
</td>
<td>
<form action="" method="post" class="form-horizontal">
@@ -303,6 +303,8 @@
<option value="{$state['id']|intval}" {if isset($data.id_status) && $state.id == $data.id_status} selected="selected" disabled="disabled"{/if}>{$state.status|escape}</option>
{/foreach}
</select>
<input type="hidden" name="date_from" value="{$data['date_from']}" />
<input type="hidden" name="date_to" value="{$data['date_to']}" />
<input type="hidden" name="id_room" value="{$data['id_room']}" />
<input type="hidden" name="id_order" value="{$order->id}" />
<button style="margin-left:20px;" type="submit" name="submitbookingOrderStatus" class="btn btn-primary">
@@ -956,7 +958,7 @@
<div class="panel">
<div class="panel-heading">
<i class="icon-shopping-cart"></i>
{l s='Rooms In This Order'} <span class="badge">{$cart_detail_data|@count}</span><!-- by webkul products changes as rooms -->
{l s='Rooms In This Order'} <span class="badge">{$order_detail_data|@count}</span><!-- by webkul products changes as rooms -->
</div>
<!--by webkul this code is added for showing rooms information on the order detail page-->
<div class="row">
@@ -964,87 +966,45 @@
<table class="table" id="customer_cart_details">
<thead>
<tr>
<th><span class="title_box">{l s='Room No.'}</span></th>
<th><span class="title_box">{l s='Room Image'}</th>
<th><span class="title_box">{l s='Room Type'}</span></th>
<th><span class="title_box">{l s='Duration'}</span></th>
<th><span class="title_box">{l s='Total Price'}</span></th>
<th><span class="title_box">{l s='Refund Stage'}</span></th>
<th><span class="title_box">{l s='Refund Status'}</span></th>
<th><span class="title_box">{l s='Reallocate Room'}</span></th>
<th class="text-center"><span class="title_box">{l s='Room No.'}</span></th>
<th class="text-center"><span class="title_box">{l s='Room Image'}</th>
<th class="text-center"><span class="title_box">{l s='Room Type'}</span></th>
<th class="text-center"><span class="title_box">{l s='Duration'}</span></th>
<th class="text-center"><span class="title_box">{l s='Total Price'}</span></th>
<th class="text-center"><span class="title_box">{l s='Refund Stage'}</span></th>
<th class="text-center"><span class="title_box">{l s='Refund Status'}</span></th>
<th class="text-center"><span class="title_box">{l s='Reallocate Room'}</span></th>
{if ($can_edit && !$order->hasBeenDelivered())}
<th class="text-center"><span class="title_box">{l s='Edit Order'}</th>
{/if}
</tr>
</thead>
<tbody>
{if $cart_detail_data}
{foreach from=$cart_detail_data item=data}
<tr>
<td>
{$data.room_num}
</td>
<td>
<img src="{$data.image_link}" title="Room image" />
</td>
<td>
{$data.room_type}
</td>
<td>
{$data.date_from|date_format:"%d %b %Y"}&nbsp-&nbsp {$data.date_to|date_format:"%d %b %Y"}
</td>
<td>
{convertPriceWithCurrency price=$data.amt_with_qty currency=$currency->id}
</td>
<td class="text-center stage_name">
<p>
{if isset($data['stage_name']) && $data['stage_name']}
{$data['stage_name']}
{else}
--
{/if}
</p>
</td>
<td class="text-center status_name">
<p>
{if $data['stage_name'] == 'Refunded' || $data['stage_name'] == 'Rejected'}
{l s="Done!"}
{else if $data['stage_name'] == 'Waitting' || $data['stage_name'] == 'Accepted'}
{l s="Pending..."}
{else}
--
{/if}
</p>
</td>
{if $data.booking_type == 1}
<td>
{if $data['stage_name'] == 'Refunded' || $data['stage_name'] == 'Rejected'}
<p class="text-center">----</p>
{else}
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#mySwappigModal" data-id_order="{$order->id}" data-room_num={$data['room_num']} data-date_from={$data['date_from']} data-date_to={$data['date_to']} data-id_room={$data['id_room']} data-cust_name="{$data['alloted_cust_name']}" data-cust_email="{$data['alloted_cust_email']}" data-avail_rm_swap={$data['avail_rooms_to_swap']|@json_encode} data-avail_rm_realloc={$data['avail_rooms_to_realloc']|@json_encode}>
{l s='Reallocate Room' mod='hotelreservationsystem'}
</button>
{/if}
</td>
{/if}
</tr>
{if $order_detail_data}
{foreach from=$order_detail_data item=data}
{* Include product line partial *}
{include file='controllers/orders/_product_line.tpl'}
{/foreach}
{else}
<tr>
<td>{l s='No Data Found.'}</td>
</tr>
{/if}
{* Include product line partial *}
{include file='controllers/orders/_new_product.tpl'}
</tbody>
</table>
</div>
</div>
<div id="refundForm">
<!--
{*
<a href="#" class="standard_refund"><img src="../img/admin/add.gif" alt="{l s='Process a standard refund'}" /> {l s='Process a standard refund'}</a>
<a href="#" class="partial_refund"><img src="../img/admin/add.gif" alt="{l s='Process a partial refund'}" /> {l s='Process a partial refund'}</a>
--><!-- by webkul to hide unnessary things in the page-->
<!-- by webkul to hide unnessary things in the page -->
*}
</div>
<!-- {capture "TaxMethod"}
{* {capture "TaxMethod"}
{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
{l s='tax excluded.'}
{else}
@@ -1099,9 +1059,9 @@
</thead>
<tbody>
{foreach from=$products item=product key=k}
{* Include customized datas partial *}
<!-- Include customized datas partial -->
{include file='controllers/orders/_customized_data.tpl'}
{* Include product line partial *}
<!-- Include product line partial -->
{include file='controllers/orders/_product_line.tpl'}
{/foreach}
{if $can_edit}
@@ -1109,14 +1069,13 @@
{/if}
</tbody>
</table>
</div>
</div> <!-- by webkul to hide unnessary things in the page--> *}
{if $can_edit}
<div class="row-margin-bottom row-margin-top order_action">
{if !$order->hasBeenDelivered()}
<button type="button" id="add_product" class="btn btn-default">
<i class="icon-plus-sign"></i>
{l s='Add a product'}
{l s='Add Rooms In Order'}
</button>
{/if}
<button id="add_voucher" class="btn btn-default" type="button" >
@@ -1124,18 +1083,18 @@
{l s='Add a new discount'}
</button>
</div>
{/if} --> <!-- by webkul to hide unnessary things in the page-->
{/if}
<div class="clear">&nbsp;</div>
<hr>
<div class="row">
<!-- <div class="col-xs-6">
{* <div class="col-xs-6">
<div class="alert alert-warning">
{l s='For this customer group, prices are displayed as: [1]%s[/1]' sprintf=[$smarty.capture.TaxMethod] tags=['<strong>']}
{if !Configuration::get('PS_ORDER_RETURN')}
<br/><strong>{l s='Merchandise returns are disabled'}</strong>
{/if}
</div>
</div> --> <!-- by webkul to hide unnessary things in the page-->
</div> <!-- by webkul to hide unnessary things in the page--> *}
<!-- For Due amount submit panel (by webkul) -->
{if isset($order_adv_dtl)}
@@ -1162,20 +1121,24 @@
<strong>{displayPrice price=($order_adv_dtl['total_order_amount'] - $order_adv_dtl['total_paid_amount']) currency=$currency->id}</strong>
</td>
</tr>
<tr>
<td>
<strong>{l s='submitted Amount'}</strong>
</td>
<td>
<div class="input-group">
<span class="input-group-addon" id="htl_order_currenct">{$currency->sign}</span>
<input type="text" class="form-control" placeholder="Amount" aria-describedby="htl_order_currenct" name="submitted_amount">
</div>
</td>
</tr>
{if ($order_adv_dtl['total_order_amount'] - $order_adv_dtl['total_paid_amount'])|round:2 > 0}
<tr>
<td>
<strong>{l s='submitted Amount'}</strong>
</td>
<td>
<div class="input-group">
<span class="input-group-addon" id="htl_order_currenct">{$currency->sign}</span>
<input type="text" class="form-control" placeholder="Amount" aria-describedby="htl_order_currenct" name="submitted_amount">
</div>
</td>
</tr>
{/if}
</table>
</div>
<button type="submit" class="btn btn-primary" name="payDueAmount" style="margin-top:10px;">{l s="Submit Amount"}</button>
{if ($order_adv_dtl['total_order_amount'] - $order_adv_dtl['total_paid_amount'])|round:2 > 0}
<button type="submit" class="btn btn-primary" name="payDueAmount" style="margin-top:10px;">{l s="Submit Amount"}</button>
{/if}
</form>
</div>
</div>
@@ -1274,7 +1237,8 @@
</td>
<td class="partial_refund_fields current-edit" style="display:none;"></td>
</tr>
<!-- <tr id="total_shipping">
{*
<tr id="total_shipping">
<td class="text-right">{l s='Shipping'}</td>
<td class="amount text-right nowrap" >
{displayPrice price=$order_shipping_price currency=$currency->id}
@@ -1289,14 +1253,14 @@
</div>
<p class="help-block"><i class="icon-warning-sign"></i> {l s='(%s)' sprintf=$smarty.capture.TaxMethod}</p>
</td>
</tr> --> <!-- by webkul to hide unnessary things in the page-->
<!-- {if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
</tr>
{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
<tr id="total_taxes">
<td class="text-right">{l s='Taxes'}</td>
<td class="amount text-right nowrap" >{displayPrice price=($order->total_paid_tax_incl-$order->total_paid_tax_excl) currency=$currency->id}</td>
<td class="partial_refund_fields current-edit" style="display:none;"></td>
</tr>
{/if} -->
{/if} <!-- by webkul to hide unnessary things in the page-->*}
{if isset($order_adv_dtl)}
<tr>

View File

@@ -166,15 +166,15 @@
<tr>
<td>{$data_v['room_num']}</td>
<td>
{if $data_v['booking_status'] == 2}
{if $data_v['detail'][0]['booking_status'] == 1}
{l s='Alloted' mod='hotelreservationsystem'}
{elseif $data_v['booking_status'] == 3}
{elseif $data_v['detail'][0]['booking_status'] == 2}
{l s='Checked-in' mod='hotelreservationsystem'}
{elseif $data_v['booking_status'] == 4}
{elseif $data_v['detail'][0]['booking_status'] == 3}
{l s='Checked-out' mod='hotelreservationsystem'}
{/if}
</td>
<td>{$data_v['comment']}</td>
<td>{$data_v['detail'][0]['comment']}</td>
</tr>
{/foreach}
{elseif ($b_key == 'partially_available') && !empty($b_val)}
@@ -215,7 +215,8 @@ $(document).ready(function()
$(".hotel_date").datepicker(
{
defaultDate: new Date(),
dateFormat: 'yy-mm-dd',
dateFormat: 'dd-mm-yy',
minDate: 0,
onChangeMonthYear: function(year, month)
{
if (check_calendar_var)
@@ -285,7 +286,9 @@ $(document).ready(function()
{
$(".hotel_date").datepicker(
{
dateFormat: 'yy-mm-dd'
defaultDate: new Date(),
dateFormat: 'dd-mm-yy',
minDate: 0,
});
}
}

View File

@@ -303,7 +303,7 @@
{/if}
{if !$product->active && $product->isAssociatedToShop()}
<div class="alert alert-info draft" >
{l s='Your product will be saved as a draft.'}
{l s='Your room type will be saved as a draft.'}
<a href="#" class="btn btn-default" onclick="submitAddProductAndPreview()" ><i class="icon-eye-open"></i>&nbsp;{l s='Save and preview'}</a>
<input type="hidden" name="fakeSubmitAddProductAndPreview" id="fakeSubmitAddProductAndPreview" />
</div>

View File

@@ -128,8 +128,7 @@
<div id="product-pack-container" {if $product_type != Product::PTYPE_PACK}style="display:none"{/if}></div>
<!-- <hr />
-->
{*<hr />*}
<div class="form-group">
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="name" type="default" multilang="true"}</span></div>
<label class="control-label col-lg-2 required" for="name_{$id_lang}">
@@ -259,8 +258,7 @@
var product_name_redirected = '{$product_name_redirected|escape:'html':'UTF-8'}';
</script>
</div>
<div class="form-group">
<div class="form-group hidden">
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="visibility" type="default"}</span></div>
<label class="control-label col-lg-2" for="visibility">
{l s='Visibility'}
@@ -275,7 +273,7 @@
</div>
</div>
<div id="product_options" class="form-group">
<div id="product_options" class="form-group hidden">
<div class="col-lg-12">
<div class="form-group">
<div class="col-lg-1">
@@ -324,10 +322,11 @@
</div>
</div>
<hr/>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="description_short" type="tinymce" multilang="true"}</span></div>
<label class="control-label col-lg-2" for="description_short_{$id_lang}">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='Appears in the product list(s), and at the top of the product page.'}">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='Appears in the room type list(s), and at the top of the room type page.'}">
{l s='Short description'}
</span>
</label>
@@ -345,7 +344,7 @@
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="description" type="tinymce" multilang="true"}</span></div>
<label class="control-label col-lg-2" for="description_{$id_lang}">
<span class="label-tooltip" data-toggle="tooltip"
title="{l s='Appears in the body of the product page.'}">
title="{l s='Appears in the body of the room type.'}">
{l s='Description'}
</span>
</label>

View File

@@ -116,14 +116,14 @@ $(document).ready(function () {
<div class="form-group">
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div>
<label class="control-label col-lg-2" for="wholesale_price">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The wholesale price is the price you paid for the product. Do not include the tax.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Wholesale price'}{else}{l s='Pre-tax wholesale price'}{/if}</span>
<span class="label-tooltip" data-toggle="tooltip" title="{l s='The wholesale price is the price you paid for the room type. Do not include the tax.'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Wholesale price'}{else}{l s='Pre-tax wholesale price'}{/if}</span>
</label>
<div class="col-lg-2">
<div class="input-group">
<span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span>
<input maxlength="27" name="wholesale_price" id="wholesale_price" type="text" value="{{toolsConvertPrice price=$product->wholesale_price}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" />
</div>
{if isset($pack) && $pack->isPack($product->id)}<p class="help-block">{l s='The sum of wholesale prices of the products in the pack is %s%s%s' sprintf=[$currency->prefix,{toolsConvertPrice price=$pack->noPackWholesalePrice($product->id)|string_format:$priceDisplayPrecisionFormat},$currency->suffix]}</p>{/if}
{if isset($pack) && $pack->isPack($product->id)}<p class="help-block">{l s='The sum of wholesale prices of the room types in the pack is %s%s%s' sprintf=[$currency->prefix,{toolsConvertPrice price=$pack->noPackWholesalePrice($product->id)|string_format:$priceDisplayPrecisionFormat},$currency->suffix]}</p>{/if}
</div>
</div>
<div class="form-group">
@@ -236,7 +236,7 @@ $(document).ready(function () {
<div class="checkbox">
<label class="control-label" for="on_sale" >
<input type="checkbox" name="on_sale" id="on_sale" {if $product->on_sale}checked="checked"{/if} value="1" />
{l s='Display the "on sale" icon on the product page, and in the text found within the product listing.'}
{l s='Display the "on sale" icon on the room type page, and in the text found within the room type listing.'}
</label>
</div>
</div>
@@ -270,7 +270,7 @@ $(document).ready(function () {
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="price" type="price"}</span></div>
<label class="control-label col-sm-2">
<input type="hidden" name="id_adv_pmt" {if isset($adv_pay_dtl)}value="{$adv_pay_dtl['id']}"{/if}>
<span class="label-tooltip" data-toggle="tooltip" title="{l s='If Disabled, Advanced payment will not appliy on this product.'}">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='If Disabled, Advanced payment will not appliy on this room type.'}">
{l s='Allow Advanced Payment'}
</span>
</label>
@@ -288,7 +288,7 @@ $(document).ready(function () {
<div class="form-group adv_payment_field">
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="price" type="price"}</span></div>
<label class="control-label col-sm-2">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='If disabled, Advanced Payment for the product will be calculated By Global Advanced payment settings.'}">
<span class="label-tooltip" data-toggle="tooltip" title="{l s='If disabled, Advanced Payment for the room type will be calculated By Global Advanced payment settings.'}">
{l s='Apply Product Advanced Payment Setting.'}
</span>
</label>

View File

@@ -158,7 +158,7 @@
</tr>
</thead>
{foreach from=$attributes item=attribute}
<tr{if $attribute['default_on']} class="highlighted"{/if}>
<tr{if isset($attribute['default_on']) && $attribute['default_on']} class="highlighted"{/if}>
<td class="available_quantity" id="qty_{$attribute['id_product_attribute']}">
<span>{$available_quantity[$attribute['id_product_attribute']]}</span>
<input type="text" name="qty_{$attribute['id_product_attribute']}" class="fixed-width-sm" value="{$available_quantity[$attribute['id_product_attribute']]|htmlentities}"/>

View File

@@ -30,7 +30,7 @@
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="meta_title" type="default" multilang="true"}</span></div>
<label class="control-label col-lg-2" for="meta_title_{$id_lang}">
<span class="label-tooltip" data-toggle="tooltip"
title="{l s='Public title for the product\'s page, and for search engines. Leave blank to use the product name.'} {l s='The number of remaining characters is displayed to the left of the field.'}">
title="{l s='Public title for the product\'s page, and for search engines. Leave blank to use the room type name.'} {l s='The number of remaining characters is displayed to the left of the field.'}">
{l s='Meta title'}
</span>
</label>
@@ -79,7 +79,7 @@
<div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="link_rewrite" type="seo_friendly_url" multilang="true"}</span></div>
<label class="control-label col-lg-2" for="link_rewrite_{$id_lang}">
<span class="label-tooltip" data-toggle="tooltip"
title="{l s='This is the human-readable URL, as generated from the product\'s name. You can change it if you want.'}">
title="{l s='This is the human-readable URL, as generated from the room type\'s name. You can change it if you want.'}">
{l s='Friendly URL:'}
</span>

View File

@@ -1543,7 +1543,7 @@
),
'Cart' =>
array (
'path' => '',
'path' => 'override/classes/Cart.php',
'type' => 'class',
'override' => false,
),

View File

@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Argentina" version="1.0">
<currencies>
<currency name="Peso Argentino" iso_code="ARS" iso_code_num="032" sign="ARS" blank="1" conversion_rate="5.39" format="2" decimals="1" />
</currencies>
<languages>
<language iso_code="ag" />
<language iso_code="es" />
</languages>
<taxes>
<tax id="1" name="IVA AR 21%" rate="21" />
<tax id="2" name="IVA AR 10.5%" rate="10.5" />
<taxRulesGroup name="AR Standard rate (21%)">
<taxRule iso_code_country="ar" id_tax="1" />
</taxRulesGroup>
<taxRulesGroup name="AR Reduced rate (10.5%)">
<taxRule iso_code_country="ar" id_tax="2" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg" />
<unit type="volume" value="L" />
<unit type="short_distance" value="cm" />
<unit type="base_distance" value="m" />
<unit type="long_distance" value="km" />
</units>
</localizationPack>

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Indonesia" version="1.0">
<currencies>
<currency name="Rupiah" iso_code="IDR" iso_code_num="360" sign="Rp‎" blank="1" conversion_rate="12177.63" format="2" decimals="1" />
</currencies>
<languages>
<language iso_code="id" />
</languages>
<taxes>
<tax id="1" name="PPN ID 10%" rate="10" />
<tax id="2" name="PPN ID 5%" rate="5" />
<taxRulesGroup name="ID Standard Rate (10%)">
<taxRule iso_code_country="id" id_tax="1" />
</taxRulesGroup>
<taxRulesGroup name="ID Reduced Rate (5%)">
<taxRule iso_code_country="id" id_tax="2" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg" />
<unit type="volume" value="L" />
<unit type="short_distance" value="cm" />
<unit type="base_distance" value="m" />
<unit type="long_distance" value="km" />
</units>
</localizationPack>

View File

@@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Japan" version="1.0">
<currencies>
<currency name="Yen" iso_code="JPY" iso_code_num="392" sign="¥" blank="1" conversion_rate="113.786" format="1" decimals="0" />
</currencies>
<languages>
<language iso_code="ja" />
</languages>
<taxes>
<tax id="1" name="消費税 JP 5%" rate="5" />
<taxRulesGroup name="JP Standard Rate (5%)">
<taxRule iso_code_country="jp" id_tax="1" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="匁" />
<unit type="volume" value="升" />
<unit type="short_distance" value="曲尺" />
<unit type="base_distance" value="丈" />
</units>
<states>
<state name="Aichi" iso_code="JP-23" country="JP" zone="Asia"/>
<state name="Akita" iso_code="JP-05" country="JP" zone="Asia"/>
<state name="Aomori" iso_code="JP-02" country="JP" zone="Asia"/>
<state name="Chiba" iso_code="JP-12" country="JP" zone="Asia"/>
<state name="Ehime" iso_code="JP-38" country="JP" zone="Asia"/>
<state name="Fukui" iso_code="JP-18" country="JP" zone="Asia"/>
<state name="Fukuoka" iso_code="JP-40" country="JP" zone="Asia"/>
<state name="Fukushima" iso_code="JP-07" country="JP" zone="Asia"/>
<state name="Gifu" iso_code="JP-21" country="JP" zone="Asia"/>
<state name="Gunma" iso_code="JP-10" country="JP" zone="Asia"/>
<state name="Hiroshima" iso_code="JP-34" country="JP" zone="Asia"/>
<state name="Hokkaido" iso_code="JP-01" country="JP" zone="Asia"/>
<state name="Hyōgo" iso_code="JP-28" country="JP" zone="Asia"/>
<state name="Ibaraki" iso_code="JP-08" country="JP" zone="Asia"/>
<state name="Ishikawa" iso_code="JP-17" country="JP" zone="Asia"/>
<state name="Iwate" iso_code="JP-03" country="JP" zone="Asia"/>
<state name="Kagawa" iso_code="JP-37" country="JP" zone="Asia"/>
<state name="Kagoshima" iso_code="JP-46" country="JP" zone="Asia"/>
<state name="Kanagawa" iso_code="JP-14" country="JP" zone="Asia"/>
<state name="Kōchi" iso_code="JP-39" country="JP" zone="Asia"/>
<state name="Kumamoto" iso_code="JP-43" country="JP" zone="Asia"/>
<state name="Kyoto" iso_code="JP-26" country="JP" zone="Asia"/>
<state name="Mie" iso_code="JP-24" country="JP" zone="Asia"/>
<state name="Miyagi" iso_code="JP-04" country="JP" zone="Asia"/>
<state name="Miyazaki" iso_code="JP-45" country="JP" zone="Asia"/>
<state name="Nagano" iso_code="JP-20" country="JP" zone="Asia"/>
<state name="Nagasaki" iso_code="JP-42" country="JP" zone="Asia"/>
<state name="Nara" iso_code="JP-29" country="JP" zone="Asia"/>
<state name="Niigata" iso_code="JP-15" country="JP" zone="Asia"/>
<state name="Ōita" iso_code="JP-44" country="JP" zone="Asia"/>
<state name="Okayama" iso_code="JP-33" country="JP" zone="Asia"/>
<state name="Okinawa" iso_code="JP-47" country="JP" zone="Asia"/>
<state name="Osaka" iso_code="JP-27" country="JP" zone="Asia"/>
<state name="Saga" iso_code="JP-41" country="JP" zone="Asia"/>
<state name="Saitama" iso_code="JP-11" country="JP" zone="Asia"/>
<state name="Shiga" iso_code="JP-25" country="JP" zone="Asia"/>
<state name="Shimane" iso_code="JP-32" country="JP" zone="Asia"/>
<state name="Shizuoka" iso_code="JP-22" country="JP" zone="Asia"/>
<state name="Tochigi" iso_code="JP-09" country="JP" zone="Asia"/>
<state name="Tokushima" iso_code="JP-36" country="JP" zone="Asia"/>
<state name="Tokyo" iso_code="JP-13" country="JP" zone="Asia"/>
<state name="Tottori" iso_code="JP-31" country="JP" zone="Asia"/>
<state name="Toyama" iso_code="JP-16" country="JP" zone="Asia"/>
<state name="Wakayama" iso_code="JP-30" country="JP" zone="Asia"/>
<state name="Yamagata" iso_code="JP-06" country="JP" zone="Asia"/>
<state name="Yamaguchi" iso_code="JP-35" country="JP" zone="Asia"/>
<state name="Yamanashi" iso_code="JP-19" country="JP" zone="Asia"/>
</states>
</localizationPack>

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Thailand" version="1.0">
<currencies>
<currency name="Baht" iso_code="THB" iso_code_num="978" sign="฿" blank="1" conversion_rate="41.4441" format="2" decimals="1" />
</currencies>
<languages>
<language iso_code="th" />
</languages>
<taxes>
<tax id="1" name="VAT TH 7%" rate="7" />
<taxRulesGroup name="TH Standard Rate (7%)">
<taxRule iso_code_country="th" id_tax="1" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg" />
<unit type="volume" value="L" />
<unit type="base_distance" value="wah" />
</units>
</localizationPack>

292
cache/sandbox/16us.xml vendored
View File

@@ -1,292 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="United States" version="1.0">
<languages>
<language iso_code="en" />
</languages>
<currencies>
<currency name="Dollar" iso_code="USD" iso_code_num="840" sign="$" blank="0" conversion_rate="1.31153" format="1" decimals="1" />
</currencies>
<taxes>
<tax id="1" name="Sales-taxes US-AL 4%" rate="4" />
<tax id="2" name="Sales-taxes US-AK 0%" rate="0" />
<tax id="3" name="Sales-taxes US-AZ 6.6%" rate="6.6" />
<tax id="4" name="Sales-taxes US-AR 6%" rate="6" />
<tax id="5" name="Sales-taxes US-CA 8.25%" rate="8.25" />
<tax id="6" name="Sales-taxes US-CO 2.9%" rate="2.9" />
<tax id="7" name="Sales-taxes US-CT 0%" rate="0.0" />
<tax id="8" name="Sales-taxes US-DE 0%" rate="0.0" />
<tax id="9" name="Sales-taxes US-FL 6%" rate="6" />
<tax id="10" name="Sales-taxes US-GA 4%" rate="4" />
<tax id="11" name="Sales-taxes US-HI 4%" rate="4" />
<tax id="12" name="Sales-taxes US-ID 6%" rate="6" />
<tax id="13" name="Sales-taxes US-IL 6.25%" rate="6.25" />
<tax id="14" name="Sales-taxes US-IN 7%" rate="7" />
<tax id="15" name="Sales-taxes US-IA 6%" rate="6" />
<tax id="16" name="Sales-taxes US-KS 5.3%" rate="5.3" />
<tax id="17" name="Sales-taxes US-KY 6%" rate="6" />
<tax id="18" name="Sales-taxes US-LA 4%" rate="4" />
<tax id="19" name="Sales-taxes US-ME 5%" rate="5" />
<tax id="20" name="Sales-taxes US-MD 6%" rate="6" />
<tax id="21" name="Sales-taxes US-MA 6.25%" rate="6.25" />
<tax id="22" name="Sales-taxes US-MI 6%" rate="6" />
<tax id="23" name="Sales-taxes US-MN 6.875%" rate="6.875" />
<tax id="24" name="Sales-taxes US-MS 7%" rate="7" />
<tax id="25" name="Sales-taxes US-MO 4.225%" rate="4.225" />
<tax id="26" name="Sales-taxes US-MT 0.0%" rate="0.0" />
<tax id="27" name="Sales-taxes US-NE 5.5%" rate="5.5" />
<tax id="28" name="Sales-taxes US-NV 6.85%" rate="6.85" />
<tax id="29" name="Sales-taxes US-NH 0%" rate="0.0" />
<tax id="30" name="Sales-taxes US-NJ 7%" rate="7" />
<tax id="31" name="Sales-taxes US-NM 5.125%" rate="5.125" />
<tax id="32" name="Sales-taxes US-NY 4%" rate="4" />
<tax id="33" name="Sales-taxes US-NC 5.5%" rate="5.5" />
<tax id="34" name="Sales-taxes US-ND 5%" rate="5" />
<tax id="35" name="Sales-taxes US-OH 5.5%" rate="5.5" />
<tax id="36" name="Sales-taxes US-OK 4.5%" rate="4.5" />
<tax id="37" name="Sales-taxes US-OR 0%" rate="0.0" />
<tax id="38" name="Sales-taxes US-PA 6%" rate="6" />
<tax id="39" name="Sales-taxes US-RI 7%" rate="7" />
<tax id="40" name="Sales-taxes US-SC 6%" rate="6" />
<tax id="41" name="Sales-taxes US-SD 4%" rate="4" />
<tax id="42" name="Sales-taxes US-TN 7%" rate="7" />
<tax id="43" name="Sales-taxes US-TX 6.25%" rate="6.25" />
<tax id="44" name="Sales-taxes US-UT 4.75%" rate="4.75" />
<tax id="45" name="Sales-taxes US-VT 6%" rate="6" />
<tax id="46" name="Sales-taxes US-VA 4%" rate="4" />
<tax id="47" name="Sales-taxes US-WA 6.5%" rate="6.5" />
<tax id="48" name="Sales-taxes US-WV 6%" rate="6" />
<tax id="49" name="Sales-taxes US-WI 5%" rate="5" />
<tax id="50" name="Sales-taxes US-WY 4%" rate="4" />
<tax id="51" name="Sales-taxes US-PR 5.5%" rate="5.5" />
<tax id="52" name="Sales-taxes US-DC 6%" rate="6" />
<taxRulesGroup name="US-AL Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="al" behavior="1" id_tax="1" />
</taxRulesGroup>
<taxRulesGroup name="US-AK Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="ak" behavior="1" id_tax="2" />
</taxRulesGroup>
<taxRulesGroup name="US-AZ Rate (6.6%)">
<taxRule iso_code_country="us" iso_code_state="az" behavior="1" id_tax="3" />
</taxRulesGroup>
<taxRulesGroup name="US-AR Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="ar" behavior="1" id_tax="4" />
</taxRulesGroup>
<taxRulesGroup name="US-CA Rate (8.25%)">
<taxRule iso_code_country="us" iso_code_state="ca" behavior="1" id_tax="5" />
</taxRulesGroup>
<taxRulesGroup name="US-CO Rate (2.9%)">
<taxRule iso_code_country="us" iso_code_state="co" behavior="1" id_tax="6" />
</taxRulesGroup>
<taxRulesGroup name="US-CT Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="ct" behavior="1" id_tax="7" />
</taxRulesGroup>
<taxRulesGroup name="US-DE Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="de" behavior="1" id_tax="8" />
</taxRulesGroup>
<taxRulesGroup name="US-FL Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="fl" behavior="1" id_tax="9" />
</taxRulesGroup>
<taxRulesGroup name="US-GA Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="ga" behavior="1" id_tax="10" />
</taxRulesGroup>
<taxRulesGroup name="US-HI Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="hi" behavior="1" id_tax="11" />
</taxRulesGroup>
<taxRulesGroup name="US-ID Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="id" behavior="1" id_tax="12" />
</taxRulesGroup>
<taxRulesGroup name="US-IL Rate (6.25%)">
<taxRule iso_code_country="us" iso_code_state="il" behavior="1" id_tax="13" />
</taxRulesGroup>
<taxRulesGroup name="US-IN Rate (7%)">
<taxRule iso_code_country="us" iso_code_state="in" behavior="1" id_tax="14" />
</taxRulesGroup>
<taxRulesGroup name="US-IA Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="ia" behavior="1" id_tax="15" />
</taxRulesGroup>
<taxRulesGroup name="US-KS Rate (5.3%)">
<taxRule iso_code_country="us" iso_code_state="ks" behavior="1" id_tax="16" />
</taxRulesGroup>
<taxRulesGroup name="US-KY Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="ky" behavior="1" id_tax="17" />
</taxRulesGroup>
<taxRulesGroup name="US-LA Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="la" behavior="1" id_tax="18" />
</taxRulesGroup>
<taxRulesGroup name="US-ME Rate (5%)">
<taxRule iso_code_country="us" iso_code_state="me" behavior="1" id_tax="19" />
</taxRulesGroup>
<taxRulesGroup name="US-MD Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="md" behavior="1" id_tax="20" />
</taxRulesGroup>
<taxRulesGroup name="US-MA Rate (6.25%)">
<taxRule iso_code_country="us" iso_code_state="ma" behavior="1" id_tax="21" />
</taxRulesGroup>
<taxRulesGroup name="US-MI Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="mi" behavior="1" id_tax="22" />
</taxRulesGroup>
<taxRulesGroup name="US-MN Rate (6.875%)">
<taxRule iso_code_country="us" iso_code_state="mn" behavior="1" id_tax="23" />
</taxRulesGroup>
<taxRulesGroup name="US-MS Rate (7%)">
<taxRule iso_code_country="us" iso_code_state="ms" behavior="1" id_tax="24" />
</taxRulesGroup>
<taxRulesGroup name="US-MO Rate (4.225%)">
<taxRule iso_code_country="us" iso_code_state="mo" behavior="1" id_tax="25" />
</taxRulesGroup>
<taxRulesGroup name="US-MT Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="mt" behavior="1" id_tax="26" />
</taxRulesGroup>
<taxRulesGroup name="US-NE Rate (5.5%)">
<taxRule iso_code_country="us" iso_code_state="ne" behavior="1" id_tax="27" />
</taxRulesGroup>
<taxRulesGroup name="US-NV Rate (6.85%)">
<taxRule iso_code_country="us" iso_code_state="nv" behavior="1" id_tax="28" />
</taxRulesGroup>
<taxRulesGroup name="US-NH Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="nh" behavior="1" id_tax="29" />
</taxRulesGroup>
<taxRulesGroup name="US-NJ Rate (7%)">
<taxRule iso_code_country="us" iso_code_state="nj" behavior="1" id_tax="30" />
</taxRulesGroup>
<taxRulesGroup name="US-NM Rate (5.125%)">
<taxRule iso_code_country="us" iso_code_state="nm" behavior="1" id_tax="31" />
</taxRulesGroup>
<taxRulesGroup name="US-NY Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="ny" behavior="1" id_tax="32" />
</taxRulesGroup>
<taxRulesGroup name="US-NC Rate (5.5%)">
<taxRule iso_code_country="us" iso_code_state="nc" behavior="1" id_tax="33" />
</taxRulesGroup>
<taxRulesGroup name="US-ND Rate (5%)">
<taxRule iso_code_country="us" iso_code_state="nd" behavior="1" id_tax="34" />
</taxRulesGroup>
<taxRulesGroup name="US-OH Rate (5.5%)">
<taxRule iso_code_country="us" iso_code_state="oh" behavior="1" id_tax="35" />
</taxRulesGroup>
<taxRulesGroup name="US-OK Rate (4.5%)">
<taxRule iso_code_country="us" iso_code_state="ok" behavior="1" id_tax="36" />
</taxRulesGroup>
<taxRulesGroup name="US-OR Rate (0%)">
<taxRule iso_code_country="us" iso_code_state="or" behavior="1" id_tax="37" />
</taxRulesGroup>
<taxRulesGroup name="US-PA Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="pa" behavior="1" id_tax="38" />
</taxRulesGroup>
<taxRulesGroup name="US-RI Rate (7%)">
<taxRule iso_code_country="us" iso_code_state="ri" behavior="1" id_tax="39" />
</taxRulesGroup>
<taxRulesGroup name="US-SC Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="sc" behavior="1" id_tax="40" />
</taxRulesGroup>
<taxRulesGroup name="US-SD Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="sd" behavior="1" id_tax="41" />
</taxRulesGroup>
<taxRulesGroup name="US-TN Rate (7%)">
<taxRule iso_code_country="us" iso_code_state="tn" behavior="1" id_tax="42" />
</taxRulesGroup>
<taxRulesGroup name="US-TX Rate (6.25%)">
<taxRule iso_code_country="us" iso_code_state="tx" behavior="1" id_tax="43" />
</taxRulesGroup>
<taxRulesGroup name="US-UT Rate (4.75%)">
<taxRule iso_code_country="us" iso_code_state="ut" behavior="1" id_tax="44" />
</taxRulesGroup>
<taxRulesGroup name="US-VT Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="vt" behavior="1" id_tax="45" />
</taxRulesGroup>
<taxRulesGroup name="US-VA Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="va" behavior="1" id_tax="46" />
</taxRulesGroup>
<taxRulesGroup name="US-WA Rate (6.5%)">
<taxRule iso_code_country="us" iso_code_state="wa" behavior="1" id_tax="47" />
</taxRulesGroup>
<taxRulesGroup name="US-WV Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="wv" behavior="1" id_tax="48" />
</taxRulesGroup>
<taxRulesGroup name="US-WI Rate (5%)">
<taxRule iso_code_country="us" iso_code_state="wi" behavior="1" id_tax="49" />
</taxRulesGroup>
<taxRulesGroup name="US-WY Rate (4%)">
<taxRule iso_code_country="us" iso_code_state="wy" behavior="1" id_tax="50" />
</taxRulesGroup>
<taxRulesGroup name="US-PR Rate (5.5%)">
<taxRule iso_code_country="us" iso_code_state="pr" behavior="1" id_tax="51" />
</taxRulesGroup>
<taxRulesGroup name="US-DC Rate (6%)">
<taxRule iso_code_country="us" iso_code_state="dc" behavior="1" id_tax="52" />
</taxRulesGroup>
</taxes>
<states>
<state name="Alabama" iso_code="AL" country="US" zone="North America" />
<state name="Alaska" iso_code="AK" country="US" zone="North America" />
<state name="Arizona" iso_code="AZ" country="US" zone="North America" />
<state name="Arkansas" iso_code="AR" country="US" zone="North America" />
<state name="California" iso_code="CA" country="US" zone="North America" />
<state name="Colorado" iso_code="CO" country="US" zone="North America" />
<state name="Connecticut" iso_code="CT" country="US" zone="North America" />
<state name="Delaware" iso_code="DE" country="US" zone="North America" />
<state name="Florida" iso_code="FL" country="US" zone="North America" />
<state name="Georgia" iso_code="GA" country="US" zone="North America" />
<state name="Hawaii" iso_code="HI" country="US" zone="North America" />
<state name="Idaho" iso_code="ID" country="US" zone="North America" />
<state name="Illinois" iso_code="IL" country="US" zone="North America" />
<state name="Indiana" iso_code="IN" country="US" zone="North America" />
<state name="Iowa" iso_code="IA" country="US" zone="North America" />
<state name="Kansas" iso_code="KS" country="US" zone="North America" />
<state name="Kentucky" iso_code="KY" country="US" zone="North America" />
<state name="Louisiana" iso_code="LA" country="US" zone="North America" />
<state name="Maine" iso_code="ME" country="US" zone="North America" />
<state name="Maryland" iso_code="MD" country="US" zone="North America" />
<state name="Massachusetts" iso_code="MA" country="US" zone="North America" />
<state name="Michigan" iso_code="MI" country="US" zone="North America" />
<state name="Minnesota" iso_code="MN" country="US" zone="North America" />
<state name="Mississippi" iso_code="MS" country="US" zone="North America" />
<state name="Missouri" iso_code="MO" country="US" zone="North America" />
<state name="Montana" iso_code="MT" country="US" zone="North America" />
<state name="Nebraska" iso_code="NE" country="US" zone="North America" />
<state name="Nevada" iso_code="NV" country="US" zone="North America" />
<state name="New Hampshire" iso_code="NH" country="US" zone="North America" />
<state name="New Jersey" iso_code="NJ" country="US" zone="North America" />
<state name="New Mexico" iso_code="NM" country="US" zone="North America" />
<state name="North Carolina" iso_code="NC" country="US" zone="North America" />
<state name="North Dakota" iso_code="ND" country="US" zone="North America" />
<state name="Ohio" iso_code="OH" country="US" zone="North America" />
<state name="Oklahoma" iso_code="OK" country="US" zone="North America" />
<state name="Oregon" iso_code="OR" country="US" zone="North America" />
<state name="Pennsylvania" iso_code="PA" country="US" zone="North America" />
<state name="Rhode Island" iso_code="RI" country="US" zone="North America" />
<state name="South Carolina" iso_code="SC" country="US" zone="North America" />
<state name="South Dakota" iso_code="SD" country="US" zone="North America" />
<state name="Tennessee" iso_code="TN" country="US" zone="North America" />
<state name="Texas" iso_code="TX" country="US" zone="North America" />
<state name="Utah" iso_code="UT" country="US" zone="North America" />
<state name="Vermont" iso_code="VT" country="US" zone="North America" />
<state name="Virginia" iso_code="VA" country="US" zone="North America" />
<state name="Washington" iso_code="WA" country="US" zone="North America" />
<state name="West Virginia" iso_code="WV" country="US" zone="North America" />
<state name="Wisconsin" iso_code="WI" country="US" zone="North America" />
<state name="Wyoming" iso_code="WY" country="US" zone="North America" />
<state name="Puerto Rico" iso_code="PR" country="US" zone="North America" />
<state name="US Virgin Islands" iso_code="VI" country="US" zone="North America" />
<state name="District of Columbia" iso_code="DC" country="US" zone="North America" />
</states>
<units>
<unit type="weight" value="lb" />
<unit type="volume" value="gal" />
<unit type="short_distance" value="in" />
<unit type="base_distance" value="ft" />
<unit type="long_distance" value="mi" />
</units>
<modules>
<module name="carriercompare" install="1" />
</modules>
<configurations>
<configuration name="PS_TAX_DISPLAY" value="1" />
</configurations>
<group_default price_display_method="1" />
</localizationPack>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1451999525,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d30182c8723_13756949',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d30182c8723_13756949')) {function content_568d30182c8723_13756949($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:892279856ab3d3c31b195-15121976%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8894a2c5511181d4e555f2b74d8d81cc3f9436b3' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1454061942,
2 => 'file',
),
),
'nocache_hash' => '892279856ab3d3c31b195-15121976',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab8f78a16e45_28068087',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab8f78a16e45_28068087')) {function content_56ab8f78a16e45_28068087($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:892279856ab3d3c31b195-15121976%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8894a2c5511181d4e555f2b74d8d81cc3f9436b3' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1454061942,
2 => 'file',
),
),
'nocache_hash' => '892279856ab3d3c31b195-15121976',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab8db0530045_36977184',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab8db0530045_36977184')) {function content_56ab8db0530045_36977184($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1451999525,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df31d2fae53_04138122',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df31d2fae53_04138122')) {function content_568df31d2fae53_04138122($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:53035721956376ee2ecd301-10714772%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0fd813e2659ce6e302a02acce32de28dfe618e5f' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1446483396,
2 => 'file',
),
),
'nocache_hash' => '53035721956376ee2ecd301-10714772',
'cache_lifetime' => 31536000,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b5c705cb003_80665233',
'has_nocache_code' => false,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b5c705cb003_80665233')) {function content_563b5c705cb003_80665233($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -0,0 +1,51 @@
<?php /*%%SmartyHeaderCode:8374061757f27d2475a004-35900280%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c4c7ba9c6d76b84ba3de0bbef8162c93ab31c912' =>
array (
0 => '/home/rjain/www/html/d4/htld6/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1475505970,
2 => 'file',
),
),
'nocache_hash' => '8374061757f27d2475a004-35900280',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_57f28743b31644_98807989',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57f28743b31644_98807989')) {function content_57f28743b31644_98807989($_smarty_tpl) {?>
<div class="row">
<section class="col-xs-12 col-sm-12">
<div class="row margin-lr-0 footer-section-heading">
<p>Follow us on</p>
<hr/>
</div>
<div class="row margin-lr-0" id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
</ul>
<div class="clearfix"></div>
</div>
</section>
</div><?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:53035721956376ee2ecd301-10714772%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0fd813e2659ce6e302a02acce32de28dfe618e5f' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1446483396,
2 => 'file',
),
),
'nocache_hash' => '53035721956376ee2ecd301-10714772',
'cache_lifetime' => 31536000,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b12d2a42a11_06481268',
'has_nocache_code' => false,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b12d2a42a11_06481268')) {function content_563b12d2a42a11_06481268($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1451999525,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d301c9be414_57736920',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d301c9be414_57736920')) {function content_568d301c9be414_57736920($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,56 +0,0 @@
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1452142872,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'cache_lifetime' => 31536000,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df655569382_84180389',
'variables' =>
array (
'facebook_url' => 0,
'twitter_url' => 0,
'rss_url' => 0,
'youtube_url' => 0,
'google_plus_url' => 0,
'pinterest_url' => 0,
'vimeo_url' => 0,
'instagram_url' => 0,
),
'has_nocache_code' => false,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df655569382_84180389')) {function content_568df655569382_84180389($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,45 +0,0 @@
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1451999525,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d22d9a0bff1_29691840',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d22d9a0bff1_29691840')) {function content_568d22d9a0bff1_29691840($_smarty_tpl) {?><div id="social_block">
<ul>
<li class="facebook">
<a class="_blank" href="http://www.facebook.com/prestashop">
<span>Facebook</span>
</a>
</li>
<li class="twitter">
<a class="_blank" href="http://www.twitter.com/prestashop">
<span>Twitter</span>
</a>
</li>
<li class="rss">
<a class="_blank" href="http://www.prestashop.com/blog/en/">
<span>RSS</span>
</a>
</li>
<li class="google-plus">
<a class="_blank" href="https://www.google.com/+prestashop">
<span>Google Plus</span>
</a>
</li>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4>Follow us</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:92187765056378a0624a1a2-35818657%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd296ac203bb86d10c3d884ee9b6882070cfd77b' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '92187765056378a0624a1a2-35818657',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638a45e397766_65361167',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638a45e397766_65361167')) {function content_5638a45e397766_65361167($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:92187765056378a0624a1a2-35818657%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd296ac203bb86d10c3d884ee9b6882070cfd77b' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '92187765056378a0624a1a2-35818657',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b5c7d651446_33873168',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b5c7d651446_33873168')) {function content_563b5c7d651446_33873168($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568e0136968ec7_56678169',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568e0136968ec7_56678169')) {function content_568e0136968ec7_56678169($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df5610d8c38_66089349',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df5610d8c38_66089349')) {function content_568df5610d8c38_66089349($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:92187765056378a0624a1a2-35818657%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd296ac203bb86d10c3d884ee9b6882070cfd77b' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '92187765056378a0624a1a2-35818657',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b549adffae9_10180924',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b549adffae9_10180924')) {function content_563b549adffae9_10180924($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,46 +0,0 @@
<?php /*%%SmartyHeaderCode:92187765056378a0624a1a2-35818657%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd296ac203bb86d10c3d884ee9b6882070cfd77b' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '92187765056378a0624a1a2-35818657',
'variables' =>
array (
'PS_SC_TWITTER' => 0,
'PS_SC_FACEBOOK' => 0,
'PS_SC_GOOGLE' => 0,
'PS_SC_PINTEREST' => 0,
'module_dir' => 0,
'link' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56378a062c7c63_21731302',
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56378a062c7c63_21731302')) {function content_56378a062c7c63_21731302($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d3031b9e603_82989268',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d3031b9e603_82989268')) {function content_568d3031b9e603_82989268($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568e0256f27a15_57404812',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568e0256f27a15_57404812')) {function content_568e0256f27a15_57404812($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,46 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'variables' =>
array (
'PS_SC_TWITTER' => 0,
'PS_SC_FACEBOOK' => 0,
'PS_SC_GOOGLE' => 0,
'PS_SC_PINTEREST' => 0,
'module_dir' => 0,
'link' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d22e89719d6_30017608',
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d22e89719d6_30017608')) {function content_568d22e89719d6_30017608($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:92187765056378a0624a1a2-35818657%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'dd296ac203bb86d10c3d884ee9b6882070cfd77b' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '92187765056378a0624a1a2-35818657',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b5c886564e8_75405120',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b5c886564e8_75405120')) {function content_563b5c886564e8_75405120($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,46 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568dfa10a04c94_38733667',
'variables' =>
array (
'PS_SC_TWITTER' => 0,
'PS_SC_FACEBOOK' => 0,
'PS_SC_GOOGLE' => 0,
'PS_SC_PINTEREST' => 0,
'module_dir' => 0,
'link' => 0,
),
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568dfa10a04c94_38733667')) {function content_568dfa10a04c94_38733667($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /*%%SmartyHeaderCode:1224820085568d22e8907952-89358135%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'5be8344c3ef10fd3ad6725c8c2b2b41479a3d025' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1224820085568d22e8907952-89358135',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d2890caa3a6_80882676',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d2890caa3a6_80882676')) {function content_568d2890caa3a6_80882676($_smarty_tpl) {?>
<p class="socialsharing_product list-inline no-print">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter social-sharing">
<i class="icon-twitter"></i> Tweet
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/twitter.gif" alt="Tweet" /> -->
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook social-sharing">
<i class="icon-facebook"></i> Share
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/facebook.gif" alt="Facebook Like" /> -->
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus social-sharing">
<i class="icon-google-plus"></i> Google+
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/google.gif" alt="Google Plus" /> -->
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest social-sharing">
<i class="icon-pinterest"></i> Pinterest
<!-- <img src="http://192.168.1.223/~sumit/html/hotel-reservation-system/modules/socialsharing/img/pinterest.gif" alt="Pinterest" /> -->
</button>
</p>
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:205672447956378a05e4d447-51561191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0f9fdb3a057b162e83a013e7eff5d3e990715f73' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '205672447956378a05e4d447-51561191',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638a45d10be71_90820987',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638a45d10be71_90820987')) {function content_5638a45d10be71_90820987($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/index.php?id_product=1&controller=product" />
<meta property="og:title" content="Faded Short Sleeves T-shirt - my hotel theme" />
<meta property="og:site_name" content="my hotel theme" />
<meta property="og:description" content="Faded short sleeves t-shirt with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you&#039;re ready for summer!" />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/img/p/1/1-large_default.jpg" />
<meta property="product:pretax_price:amount" content="16.51" />
<meta property="product:pretax_price:currency" content="USD" />
<meta property="product:price:amount" content="16.51" />
<meta property="product:price:currency" content="USD" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:205672447956378a05e4d447-51561191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0f9fdb3a057b162e83a013e7eff5d3e990715f73' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '205672447956378a05e4d447-51561191',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b5c7d4f6387_40344591',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b5c7d4f6387_40344591')) {function content_563b5c7d4f6387_40344591($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/index.php?id_product=10&controller=product" />
<meta property="og:title" content="luxury Rooms - my hotel test" />
<meta property="og:site_name" content="my hotel test" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/img/p/2/6/26-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568e01366f5f22_41539428',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568e01366f5f22_41539428')) {function content_568e01366f5f22_41539428($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=10&controller=product&date_from=2016-01-07&date_to=2016-01-20" />
<meta property="og:title" content="luxury Rooms - hotel reservation" />
<meta property="og:site_name" content="hotel reservation" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/6/26-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:205672447956378a05e4d447-51561191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0f9fdb3a057b162e83a013e7eff5d3e990715f73' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '205672447956378a05e4d447-51561191',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b549ac46d08_35186700',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b549ac46d08_35186700')) {function content_563b549ac46d08_35186700($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/index.php?id_product=8&controller=product" />
<meta property="og:title" content="Delux Rooms - my hotel test" />
<meta property="og:site_name" content="my hotel test" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/img/p/2/4/24-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df560e3f6b7_27775851',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df560e3f6b7_27775851')) {function content_568df560e3f6b7_27775851($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=8&controller=product&date_from=2016-01-07&date_to=2016-01-10" />
<meta property="og:title" content="Delux Rooms - hotel reservation" />
<meta property="og:site_name" content="hotel reservation" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/4/24-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,27 +0,0 @@
<?php /*%%SmartyHeaderCode:205672447956378a05e4d447-51561191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0f9fdb3a057b162e83a013e7eff5d3e990715f73' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '205672447956378a05e4d447-51561191',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56378c6537ca86_42389656',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56378c6537ca86_42389656')) {function content_56378c6537ca86_42389656($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/index.php?id_product=8&controller=product" />
<meta property="og:title" content="Super Delux Room - my hotel" />
<meta property="og:site_name" content="my hotel" />
<meta property="og:description" content="" />
<meta property="product:pretax_price:amount" content="10000" />
<meta property="product:pretax_price:currency" content="USD" />
<meta property="product:price:amount" content="10000" />
<meta property="product:price:currency" content="USD" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d3031289670_08374273',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d3031289670_08374273')) {function content_568d3031289670_08374273($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=8&controller=product" />
<meta property="og:title" content="Delux Rooms - hotel reservation syatem" />
<meta property="og:site_name" content="hotel reservation syatem" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/4/24-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568e0256d4f065_80848909',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568e0256d4f065_80848909')) {function content_568e0256d4f065_80848909($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=8&controller=product&date_from=2016-03-27&date_to=2016-03-31" />
<meta property="og:title" content="Delux Rooms - hotel reservation" />
<meta property="og:site_name" content="hotel reservation" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/4/24-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,43 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'variables' =>
array (
'request' => 0,
'meta_title' => 0,
'shop_name' => 0,
'meta_description' => 0,
'link_rewrite' => 0,
'cover' => 0,
'link' => 0,
'pretax_price' => 0,
'currency' => 0,
'price' => 0,
'weight' => 0,
'weight_unit' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d22e82577a7_40365785',
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d22e82577a7_40365785')) {function content_568d22e82577a7_40365785($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=8&controller=product" />
<meta property="og:title" content="Delux Rooms - hotel reservation syatem" />
<meta property="og:site_name" content="hotel reservation syatem" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/4/24-large_default.jpg" />
<meta property="product:pretax_price:amount" content="15.02" />
<meta property="product:pretax_price:currency" content="USD" />
<meta property="product:price:amount" content="16.89" />
<meta property="product:price:currency" content="USD" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:205672447956378a05e4d447-51561191%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0f9fdb3a057b162e83a013e7eff5d3e990715f73' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1446454912,
2 => 'file',
),
),
'nocache_hash' => '205672447956378a05e4d447-51561191',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b5c884bd197_31136664',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b5c884bd197_31136664')) {function content_563b5c884bd197_31136664($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/index.php?id_product=9&controller=product" />
<meta property="og:title" content="Executive Rooms - my hotel test" />
<meta property="og:site_name" content="my hotel test" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/ps-hotel-reservation-system/img/p/2/5/25-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,43 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1452142878,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568dfa106295f1_72428317',
'variables' =>
array (
'request' => 0,
'meta_title' => 0,
'shop_name' => 0,
'meta_description' => 0,
'link_rewrite' => 0,
'cover' => 0,
'link' => 0,
'pretax_price' => 0,
'currency' => 0,
'price' => 0,
'weight' => 0,
'weight_unit' => 0,
),
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568dfa106295f1_72428317')) {function content_568dfa106295f1_72428317($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=9&controller=product&date_from=2016-01-07&date_to=2016-01-10" />
<meta property="og:title" content="Executive Rooms - hotel reservation" />
<meta property="og:site_name" content="hotel reservation" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/5/25-large_default.jpg" />
<meta property="product:pretax_price:amount" content="1000" />
<meta property="product:pretax_price:currency" content="INR" />
<meta property="product:price:amount" content="1125" />
<meta property="product:price:currency" content="INR" />
<?php }} ?>

View File

@@ -1,28 +0,0 @@
<?php /*%%SmartyHeaderCode:1827450349568d22e8153226-16054358%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'fc3a9ff91e79ee93a5b410b936cd0b51d8f4885d' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/modules/socialsharing/views/templates/hook/socialsharing_header.tpl',
1 => 1451999531,
2 => 'file',
),
),
'nocache_hash' => '1827450349568d22e8153226-16054358',
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d28906beda0_87076411',
'has_nocache_code' => false,
'cache_lifetime' => 31536000,
),true); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d28906beda0_87076411')) {function content_568d28906beda0_87076411($_smarty_tpl) {?><meta property="og:type" content="product" />
<meta property="og:url" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/index.php?id_product=9&controller=product" />
<meta property="og:title" content="Executive Rooms - hotel reservation syatem" />
<meta property="og:site_name" content="hotel reservation syatem" />
<meta property="og:description" content="Fashion axe kogi yuccie, ramps shabby chic direct trade before they sold out distillery bicycle rights. Slow-carb +1 quinoa VHS. +1 brunch trust fund, meggings chartreuse sustainable everyday carry tumblr hoodie tacos tilde ramps post-ironic fixie." />
<meta property="og:image" content="http://192.168.1.223/~sumit/html/hotel-reservation-system/img/p/2/5/25-large_default.jpg" />
<meta property="product:pretax_price:amount" content="15.02" />
<meta property="product:pretax_price:currency" content="USD" />
<meta property="product:price:amount" content="16.89" />
<meta property="product:price:currency" content="USD" />
<?php }} ?>

View File

@@ -1,622 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 09:01:42
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/controllers/products/helpers/form/form.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5377736745638be46162b75-52686568%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'000a40096e26e744c1e0e892bfb29448fb77552e' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/controllers/products/helpers/form/form.tpl',
1 => 1446483944,
2 => 'file',
),
'dc24a63580e45d104a1ba81649556402cd0ea5fb' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/helpers/form/form.tpl',
1 => 1446455061,
2 => 'file',
),
'5e39e21d2343a0c607a62d56c013140bd28a6ac2' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/helpers/form/form_group.tpl',
1 => 1446455061,
2 => 'file',
),
),
'nocache_hash' => '5377736745638be46162b75-52686568',
'function' =>
array (
),
'variables' =>
array (
'fields' => 0,
'tabs' => 0,
'identifier_bk' => 0,
'identifier' => 0,
'table_bk' => 0,
'table' => 0,
'name_controller' => 0,
'current' => 0,
'token' => 0,
'style' => 0,
'form_id' => 0,
'submit_action' => 0,
'f' => 0,
'fieldset' => 0,
'key' => 0,
'field' => 0,
'input' => 0,
'contains_states' => 0,
'fields_value' => 0,
'hint' => 0,
'languages' => 0,
'language' => 0,
'defaultFormLanguage' => 0,
'value_text' => 0,
'name' => 0,
'value' => 0,
'option' => 0,
'optiongroup' => 0,
'field_value' => 0,
'id_checkbox' => 0,
'select' => 0,
'k' => 0,
'v' => 0,
'categories_tree' => 0,
'asso_shop' => 0,
'p' => 0,
'hookName' => 0,
'show_cancel_button' => 0,
'back_url' => 0,
'btn' => 0,
'tinymce' => 0,
'iso' => 0,
'ad' => 0,
'firstCall' => 0,
'vat_number' => 0,
'allowEmployeeFormLang' => 0,
'use_textarea_autosize' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638be46a3ba34_82081079',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638be46a3ba34_82081079')) {function content_5638be46a3ba34_82081079($_smarty_tpl) {?><?php if (!is_callable('smarty_function_counter')) include '/home/sumit/public_html/html/ps-hotel-reservation-system/tools/smarty/plugins/function.counter.php';
?>
<?php if (isset($_smarty_tpl->tpl_vars['fields']->value['title'])) {?><h3><?php echo $_smarty_tpl->tpl_vars['fields']->value['title'];?>
</h3><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['tabs']->value)&&count($_smarty_tpl->tpl_vars['tabs']->value)) {?>
<script type="text/javascript">
var helper_tabs = <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_encode'][0][0]->jsonEncode($_smarty_tpl->tpl_vars['tabs']->value);?>
;
var unique_field_id = '';
</script>
<?php }?>
<div class="row">
<div class="productTabs col-lg-2 col-md-3">
<div class="list-group">
<?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tab']->_loop = false;
$_smarty_tpl->tpl_vars['numStep'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['product_tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) {
$_smarty_tpl->tpl_vars['tab']->_loop = true;
$_smarty_tpl->tpl_vars['numStep']->value = $_smarty_tpl->tpl_vars['tab']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['name']!="Pack") {?>
<a class="list-group-item <?php if ($_smarty_tpl->tpl_vars['tab']->value['selected']) {?>active<?php }?>" id="link-<?php echo $_smarty_tpl->tpl_vars['tab']->value['id'];?>
" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['href'], ENT_QUOTES, 'UTF-8', true);?>
&amp;updateproduct"><?php echo $_smarty_tpl->tpl_vars['tab']->value['name'];?>
</a>
<?php }?>
<?php } ?>
</div>
</div>
<script type="text/javascript">
var id_product = <?php if (isset($_smarty_tpl->tpl_vars['product']->value->id)) {?><?php echo $_smarty_tpl->tpl_vars['product']->value->id;?>
<?php } else { ?>0<?php }?>;
var id_lang_default = <?php echo $_smarty_tpl->tpl_vars['id_lang_default']->value;?>
;
var product_type_pack = <?php echo Product::PTYPE_PACK;?>
;
var product_type_virtual = <?php echo Product::PTYPE_VIRTUAL;?>
;
var product_type_simple = <?php echo Product::PTYPE_SIMPLE;?>
;
var has_combinations = <?php echo $_smarty_tpl->tpl_vars['has_combinations']->value;?>
;
var toload = new Array();
var empty_pack_msg = '<?php echo smartyTranslate(array('s'=>'This pack is empty. You will need to add at least one product to the pack before you can save.','js'=>1),$_smarty_tpl);?>
';
var empty_name_msg = '<?php echo smartyTranslate(array('s'=>'The product name is empty. You will at least need to enter a name for the default language before you can save the product.','js'=>1),$_smarty_tpl);?>
';
var empty_link_rewrite_msg = '<?php echo smartyTranslate(array('s'=>'The friendly URL is empty. You will at least need to enter a friendly URL for the default language before you can save the product.','slashes'=>1),$_smarty_tpl);?>
';
var reload_tab_title = '<?php echo smartyTranslate(array('s'=>'Confirmation','slashes'=>1),$_smarty_tpl);?>
';
var reload_tab_description = '<?php echo smartyTranslate(array('s'=>'A server error occurred while loading the tabs: some tabs could not be loaded.','js'=>1),$_smarty_tpl);?>
'+'\n'+'<?php echo smartyTranslate(array('s'=>'Please try again by refreshing the page.','js'=>1),$_smarty_tpl);?>
'+'\n'+'<?php echo smartyTranslate(array('s'=>'If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance.','js'=>1),$_smarty_tpl);?>
';
$('#product-tab-content-wait').show();
var post_data = <?php echo $_smarty_tpl->tpl_vars['post_data']->value;?>
;
var save_error = <?php if ($_smarty_tpl->tpl_vars['save_error']->value) {?>true<?php } else { ?>false<?php }?>;
var error_heading_msg = '<?php echo smartyTranslate(array('s'=>'Error','js'=>1),$_smarty_tpl);?>
';
var error_continue_msg = '<?php echo smartyTranslate(array('s'=>'Continue','js'=>1),$_smarty_tpl);?>
';
var product_type = <?php echo $_smarty_tpl->tpl_vars['product_type']->value;?>
;
<?php if (isset($_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value)&&$_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value) {?>
var display_multishop_checkboxes = true;
<?php } else { ?>
var display_multishop_checkboxes = false;
<?php }?>
var tabs_preloaded = new Array();
var tabs_to_preload = new Array();
var mod_evasive = <?php if (isset($_smarty_tpl->tpl_vars['mod_evasive']->value)&&$_smarty_tpl->tpl_vars['mod_evasive']->value) {?>true<?php } else { ?>false<?php }?>;
var mod_security = <?php if (isset($_smarty_tpl->tpl_vars['mod_security']->value)&&$_smarty_tpl->tpl_vars['mod_security']->value) {?>true<?php } else { ?>false<?php }?>;
$(document).ready(function()
{
if (product_type == product_type_pack)
{
$('a[id*="VirtualProduct"]').hide();
$('a[id*="Combinations"]').hide();
}
else if (product_type == product_type_virtual)
{
$('a[id*="Pack"]').hide();
$('a[id*="Shipping"]').hide();
$('a[id*="Combinations"]').hide();
}
else
{
$('a[id*="Pack"]').hide();
$('a[id*="VirtualProduct"]').hide();
}
$('#desc-product-newCombination').hide();
$(".productTabs a").click(function(e){
e.preventDefault();
// currentId is the current product tab id
currentId = false;
if ($(".productTabs a.active").length)
currentId = $(".productTabs a.active").attr('id').substr(5);
// id is the wanted producttab id
id = $(this).attr('id').substr(5);
// Update submit button value
var split_position = id.indexOf('-') + 1;
var btn_name = id.substr(split_position);
if ((btn_name == 'VirtualProduct' || btn_name == 'Pack') && $('#name_' + id_lang_default).val() == '')
{
alert(missing_product_name);
$('#name_' + id_lang_default).focus();
return false;
}
$('#key_tab').val(btn_name);
if ($(this).attr("id") != $(".productTabs a.active ").attr('id'))
{
$(".productTabs a").removeClass('active');
$("#product-tab-content-"+currentId).hide();
}
// if the tab has not already been loaded, load it now
tabs_manager.display(id, true);
tabs_manager.onLoad(id, function(){
$("#product-tab-content-"+id).show(0, function(){
$(this).trigger('displayed');
});
$("#link-"+id).addClass('active');
});
var languages = new Array();
if (btn_name == "Combinations")
{
$('#desc-product-new').hide();
$('#desc-product-newCombination').show();
populate_attrs();
}
else if (btn_name == "Attachments")
{
handleSaveButtons();
}
else
{
$('#desc-product-newCombination').hide();
// if pack is enabled, save button are visible only if pack is valid
if ($("input[name='id_product']").val() != 0 || btn_name != 'Informations')
handleSaveButtons();
}
$('.label-tooltip').tooltip();
});
$(".productTabs a.active").click();
// disable save if Associations tab is not loaded
if ($('#product-tab-content-Associations').hasClass('not-loaded'))
disableSave();
tabs_manager.onLoad('Associations', function(){
if ($("input[name='id_product']").val() != 0)
handleSaveButtons();
});
$('.confirm_leave').live('click', function(){
// Double quotes are necessary when the translated string has single quotes
return confirm("<?php echo smartyTranslate(array('s'=>'You will lose all unsaved modifications. Are you sure that you want to proceed?','js'=>1),$_smarty_tpl);?>
");
});
$('#toolbar-footer').appendTo($('#product-tab-content-Informations').children('.product-tab'));
$('.product-tab-content').on('displayed', function(e) {
$('#toolbar-footer').appendTo($(this).children('.product-tab'));
});
});
// Listen to the load event that is fired each time an ajax call to load a tab has completed
$(window).bind("load", function() {
var tabs_to_preload = new Array();
<?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
$_smarty_tpl->tpl_vars['tab_name'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['tabs_preloaded']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
$_smarty_tpl->tpl_vars['tab_name']->value = $_smarty_tpl->tpl_vars['value']->key;
?>
<?php if ((is_numeric($_smarty_tpl->tpl_vars['value']->value))) {?>
if ($("#product-tab-content-"+'<?php echo $_smarty_tpl->tpl_vars['tab_name']->value;?>
').hasClass('not-loaded'))
tabs_to_preload.push('<?php echo $_smarty_tpl->tpl_vars['tab_name']->value;?>
');
<?php }?>
<?php } ?>
// Recursively load tabs starting with the first element of stack
tabs_manager.displayBulk(tabs_to_preload);
$('.productTabs').show();
$('#product-tab-content-wait').hide();
function checkIfProductTypeIsPack() {
var typeIsPack = $('#pack_product').is(':checked');
if (typeIsPack && $('#inputPackItems').val()=='' ) {
$('.pack-empty-warning').removeClass('alert-warning').addClass('alert-danger');
$('#curPackItemName').select2('open');
}
return typeIsPack;
}
$("#product_form").validate({
ignore: '.updateCurrentText',
rules: {
inputPackItems: {
required: {
depends: checkIfProductTypeIsPack
},
}
},
messages: {
inputPackItems: {
required: ""
}
},
submitHandler: function(form) {
form.submit();
},
// override jquery validate plugin defaults for bootstrap 3
highlight: function(element) {
$(element).closest('.form-group').addClass('has-error');
},
unhighlight: function(element) {
$(element).closest('.form-group').removeClass('has-error');
},
errorElement: 'span',
errorClass: 'help-block',
errorPlacement: function(error, element) {
if(element.parent('.input-group').length) {
error.insertAfter(element.parent());
} else {
error.insertAfter(element);
}
}
});
});
</script>
<script type="text/javascript">
// <![CDATA[
ThickboxI18nImage = "<?php echo smartyTranslate(array('s'=>'Image'),$_smarty_tpl);?>
";
ThickboxI18nOf = "<?php echo smartyTranslate(array('s'=>'of'),$_smarty_tpl);?>
";
ThickboxI18nClose = "<?php echo smartyTranslate(array('s'=>'Close'),$_smarty_tpl);?>
";
ThickboxI18nOrEscKey = "<?php echo smartyTranslate(array('s'=>'(or "Esc")'),$_smarty_tpl);?>
";
ThickboxI18nNext = "<?php echo smartyTranslate(array('s'=>'Next >'),$_smarty_tpl);?>
";
ThickboxI18nPrev = "<?php echo smartyTranslate(array('s'=>'< Previous'),$_smarty_tpl);?>
";
tb_pathToImage = "../img/loadingAnimation.gif";
//]]>
</script>
<div id="product-tab-content-wait" style="display:none">
<div id="loading"><i class="icon-refresh icon-spin"></i>&nbsp;<?php echo smartyTranslate(array('s'=>'Loading...'),$_smarty_tpl);?>
</div>
</div>
<form id="product_form" class="form-horizontal col-lg-10 col-md-9" action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['form_action']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" enctype="multipart/form-data" name="product" novalidate>
<input type="hidden" name="id_product" value="<?php echo $_smarty_tpl->tpl_vars['id_product']->value;?>
" />
<input type="hidden" id="is_virtual" name="is_virtual" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->is_virtual, ENT_QUOTES, 'UTF-8', true);?>
" />
<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>
<input type="hidden" id="page" name="page" value="<?php echo intval($_REQUEST['page']);?>
" />
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['product']->value->active&&$_smarty_tpl->tpl_vars['product']->value->isAssociatedToShop()) {?>
<div class="alert alert-info draft" >
<?php echo smartyTranslate(array('s'=>'Your product will be saved as a draft.'),$_smarty_tpl);?>
<a href="#" class="btn btn-default" onclick="submitAddProductAndPreview()" ><i class="icon-eye-open"></i>&nbsp;<?php echo smartyTranslate(array('s'=>'Save and preview'),$_smarty_tpl);?>
</a>
<input type="hidden" name="fakeSubmitAddProductAndPreview" id="fakeSubmitAddProductAndPreview" />
</div>
<?php }?>
<?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tab']->_loop = false;
$_smarty_tpl->tpl_vars['numStep'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['product_tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) {
$_smarty_tpl->tpl_vars['tab']->_loop = true;
$_smarty_tpl->tpl_vars['numStep']->value = $_smarty_tpl->tpl_vars['tab']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['id']!="Pack") {?>
<div id="product-tab-content-<?php echo $_smarty_tpl->tpl_vars['tab']->value['id'];?>
" class="<?php if (!$_smarty_tpl->tpl_vars['tab']->value['selected']) {?>not-loaded<?php }?> product-tab-content" <?php if (!$_smarty_tpl->tpl_vars['tab']->value['selected']) {?>style="display:none"<?php }?>>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['selected']) {?>
<?php echo $_smarty_tpl->tpl_vars['custom_form']->value;?>
<?php }?>
</div>
<?php }?>
<?php } ?>
<input type="hidden" name="id_product_attribute" id="id_product_attribute" value="0" />
<input type="hidden" name="key_tab" id="key_tab" value="Informations" />
</form>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['tinymce']->value)&&$_smarty_tpl->tpl_vars['tinymce']->value) {?>
<script type="text/javascript">
var iso = '<?php echo addslashes($_smarty_tpl->tpl_vars['iso']->value);?>
';
var pathCSS = '<?php echo addslashes(@constant('_THEME_CSS_DIR_'));?>
';
var ad = '<?php echo addslashes($_smarty_tpl->tpl_vars['ad']->value);?>
';
$(document).ready(function(){
// Execute when tab Informations has finished loading
tabs_manager.onLoad('Informations', function(){
tinySetup({
editor_selector :"autoload_rte",
setup : function(ed) {
ed.on('init', function(ed)
{
if (typeof ProductMultishop.load_tinymce[ed.target.id] != 'undefined')
{
if (typeof ProductMultishop.load_tinymce[ed.target.id])
tinyMCE.get(ed.target.id).hide();
else
tinyMCE.get(ed.target.id).show();
}
});
ed.on('keydown', function(ed, e) {
tinyMCE.triggerSave();
textarea = $('#'+tinymce.activeEditor.id);
var max = textarea.parent('div').find('span.counter').data('max');
if (max != 'none')
{
count = tinyMCE.activeEditor.getBody().textContent.length;
rest = max - count;
if (rest < 0)
textarea.parent('div').find('span.counter').html('<span style="color:red;"><?php echo smartyTranslate(array('s'=>'Maximum'),$_smarty_tpl);?>
'+ max +' <?php echo smartyTranslate(array('s'=>'characters'),$_smarty_tpl);?>
: '+rest+'</span>');
else
textarea.parent('div').find('span.counter').html(' ');
}
});
}
});
});
});
</script>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['firstCall']->value) {?>
<script type="text/javascript">
var module_dir = '<?php echo @constant('_MODULE_DIR_');?>
';
var id_language = <?php echo intval($_smarty_tpl->tpl_vars['defaultFormLanguage']->value);?>
;
var languages = new Array();
var vat_number = <?php if ($_smarty_tpl->tpl_vars['vat_number']->value) {?>1<?php } else { ?>0<?php }?>;
// Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid
// precedence conflicts with other document.ready() blocks
<?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['language']->key;
?>
languages[<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
] = {
id_lang: <?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
,
iso_code: '<?php echo $_smarty_tpl->tpl_vars['language']->value['iso_code'];?>
',
name: '<?php echo $_smarty_tpl->tpl_vars['language']->value['name'];?>
',
is_default: '<?php echo $_smarty_tpl->tpl_vars['language']->value['is_default'];?>
'
};
<?php } ?>
// we need allowEmployeeFormLang var in ajax request
allowEmployeeFormLang = <?php echo intval($_smarty_tpl->tpl_vars['allowEmployeeFormLang']->value);?>
;
displayFlags(languages, id_language, allowEmployeeFormLang);
$(document).ready(function() {
$(".show_checkbox").click(function () {
$(this).addClass('hidden')
$(this).siblings('.checkbox').removeClass('hidden');
$(this).siblings('.hide_checkbox').removeClass('hidden');
return false;
});
$(".hide_checkbox").click(function () {
$(this).addClass('hidden')
$(this).siblings('.checkbox').addClass('hidden');
$(this).siblings('.show_checkbox').removeClass('hidden');
return false;
});
<?php if (isset($_smarty_tpl->tpl_vars['fields_value']->value['id_state'])) {?>
if ($('#id_country') && $('#id_state'))
{
ajaxStates(<?php echo $_smarty_tpl->tpl_vars['fields_value']->value['id_state'];?>
);
$('#id_country').change(function() {
ajaxStates();
});
}
<?php }?>
if ($(".datepicker").length > 0)
$(".datepicker").datepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
});
if ($(".datetimepicker").length > 0)
$('.datetimepicker').datetimepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd',
// Define a custom regional settings in order to use PrestaShop translation tools
currentText: '<?php echo smartyTranslate(array('s'=>'Now','js'=>1),$_smarty_tpl);?>
',
closeText: '<?php echo smartyTranslate(array('s'=>'Done','js'=>1),$_smarty_tpl);?>
',
ampm: false,
amNames: ['AM', 'A'],
pmNames: ['PM', 'P'],
timeFormat: 'hh:mm:ss tt',
timeSuffix: '',
timeOnlyTitle: '<?php echo smartyTranslate(array('s'=>'Choose Time','js'=>1),$_smarty_tpl);?>
',
timeText: '<?php echo smartyTranslate(array('s'=>'Time','js'=>1),$_smarty_tpl);?>
',
hourText: '<?php echo smartyTranslate(array('s'=>'Hour','js'=>1),$_smarty_tpl);?>
',
minuteText: '<?php echo smartyTranslate(array('s'=>'Minute','js'=>1),$_smarty_tpl);?>
',
});
<?php if (isset($_smarty_tpl->tpl_vars['use_textarea_autosize']->value)) {?>
$(".textarea-autosize").autosize();
<?php }?>
});
state_token = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminStates'),$_smarty_tpl);?>
';
</script>
<?php }?>
<?php }} ?>
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 09:01:42
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/helpers/form/form_group.tpl" */ ?>
<?php if ($_valid && !is_callable('content_5638be467a8993_46490274')) {function content_5638be467a8993_46490274($_smarty_tpl) {?>
<?php if (count($_smarty_tpl->tpl_vars['groups']->value)&&isset($_smarty_tpl->tpl_vars['groups']->value)) {?>
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered">
<thead>
<tr>
<th class="fixed-width-xs">
<span class="title_box">
<input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" />
</span>
</th>
<th class="fixed-width-xs"><span class="title_box"><?php echo smartyTranslate(array('s'=>'ID'),$_smarty_tpl);?>
</span></th>
<th>
<span class="title_box">
<?php echo smartyTranslate(array('s'=>'Group name'),$_smarty_tpl);?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['groups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
$_smarty_tpl->tpl_vars['group']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['group']->key;
?>
<tr>
<td>
<?php $_smarty_tpl->tpl_vars['id_checkbox'] = new Smarty_variable((('groupBox').('_')).($_smarty_tpl->tpl_vars['group']->value['id_group']), null, 0);?>
<input type="checkbox" name="groupBox[]" class="groupBox" id="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
" <?php if ($_smarty_tpl->tpl_vars['fields_value']->value[$_smarty_tpl->tpl_vars['id_checkbox']->value]) {?>checked="checked"<?php }?> />
</td>
<td><?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
</td>
<td>
<label for="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['group']->value['name'];?>
</label>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php } else { ?>
<p>
<?php echo smartyTranslate(array('s'=>'No group created'),$_smarty_tpl);?>
</p>
<?php }?><?php }} ?>

View File

@@ -1,174 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 03:27:08
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/page_header_toolbar.tpl" */ ?>
<?php /*%%SmartyHeaderCode:379268771563b12dc95d5e1-09615334%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'003705137b52c3df9c08b8fc99b1944df1053b3a' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/page_header_toolbar.tpl',
1 => 1446454904,
2 => 'file',
),
),
'nocache_hash' => '379268771563b12dc95d5e1-09615334',
'function' =>
array (
),
'variables' =>
array (
'title' => 0,
'page_header_toolbar_title' => 0,
'page_header_toolbar_btn' => 0,
'breadcrumbs2' => 0,
'toolbar_btn' => 0,
'k' => 0,
'table' => 0,
'btn' => 0,
'help_link' => 0,
'tab_modules_open' => 0,
'tab_modules_list' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b12dcac9e12_45606137',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b12dcac9e12_45606137')) {function content_563b12dcac9e12_45606137($_smarty_tpl) {?>
<?php if (!isset($_smarty_tpl->tpl_vars['title']->value)&&isset($_smarty_tpl->tpl_vars['page_header_toolbar_title']->value)) {?>
<?php $_smarty_tpl->tpl_vars['title'] = new Smarty_variable($_smarty_tpl->tpl_vars['page_header_toolbar_title']->value, null, 0);?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['page_header_toolbar_btn']->value)) {?>
<?php $_smarty_tpl->tpl_vars['toolbar_btn'] = new Smarty_variable($_smarty_tpl->tpl_vars['page_header_toolbar_btn']->value, null, 0);?>
<?php }?>
<div class="bootstrap">
<div class="page-head">
<h2 class="page-title">
<?php if (is_array($_smarty_tpl->tpl_vars['title']->value)) {?><?php echo htmlspecialchars(end($_smarty_tpl->tpl_vars['title']->value), ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php }?>
</h2>
<ul class="breadcrumb page-breadcrumb">
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['name']!='') {?>
<li class="breadcrumb-container">
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['href']!='') {?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['href'], ENT_QUOTES, 'UTF-8', true);?>
"><?php }?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['name'], ENT_QUOTES, 'UTF-8', true);?>
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['href']!='') {?></a><?php }?>
</li>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['name']!=''&&$_smarty_tpl->tpl_vars['breadcrumbs2']->value['container']['name']!=$_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['name']) {?>
<li class="breadcrumb-current">
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['href']!='') {?><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['href'], ENT_QUOTES, 'UTF-8', true);?>
"><?php }?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['name'], ENT_QUOTES, 'UTF-8', true);?>
<?php if ($_smarty_tpl->tpl_vars['breadcrumbs2']->value['tab']['href']!='') {?></a><?php }?>
</li>
<?php }?>
</ul>
<div class="page-bar toolbarBox">
<div class="btn-toolbar">
<a href="#" class="toolbar_btn dropdown-toolbar navbar-toggle" data-toggle="collapse" data-target="#toolbar-nav"><i class="process-icon-dropdown"></i><div><?php echo smartyTranslate(array('s'=>'Menu'),$_smarty_tpl);?>
</div></a>
<ul id="toolbar-nav" class="nav nav-pills pull-right collapse navbar-collapse">
<?php $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['btn']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['toolbar_btn']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) {
$_smarty_tpl->tpl_vars['btn']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['btn']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['k']->value!='back'&&$_smarty_tpl->tpl_vars['k']->value!='modules-list') {?>
<li>
<a id="page-header-desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['imgclass'])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['imgclass'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['k']->value;?>
<?php }?>" class="toolbar_btn <?php if (isset($_smarty_tpl->tpl_vars['btn']->value['target'])&&$_smarty_tpl->tpl_vars['btn']->value['target']) {?> _blank<?php }?> pointer"<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['href'])) {?> href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['href'], ENT_QUOTES, 'UTF-8', true);?>
"<?php }?> title="<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['help'])) {?><?php echo $_smarty_tpl->tpl_vars['btn']->value['help'];?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['desc'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?>"<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['js'])&&$_smarty_tpl->tpl_vars['btn']->value['js']) {?> onclick="<?php echo $_smarty_tpl->tpl_vars['btn']->value['js'];?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['btn']->value['modal_target'])&&$_smarty_tpl->tpl_vars['btn']->value['modal_target']) {?> data-target="<?php echo $_smarty_tpl->tpl_vars['btn']->value['modal_target'];?>
" data-toggle="modal"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['btn']->value['help'])) {?> data-toggle="tooltip" data-placement="bottom"<?php }?>>
<i class="<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['icon'])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['icon'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?>process-icon-<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['imgclass'])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['imgclass'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['k']->value;?>
<?php }?><?php }?><?php if (isset($_smarty_tpl->tpl_vars['btn']->value['class'])) {?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['class'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?>"></i>
<div<?php if (isset($_smarty_tpl->tpl_vars['btn']->value['force_desc'])&&$_smarty_tpl->tpl_vars['btn']->value['force_desc']==true) {?> class="locked"<?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['btn']->value['desc'], ENT_QUOTES, 'UTF-8', true);?>
</div>
</a>
</li>
<?php }?>
<?php } ?>
<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list'])) {?>
<li>
<a id="page-header-desc-<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
-<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['imgclass'])) {?><?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['imgclass'];?>
<?php } else { ?>modules-list<?php }?>" class="toolbar_btn<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['class'])) {?> <?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['class'];?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['target'])&&$_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['target']) {?> _blank<?php }?>" <?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['href'])) {?>href="<?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['href'];?>
"<?php }?> title="<?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['desc'];?>
"<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['js'])&&$_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['js']) {?> onclick="<?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['js'];?>
"<?php }?>>
<i class="<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['icon'])) {?><?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['icon'];?>
<?php } else { ?>process-icon-<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['imgclass'])) {?><?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['imgclass'];?>
<?php } else { ?>modules-list<?php }?><?php }?>"></i>
<div<?php if (isset($_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['force_desc'])&&$_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['force_desc']==true) {?> class="locked"<?php }?>><?php echo $_smarty_tpl->tpl_vars['toolbar_btn']->value['modules-list']['desc'];?>
</div>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['help_link']->value)) {?>
<li>
<a class="toolbar_btn btn-help" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['help_link']->value, ENT_QUOTES, 'UTF-8', true);?>
" title="<?php echo smartyTranslate(array('s'=>'Help'),$_smarty_tpl);?>
">
<i class="process-icon-help"></i>
<div><?php echo smartyTranslate(array('s'=>'Help'),$_smarty_tpl);?>
</div>
</a>
</li>
<?php }?>
</ul>
<?php if ((isset($_smarty_tpl->tpl_vars['tab_modules_open']->value)&&$_smarty_tpl->tpl_vars['tab_modules_open']->value)||isset($_smarty_tpl->tpl_vars['tab_modules_list']->value)) {?>
<script type="text/javascript">
//<![CDATA[
var modules_list_loaded = false;
<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_open']->value)&&$_smarty_tpl->tpl_vars['tab_modules_open']->value) {?>
$(function() {
$('#modules_list_container').modal('show');
openModulesList();
});
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value)) {?>
$('.process-icon-modules-list').parent('a').unbind().bind('click', function (){
$('#modules_list_container').modal('show');
openModulesList();
});
<?php }?>
//]]>
</script>
<?php }?>
</div>
</div>
</div>
</div>
<?php }} ?>

View File

@@ -1,626 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:42:22
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/controllers/products/helpers/form/form.tpl" */ ?>
<?php /*%%SmartyHeaderCode:76171280568df3b69f3778-97802327%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'005006a060124916d87ca4330416d263871a4d7c' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/controllers/products/helpers/form/form.tpl',
1 => 1452142913,
2 => 'file',
),
'93e8c95891b1ed240b793aea4f06c0720478b6ca' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/helpers/form/form.tpl',
1 => 1452142887,
2 => 'file',
),
'6474e48dc35dff86ce435137f9701d2c85cf61b6' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/helpers/form/form_group.tpl',
1 => 1452142887,
2 => 'file',
),
),
'nocache_hash' => '76171280568df3b69f3778-97802327',
'function' =>
array (
),
'variables' =>
array (
'fields' => 0,
'tabs' => 0,
'identifier_bk' => 0,
'identifier' => 0,
'table_bk' => 0,
'table' => 0,
'name_controller' => 0,
'current' => 0,
'token' => 0,
'style' => 0,
'form_id' => 0,
'submit_action' => 0,
'f' => 0,
'fieldset' => 0,
'key' => 0,
'field' => 0,
'input' => 0,
'contains_states' => 0,
'fields_value' => 0,
'hint' => 0,
'languages' => 0,
'language' => 0,
'defaultFormLanguage' => 0,
'value_text' => 0,
'name' => 0,
'value' => 0,
'option' => 0,
'optiongroup' => 0,
'field_value' => 0,
'id_checkbox' => 0,
'select' => 0,
'k' => 0,
'v' => 0,
'categories_tree' => 0,
'asso_shop' => 0,
'p' => 0,
'hookName' => 0,
'show_cancel_button' => 0,
'back_url' => 0,
'btn' => 0,
'tinymce' => 0,
'iso' => 0,
'ad' => 0,
'firstCall' => 0,
'vat_number' => 0,
'allowEmployeeFormLang' => 0,
'use_textarea_autosize' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df3b7513028_43982076',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df3b7513028_43982076')) {function content_568df3b7513028_43982076($_smarty_tpl) {?><?php if (!is_callable('smarty_function_counter')) include '/home/sumit/public_html/html/hotel-reservation-system/tools/smarty/plugins/function.counter.php';
?>
<?php if (isset($_smarty_tpl->tpl_vars['fields']->value['title'])) {?><h3><?php echo $_smarty_tpl->tpl_vars['fields']->value['title'];?>
</h3><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['tabs']->value)&&count($_smarty_tpl->tpl_vars['tabs']->value)) {?>
<script type="text/javascript">
var helper_tabs = <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_encode'][0][0]->jsonEncode($_smarty_tpl->tpl_vars['tabs']->value);?>
;
var unique_field_id = '';
</script>
<?php }?>
<div class="row">
<div class="productTabs col-lg-2 col-md-3">
<div class="list-group">
<?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tab']->_loop = false;
$_smarty_tpl->tpl_vars['numStep'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['product_tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) {
$_smarty_tpl->tpl_vars['tab']->_loop = true;
$_smarty_tpl->tpl_vars['numStep']->value = $_smarty_tpl->tpl_vars['tab']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['name']!="Pack") {?>
<a class="list-group-item <?php if ($_smarty_tpl->tpl_vars['tab']->value['selected']) {?>active<?php }?>" id="link-<?php echo $_smarty_tpl->tpl_vars['tab']->value['id'];?>
" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['tab']->value['href'], ENT_QUOTES, 'UTF-8', true);?>
&amp;updateproduct"><?php echo $_smarty_tpl->tpl_vars['tab']->value['name'];?>
</a>
<?php }?>
<?php } ?>
</div>
</div>
<script type="text/javascript">
var id_product = <?php if (isset($_smarty_tpl->tpl_vars['product']->value->id)) {?><?php echo $_smarty_tpl->tpl_vars['product']->value->id;?>
<?php } else { ?>0<?php }?>;
var id_lang_default = <?php echo $_smarty_tpl->tpl_vars['id_lang_default']->value;?>
;
var product_type_pack = <?php echo Product::PTYPE_PACK;?>
;
var product_type_virtual = <?php echo Product::PTYPE_VIRTUAL;?>
;
var product_type_simple = <?php echo Product::PTYPE_SIMPLE;?>
;
var has_combinations = <?php echo $_smarty_tpl->tpl_vars['has_combinations']->value;?>
;
var toload = new Array();
var empty_pack_msg = '<?php echo smartyTranslate(array('s'=>'This pack is empty. You will need to add at least one product to the pack before you can save.','js'=>1),$_smarty_tpl);?>
';
var empty_name_msg = '<?php echo smartyTranslate(array('s'=>'The product name is empty. You will at least need to enter a name for the default language before you can save the product.','js'=>1),$_smarty_tpl);?>
';
var empty_link_rewrite_msg = '<?php echo smartyTranslate(array('s'=>'The friendly URL is empty. You will at least need to enter a friendly URL for the default language before you can save the product.','slashes'=>1),$_smarty_tpl);?>
';
var reload_tab_title = '<?php echo smartyTranslate(array('s'=>'Confirmation','slashes'=>1),$_smarty_tpl);?>
';
var reload_tab_description = '<?php echo smartyTranslate(array('s'=>'A server error occurred while loading the tabs: some tabs could not be loaded.','js'=>1),$_smarty_tpl);?>
'+'\n'+'<?php echo smartyTranslate(array('s'=>'Please try again by refreshing the page.','js'=>1),$_smarty_tpl);?>
'+'\n'+'<?php echo smartyTranslate(array('s'=>'If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance.','js'=>1),$_smarty_tpl);?>
';
$('#product-tab-content-wait').show();
var post_data = <?php echo $_smarty_tpl->tpl_vars['post_data']->value;?>
;
var save_error = <?php if ($_smarty_tpl->tpl_vars['save_error']->value) {?>true<?php } else { ?>false<?php }?>;
var error_heading_msg = '<?php echo smartyTranslate(array('s'=>'Error','js'=>1),$_smarty_tpl);?>
';
var error_continue_msg = '<?php echo smartyTranslate(array('s'=>'Continue','js'=>1),$_smarty_tpl);?>
';
var product_type = <?php echo $_smarty_tpl->tpl_vars['product_type']->value;?>
;
<?php if (isset($_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value)&&$_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value) {?>
var display_multishop_checkboxes = true;
<?php } else { ?>
var display_multishop_checkboxes = false;
<?php }?>
var tabs_preloaded = new Array();
var tabs_to_preload = new Array();
var mod_evasive = <?php if (isset($_smarty_tpl->tpl_vars['mod_evasive']->value)&&$_smarty_tpl->tpl_vars['mod_evasive']->value) {?>true<?php } else { ?>false<?php }?>;
var mod_security = <?php if (isset($_smarty_tpl->tpl_vars['mod_security']->value)&&$_smarty_tpl->tpl_vars['mod_security']->value) {?>true<?php } else { ?>false<?php }?>;
$(document).ready(function()
{
if (product_type == product_type_pack)
{
$('a[id*="VirtualProduct"]').hide();
$('a[id*="Combinations"]').hide();
}
else if (product_type == product_type_virtual)
{
$('a[id*="Pack"]').hide();
$('a[id*="Shipping"]').hide();
$('a[id*="Combinations"]').hide();
}
else
{
$('a[id*="Pack"]').hide();
$('a[id*="VirtualProduct"]').hide();
}
$('#desc-product-newCombination').hide();
$(".productTabs a").click(function(e){
e.preventDefault();
// currentId is the current product tab id
currentId = false;
if ($(".productTabs a.active").length)
currentId = $(".productTabs a.active").attr('id').substr(5);
// id is the wanted producttab id
id = $(this).attr('id').substr(5);
// Update submit button value
var split_position = id.indexOf('-') + 1;
var btn_name = id.substr(split_position);
if ((btn_name == 'VirtualProduct' || btn_name == 'Pack') && $('#name_' + id_lang_default).val() == '')
{
alert(missing_product_name);
$('#name_' + id_lang_default).focus();
return false;
}
$('#key_tab').val(btn_name);
if ($(this).attr("id") != $(".productTabs a.active ").attr('id'))
{
$(".productTabs a").removeClass('active');
$("#product-tab-content-"+currentId).hide();
}
// if the tab has not already been loaded, load it now
tabs_manager.display(id, true);
tabs_manager.onLoad(id, function(){
$("#product-tab-content-"+id).show(0, function(){
$(this).trigger('displayed');
});
$("#link-"+id).addClass('active');
});
var languages = new Array();
if (btn_name == "Combinations")
{
$('#desc-product-new').hide();
$('#desc-product-newCombination').show();
populate_attrs();
}
else if (btn_name == "Attachments")
{
handleSaveButtons();
}
else
{
$('#desc-product-newCombination').hide();
// if pack is enabled, save button are visible only if pack is valid
if ($("input[name='id_product']").val() != 0 || btn_name != 'Informations')
handleSaveButtons();
}
$('.label-tooltip').tooltip();
});
$(".productTabs a.active").click();
// disable save if Associations tab is not loaded
if ($('#product-tab-content-Associations').hasClass('not-loaded'))
disableSave();
tabs_manager.onLoad('Associations', function(){
if ($("input[name='id_product']").val() != 0)
handleSaveButtons();
});
$('.confirm_leave').live('click', function(){
// Double quotes are necessary when the translated string has single quotes
return confirm("<?php echo smartyTranslate(array('s'=>'You will lose all unsaved modifications. Are you sure that you want to proceed?','js'=>1),$_smarty_tpl);?>
");
});
$('#toolbar-footer').appendTo($('#product-tab-content-Informations').children('.product-tab'));
$('.product-tab-content').on('displayed', function(e) {
$('#toolbar-footer').appendTo($(this).children('.product-tab'));
});
});
// Listen to the load event that is fired each time an ajax call to load a tab has completed
$(window).bind("load", function() {
var tabs_to_preload = new Array();
<?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
$_smarty_tpl->tpl_vars['tab_name'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['tabs_preloaded']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
$_smarty_tpl->tpl_vars['tab_name']->value = $_smarty_tpl->tpl_vars['value']->key;
?>
<?php if ((is_numeric($_smarty_tpl->tpl_vars['value']->value))) {?>
if ($("#product-tab-content-"+'<?php echo $_smarty_tpl->tpl_vars['tab_name']->value;?>
').hasClass('not-loaded'))
tabs_to_preload.push('<?php echo $_smarty_tpl->tpl_vars['tab_name']->value;?>
');
<?php }?>
<?php } ?>
// Recursively load tabs starting with the first element of stack
tabs_manager.displayBulk(tabs_to_preload);
$('.productTabs').show();
$('#product-tab-content-wait').hide();
function checkIfProductTypeIsPack() {
var typeIsPack = $('#pack_product').is(':checked');
if (typeIsPack && $('#inputPackItems').val()=='' ) {
$('.pack-empty-warning').removeClass('alert-warning').addClass('alert-danger');
$('#curPackItemName').select2('open');
}
return typeIsPack;
}
$("#product_form").validate({
ignore: '.updateCurrentText',
rules: {
inputPackItems: {
required: {
depends: checkIfProductTypeIsPack
},
}
},
messages: {
inputPackItems: {
required: ""
}
},
submitHandler: function(form) {
form.submit();
},
// override jquery validate plugin defaults for bootstrap 3
highlight: function(element) {
$(element).closest('.form-group').addClass('has-error');
},
unhighlight: function(element) {
$(element).closest('.form-group').removeClass('has-error');
},
errorElement: 'span',
errorClass: 'help-block',
errorPlacement: function(error, element) {
if(element.parent('.input-group').length) {
error.insertAfter(element.parent());
} else {
error.insertAfter(element);
}
}
});
});
</script>
<script type="text/javascript">
// <![CDATA[
ThickboxI18nImage = "<?php echo smartyTranslate(array('s'=>'Image'),$_smarty_tpl);?>
";
ThickboxI18nOf = "<?php echo smartyTranslate(array('s'=>'of'),$_smarty_tpl);?>
";
ThickboxI18nClose = "<?php echo smartyTranslate(array('s'=>'Close'),$_smarty_tpl);?>
";
ThickboxI18nOrEscKey = "<?php echo smartyTranslate(array('s'=>'(or "Esc")'),$_smarty_tpl);?>
";
ThickboxI18nNext = "<?php echo smartyTranslate(array('s'=>'Next >'),$_smarty_tpl);?>
";
ThickboxI18nPrev = "<?php echo smartyTranslate(array('s'=>'< Previous'),$_smarty_tpl);?>
";
tb_pathToImage = "../img/loadingAnimation.gif";
//]]>
</script>
<div id="product-tab-content-wait" style="display:none">
<div id="loading"><i class="icon-refresh icon-spin"></i>&nbsp;<?php echo smartyTranslate(array('s'=>'Loading...'),$_smarty_tpl);?>
</div>
</div>
<form id="product_form" class="form-horizontal col-lg-10 col-md-9" action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['form_action']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" enctype="multipart/form-data" name="product" novalidate>
<input type="hidden" name="id_product" value="<?php echo $_smarty_tpl->tpl_vars['id_product']->value;?>
" />
<!-- <input type="hidden" id="is_virtual" name="is_virtual" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->is_virtual, ENT_QUOTES, 'UTF-8', true);?>
" /> -->
<!-- changed input field to make product virtual by default -->
<input type="hidden" id="is_virtual" name="is_virtual" value="1"/>
<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>
<input type="hidden" id="page" name="page" value="<?php echo intval($_REQUEST['page']);?>
" />
<?php }?>
<?php if (!$_smarty_tpl->tpl_vars['product']->value->active&&$_smarty_tpl->tpl_vars['product']->value->isAssociatedToShop()) {?>
<div class="alert alert-info draft" >
<?php echo smartyTranslate(array('s'=>'Your product will be saved as a draft.'),$_smarty_tpl);?>
<a href="#" class="btn btn-default" onclick="submitAddProductAndPreview()" ><i class="icon-eye-open"></i>&nbsp;<?php echo smartyTranslate(array('s'=>'Save and preview'),$_smarty_tpl);?>
</a>
<input type="hidden" name="fakeSubmitAddProductAndPreview" id="fakeSubmitAddProductAndPreview" />
</div>
<?php }?>
<?php $_smarty_tpl->tpl_vars['tab'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tab']->_loop = false;
$_smarty_tpl->tpl_vars['numStep'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['product_tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tab']->key => $_smarty_tpl->tpl_vars['tab']->value) {
$_smarty_tpl->tpl_vars['tab']->_loop = true;
$_smarty_tpl->tpl_vars['numStep']->value = $_smarty_tpl->tpl_vars['tab']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['id']!="Pack") {?>
<div id="product-tab-content-<?php echo $_smarty_tpl->tpl_vars['tab']->value['id'];?>
" class="<?php if (!$_smarty_tpl->tpl_vars['tab']->value['selected']) {?>not-loaded<?php }?> product-tab-content" <?php if (!$_smarty_tpl->tpl_vars['tab']->value['selected']) {?>style="display:none"<?php }?>>
<?php if ($_smarty_tpl->tpl_vars['tab']->value['selected']) {?>
<?php echo $_smarty_tpl->tpl_vars['custom_form']->value;?>
<?php }?>
</div>
<?php }?>
<?php } ?>
<input type="hidden" name="id_product_attribute" id="id_product_attribute" value="0" />
<input type="hidden" name="key_tab" id="key_tab" value="Informations" />
</form>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['tinymce']->value)&&$_smarty_tpl->tpl_vars['tinymce']->value) {?>
<script type="text/javascript">
var iso = '<?php echo addslashes($_smarty_tpl->tpl_vars['iso']->value);?>
';
var pathCSS = '<?php echo addslashes(@constant('_THEME_CSS_DIR_'));?>
';
var ad = '<?php echo addslashes($_smarty_tpl->tpl_vars['ad']->value);?>
';
$(document).ready(function(){
// Execute when tab Informations has finished loading
tabs_manager.onLoad('Informations', function(){
tinySetup({
editor_selector :"autoload_rte",
setup : function(ed) {
ed.on('init', function(ed)
{
if (typeof ProductMultishop.load_tinymce[ed.target.id] != 'undefined')
{
if (typeof ProductMultishop.load_tinymce[ed.target.id])
tinyMCE.get(ed.target.id).hide();
else
tinyMCE.get(ed.target.id).show();
}
});
ed.on('keydown', function(ed, e) {
tinyMCE.triggerSave();
textarea = $('#'+tinymce.activeEditor.id);
var max = textarea.parent('div').find('span.counter').data('max');
if (max != 'none')
{
count = tinyMCE.activeEditor.getBody().textContent.length;
rest = max - count;
if (rest < 0)
textarea.parent('div').find('span.counter').html('<span style="color:red;"><?php echo smartyTranslate(array('s'=>'Maximum'),$_smarty_tpl);?>
'+ max +' <?php echo smartyTranslate(array('s'=>'characters'),$_smarty_tpl);?>
: '+rest+'</span>');
else
textarea.parent('div').find('span.counter').html(' ');
}
});
}
});
});
});
</script>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['firstCall']->value) {?>
<script type="text/javascript">
var module_dir = '<?php echo @constant('_MODULE_DIR_');?>
';
var id_language = <?php echo intval($_smarty_tpl->tpl_vars['defaultFormLanguage']->value);?>
;
var languages = new Array();
var vat_number = <?php if ($_smarty_tpl->tpl_vars['vat_number']->value) {?>1<?php } else { ?>0<?php }?>;
// Multilang field setup must happen before document is ready so that calls to displayFlags() to avoid
// precedence conflicts with other document.ready() blocks
<?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['language']->key;
?>
languages[<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
] = {
id_lang: <?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
,
iso_code: '<?php echo $_smarty_tpl->tpl_vars['language']->value['iso_code'];?>
',
name: '<?php echo $_smarty_tpl->tpl_vars['language']->value['name'];?>
',
is_default: '<?php echo $_smarty_tpl->tpl_vars['language']->value['is_default'];?>
'
};
<?php } ?>
// we need allowEmployeeFormLang var in ajax request
allowEmployeeFormLang = <?php echo intval($_smarty_tpl->tpl_vars['allowEmployeeFormLang']->value);?>
;
displayFlags(languages, id_language, allowEmployeeFormLang);
$(document).ready(function() {
$(".show_checkbox").click(function () {
$(this).addClass('hidden')
$(this).siblings('.checkbox').removeClass('hidden');
$(this).siblings('.hide_checkbox').removeClass('hidden');
return false;
});
$(".hide_checkbox").click(function () {
$(this).addClass('hidden')
$(this).siblings('.checkbox').addClass('hidden');
$(this).siblings('.show_checkbox').removeClass('hidden');
return false;
});
<?php if (isset($_smarty_tpl->tpl_vars['fields_value']->value['id_state'])) {?>
if ($('#id_country') && $('#id_state'))
{
ajaxStates(<?php echo $_smarty_tpl->tpl_vars['fields_value']->value['id_state'];?>
);
$('#id_country').change(function() {
ajaxStates();
});
}
<?php }?>
if ($(".datepicker").length > 0)
$(".datepicker").datepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd'
});
if ($(".datetimepicker").length > 0)
$('.datetimepicker').datetimepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd',
// Define a custom regional settings in order to use PrestaShop translation tools
currentText: '<?php echo smartyTranslate(array('s'=>'Now','js'=>1),$_smarty_tpl);?>
',
closeText: '<?php echo smartyTranslate(array('s'=>'Done','js'=>1),$_smarty_tpl);?>
',
ampm: false,
amNames: ['AM', 'A'],
pmNames: ['PM', 'P'],
timeFormat: 'hh:mm:ss tt',
timeSuffix: '',
timeOnlyTitle: '<?php echo smartyTranslate(array('s'=>'Choose Time','js'=>1),$_smarty_tpl);?>
',
timeText: '<?php echo smartyTranslate(array('s'=>'Time','js'=>1),$_smarty_tpl);?>
',
hourText: '<?php echo smartyTranslate(array('s'=>'Hour','js'=>1),$_smarty_tpl);?>
',
minuteText: '<?php echo smartyTranslate(array('s'=>'Minute','js'=>1),$_smarty_tpl);?>
',
});
<?php if (isset($_smarty_tpl->tpl_vars['use_textarea_autosize']->value)) {?>
$(".textarea-autosize").autosize();
<?php }?>
});
state_token = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminStates'),$_smarty_tpl);?>
';
</script>
<?php }?>
<?php }} ?>
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:42:23
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/helpers/form/form_group.tpl" */ ?>
<?php if ($_valid && !is_callable('content_568df3b71fe0e8_18950279')) {function content_568df3b71fe0e8_18950279($_smarty_tpl) {?>
<?php if (count($_smarty_tpl->tpl_vars['groups']->value)&&isset($_smarty_tpl->tpl_vars['groups']->value)) {?>
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered">
<thead>
<tr>
<th class="fixed-width-xs">
<span class="title_box">
<input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" />
</span>
</th>
<th class="fixed-width-xs"><span class="title_box"><?php echo smartyTranslate(array('s'=>'ID'),$_smarty_tpl);?>
</span></th>
<th>
<span class="title_box">
<?php echo smartyTranslate(array('s'=>'Group name'),$_smarty_tpl);?>
</span>
</th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['groups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
$_smarty_tpl->tpl_vars['group']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['group']->key;
?>
<tr>
<td>
<?php $_smarty_tpl->tpl_vars['id_checkbox'] = new Smarty_variable((('groupBox').('_')).($_smarty_tpl->tpl_vars['group']->value['id_group']), null, 0);?>
<input type="checkbox" name="groupBox[]" class="groupBox" id="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
" <?php if ($_smarty_tpl->tpl_vars['fields_value']->value[$_smarty_tpl->tpl_vars['id_checkbox']->value]) {?>checked="checked"<?php }?> />
</td>
<td><?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
</td>
<td>
<label for="<?php echo $_smarty_tpl->tpl_vars['id_checkbox']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['group']->value['name'];?>
</label>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php } else { ?>
<p>
<?php echo smartyTranslate(array('s'=>'No group created'),$_smarty_tpl);?>
</p>
<?php }?><?php }} ?>

View File

@@ -1,136 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 03:27:08
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1657584851563b12dcb75c02-39896181%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'007f2c1830d7ca54125b1803f3b213bf1723589f' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/footer.tpl',
1 => 1446454904,
2 => 'file',
),
),
'nocache_hash' => '1657584851563b12dcb75c02-39896181',
'function' =>
array (
),
'variables' =>
array (
'display_footer' => 0,
'timer_start' => 0,
'lang_iso' => 0,
'host_mode' => 0,
'iso_is_fr' => 0,
'php_errors' => 0,
'modals' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b12dcbc0ad6_02265431',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b12dcbc0ad6_02265431')) {function content_563b12dcbc0ad6_02265431($_smarty_tpl) {?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['display_footer']->value) {?>
<div id="footer" class="bootstrap hide">
<div class="col-sm-2 hidden-xs">
<a href="http://www.prestashop.com/" class="_blank">PrestaShop&trade;</a>
-
<span id="footer-load-time"><i class="icon-time" title="<?php echo smartyTranslate(array('s'=>'Load time: '),$_smarty_tpl);?>
"></i> <?php echo number_format(microtime(true)-$_smarty_tpl->tpl_vars['timer_start']->value,3,'.','');?>
s</span>
</div>
<div class="col-sm-2 hidden-xs">
<div class="social-networks">
<a class="link-social link-twitter _blank" href="https://twitter.com/PrestaShop" title="Twitter">
<i class="icon-twitter"></i>
</a>
<a class="link-social link-facebook _blank" href="https://www.facebook.com/prestashop" title="Facebook">
<i class="icon-facebook"></i>
</a>
<a class="link-social link-github _blank" href="https://www.prestashop.com/github" title="Github">
<i class="icon-github"></i>
</a>
<a class="link-social link-google _blank" href="https://plus.google.com/+prestashop/" title="Google">
<i class="icon-google-plus"></i>
</a>
</div>
</div>
<div class="col-sm-5">
<div class="footer-contact">
<a href="http://www.prestashop.com/en/contact_us?utm_source=back-office&amp;utm_medium=footer&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="footer_link _blank">
<i class="icon-envelope"></i>
<?php echo smartyTranslate(array('s'=>'Contact'),$_smarty_tpl);?>
</a>
/&nbsp;
<a href="http://forge.prestashop.com/?utm_source=back-office&amp;utm_medium=footer&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="footer_link _blank">
<i class="icon-bug"></i>
<?php echo smartyTranslate(array('s'=>'Bug Tracker'),$_smarty_tpl);?>
</a>
/&nbsp;
<a href="http://www.prestashop.com/forums/?utm_source=back-office&amp;utm_medium=footer&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="footer_link _blank">
<i class="icon-comments"></i>
<?php echo smartyTranslate(array('s'=>'Forum'),$_smarty_tpl);?>
</a>
/&nbsp;
<a href="http://addons.prestashop.com/?utm_source=back-office&amp;utm_medium=footer&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="footer_link _blank">
<i class="icon-puzzle-piece"></i>
<?php echo smartyTranslate(array('s'=>'Addons'),$_smarty_tpl);?>
</a>
/&nbsp;
<a href="http://www.prestashop.com/en/training-prestashop?utm_source=back-office&amp;utm_medium=footer&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
&amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="footer_link _blank">
<i class="icon-book"></i>
<?php echo smartyTranslate(array('s'=>'Training'),$_smarty_tpl);?>
</a>
<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>
/&nbsp;
<a href="http://status.prestashop.com/" class="footer_link _blank">
<i class="icon-circle status-page-dot"></i>
<span class="status-page-description"></span>
</a>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['iso_is_fr']->value&&!$_smarty_tpl->tpl_vars['host_mode']->value) {?>
<p>Questions • Renseignements • Formations :
<strong>+33 (0)1.40.18.30.04</strong>
</p>
<?php }?>
</div>
</div>
<div class="col-sm-3">
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h'=>"displayBackOfficeFooter"),$_smarty_tpl);?>
</div>
<div id="go-top" class="hide"><i class="icon-arrow-up"></i></div>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['php_errors']->value)) {?>
<?php echo $_smarty_tpl->getSubTemplate ("error.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['modals']->value)) {?>
<div class="bootstrap">
<?php echo $_smarty_tpl->tpl_vars['modals']->value;?>
</div>
<?php }?>
</body>
</html>
<?php }} ?>

View File

@@ -1,34 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 18:44:55
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/helpers/list/list_action_removestock.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1749460814563b564f74e9f4-44057751%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'00a81e854b5209258bfc636bb76ed00b306a7dec' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/helpers/list/list_action_removestock.tpl',
1 => 1446729263,
2 => 'file',
),
),
'nocache_hash' => '1749460814563b564f74e9f4-44057751',
'function' =>
array (
),
'variables' =>
array (
'href' => 0,
'action' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b564f758df1_24217379',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b564f758df1_24217379')) {function content_563b564f758df1_24217379($_smarty_tpl) {?>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['href']->value, ENT_QUOTES, 'UTF-8', true);?>
" title="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['action']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<i class="icon-circle-arrow-down"></i> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['action']->value, ENT_QUOTES, 'UTF-8', true);?>
</a>
<?php }} ?>

View File

@@ -1,91 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 18:44:56
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/controllers/customers/helpers/required_fields.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1323062209563b565008d771-06688553%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'00ba942f6ff56fe6a1773efe4d11e96a0cebbb82' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/controllers/customers/helpers/required_fields.tpl',
1 => 1446729265,
2 => 'file',
),
),
'nocache_hash' => '1323062209563b565008d771-06688553',
'function' =>
array (
),
'variables' =>
array (
'current' => 0,
'token' => 0,
'table_fields' => 0,
'field' => 0,
'required_class_fields' => 0,
'required_fields' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b56500ab646_85445810',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b56500ab646_85445810')) {function content_563b56500ab646_85445810($_smarty_tpl) {?>
<a class="btn btn-default" href="#" onclick="if ($('.requiredFieldsParameters:visible').length == 0) $('.requiredFieldsParameters').slideDown('slow'); else $('.requiredFieldsParameters').slideUp('slow'); return false;">
<i class="icon-plus-sign"></i> <?php echo smartyTranslate(array('s'=>'Set required fields for this section'),$_smarty_tpl);?>
</a>
<div class="clearfix">&nbsp;</div>
<div style="display:none" class="panel requiredFieldsParameters">
<h3><i class="icon-asterisk"></i> <?php echo smartyTranslate(array('s'=>'Required Fields'),$_smarty_tpl);?>
</h3>
<form name="updateFields" action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;submitFields=1&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post">
<div class="alert alert-info">
<?php echo smartyTranslate(array('s'=>'Select the fields you would like to be required for this section.'),$_smarty_tpl);?>
<br/>
<?php echo smartyTranslate(array('s'=>'Please make sure you are complying with the opt-in legislation applicable in your country.'),$_smarty_tpl);?>
</div>
<div class="row">
<table class="table">
<thead>
<tr>
<th class="fixed-width-xs">
<input type="checkbox" onclick="checkDelBoxes(this.form, 'fieldsBox[]', this.checked)" class="noborder" name="checkme">
</th>
<th><span class="title_box"><?php echo smartyTranslate(array('s'=>'Field Name'),$_smarty_tpl);?>
</span></th>
</tr>
</thead>
<tbody>
<?php $_smarty_tpl->tpl_vars['field'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['table_fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['field']->key => $_smarty_tpl->tpl_vars['field']->value) {
$_smarty_tpl->tpl_vars['field']->_loop = true;
?>
<?php if (!in_array($_smarty_tpl->tpl_vars['field']->value,$_smarty_tpl->tpl_vars['required_class_fields']->value)) {?>
<tr>
<td class="noborder">
<input type="checkbox" name="fieldsBox[]" value="<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
" <?php if (in_array($_smarty_tpl->tpl_vars['field']->value,$_smarty_tpl->tpl_vars['required_fields']->value)) {?> checked="checked"<?php }?> />
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['field']->value;?>
</td>
</tr>
<?php }?>
<?php } ?>
</tbody>
</table>
</div>
<div class="panel-footer">
<button name="submitFields" type="submit" class="btn btn-default pull-right">
<i class="process-icon-save "></i> <span><?php echo smartyTranslate(array('s'=>'Save'),$_smarty_tpl);?>
</span>
</button>
</div>
</form>
</div>
<?php }} ?>

View File

@@ -1,263 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:42:28
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/controllers/products/helpers/uploader/ajax.tpl" */ ?>
<?php /*%%SmartyHeaderCode:358276199568df3bca64d59-11406349%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'00c71d774921f962374fb0f85e7420246b5d26e5' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin_htl/themes/default/template/controllers/products/helpers/uploader/ajax.tpl',
1 => 1452142913,
2 => 'file',
),
),
'nocache_hash' => '358276199568df3bca64d59-11406349',
'function' =>
array (
),
'variables' =>
array (
'id' => 0,
'name' => 0,
'url' => 0,
'multiple' => 0,
'max_files' => 0,
'files' => 0,
'post_max_size' => 0,
'default_language' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df3bcb7c918_86804460',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df3bcb7c918_86804460')) {function content_568df3bcb7c918_86804460($_smarty_tpl) {?>
<div class="form-group">
<div class="col-lg-12">
<input id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
" type="file" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[]"<?php if (isset($_smarty_tpl->tpl_vars['url']->value)) {?> data-url="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?> multiple="multiple"<?php }?> style="width:0px;height:0px;" />
<button class="btn btn-default" data-style="expand-right" data-size="s" type="button" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-add-button">
<i class="icon-folder-open"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Add files...'),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Add file...'),$_smarty_tpl);?>
<?php }?>
</button>
</div>
</div>
<div class="well" style="display:none">
<div id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list"></div>
<button class="ladda-button btn btn-primary" data-style="expand-right" type="button" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-upload-button" style="display:none;">
<span class="ladda-label"><i class="icon-check"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Upload files'),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Upload file'),$_smarty_tpl);?>
<?php }?></span>
</button>
</div>
<div class="row" style="display:none">
<div class="alert alert-success" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-success"></div>
</div>
<div class="row" style="display:none">
<div class="alert alert-danger" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-errors"></div>
</div>
<script type="text/javascript">
function humanizeSize(bytes)
{
if (typeof bytes !== 'number') {
return '';
}
if (bytes >= 1000000000) {
return (bytes / 1000000000).toFixed(2) + ' GB';
}
if (bytes >= 1000000) {
return (bytes / 1000000).toFixed(2) + ' MB';
}
return (bytes / 1000).toFixed(2) + ' KB';
}
$( document ).ready(function() {
<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&isset($_smarty_tpl->tpl_vars['max_files']->value)) {?>
var <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files = <?php echo $_smarty_tpl->tpl_vars['max_files']->value-count($_smarty_tpl->tpl_vars['files']->value);?>
;
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['files']->value)&&$_smarty_tpl->tpl_vars['files']->value) {?>
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-images-thumbnails').parent().show();
<?php }?>
var <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_upload_button = Ladda.create( document.querySelector('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-upload-button' ));
var <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files = 0;
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').fileupload({
dataType: 'json',
async: false,
autoUpload: false,
singleFileUploads: true,
maxFileSize: <?php echo $_smarty_tpl->tpl_vars['post_max_size']->value;?>
,
start: function (e) {
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_upload_button.start();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-upload-button').unbind('click'); //Important as we bind it for every elements in add function
},
fail: function (e, data) {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-errors').html(data.errorThrown.message).parent().show();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').html('').parent().hide();
},
done: function (e, data) {
if (data.result) {
if (typeof data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
!== 'undefined') {
for (var i=0; i<data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
.length; i++) {
if (typeof data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i].error !== 'undefined' && data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i].error != '') {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-errors').html('<strong>'+data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i].name+'</strong> : '+data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i].error).parent().show();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').html('').parent().hide();
}
else
{
$(data.context).appendTo($('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-success'));
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-success').parent().show();
if (data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i] !== null && data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i].status == 'ok')
{
var response = data.result.<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
[i];
var cover = "icon-check-empty";
var legend = '';
if (response.cover == "1")
cover = "icon-check-sign";
if (typeof response.legend !== 'undefined' && response.legend != null)
legend = response.legend[<?php echo intval($_smarty_tpl->tpl_vars['default_language']->value);?>
];
imageLine(response.id, response.path, response.position, cover, response.shops, legend);
$("#countImage").html(parseInt($("#countImage").html()) + 1);
$("#img" + id).remove();
$("#imageTable").tableDnDUpdate();
}
}
}
}
$(data.context).find('button').remove();
}
},
}).on('fileuploadalways', function (e, data) {
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files--;
if (<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files == 0)
{
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_upload_button.stop();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-upload-button').unbind('click');
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').parent().hide();
}
}).on('fileuploadadd', function(e, data) {
if (typeof <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files !== 'undefined') {
if (<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files >= <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files) {
e.preventDefault();
alert('<?php echo smartyTranslate(array('s'=>sprintf('You can upload a maximum of %s files',$_smarty_tpl->tpl_vars['max_files']->value)),$_smarty_tpl);?>
');
return;
}
}
data.context = $('<div/>').addClass('form-group').appendTo($('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list'));
var file_name = $('<span/>').append('<i class="icon-picture-o"></i> <strong>'+data.files[0].name+'</strong> ('+humanizeSize(data.files[0].size)+')').appendTo(data.context);
var button = $('<button/>').addClass('btn btn-default pull-right').prop('type', 'button').html('<i class="icon-trash"></i> <?php echo smartyTranslate(array('s'=>'Remove file'),$_smarty_tpl);?>
').appendTo(data.context).on('click', function() {
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files--;
data.files = null;
var total_elements = $(this).parent().siblings('div.form-group').length;
$(this).parent().remove();
if (total_elements == 0) {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').html('').parent().hide();
}
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').parent().show();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-upload-button').show().bind('click', function () {
if (data.files != null)
data.submit();
});
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_total_files++;
}).on('fileuploadprocessalways', function (e, data) {
var index = data.index, file = data.files[index];
if (file.error) {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-errors').append('<div class="form-group"><i class="icon-picture-o"></i> <strong>'+file.name+'</strong> ('+humanizeSize(file.size)+') : '+file.error+'</div>').parent().show();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-files-list').html('').parent().hide();
$(data.context).find('button').trigger('click');
}
}).on('fileuploadsubmit', function (e, data) {
var params = new Object();
$('input[id^="legend_"]').each(function()
{
id = $(this).prop("id").replace("legend_", "legend[") + "]";
params[id] = $(this).val();
});
data.formData = params;
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-add-button').on('click', function() {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-success').html('').parent().hide();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-errors').html('').parent().hide();
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').trigger('click');
});
});
</script>
<?php }} ?>

View File

@@ -1,29 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:59
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/products/helpers/tree/tree_associated_header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:43292648056ab3ba3cdc0a6-86254848%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'00d05ec06446dcdb7456504771ced47c76c293e6' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/products/helpers/tree/tree_associated_header.tpl',
1 => 1454062130,
2 => 'file',
),
),
'nocache_hash' => '43292648056ab3ba3cdc0a6-86254848',
'function' =>
array (
),
'variables' =>
array (
'toolbar' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3ba3ce25a2_60673107',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3ba3ce25a2_60673107')) {function content_56ab3ba3ce25a2_60673107($_smarty_tpl) {?>
<div class="tree-panel-heading-controls clearfix"><?php if (isset($_smarty_tpl->tpl_vars['toolbar']->value)) {?><?php echo $_smarty_tpl->tpl_vars['toolbar']->value;?>
<?php }?></div>
<?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:55
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/helpers/tree/tree_node_item_checkbox.tpl" */ ?>
<?php /*%%SmartyHeaderCode:123878614056ab3b9f48f962-10430115%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0156ecb0cd31ad1ec0e6ff51bd33281feef780c0' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/helpers/tree/tree_node_item_checkbox.tpl',
1 => 1454062117,
2 => 'file',
),
),
'nocache_hash' => '123878614056ab3b9f48f962-10430115',
'function' =>
array (
),
'variables' =>
array (
'node' => 0,
'input_name' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3b9f4a7e85_49527711',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3b9f4a7e85_49527711')) {function content_56ab3b9f4a7e85_49527711($_smarty_tpl) {?>
<li class="tree-item<?php if (isset($_smarty_tpl->tpl_vars['node']->value['disabled'])&&$_smarty_tpl->tpl_vars['node']->value['disabled']==true) {?> tree-item-disable<?php }?>">
<span class="tree-item-name<?php if (isset($_smarty_tpl->tpl_vars['node']->value['disabled'])&&$_smarty_tpl->tpl_vars['node']->value['disabled']==true) {?> tree-item-name-disable<?php }?>">
<input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['input_name']->value;?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['node']->value['id_category'];?>
"<?php if (isset($_smarty_tpl->tpl_vars['node']->value['disabled'])&&$_smarty_tpl->tpl_vars['node']->value['disabled']==true) {?> disabled="disabled"<?php }?> />
<i class="tree-dot"></i>
<label class="tree-toggler"><?php echo $_smarty_tpl->tpl_vars['node']->value['name'];?>
</label>
</span>
</li><?php }} ?>

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 03:27:08
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/controllers/login/layout.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1828694201563b12dcbc4198-96307789%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'01abb802fb58d89cc8f86ef6b3519e0d1e9e1ec4' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin584hec64n/themes/default/template/controllers/login/layout.tpl',
1 => 1446455063,
2 => 'file',
),
),
'nocache_hash' => '1828694201563b12dcbc4198-96307789',
'function' =>
array (
),
'variables' =>
array (
'header' => 0,
'page' => 0,
'footer' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b12dcbcaa06_10672086',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b12dcbcaa06_10672086')) {function content_563b12dcbcaa06_10672086($_smarty_tpl) {?>
<?php echo $_smarty_tpl->tpl_vars['header']->value;?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php echo $_smarty_tpl->tpl_vars['footer']->value;?>
<?php }} ?>

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:35:30
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/controllers/scenes/helpers/tree/tree_node_item_checkbox.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1842478152568df21a3e2565-25072537%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'01afc33690c9f061c1f28e82a959b567c8f7079c' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/controllers/scenes/helpers/tree/tree_node_item_checkbox.tpl',
1 => 1452142914,
2 => 'file',
),
),
'nocache_hash' => '1842478152568df21a3e2565-25072537',
'function' =>
array (
),
'variables' =>
array (
'node' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df21a3fe5d4_84914154',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df21a3fe5d4_84914154')) {function content_568df21a3fe5d4_84914154($_smarty_tpl) {?>
<li class="tree-item<?php if (isset($_smarty_tpl->tpl_vars['node']->value['disabled'])&&$_smarty_tpl->tpl_vars['node']->value['disabled']==true) {?> tree-item-disable<?php }?>">
<span class="tree-item-name">
<input type="checkbox" name="categories[]" value="<?php echo $_smarty_tpl->tpl_vars['node']->value['id_category'];?>
"<?php if (isset($_smarty_tpl->tpl_vars['node']->value['disabled'])&&$_smarty_tpl->tpl_vars['node']->value['disabled']==true) {?> disabled="disabled"<?php }?> />
<i class="tree-dot"></i>
<label class="tree-toggler"><?php echo $_smarty_tpl->tpl_vars['node']->value['name'];?>
</label>
</span>
</li><?php }} ?>

View File

@@ -1,37 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 08:52:26
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/helpers/modules_list/modal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14315129485638bc1ae27335-68525910%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0204e5edeb347bc9b1f61628cb390b7ba2e81bc7' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/helpers/modules_list/modal.tpl',
1 => 1446455061,
2 => 'file',
),
),
'nocache_hash' => '14315129485638bc1ae27335-68525910',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638bc1ae41e24_09500940',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638bc1ae41e24_09500940')) {function content_5638bc1ae41e24_09500940($_smarty_tpl) {?><div class="modal fade" id="modules_list_container">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3 class="modal-title"><?php echo smartyTranslate(array('s'=>'Recommended Modules and Services'),$_smarty_tpl);?>
</h3>
</div>
<div class="modal-body">
<div id="modules_list_container_tab_modal" style="display:none;"></div>
<div id="modules_list_loader"><i class="icon-refresh icon-spin"></i></div>
</div>
</div>
</div>
</div>
<?php }} ?>

View File

@@ -1,101 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-02 19:40:43
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/themes/javascript.tpl" */ ?>
<?php /*%%SmartyHeaderCode:204283979256376ee3368dc2-57024226%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0243918d1f9c0f217cd5b77f70938acb1363392a' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/themes/javascript.tpl',
1 => 1446454865,
2 => 'file',
),
),
'nocache_hash' => '204283979256376ee3368dc2-57024226',
'function' =>
array (
),
'variables' =>
array (
'js_def' => 0,
'k' => 0,
'def' => 0,
'js_files' => 0,
'js_uri' => 0,
'js_inline' => 0,
'inline' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56376ee33e1fd7_94713007',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56376ee33e1fd7_94713007')) {function content_56376ee33e1fd7_94713007($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/home/sumit/public_html/html/ps-hotel-reservation-system/tools/smarty/plugins/modifier.replace.php';
?>
<?php if (isset($_smarty_tpl->tpl_vars['js_def']->value)&&is_array($_smarty_tpl->tpl_vars['js_def']->value)&&count($_smarty_tpl->tpl_vars['js_def']->value)) {?>
<script type="text/javascript">
<?php $_smarty_tpl->tpl_vars['def'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['def']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['js_def']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['def']->key => $_smarty_tpl->tpl_vars['def']->value) {
$_smarty_tpl->tpl_vars['def']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['def']->key;
?>
<?php if (!empty($_smarty_tpl->tpl_vars['k']->value)&&is_string($_smarty_tpl->tpl_vars['k']->value)) {?>
<?php if (is_bool($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= <?php echo var_export($_smarty_tpl->tpl_vars['def']->value,true);?>
;
<?php } elseif (is_int($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= <?php echo intval($_smarty_tpl->tpl_vars['def']->value);?>
;
<?php } elseif (is_float($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= <?php echo smarty_modifier_replace(floatval($_smarty_tpl->tpl_vars['def']->value),',','.');?>
;
<?php } elseif (is_string($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= '<?php echo strval($_smarty_tpl->tpl_vars['def']->value);?>
';
<?php } elseif (is_array($_smarty_tpl->tpl_vars['def']->value)||is_object($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_encode'][0][0]->jsonEncode($_smarty_tpl->tpl_vars['def']->value);?>
;
<?php } elseif (is_null($_smarty_tpl->tpl_vars['def']->value)) {?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= null;
<?php } else { ?>
var <?php echo $_smarty_tpl->tpl_vars['k']->value;?>
= '<?php echo addcslashes($_smarty_tpl->tpl_vars['def']->value,'\'');?>
';
<?php }?>
<?php }?>
<?php } ?>
</script>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['js_files']->value)&&count($_smarty_tpl->tpl_vars['js_files']->value)) {?>
<?php $_smarty_tpl->tpl_vars['js_uri'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['js_uri']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['js_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['js_uri']->key => $_smarty_tpl->tpl_vars['js_uri']->value) {
$_smarty_tpl->tpl_vars['js_uri']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['js_uri']->key;
?>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_uri']->value;?>
"></script>
<?php } ?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['js_inline']->value)&&count($_smarty_tpl->tpl_vars['js_inline']->value)) {?>
<script type="text/javascript">
<?php $_smarty_tpl->tpl_vars['inline'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inline']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['js_inline']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inline']->key => $_smarty_tpl->tpl_vars['inline']->value) {
$_smarty_tpl->tpl_vars['inline']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['inline']->key;
?>
<?php echo $_smarty_tpl->tpl_vars['inline']->value;?>
<?php } ?>
</script>
<?php }?><?php }} ?>

View File

@@ -1,35 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:58
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/login/layout.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16476774456ab3ba23a70a0-62824569%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'027b4ea74492f4dcc9fbfa5e0301bda215217b4d' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/login/layout.tpl',
1 => 1454062119,
2 => 'file',
),
),
'nocache_hash' => '16476774456ab3ba23a70a0-62824569',
'function' =>
array (
),
'variables' =>
array (
'header' => 0,
'page' => 0,
'footer' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3ba23ac697_52228860',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3ba23ac697_52228860')) {function content_56ab3ba23ac697_52228860($_smarty_tpl) {?>
<?php echo $_smarty_tpl->tpl_vars['header']->value;?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php echo $_smarty_tpl->tpl_vars['footer']->value;?>
<?php }} ?>

View File

@@ -1,550 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 05:22:26
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin267x7js2k/themes/default/template/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:56853239156ab3d629d7b57-14920210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0284a9b69437d097d724dcec333837d5907e034c' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin267x7js2k/themes/default/template/header.tpl',
1 => 1454061940,
2 => 'file',
),
),
'nocache_hash' => '56853239156ab3d629d7b57-14920210',
'function' =>
array (
),
'variables' =>
array (
'iso' => 0,
'img_dir' => 0,
'meta_title' => 0,
'shop_name' => 0,
'display_header_javascript' => 0,
'controller_name' => 0,
'iso_user' => 0,
'full_language_code' => 0,
'country_iso_code' => 0,
'round_mode' => 0,
'shop_context' => 0,
'autorefresh_notifications' => 0,
'token' => 0,
'currentIndex' => 0,
'default_language' => 0,
'link' => 0,
'tab_modules_list' => 0,
'css_files' => 0,
'css_uri' => 0,
'js_def' => 0,
'js_files' => 0,
'displayBackOfficeHeader' => 0,
'brightness' => 0,
'display_header' => 0,
'employee' => 0,
'collapse_menu' => 0,
'default_tab_link' => 0,
'version' => 0,
'is_multishop' => 0,
'shop_list' => 0,
'multishop_context' => 0,
'show_new_orders' => 0,
'show_new_customers' => 0,
'show_new_messages' => 0,
'quick_access' => 0,
'quick' => 0,
'matchQuickLink' => 0,
'quick_access_current_link_name' => 0,
'quick_access_current_link_icon' => 0,
'logged_on_addons' => 0,
'display_addons_connection' => 0,
'base_url' => 0,
'base_url_tc' => 0,
'maintenance_mode' => 0,
'host_mode' => 0,
'login_link' => 0,
'displayBackOfficeTop' => 0,
'bootstrap' => 0,
'page_header_toolbar' => 0,
'modal_module_list' => 0,
'install_dir_exists' => 0,
'lite_display' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3d62b9e015_79112573',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3d62b9e015_79112573')) {function content_56ab3d62b9e015_79112573($_smarty_tpl) {?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]-->
<html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title><?php if ($_smarty_tpl->tpl_vars['meta_title']->value!='') {?><?php echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
• <?php }?><?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</title>
<?php if (!isset($_smarty_tpl->tpl_vars['display_header_javascript']->value)||$_smarty_tpl->tpl_vars['display_header_javascript']->value) {?>
<script type="text/javascript">
var help_class_name = '<?php echo addcslashes($_smarty_tpl->tpl_vars['controller_name']->value,'\'');?>
';
var iso_user = '<?php echo addcslashes($_smarty_tpl->tpl_vars['iso_user']->value,'\'');?>
';
var full_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_language_code']->value,'\'');?>
';
var country_iso_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['country_iso_code']->value,'\'');?>
';
var _PS_VERSION_ = '<?php echo addcslashes(@constant('_PS_VERSION_'),'\'');?>
';
var roundMode = <?php echo intval($_smarty_tpl->tpl_vars['round_mode']->value);?>
;
<?php if (isset($_smarty_tpl->tpl_vars['shop_context']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['shop_context']->value==Shop::CONTEXT_ALL) {?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for all your shops.','js'=>1),$_smarty_tpl);?>
';
<?php } elseif ($_smarty_tpl->tpl_vars['shop_context']->value==Shop::CONTEXT_GROUP) {?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for all shops in this shop group:','js'=>1),$_smarty_tpl);?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php } else { ?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for this shop:','js'=>1),$_smarty_tpl);?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php }?>
<?php } else { ?>
var youEditFieldFor = '';
<?php }?>
var autorefresh_notifications = '<?php echo addcslashes($_smarty_tpl->tpl_vars['autorefresh_notifications']->value,'\'');?>
';
var new_order_msg = '<?php echo smartyTranslate(array('s'=>'A new order has been placed on your shop.','js'=>1),$_smarty_tpl);?>
';
var order_number_msg = '<?php echo smartyTranslate(array('s'=>'Order number:','js'=>1),$_smarty_tpl);?>
';
var total_msg = '<?php echo smartyTranslate(array('s'=>'Total:','js'=>1),$_smarty_tpl);?>
';
var from_msg = '<?php echo smartyTranslate(array('s'=>'From:','js'=>1),$_smarty_tpl);?>
';
var see_order_msg = '<?php echo smartyTranslate(array('s'=>'View this order','js'=>1),$_smarty_tpl);?>
';
var new_customer_msg = '<?php echo smartyTranslate(array('s'=>'A new customer registered on your shop.','js'=>1),$_smarty_tpl);?>
';
var customer_name_msg = '<?php echo smartyTranslate(array('s'=>'Customer name:','js'=>1),$_smarty_tpl);?>
';
var new_msg = '<?php echo smartyTranslate(array('s'=>'A new message was posted on your shop.','js'=>1),$_smarty_tpl);?>
';
var see_msg = '<?php echo smartyTranslate(array('s'=>'Read this message','js'=>1),$_smarty_tpl);?>
';
var token = '<?php echo addslashes($_smarty_tpl->tpl_vars['token']->value);?>
';
var token_admin_orders = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminOrders'),$_smarty_tpl);?>
';
var token_admin_customers = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomers'),$_smarty_tpl);?>
';
var token_admin_customer_threads = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomerThreads'),$_smarty_tpl);?>
';
var currentIndex = '<?php echo addcslashes($_smarty_tpl->tpl_vars['currentIndex']->value,'\'');?>
';
var employee_token = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminEmployees'),$_smarty_tpl);?>
';
var choose_language_translate = '<?php echo smartyTranslate(array('s'=>'Choose language','js'=>1),$_smarty_tpl);?>
';
var default_language = '<?php echo intval($_smarty_tpl->tpl_vars['default_language']->value);?>
';
var admin_modules_link = '<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink("AdminModules"));?>
';
var tab_modules_list = '<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value)&&$_smarty_tpl->tpl_vars['tab_modules_list']->value) {?><?php echo addslashes($_smarty_tpl->tpl_vars['tab_modules_list']->value);?>
<?php }?>';
var update_success_msg = '<?php echo smartyTranslate(array('s'=>'Update successful','js'=>1),$_smarty_tpl);?>
';
var errorLogin = '<?php echo smartyTranslate(array('s'=>'PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.','js'=>1),$_smarty_tpl);?>
';
var search_product_msg = '<?php echo smartyTranslate(array('s'=>'Search for a product','js'=>1),$_smarty_tpl);?>
';
</script>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['css_files']->value)) {?>
<?php $_smarty_tpl->tpl_vars['media'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['media']->_loop = false;
$_smarty_tpl->tpl_vars['css_uri'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['css_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['media']->key => $_smarty_tpl->tpl_vars['media']->value) {
$_smarty_tpl->tpl_vars['media']->_loop = true;
$_smarty_tpl->tpl_vars['css_uri']->value = $_smarty_tpl->tpl_vars['media']->key;
?>
<link href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['css_uri']->value, ENT_QUOTES, 'UTF-8', true);?>
" rel="stylesheet" type="text/css"/>
<?php } ?>
<?php }?>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value)&&count($_smarty_tpl->tpl_vars['js_def']->value)||isset($_smarty_tpl->tpl_vars['js_files']->value)&&count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value;?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['brightness']->value)) {?>
<!--
// @todo: multishop color
<style type="text/css">
div#header_infos, div#header_infos a#header_shopname, div#header_infos a#header_logout, div#header_infos a#header_foaccess {color:<?php echo $_smarty_tpl->tpl_vars['brightness']->value;?>
}
</style>
-->
<?php }?>
</head>
<?php if ($_smarty_tpl->tpl_vars['display_header']->value) {?>
<body class="ps_back-office<?php if ($_smarty_tpl->tpl_vars['employee']->value->bo_menu) {?> page-sidebar<?php if ($_smarty_tpl->tpl_vars['collapse_menu']->value) {?> page-sidebar-closed<?php }?><?php } else { ?> page-topbar<?php }?> <?php echo strtolower(htmlspecialchars($_GET['controller'], ENT_QUOTES, 'UTF-8', true));?>
">
<header id="header" class="bootstrap">
<nav id="header_infos" role="navigation">
<div class="navbar-header">
<button id="header_nav_toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-primary">
<i class="icon-reorder"></i>
</button>
<a id="header_shopversion" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['default_tab_link']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span id="shop_version"><?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</span>
</a>
<?php if (isset($_smarty_tpl->tpl_vars['is_multishop']->value)&&$_smarty_tpl->tpl_vars['is_multishop']->value&&$_smarty_tpl->tpl_vars['shop_list']->value&&(isset($_smarty_tpl->tpl_vars['multishop_context']->value)&&$_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_GROUP||$_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_SHOP)) {?>
<ul id="header_shop">
<li class="dropdown">
<?php echo $_smarty_tpl->tpl_vars['shop_list']->value;?>
</li>
</ul>
<?php } else { ?>
<a id="header_shopname" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['default_tab_link']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</a>
<?php }?>
<ul id="header_notifs_icon_wrapper">
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_orders']->value;?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==1) {?>
<li id="orders_notif" class="dropdown" data-type="order">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-shopping-cart"></i>
<span id="orders_notif_number_wrapper" class="notifs_badge hide">
<span id="orders_notif_value">0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="orders_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Orders'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_orders_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new orders have been placed on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminOrders&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminOrders'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all orders'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_customers']->value;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2==1) {?>
<li id="customers_notif" class="dropdown" data-type="customer">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-user"></i>
<span id="customers_notif_number_wrapper" class="notifs_badge hide">
<span id="customers_notif_value">0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="customers_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Registrations'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_customers_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new customers have registered on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminCustomers&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomers'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all customers'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_messages']->value;?>
<?php $_tmp3=ob_get_clean();?><?php if ($_tmp3==1) {?>
<li id="customer_messages_notif" class="dropdown" data-type="customer_message">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-envelope"></i>
<span id="customer_messages_notif_number_wrapper" class="notifs_badge hide">
<span id="customer_messages_notif_value" >0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="customer_messages_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Messages'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_customer_messages_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new messages have been posted on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminCustomerThreads&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomerThreads'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all messages'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
</ul>
<?php if (count($_smarty_tpl->tpl_vars['quick_access']->value)>=0) {?>
<ul id="header_quick">
<li class="dropdown">
<a href="javascript:void(0)" id="quick_select" class="dropdown-toggle" data-toggle="dropdown"><?php echo smartyTranslate(array('s'=>'Quick Access'),$_smarty_tpl);?>
<i class="icon-caret-down"></i></a>
<ul class="dropdown-menu">
<?php $_smarty_tpl->tpl_vars['quick'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quick']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['quick_access']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->key => $_smarty_tpl->tpl_vars['quick']->value) {
$_smarty_tpl->tpl_vars['quick']->_loop = true;
?>
<li <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['quick']->value['link'];?>
<?php $_tmp4=ob_get_clean();?><?php if ($_smarty_tpl->tpl_vars['link']->value->matchQuickLink($_tmp4)) {?><?php $_smarty_tpl->tpl_vars["matchQuickLink"] = new Smarty_variable($_smarty_tpl->tpl_vars['quick']->value['id_quick_access'], null, 0);?>class="active"<?php }?>>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quick']->value['link'], ENT_QUOTES, 'UTF-8', true);?>
"<?php if ($_smarty_tpl->tpl_vars['quick']->value['new_window']) {?> class="_blank"<?php }?>>
<?php if (isset($_smarty_tpl->tpl_vars['quick']->value['icon'])) {?>
<i class="icon-<?php echo $_smarty_tpl->tpl_vars['quick']->value['icon'];?>
icon-fw"></i>
<?php } else { ?>
<i class="icon-chevron-right icon-fw"></i>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['quick']->value['name'];?>
</a>
</li>
<?php } ?>
<li class="divider"></li>
<?php if (isset($_smarty_tpl->tpl_vars['matchQuickLink']->value)) {?>
<li>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="remove" data-quicklink-id="<?php echo $_smarty_tpl->tpl_vars['matchQuickLink']->value;?>
">
<i class="icon-minus-circle"></i>
<?php echo smartyTranslate(array('s'=>'Remove from QuickAccess'),$_smarty_tpl);?>
</a>
</li>
<?php }?>
<li <?php if (isset($_smarty_tpl->tpl_vars['matchQuickLink']->value)) {?>class="hide"<?php }?>>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="add">
<i class="icon-plus-circle"></i>
<?php echo smartyTranslate(array('s'=>'Add current page to QuickAccess'),$_smarty_tpl);?>
</a>
</li>
</ul>
</li>
</ul>
<?php $_smarty_tpl->tpl_vars['quick_access_current_link_name'] = new Smarty_variable(explode(" - ",$_smarty_tpl->tpl_vars['quick_access_current_link_name']->value), null, 0);?>
<script>
$(function() {
$('.ajax-quick-link').on('click', function(e){
e.preventDefault();
var method = $(this).data('method');
if(method == 'add')
var name = prompt('<?php echo smartyTranslate(array('s'=>'Please name this shortcut:','js'=>1),$_smarty_tpl);?>
', '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['quick_access_current_link_name']->value[0],32);?>
');
if(method == 'add' && name || method == 'remove')
{
$.ajax({
type: 'POST',
headers: { "cache-control": "no-cache" },
async: false,
url: "<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminQuickAccesses');?>
" + "&action=GetUrl" + "&rand=<?php echo rand(1,200);?>
" + "&ajax=1" + "&method=" + method + ( $(this).data('quicklink-id') ? "&id_quick_access=" + $(this).data('quicklink-id') : ""),
data: {
"url": "<?php echo $_smarty_tpl->tpl_vars['link']->value->getQuickLink($_SERVER['REQUEST_URI']);?>
",
"name": name,
"icon": "<?php echo $_smarty_tpl->tpl_vars['quick_access_current_link_icon']->value;?>
"
},
dataType: "json",
success: function(data) {
var quicklink_list ='';
$.each(data, function(index,value){
if (typeof data[index]['name'] !== 'undefined')
quicklink_list += '<li><a href="' + data[index]['link'] + '&token=' + data[index]['token'] + '"><i class="icon-chevron-right"></i> ' + data[index]['name'] + '</a></li>';
});
if (typeof data['has_errors'] !== 'undefined' && data['has_errors'])
$.each(data, function(index, value)
{
if (typeof data[index] == 'string')
$.growl.error({ title: "", message: data[index]});
});
else if (quicklink_list)
{
$("#header_quick ul.dropdown-menu").html(quicklink_list);
showSuccessMessage(update_success_msg);
}
}
});
}
});
});
</script>
<?php }?>
<ul id="header_employee_box">
<?php if ((!isset($_smarty_tpl->tpl_vars['logged_on_addons']->value)||!$_smarty_tpl->tpl_vars['logged_on_addons']->value)&&(isset($_smarty_tpl->tpl_vars['display_addons_connection']->value)&&$_smarty_tpl->tpl_vars['display_addons_connection']->value)) {?>
<li class="hidden-sm hidden-xs">
<a href="#" class="addons_connect toolbar_btn" data-toggle="modal" data-target="#modal_addons_connect" title="<?php echo smartyTranslate(array('s'=>'Connect to PrestaShop Marketplace account'),$_smarty_tpl);?>
">
<i class="icon-chain-broken"></i>
<span class="string-long"><?php echo smartyTranslate(array('s'=>'Connect to PrestaShop Marketplace account'),$_smarty_tpl);?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'PrestaShop Marketplace'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
<?php $_tmp5=ob_get_clean();?><?php if ($_tmp5) {?>
<li>
<a href="<?php if (isset($_smarty_tpl->tpl_vars['base_url_tc']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_url_tc']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_url']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php }?>" id="header_foaccess" class="_blank" title="<?php echo smartyTranslate(array('s'=>'View my shop'),$_smarty_tpl);?>
">
<span class="string-long"><?php echo smartyTranslate(array('s'=>'My shop'),$_smarty_tpl);?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'Shop'),$_smarty_tpl);?>
</span>
</a>
<?php if (isset($_smarty_tpl->tpl_vars['maintenance_mode']->value)&&$_smarty_tpl->tpl_vars['maintenance_mode']->value==true) {?>
<span class="maintenance-mode">
&mdash;
<span class="label-tooltip" data-toggle="tooltip" data-placement="bottom" data-html="true"
title="<p class='text-left text-nowrap'><strong><?php echo smartyTranslate(array('s'=>'Your shop is in maintenance.'),$_smarty_tpl);?>
</strong></p><p class='text-left'><?php echo smartyTranslate(array('s'=>'Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Preferences > Maintenance.','sprintf'=>'<br />'),$_smarty_tpl);?>
</p>"><?php echo smartyTranslate(array('s'=>'Maintenance mode'),$_smarty_tpl);?>
</span>
</span>
<?php }?>
</li>
<?php }?>
<li id="employee_infos" class="dropdown">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees'), ENT_QUOTES, 'UTF-8', true);?>
&amp;id_employee=<?php echo intval($_smarty_tpl->tpl_vars['employee']->value->id);?>
&amp;updateemployee" class="employee_name dropdown-toggle" data-toggle="dropdown">
<span class="employee_avatar_small">
<?php if (isset($_smarty_tpl->tpl_vars['employee']->value)) {?>
<img class="imgm img-thumbnail" alt="" src="<?php echo $_smarty_tpl->tpl_vars['employee']->value->getImage();?>
" width="32" height="32" />
<?php }?>
</span>
<span class="string-long"><?php echo $_smarty_tpl->tpl_vars['employee']->value->firstname;?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['employee']->value->lastname;?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'Me'),$_smarty_tpl);?>
</span>
<i class="caret"></i>
</a>
<ul id="employee_links" class="dropdown-menu">
<li>
<span class="employee_avatar">
<img class="imgm img-thumbnail" alt="" src="<?php echo $_smarty_tpl->tpl_vars['employee']->value->getImage();?>
" width="96" height="96" />
</span>
</li>
<li class="text-center text-nowrap"><?php echo $_smarty_tpl->tpl_vars['employee']->value->firstname;?>
<?php echo $_smarty_tpl->tpl_vars['employee']->value->lastname;?>
</li>
<li class="divider"></li>
<li><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees'), ENT_QUOTES, 'UTF-8', true);?>
&amp;id_employee=<?php echo intval($_smarty_tpl->tpl_vars['employee']->value->id);?>
&amp;updateemployee"><i class="icon-wrench"></i> <?php echo smartyTranslate(array('s'=>'My preferences'),$_smarty_tpl);?>
</a></li>
<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>
<li><a href="https://www.prestashop.com/cloud/" class="_blank"><i class="icon-wrench"></i> <?php echo smartyTranslate(array('s'=>'My PrestaShop account'),$_smarty_tpl);?>
</a></li>
<?php }?>
<li class="divider"></li>
<li><a id="header_logout" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['login_link']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;logout"><i class="icon-signout"></i> <?php echo smartyTranslate(array('s'=>'Sign out'),$_smarty_tpl);?>
</a></li>
</ul>
</li>
</ul>
<span id="ajax_running">
<i class="icon-refresh icon-spin icon-fw"></i>
</span>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeTop']->value)) {?><?php echo $_smarty_tpl->tpl_vars['displayBackOfficeTop']->value;?>
<?php }?>
</div>
</nav>
</header>
<div id="main">
<?php echo $_smarty_tpl->getSubTemplate ('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }?>">
<?php if (isset($_smarty_tpl->tpl_vars['page_header_toolbar']->value)) {?><?php echo $_smarty_tpl->tpl_vars['page_header_toolbar']->value;?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['modal_module_list']->value)) {?><?php echo $_smarty_tpl->tpl_vars['modal_module_list']->value;?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['install_dir_exists']->value) {?>
<div class="alert alert-warning">
<?php echo smartyTranslate(array('s'=>'For security reasons, you must also delete the /install folder.'),$_smarty_tpl);?>
</div>
<?php }?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h'=>'displayAdminAfterHeader'),$_smarty_tpl);?>
<?php } else { ?>
<body<?php if (isset($_smarty_tpl->tpl_vars['lite_display']->value)&&$_smarty_tpl->tpl_vars['lite_display']->value) {?> class="ps_back-office display-modal"<?php }?>>
<div id="main">
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }?>">
<?php }?>
<?php }} ?>

View File

@@ -1,150 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 09:01:47
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/controllers/products/seo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:8617552615638be4b1a41e4-13823495%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'02a7c03911b532f8a384e8b5f1938c44efbb6f80' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin980qbfmdx/themes/default/template/controllers/products/seo.tpl',
1 => 1446483944,
2 => 'file',
),
),
'nocache_hash' => '8617552615638be4b1a41e4-13823495',
'function' =>
array (
),
'variables' =>
array (
'id_lang' => 0,
'languages' => 0,
'product' => 0,
'language' => 0,
'rewritten_links' => 0,
'link' => 0,
'default_form_language' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638be4b24f8f5_11321738',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638be4b24f8f5_11321738')) {function content_5638be4b24f8f5_11321738($_smarty_tpl) {?>
<div id="product-seo" class="panel product-tab">
<input type="hidden" name="submitted_tabs[]" value="Seo" />
<h3><?php echo smartyTranslate(array('s'=>'SEO'),$_smarty_tpl);?>
</h3>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/check_fields.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab'=>"Seo"), 0);?>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"meta_title",'type'=>"default",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="meta_title_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'Public title for the product\'s page, and for search engines. Leave blank to use the product name.'),$_smarty_tpl);?>
<?php echo smartyTranslate(array('s'=>'The number of remaining characters is displayed to the left of the field.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Meta title'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-8">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/input_text_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_name'=>'meta_title','input_value'=>$_smarty_tpl->tpl_vars['product']->value->meta_title,'maxchar'=>70), 0);?>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"meta_description",'type'=>"default",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="meta_description_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'This description will appear in search engines. You need a single sentence, shorter than 160 characters (including spaces).'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Meta description'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-8">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/input_text_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_name'=>'meta_description','input_value'=>$_smarty_tpl->tpl_vars['product']->value->meta_description,'maxchar'=>160), 0);?>
</div>
</div>
<div class="form-group hide">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"meta_keywords",'type'=>"default",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="meta_keywords_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'Keywords for search engines, separated by commas.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Meta keywords'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-8">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/input_text_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_value'=>$_smarty_tpl->tpl_vars['product']->value->meta_keywords,'input_name'=>'meta_keywords'), 0);?>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"link_rewrite",'type'=>"seo_friendly_url",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="link_rewrite_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'This is the human-readable URL, as generated from the product\'s name. You can change it if you want.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Friendly URL:'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-6">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/input_text_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_value'=>$_smarty_tpl->tpl_vars['product']->value->link_rewrite,'input_name'=>'link_rewrite'), 0);?>
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default" id="generate-friendly-url" onmousedown="updateFriendlyURLByName();"><i class="icon-random"></i> <?php echo smartyTranslate(array('s'=>'Generate'),$_smarty_tpl);?>
</button>
</div>
</div>
<div class="row">
<div class="col-lg-9 col-lg-offset-3">
<?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
?>
<div class="alert alert-warning translatable-field lang-<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
">
<i class="icon-link"></i> <?php echo smartyTranslate(array('s'=>'The product link will look like this:'),$_smarty_tpl);?>
<br/>
<strong><?php if (isset($_smarty_tpl->tpl_vars['rewritten_links']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']][0])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['rewritten_links']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']][0], ENT_QUOTES, 'UTF-8', true);?>
<?php }?><span id="friendly-url_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->link_rewrite[$_smarty_tpl->tpl_vars['language']->value['id_lang']], ENT_QUOTES, 'UTF-8', true);?>
</span><?php if (isset($_smarty_tpl->tpl_vars['rewritten_links']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']][1])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['rewritten_links']->value[$_smarty_tpl->tpl_vars['language']->value['id_lang']][1], ENT_QUOTES, 'UTF-8', true);?>
<?php }?></strong>
</div>
<?php } ?>
</div>
</div>
<div class="panel-footer">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts'), ENT_QUOTES, 'UTF-8', true);?>
<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&amp;submitFilterproduct=<?php echo intval($_REQUEST['page']);?>
<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?>
</a>
<button type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save'),$_smarty_tpl);?>
</button>
<button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save and stay'),$_smarty_tpl);?>
</button>
</div>
</div>
<script type="text/javascript">
if (tabs_manager.allow_hide_other_languages)
hideOtherLanguage(<?php echo $_smarty_tpl->tpl_vars['default_form_language']->value;?>
);
</script>
<?php }} ?>

View File

@@ -1,138 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 05:49:36
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/layout-ajax.tpl" */ ?>
<?php /*%%SmartyHeaderCode:85718580656389140133f09-99417908%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'02c734fe2ca5fee2b9c0d211fdffdb55d62fc6da' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/layout-ajax.tpl',
1 => 1446454904,
2 => 'file',
),
),
'nocache_hash' => '85718580656389140133f09-99417908',
'function' =>
array (
),
'variables' =>
array (
'json' => 0,
'status' => 0,
'confirmations' => 0,
'hasresult' => 0,
'informations' => 0,
'errors' => 0,
'warnings' => 0,
'page' => 0,
'conf' => 0,
'error' => 0,
'info' => 0,
'confirm' => 0,
'warning' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563891401bc436_78529201',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563891401bc436_78529201')) {function content_563891401bc436_78529201($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['json']->value)) {?>
{<?php if (isset($_smarty_tpl->tpl_vars['status']->value)&&is_string($_smarty_tpl->tpl_vars['status']->value)&&trim($_smarty_tpl->tpl_vars['status']->value)!='') {?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"status" : "<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['confirmations']->value)&&count($_smarty_tpl->tpl_vars['confirmations']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"confirmations" : <?php echo $_smarty_tpl->tpl_vars['confirmations']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['informations']->value)&&count($_smarty_tpl->tpl_vars['informations']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"informations" : <?php echo $_smarty_tpl->tpl_vars['informations']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['errors']->value)&&count($_smarty_tpl->tpl_vars['errors']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"error" : <?php echo $_smarty_tpl->tpl_vars['errors']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['warnings']->value)&&count($_smarty_tpl->tpl_vars['warnings']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"warnings" : <?php echo $_smarty_tpl->tpl_vars['warnings']->value;?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"content" : <?php echo $_smarty_tpl->tpl_vars['page']->value;?>
}
<?php } else { ?>
<?php if (isset($_smarty_tpl->tpl_vars['conf']->value)) {?>
<div class="alert alert-success">
<?php echo $_smarty_tpl->tpl_vars['conf']->value;?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value)) {?>
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value)==1) {?>
<?php echo $_smarty_tpl->tpl_vars['errors']->value[0];?>
<?php } else { ?>
<?php echo smartyTranslate(array('s'=>'%d errors','sprintf'=>count($_smarty_tpl->tpl_vars['errors']->value)),$_smarty_tpl);?>
<br/>
<ul>
<?php $_smarty_tpl->tpl_vars['error'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['error']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['errors']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['error']->key => $_smarty_tpl->tpl_vars['error']->value) {
$_smarty_tpl->tpl_vars['error']->_loop = true;
?>
<li><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</li>
<?php } ?>
</ul>
<?php }?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['informations']->value)&&count($_smarty_tpl->tpl_vars['informations']->value)&&$_smarty_tpl->tpl_vars['informations']->value) {?>
<div class="alert alert-info" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php $_smarty_tpl->tpl_vars['info'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['info']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['informations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['info']->key => $_smarty_tpl->tpl_vars['info']->value) {
$_smarty_tpl->tpl_vars['info']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['info']->value;?>
<br/>
<?php } ?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['confirmations']->value)&&count($_smarty_tpl->tpl_vars['confirmations']->value)&&$_smarty_tpl->tpl_vars['confirmations']->value) {?>
<div class="alert alert-success" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php $_smarty_tpl->tpl_vars['confirm'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['confirm']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['confirmations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['confirm']->key => $_smarty_tpl->tpl_vars['confirm']->value) {
$_smarty_tpl->tpl_vars['confirm']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['confirm']->value;?>
<br />
<?php } ?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)) {?>
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)>1) {?>
<?php echo smartyTranslate(array('s'=>'There are %d warnings.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl);?>
<span style="margin-left:20px;" id="labelSeeMore">
<a id="linkSeeMore" href="#" style="text-decoration:underline"><?php echo smartyTranslate(array('s'=>'Click here to see more'),$_smarty_tpl);?>
</a>
<a id="linkHide" href="#" style="text-decoration:underline;display:none"><?php echo smartyTranslate(array('s'=>'Hide warning'),$_smarty_tpl);?>
</a>
</span>
<?php } else { ?>
<?php echo smartyTranslate(array('s'=>'There is %d warning.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl);?>
<?php }?>
<ul style="display:<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)>1) {?>none<?php } else { ?>block<?php }?>;" id="seeMore">
<?php $_smarty_tpl->tpl_vars['warning'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['warning']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['warnings']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['warning']->key => $_smarty_tpl->tpl_vars['warning']->value) {
$_smarty_tpl->tpl_vars['warning']->_loop = true;
?>
<li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</li>
<?php } ?>
</ul>
</div>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php }?>
<?php }} ?>

View File

@@ -1,126 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:59
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/referrers/form_settings.tpl" */ ?>
<?php /*%%SmartyHeaderCode:180047649656ab3ba300ac79-27886838%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'02fdf2f2f4b2987bac37e9337337f377609b9de1' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/referrers/form_settings.tpl',
1 => 1454062119,
2 => 'file',
),
),
'nocache_hash' => '180047649656ab3ba300ac79-27886838',
'function' =>
array (
),
'variables' =>
array (
'current' => 0,
'token' => 0,
'tracking_dt' => 0,
'statsdata_name' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3ba30430e6_62580978',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3ba30430e6_62580978')) {function content_56ab3ba30430e6_62580978($_smarty_tpl) {?>
<div class="row">
<div class="col-lg-6">
<form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" id="refresh_index_form" name="refresh_index_form" class="form-horizontal">
<div class="panel">
<h3>
<i class="icon-fullscreen"></i> <?php echo smartyTranslate(array('s'=>'Indexing'),$_smarty_tpl);?>
</h3>
<div class="alert alert-info"><?php echo smartyTranslate(array('s'=>'There is a huge quantity of data, so each connection corresponding to a referrer is indexed. You can also refresh this index by clicking the "Refresh index" button. This process may take a while, and it\'s only needed if you modified or added a referrer, or if you want changes to be retroactive.'),$_smarty_tpl);?>
</div>
<button type="submit" class="btn btn-default" name="submitRefreshIndex" id="submitRefreshIndex">
<i class="icon-refresh"></i> <?php echo smartyTranslate(array('s'=>'Refresh index'),$_smarty_tpl);?>
</button>
</div>
</form>
</div>
<div class="col-lg-6">
<form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" id="refresh_cache_form" name="refresh_cache_form" class="form-horizontal">
<div class="panel">
<h3>
<i class="icon-briefcase"></i> <?php echo smartyTranslate(array('s'=>'Cache'),$_smarty_tpl);?>
</h3>
<div class="alert alert-info"><?php echo smartyTranslate(array('s'=>'Your data is cached in order to sort it and filter it. You can refresh the cache by clicking on the "Refresh cache" button.'),$_smarty_tpl);?>
</div>
<button type="submit" class="btn btn-default" name="submitRefreshCache" id="submitRefreshCache">
<i class="icon-refresh"></i> <?php echo smartyTranslate(array('s'=>'Refresh cache'),$_smarty_tpl);?>
</button>
</div>
</form>
</div>
</div>
</div>
<div id="settings_referrers" class="row">
<div class="col-lg-3">
<form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;token=<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['token']->value, ENT_QUOTES, 'UTF-8', true);?>
" method="post" id="settings_form" name="settings_form" class="form-horizontal">
<div class="panel">
<h3>
<i class="icon-cog"></i> <?php echo smartyTranslate(array('s'=>'Settings'),$_smarty_tpl);?>
</h3>
<div class="alert alert-info"><?php echo smartyTranslate(array('s'=>'Direct traffic can be quite resource-intensive. You should consider enabling it only if you have a strong need for it.'),$_smarty_tpl);?>
</div>
<div class="form-group">
<label class="control-label col-lg-6"><?php echo smartyTranslate(array('s'=>'Save direct traffic?'),$_smarty_tpl);?>
</label>
<div class="col-lg-6">
<div class="row">
<div class="input-group fixed-width-md">
<span class="switch prestashop-switch">
<input type="radio" name="tracking_dt" id="tracking_dt_on" value="1" <?php if ($_smarty_tpl->tpl_vars['tracking_dt']->value) {?>checked="checked"<?php }?> />
<label class="t" for="tracking_dt_on">
<?php echo smartyTranslate(array('s'=>'Yes'),$_smarty_tpl);?>
</label>
<input type="radio" name="tracking_dt" id="tracking_dt_off" value="0" <?php if (!$_smarty_tpl->tpl_vars['tracking_dt']->value) {?>checked="checked"<?php }?> />
<label class="t" for="tracking_dt_off">
<?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
</div>
</div>
<button type="submit" class="btn btn-default" name="submitSettings" id="submitSettings">
<i class="icon-save"></i> <?php echo smartyTranslate(array('s'=>'Save'),$_smarty_tpl);?>
</button>
</div>
</form>
</div>
<?php if ($_smarty_tpl->tpl_vars['statsdata_name']->value) {?>
<div class="col-lg-3">
<div class="panel">
<div class="alert alert-info">
<?php echo smartyTranslate(array('s'=>"The module '%s' must be activated and configurated in order to have all the statistics",'sprintf'=>$_smarty_tpl->tpl_vars['statsdata_name']->value),$_smarty_tpl);?>
</div>
</div>
</div>
<?php }?>
</div>
<?php }} ?>

View File

@@ -1,62 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:54
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/helpers/shops_list/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:46912795556ab3b9eb7e605-31199540%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'03049564b8622a3e63a674887bd22b2f5329ccd9' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/helpers/shops_list/list.tpl',
1 => 1454062118,
2 => 'file',
),
),
'nocache_hash' => '46912795556ab3b9eb7e605-31199540',
'function' =>
array (
),
'variables' =>
array (
'current_shop_name' => 0,
'current_shop_value' => 0,
'url' => 0,
'tree' => 0,
'multishop_context' => 0,
'is_group_context' => 0,
'group_id' => 0,
'multishop_context_group' => 0,
'group_data' => 0,
'is_shop_context' => 0,
'shop_data' => 0,
'shop_id' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3b9ebd9a25_23432364',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3b9ebd9a25_23432364')) {function content_56ab3b9ebd9a25_23432364($_smarty_tpl) {?>
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><?php echo $_smarty_tpl->tpl_vars['current_shop_name']->value;?>
<i class="icon-caret-down"></i></a><ul class="dropdown-menu"><li<?php if (!isset($_smarty_tpl->tpl_vars['current_shop_value']->value)||$_smarty_tpl->tpl_vars['current_shop_value']->value=='') {?> class="active"<?php }?>><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php echo smartyTranslate(array('s'=>'All shops'),$_smarty_tpl);?>
</a></li><?php $_smarty_tpl->tpl_vars['group_data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group_data']->_loop = false;
$_smarty_tpl->tpl_vars['group_id'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['tree']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['group_data']->key => $_smarty_tpl->tpl_vars['group_data']->value) {
$_smarty_tpl->tpl_vars['group_data']->_loop = true;
$_smarty_tpl->tpl_vars['group_id']->value = $_smarty_tpl->tpl_vars['group_data']->key;
?><?php if (!isset($_smarty_tpl->tpl_vars['multishop_context']->value)||$_smarty_tpl->tpl_vars['is_group_context']->value) {?><li class="group<?php if ($_smarty_tpl->tpl_vars['current_shop_value']->value==('g-').($_smarty_tpl->tpl_vars['group_id']->value)) {?> active<?php }?><?php if ($_smarty_tpl->tpl_vars['multishop_context_group']->value==false) {?> disabled<?php }?>"><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
g-<?php echo $_smarty_tpl->tpl_vars['group_id']->value;?>
"><?php echo smartyTranslate(array('s'=>'%s group','sprintf'=>array(htmlspecialchars($_smarty_tpl->tpl_vars['group_data']->value['name'], ENT_QUOTES, 'UTF-8', true))),$_smarty_tpl);?>
</a></li><?php } else { ?><ul class="group <?php if ($_smarty_tpl->tpl_vars['multishop_context_group']->value==false) {?> disabled<?php }?>"><?php echo smartyTranslate(array('s'=>'%s group','sprintf'=>array(htmlspecialchars($_smarty_tpl->tpl_vars['group_data']->value['name'], ENT_QUOTES, 'UTF-8', true))),$_smarty_tpl);?>
<?php }?><?php if (!isset($_smarty_tpl->tpl_vars['multishop_context']->value)||$_smarty_tpl->tpl_vars['is_shop_context']->value) {?><?php $_smarty_tpl->tpl_vars['shop_data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['shop_data']->_loop = false;
$_smarty_tpl->tpl_vars['shop_id'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['group_data']->value['shops']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['shop_data']->key => $_smarty_tpl->tpl_vars['shop_data']->value) {
$_smarty_tpl->tpl_vars['shop_data']->_loop = true;
$_smarty_tpl->tpl_vars['shop_id']->value = $_smarty_tpl->tpl_vars['shop_data']->key;
?><?php if (($_smarty_tpl->tpl_vars['shop_data']->value['active'])) {?><li class="shop<?php if ($_smarty_tpl->tpl_vars['current_shop_value']->value==('s-').($_smarty_tpl->tpl_vars['shop_id']->value)) {?> active<?php }?>"><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['url']->value, ENT_QUOTES, 'UTF-8', true);?>
s-<?php echo $_smarty_tpl->tpl_vars['shop_id']->value;?>
"><?php if ($_smarty_tpl->tpl_vars['multishop_context_group']->value==false) {?><?php echo (htmlspecialchars($_smarty_tpl->tpl_vars['group_data']->value['name'], ENT_QUOTES, 'UTF-8', true)).(' - ').($_smarty_tpl->tpl_vars['shop_data']->value['name']);?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['shop_data']->value['name'];?>
<?php }?></a></li><?php }?><?php } ?><?php }?><?php if (!(!isset($_smarty_tpl->tpl_vars['multishop_context']->value)||$_smarty_tpl->tpl_vars['is_group_context']->value)) {?></ul><?php }?><?php } ?></ul>
<?php }} ?>

View File

@@ -1,50 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 05:49:26
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/helpers/kpi/row.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17595493215638913619b8b9-87189931%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'032c060194c002a58724266a52d0a43b76a2fab4' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/helpers/kpi/row.tpl',
1 => 1446455061,
2 => 'file',
),
),
'nocache_hash' => '17595493215638913619b8b9-87189931',
'function' =>
array (
),
'variables' =>
array (
'kpis' => 0,
'col' => 0,
'i' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563891361c9488_78364844',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563891361c9488_78364844')) {function content_563891361c9488_78364844($_smarty_tpl) {?>
<div class="panel kpi-container">
<div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div>
<div class="row">
<?php $_smarty_tpl->tpl_vars['col'] = new Smarty_variable((int)(12/count($_smarty_tpl->tpl_vars['kpis']->value)), null, 0);?>
<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['kpis']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['kpi']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['i']->key => $_smarty_tpl->tpl_vars['i']->value) {
$_smarty_tpl->tpl_vars['i']->_loop = true;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['kpi']['iteration']++;
?>
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['kpi']['iteration']>$_smarty_tpl->tpl_vars['col']->value+1) {?>
</div>
<div class="row">
<?php }?>
<div class="col-sm-6 col-lg-<?php echo $_smarty_tpl->tpl_vars['col']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
<?php } ?>
</div>
</div>
<?php }} ?>

View File

@@ -1,192 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 18:44:54
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/helpers/uploader/simple.tpl" */ ?>
<?php /*%%SmartyHeaderCode:136040937563b564e4c4998-05780217%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'037826c398d15d6bcdd0641cc1dadbe98e7ff3d0' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin/themes/default/template/helpers/uploader/simple.tpl',
1 => 1446729262,
2 => 'file',
),
),
'nocache_hash' => '136040937563b564e4c4998-05780217',
'function' =>
array (
),
'variables' =>
array (
'files' => 0,
'file' => 0,
'show_thumbnail' => 0,
'id' => 0,
'max_files' => 0,
'name' => 0,
'multiple' => 0,
'size' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b564e578934_59292194',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b564e578934_59292194')) {function content_563b564e578934_59292194($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['files']->value)&&count($_smarty_tpl->tpl_vars['files']->value)>0) {?>
<?php $_smarty_tpl->tpl_vars['show_thumbnail'] = new Smarty_variable(false, null, 0);?>
<?php $_smarty_tpl->tpl_vars['file'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['file']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value) {
$_smarty_tpl->tpl_vars['file']->_loop = true;
?>
<?php if (isset($_smarty_tpl->tpl_vars['file']->value['image'])&&$_smarty_tpl->tpl_vars['file']->value['type']=='image') {?>
<?php $_smarty_tpl->tpl_vars['show_thumbnail'] = new Smarty_variable(true, null, 0);?>
<?php }?>
<?php } ?>
<?php if ($_smarty_tpl->tpl_vars['show_thumbnail']->value) {?>
<div class="form-group">
<div class="col-lg-12" id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-images-thumbnails">
<?php $_smarty_tpl->tpl_vars['file'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['file']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value) {
$_smarty_tpl->tpl_vars['file']->_loop = true;
?>
<?php if (isset($_smarty_tpl->tpl_vars['file']->value['image'])&&$_smarty_tpl->tpl_vars['file']->value['type']=='image') {?>
<div>
<?php echo $_smarty_tpl->tpl_vars['file']->value['image'];?>
<?php if (isset($_smarty_tpl->tpl_vars['file']->value['size'])) {?><p><?php echo smartyTranslate(array('s'=>'File size'),$_smarty_tpl);?>
<?php echo $_smarty_tpl->tpl_vars['file']->value['size'];?>
kb</p><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['file']->value['delete_url'])) {?>
<p>
<a class="btn btn-default" href="<?php echo $_smarty_tpl->tpl_vars['file']->value['delete_url'];?>
">
<i class="icon-trash"></i> <?php echo smartyTranslate(array('s'=>'Delete'),$_smarty_tpl);?>
</a>
</p>
<?php }?>
</div>
<?php }?>
<?php } ?>
</div>
</div>
<?php }?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['max_files']->value)&&count($_smarty_tpl->tpl_vars['files']->value)>=$_smarty_tpl->tpl_vars['max_files']->value) {?>
<div class="row">
<div class="alert alert-warning"><?php echo smartyTranslate(array('s'=>'You have reached the limit (%s) of files to upload, please remove files to continue uploading','sprintf'=>$_smarty_tpl->tpl_vars['max_files']->value),$_smarty_tpl);?>
</div>
</div>
<?php } else { ?>
<div class="form-group">
<div class="col-sm-6">
<input id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
" type="file" name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?>[]<?php }?>"<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?> multiple="multiple"<?php }?> class="hide" />
<div class="dummyfile input-group">
<span class="input-group-addon"><i class="icon-file"></i></span>
<input id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name" type="text" name="filename" readonly />
<span class="input-group-btn">
<button id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-selectbutton" type="button" name="submitAddAttachments" class="btn btn-default">
<i class="icon-folder-open"></i> <?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&$_smarty_tpl->tpl_vars['multiple']->value) {?><?php echo smartyTranslate(array('s'=>'Add files'),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Add file'),$_smarty_tpl);?>
<?php }?>
</button>
<?php if ((!isset($_smarty_tpl->tpl_vars['multiple']->value)||!$_smarty_tpl->tpl_vars['multiple']->value)&&isset($_smarty_tpl->tpl_vars['files']->value)&&count($_smarty_tpl->tpl_vars['files']->value)==1&&isset($_smarty_tpl->tpl_vars['files']->value[0]['download_url'])) {?>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['files']->value[0]['download_url'], ENT_QUOTES, 'UTF-8', true);?>
" class="btn btn-default">
<i class="icon-cloud-download"></i>
<?php if (isset($_smarty_tpl->tpl_vars['size']->value)) {?><?php echo smartyTranslate(array('s'=>'Download current file (%skb)','sprintf'=>$_smarty_tpl->tpl_vars['size']->value),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Download current file'),$_smarty_tpl);?>
<?php }?>
</a>
<?php }?>
</span>
</div>
</div>
</div>
<script type="text/javascript">
<?php if (isset($_smarty_tpl->tpl_vars['multiple']->value)&&isset($_smarty_tpl->tpl_vars['max_files']->value)) {?>
var <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files = <?php echo $_smarty_tpl->tpl_vars['max_files']->value-count($_smarty_tpl->tpl_vars['files']->value);?>
;
<?php }?>
$(document).ready(function(){
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-selectbutton').click(function(e) {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').trigger('click');
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').click(function(e) {
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').trigger('click');
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').on('dragenter', function(e) {
e.stopPropagation();
e.preventDefault();
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').on('dragover', function(e) {
e.stopPropagation();
e.preventDefault();
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').on('drop', function(e) {
e.preventDefault();
var files = e.originalEvent.dataTransfer.files;
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
')[0].files = files;
$(this).val(files[0].name);
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').change(function(e) {
if ($(this)[0].files !== undefined)
{
var files = $(this)[0].files;
var name = '';
$.each(files, function(index, value) {
name += value.name+', ';
});
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').val(name.slice(0, -2));
}
else // Internet Explorer 9 Compatibility
{
var name = $(this).val().split(/[\\/]/);
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
-name').val(name[name.length-1]);
}
});
if (typeof <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files !== 'undefined')
{
$('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
').closest('form').on('submit', function(e) {
if ($('#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
')[0].files.length > <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
_max_files) {
e.preventDefault();
alert('<?php echo smartyTranslate(array('s'=>sprintf('You can upload a maximum of %s files',$_smarty_tpl->tpl_vars['max_files']->value)),$_smarty_tpl);?>
');
}
});
}
});
</script>
<?php }?>
<?php }} ?>

View File

@@ -1,550 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-02 19:40:50
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin860270clg/themes/default/template/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:85497869556376eea2e8b32-72730986%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'037f60bc6f1a47992c136911ca1993925e164a15' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin860270clg/themes/default/template/header.tpl',
1 => 1446454904,
2 => 'file',
),
),
'nocache_hash' => '85497869556376eea2e8b32-72730986',
'function' =>
array (
),
'variables' =>
array (
'iso' => 0,
'img_dir' => 0,
'meta_title' => 0,
'shop_name' => 0,
'display_header_javascript' => 0,
'controller_name' => 0,
'iso_user' => 0,
'full_language_code' => 0,
'country_iso_code' => 0,
'round_mode' => 0,
'shop_context' => 0,
'autorefresh_notifications' => 0,
'token' => 0,
'currentIndex' => 0,
'default_language' => 0,
'link' => 0,
'tab_modules_list' => 0,
'css_files' => 0,
'css_uri' => 0,
'js_def' => 0,
'js_files' => 0,
'displayBackOfficeHeader' => 0,
'brightness' => 0,
'display_header' => 0,
'employee' => 0,
'collapse_menu' => 0,
'default_tab_link' => 0,
'version' => 0,
'is_multishop' => 0,
'shop_list' => 0,
'multishop_context' => 0,
'show_new_orders' => 0,
'show_new_customers' => 0,
'show_new_messages' => 0,
'quick_access' => 0,
'quick' => 0,
'matchQuickLink' => 0,
'quick_access_current_link_name' => 0,
'quick_access_current_link_icon' => 0,
'logged_on_addons' => 0,
'display_addons_connection' => 0,
'base_url' => 0,
'base_url_tc' => 0,
'maintenance_mode' => 0,
'host_mode' => 0,
'login_link' => 0,
'displayBackOfficeTop' => 0,
'bootstrap' => 0,
'page_header_toolbar' => 0,
'modal_module_list' => 0,
'install_dir_exists' => 0,
'lite_display' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56376eea4c2461_42732541',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56376eea4c2461_42732541')) {function content_56376eea4c2461_42732541($_smarty_tpl) {?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]-->
<html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title><?php if ($_smarty_tpl->tpl_vars['meta_title']->value!='') {?><?php echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
• <?php }?><?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</title>
<?php if (!isset($_smarty_tpl->tpl_vars['display_header_javascript']->value)||$_smarty_tpl->tpl_vars['display_header_javascript']->value) {?>
<script type="text/javascript">
var help_class_name = '<?php echo addcslashes($_smarty_tpl->tpl_vars['controller_name']->value,'\'');?>
';
var iso_user = '<?php echo addcslashes($_smarty_tpl->tpl_vars['iso_user']->value,'\'');?>
';
var full_language_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['full_language_code']->value,'\'');?>
';
var country_iso_code = '<?php echo addcslashes($_smarty_tpl->tpl_vars['country_iso_code']->value,'\'');?>
';
var _PS_VERSION_ = '<?php echo addcslashes(@constant('_PS_VERSION_'),'\'');?>
';
var roundMode = <?php echo intval($_smarty_tpl->tpl_vars['round_mode']->value);?>
;
<?php if (isset($_smarty_tpl->tpl_vars['shop_context']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['shop_context']->value==Shop::CONTEXT_ALL) {?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for all your shops.','js'=>1),$_smarty_tpl);?>
';
<?php } elseif ($_smarty_tpl->tpl_vars['shop_context']->value==Shop::CONTEXT_GROUP) {?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for all shops in this shop group:','js'=>1),$_smarty_tpl);?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php } else { ?>
var youEditFieldFor = '<?php echo smartyTranslate(array('s'=>'This field will be modified for this shop:','js'=>1),$_smarty_tpl);?>
<b><?php echo addcslashes($_smarty_tpl->tpl_vars['shop_name']->value,'\'');?>
</b>';
<?php }?>
<?php } else { ?>
var youEditFieldFor = '';
<?php }?>
var autorefresh_notifications = '<?php echo addcslashes($_smarty_tpl->tpl_vars['autorefresh_notifications']->value,'\'');?>
';
var new_order_msg = '<?php echo smartyTranslate(array('s'=>'A new order has been placed on your shop.','js'=>1),$_smarty_tpl);?>
';
var order_number_msg = '<?php echo smartyTranslate(array('s'=>'Order number:','js'=>1),$_smarty_tpl);?>
';
var total_msg = '<?php echo smartyTranslate(array('s'=>'Total:','js'=>1),$_smarty_tpl);?>
';
var from_msg = '<?php echo smartyTranslate(array('s'=>'From:','js'=>1),$_smarty_tpl);?>
';
var see_order_msg = '<?php echo smartyTranslate(array('s'=>'View this order','js'=>1),$_smarty_tpl);?>
';
var new_customer_msg = '<?php echo smartyTranslate(array('s'=>'A new customer registered on your shop.','js'=>1),$_smarty_tpl);?>
';
var customer_name_msg = '<?php echo smartyTranslate(array('s'=>'Customer name:','js'=>1),$_smarty_tpl);?>
';
var new_msg = '<?php echo smartyTranslate(array('s'=>'A new message was posted on your shop.','js'=>1),$_smarty_tpl);?>
';
var see_msg = '<?php echo smartyTranslate(array('s'=>'Read this message','js'=>1),$_smarty_tpl);?>
';
var token = '<?php echo addslashes($_smarty_tpl->tpl_vars['token']->value);?>
';
var token_admin_orders = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminOrders'),$_smarty_tpl);?>
';
var token_admin_customers = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomers'),$_smarty_tpl);?>
';
var token_admin_customer_threads = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomerThreads'),$_smarty_tpl);?>
';
var currentIndex = '<?php echo addcslashes($_smarty_tpl->tpl_vars['currentIndex']->value,'\'');?>
';
var employee_token = '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminEmployees'),$_smarty_tpl);?>
';
var choose_language_translate = '<?php echo smartyTranslate(array('s'=>'Choose language','js'=>1),$_smarty_tpl);?>
';
var default_language = '<?php echo intval($_smarty_tpl->tpl_vars['default_language']->value);?>
';
var admin_modules_link = '<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink("AdminModules"));?>
';
var tab_modules_list = '<?php if (isset($_smarty_tpl->tpl_vars['tab_modules_list']->value)&&$_smarty_tpl->tpl_vars['tab_modules_list']->value) {?><?php echo addslashes($_smarty_tpl->tpl_vars['tab_modules_list']->value);?>
<?php }?>';
var update_success_msg = '<?php echo smartyTranslate(array('s'=>'Update successful','js'=>1),$_smarty_tpl);?>
';
var errorLogin = '<?php echo smartyTranslate(array('s'=>'PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.','js'=>1),$_smarty_tpl);?>
';
var search_product_msg = '<?php echo smartyTranslate(array('s'=>'Search for a product','js'=>1),$_smarty_tpl);?>
';
</script>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['css_files']->value)) {?>
<?php $_smarty_tpl->tpl_vars['media'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['media']->_loop = false;
$_smarty_tpl->tpl_vars['css_uri'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['css_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['media']->key => $_smarty_tpl->tpl_vars['media']->value) {
$_smarty_tpl->tpl_vars['media']->_loop = true;
$_smarty_tpl->tpl_vars['css_uri']->value = $_smarty_tpl->tpl_vars['media']->key;
?>
<link href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['css_uri']->value, ENT_QUOTES, 'UTF-8', true);?>
" rel="stylesheet" type="text/css"/>
<?php } ?>
<?php }?>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value)&&count($_smarty_tpl->tpl_vars['js_def']->value)||isset($_smarty_tpl->tpl_vars['js_files']->value)&&count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value)) {?>
<?php echo $_smarty_tpl->tpl_vars['displayBackOfficeHeader']->value;?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['brightness']->value)) {?>
<!--
// @todo: multishop color
<style type="text/css">
div#header_infos, div#header_infos a#header_shopname, div#header_infos a#header_logout, div#header_infos a#header_foaccess {color:<?php echo $_smarty_tpl->tpl_vars['brightness']->value;?>
}
</style>
-->
<?php }?>
</head>
<?php if ($_smarty_tpl->tpl_vars['display_header']->value) {?>
<body class="ps_back-office<?php if ($_smarty_tpl->tpl_vars['employee']->value->bo_menu) {?> page-sidebar<?php if ($_smarty_tpl->tpl_vars['collapse_menu']->value) {?> page-sidebar-closed<?php }?><?php } else { ?> page-topbar<?php }?> <?php echo strtolower(htmlspecialchars($_GET['controller'], ENT_QUOTES, 'UTF-8', true));?>
">
<header id="header" class="bootstrap">
<nav id="header_infos" role="navigation">
<div class="navbar-header">
<button id="header_nav_toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-primary">
<i class="icon-reorder"></i>
</button>
<a id="header_shopversion" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['default_tab_link']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span id="shop_version"><?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</span>
</a>
<?php if (isset($_smarty_tpl->tpl_vars['is_multishop']->value)&&$_smarty_tpl->tpl_vars['is_multishop']->value&&$_smarty_tpl->tpl_vars['shop_list']->value&&(isset($_smarty_tpl->tpl_vars['multishop_context']->value)&&$_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_GROUP||$_smarty_tpl->tpl_vars['multishop_context']->value&Shop::CONTEXT_SHOP)) {?>
<ul id="header_shop">
<li class="dropdown">
<?php echo $_smarty_tpl->tpl_vars['shop_list']->value;?>
</li>
</ul>
<?php } else { ?>
<a id="header_shopname" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['default_tab_link']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
</a>
<?php }?>
<ul id="header_notifs_icon_wrapper">
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_orders']->value;?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==1) {?>
<li id="orders_notif" class="dropdown" data-type="order">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-shopping-cart"></i>
<span id="orders_notif_number_wrapper" class="notifs_badge hide">
<span id="orders_notif_value">0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="orders_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Orders'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_orders_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new orders have been placed on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminOrders&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminOrders'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all orders'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_customers']->value;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2==1) {?>
<li id="customers_notif" class="dropdown" data-type="customer">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-user"></i>
<span id="customers_notif_number_wrapper" class="notifs_badge hide">
<span id="customers_notif_value">0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="customers_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Registrations'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_customers_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new customers have registered on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminCustomers&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomers'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all customers'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['show_new_messages']->value;?>
<?php $_tmp3=ob_get_clean();?><?php if ($_tmp3==1) {?>
<li id="customer_messages_notif" class="dropdown" data-type="customer_message">
<a href="javascript:void(0);" class="dropdown-toggle notifs" data-toggle="dropdown">
<i class="icon-envelope"></i>
<span id="customer_messages_notif_number_wrapper" class="notifs_badge hide">
<span id="customer_messages_notif_value" >0</span>
</span>
</a>
<div class="dropdown-menu notifs_dropdown">
<section id="customer_messages_notif_wrapper" class="notifs_panel">
<div class="notifs_panel_header">
<h3><?php echo smartyTranslate(array('s'=>'Latest Messages'),$_smarty_tpl);?>
</h3>
</div>
<div id="list_customer_messages_notif" class="list_notif">
<span class="no_notifs">
<?php echo smartyTranslate(array('s'=>'No new messages have been posted on your shop.'),$_smarty_tpl);?>
</span>
</div>
<div class="notifs_panel_footer">
<a href="index.php?controller=AdminCustomerThreads&amp;token=<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomerThreads'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Show all messages'),$_smarty_tpl);?>
</a>
</div>
</section>
</div>
</li>
<?php }?>
</ul>
<?php if (count($_smarty_tpl->tpl_vars['quick_access']->value)>=0) {?>
<ul id="header_quick">
<li class="dropdown">
<a href="javascript:void(0)" id="quick_select" class="dropdown-toggle" data-toggle="dropdown"><?php echo smartyTranslate(array('s'=>'Quick Access'),$_smarty_tpl);?>
<i class="icon-caret-down"></i></a>
<ul class="dropdown-menu">
<?php $_smarty_tpl->tpl_vars['quick'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quick']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['quick_access']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->key => $_smarty_tpl->tpl_vars['quick']->value) {
$_smarty_tpl->tpl_vars['quick']->_loop = true;
?>
<li <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['quick']->value['link'];?>
<?php $_tmp4=ob_get_clean();?><?php if ($_smarty_tpl->tpl_vars['link']->value->matchQuickLink($_tmp4)) {?><?php $_smarty_tpl->tpl_vars["matchQuickLink"] = new Smarty_variable($_smarty_tpl->tpl_vars['quick']->value['id_quick_access'], null, 0);?>class="active"<?php }?>>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['quick']->value['link'], ENT_QUOTES, 'UTF-8', true);?>
"<?php if ($_smarty_tpl->tpl_vars['quick']->value['new_window']) {?> class="_blank"<?php }?>>
<?php if (isset($_smarty_tpl->tpl_vars['quick']->value['icon'])) {?>
<i class="icon-<?php echo $_smarty_tpl->tpl_vars['quick']->value['icon'];?>
icon-fw"></i>
<?php } else { ?>
<i class="icon-chevron-right icon-fw"></i>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['quick']->value['name'];?>
</a>
</li>
<?php } ?>
<li class="divider"></li>
<?php if (isset($_smarty_tpl->tpl_vars['matchQuickLink']->value)) {?>
<li>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="remove" data-quicklink-id="<?php echo $_smarty_tpl->tpl_vars['matchQuickLink']->value;?>
">
<i class="icon-minus-circle"></i>
<?php echo smartyTranslate(array('s'=>'Remove from QuickAccess'),$_smarty_tpl);?>
</a>
</li>
<?php }?>
<li <?php if (isset($_smarty_tpl->tpl_vars['matchQuickLink']->value)) {?>class="hide"<?php }?>>
<a href="javascript:void(0);" class="ajax-quick-link" data-method="add">
<i class="icon-plus-circle"></i>
<?php echo smartyTranslate(array('s'=>'Add current page to QuickAccess'),$_smarty_tpl);?>
</a>
</li>
</ul>
</li>
</ul>
<?php $_smarty_tpl->tpl_vars['quick_access_current_link_name'] = new Smarty_variable(explode(" - ",$_smarty_tpl->tpl_vars['quick_access_current_link_name']->value), null, 0);?>
<script>
$(function() {
$('.ajax-quick-link').on('click', function(e){
e.preventDefault();
var method = $(this).data('method');
if(method == 'add')
var name = prompt('<?php echo smartyTranslate(array('s'=>'Please name this shortcut:','js'=>1),$_smarty_tpl);?>
', '<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['truncate'][0][0]->smarty_modifier_truncate($_smarty_tpl->tpl_vars['quick_access_current_link_name']->value[0],32);?>
');
if(method == 'add' && name || method == 'remove')
{
$.ajax({
type: 'POST',
headers: { "cache-control": "no-cache" },
async: false,
url: "<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminQuickAccesses');?>
" + "&action=GetUrl" + "&rand=<?php echo rand(1,200);?>
" + "&ajax=1" + "&method=" + method + ( $(this).data('quicklink-id') ? "&id_quick_access=" + $(this).data('quicklink-id') : ""),
data: {
"url": "<?php echo $_smarty_tpl->tpl_vars['link']->value->getQuickLink($_SERVER['REQUEST_URI']);?>
",
"name": name,
"icon": "<?php echo $_smarty_tpl->tpl_vars['quick_access_current_link_icon']->value;?>
"
},
dataType: "json",
success: function(data) {
var quicklink_list ='';
$.each(data, function(index,value){
if (typeof data[index]['name'] !== 'undefined')
quicklink_list += '<li><a href="' + data[index]['link'] + '&token=' + data[index]['token'] + '"><i class="icon-chevron-right"></i> ' + data[index]['name'] + '</a></li>';
});
if (typeof data['has_errors'] !== 'undefined' && data['has_errors'])
$.each(data, function(index, value)
{
if (typeof data[index] == 'string')
$.growl.error({ title: "", message: data[index]});
});
else if (quicklink_list)
{
$("#header_quick ul.dropdown-menu").html(quicklink_list);
showSuccessMessage(update_success_msg);
}
}
});
}
});
});
</script>
<?php }?>
<ul id="header_employee_box">
<?php if ((!isset($_smarty_tpl->tpl_vars['logged_on_addons']->value)||!$_smarty_tpl->tpl_vars['logged_on_addons']->value)&&(isset($_smarty_tpl->tpl_vars['display_addons_connection']->value)&&$_smarty_tpl->tpl_vars['display_addons_connection']->value)) {?>
<li class="hidden-sm hidden-xs">
<a href="#" class="addons_connect toolbar_btn" data-toggle="modal" data-target="#modal_addons_connect" title="<?php echo smartyTranslate(array('s'=>'Connect to PrestaShop Marketplace account'),$_smarty_tpl);?>
">
<i class="icon-chain-broken"></i>
<span class="string-long"><?php echo smartyTranslate(array('s'=>'Connect to PrestaShop Marketplace account'),$_smarty_tpl);?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'PrestaShop Marketplace'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
<?php $_tmp5=ob_get_clean();?><?php if ($_tmp5) {?>
<li>
<a href="<?php if (isset($_smarty_tpl->tpl_vars['base_url_tc']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_url_tc']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['base_url']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php }?>" id="header_foaccess" class="_blank" title="<?php echo smartyTranslate(array('s'=>'View my shop'),$_smarty_tpl);?>
">
<span class="string-long"><?php echo smartyTranslate(array('s'=>'My shop'),$_smarty_tpl);?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'Shop'),$_smarty_tpl);?>
</span>
</a>
<?php if (isset($_smarty_tpl->tpl_vars['maintenance_mode']->value)&&$_smarty_tpl->tpl_vars['maintenance_mode']->value==true) {?>
<span class="maintenance-mode">
&mdash;
<span class="label-tooltip" data-toggle="tooltip" data-placement="bottom" data-html="true"
title="<p class='text-left text-nowrap'><strong><?php echo smartyTranslate(array('s'=>'Your shop is in maintenance.'),$_smarty_tpl);?>
</strong></p><p class='text-left'><?php echo smartyTranslate(array('s'=>'Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Preferences > Maintenance.','sprintf'=>'<br />'),$_smarty_tpl);?>
</p>"><?php echo smartyTranslate(array('s'=>'Maintenance mode'),$_smarty_tpl);?>
</span>
</span>
<?php }?>
</li>
<?php }?>
<li id="employee_infos" class="dropdown">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees'), ENT_QUOTES, 'UTF-8', true);?>
&amp;id_employee=<?php echo intval($_smarty_tpl->tpl_vars['employee']->value->id);?>
&amp;updateemployee" class="employee_name dropdown-toggle" data-toggle="dropdown">
<span class="employee_avatar_small">
<?php if (isset($_smarty_tpl->tpl_vars['employee']->value)) {?>
<img class="imgm img-thumbnail" alt="" src="<?php echo $_smarty_tpl->tpl_vars['employee']->value->getImage();?>
" width="32" height="32" />
<?php }?>
</span>
<span class="string-long"><?php echo $_smarty_tpl->tpl_vars['employee']->value->firstname;?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['employee']->value->lastname;?>
</span>
<span class="string-short"><?php echo smartyTranslate(array('s'=>'Me'),$_smarty_tpl);?>
</span>
<i class="caret"></i>
</a>
<ul id="employee_links" class="dropdown-menu">
<li>
<span class="employee_avatar">
<img class="imgm img-thumbnail" alt="" src="<?php echo $_smarty_tpl->tpl_vars['employee']->value->getImage();?>
" width="96" height="96" />
</span>
</li>
<li class="text-center text-nowrap"><?php echo $_smarty_tpl->tpl_vars['employee']->value->firstname;?>
<?php echo $_smarty_tpl->tpl_vars['employee']->value->lastname;?>
</li>
<li class="divider"></li>
<li><a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminEmployees'), ENT_QUOTES, 'UTF-8', true);?>
&amp;id_employee=<?php echo intval($_smarty_tpl->tpl_vars['employee']->value->id);?>
&amp;updateemployee"><i class="icon-wrench"></i> <?php echo smartyTranslate(array('s'=>'My preferences'),$_smarty_tpl);?>
</a></li>
<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>
<li><a href="https://www.prestashop.com/cloud/" class="_blank"><i class="icon-wrench"></i> <?php echo smartyTranslate(array('s'=>'My PrestaShop account'),$_smarty_tpl);?>
</a></li>
<?php }?>
<li class="divider"></li>
<li><a id="header_logout" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['login_link']->value, ENT_QUOTES, 'UTF-8', true);?>
&amp;logout"><i class="icon-signout"></i> <?php echo smartyTranslate(array('s'=>'Sign out'),$_smarty_tpl);?>
</a></li>
</ul>
</li>
</ul>
<span id="ajax_running">
<i class="icon-refresh icon-spin icon-fw"></i>
</span>
<?php if (isset($_smarty_tpl->tpl_vars['displayBackOfficeTop']->value)) {?><?php echo $_smarty_tpl->tpl_vars['displayBackOfficeTop']->value;?>
<?php }?>
</div>
</nav>
</header>
<div id="main">
<?php echo $_smarty_tpl->getSubTemplate ('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }?>">
<?php if (isset($_smarty_tpl->tpl_vars['page_header_toolbar']->value)) {?><?php echo $_smarty_tpl->tpl_vars['page_header_toolbar']->value;?>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['modal_module_list']->value)) {?><?php echo $_smarty_tpl->tpl_vars['modal_module_list']->value;?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['install_dir_exists']->value) {?>
<div class="alert alert-warning">
<?php echo smartyTranslate(array('s'=>'For security reasons, you must also delete the /install folder.'),$_smarty_tpl);?>
</div>
<?php }?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h'=>'displayAdminAfterHeader'),$_smarty_tpl);?>
<?php } else { ?>
<body<?php if (isset($_smarty_tpl->tpl_vars['lite_display']->value)&&$_smarty_tpl->tpl_vars['lite_display']->value) {?> class="ps_back-office display-modal"<?php }?>>
<div id="main">
<div id="content" class="<?php if (!$_smarty_tpl->tpl_vars['bootstrap']->value) {?>nobootstrap<?php } else { ?>bootstrap<?php }?>">
<?php }?>
<?php }} ?>

View File

@@ -1,138 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 17:58:33
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin338kklw7d/themes/default/template/layout-ajax.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1914380661563b4b717f7be2-11818957%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'03a20831dd1db7e31321eae0c0f86da7d7d860bb' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin338kklw7d/themes/default/template/layout-ajax.tpl',
1 => 1446725529,
2 => 'file',
),
),
'nocache_hash' => '1914380661563b4b717f7be2-11818957',
'function' =>
array (
),
'variables' =>
array (
'json' => 0,
'status' => 0,
'confirmations' => 0,
'hasresult' => 0,
'informations' => 0,
'errors' => 0,
'warnings' => 0,
'page' => 0,
'conf' => 0,
'error' => 0,
'info' => 0,
'confirm' => 0,
'warning' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b4b71886a63_50467079',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b4b71886a63_50467079')) {function content_563b4b71886a63_50467079($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['json']->value)) {?>
{<?php if (isset($_smarty_tpl->tpl_vars['status']->value)&&is_string($_smarty_tpl->tpl_vars['status']->value)&&trim($_smarty_tpl->tpl_vars['status']->value)!='') {?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"status" : "<?php echo $_smarty_tpl->tpl_vars['status']->value;?>
"<?php }?><?php if (isset($_smarty_tpl->tpl_vars['confirmations']->value)&&count($_smarty_tpl->tpl_vars['confirmations']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"confirmations" : <?php echo $_smarty_tpl->tpl_vars['confirmations']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['informations']->value)&&count($_smarty_tpl->tpl_vars['informations']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"informations" : <?php echo $_smarty_tpl->tpl_vars['informations']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['errors']->value)&&count($_smarty_tpl->tpl_vars['errors']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"error" : <?php echo $_smarty_tpl->tpl_vars['errors']->value;?>
<?php }?><?php if (isset($_smarty_tpl->tpl_vars['warnings']->value)&&count($_smarty_tpl->tpl_vars['warnings']->value)>0) {?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"warnings" : <?php echo $_smarty_tpl->tpl_vars['warnings']->value;?>
<?php }?><?php if ($_smarty_tpl->tpl_vars['hasresult']->value=='ok') {?>,<?php }?><?php $_smarty_tpl->tpl_vars['hasresult'] = new Smarty_variable('ok', null, 0);?>"content" : <?php echo $_smarty_tpl->tpl_vars['page']->value;?>
}
<?php } else { ?>
<?php if (isset($_smarty_tpl->tpl_vars['conf']->value)) {?>
<div class="alert alert-success">
<?php echo $_smarty_tpl->tpl_vars['conf']->value;?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value)) {?>
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['errors']->value)==1) {?>
<?php echo $_smarty_tpl->tpl_vars['errors']->value[0];?>
<?php } else { ?>
<?php echo smartyTranslate(array('s'=>'%d errors','sprintf'=>count($_smarty_tpl->tpl_vars['errors']->value)),$_smarty_tpl);?>
<br/>
<ul>
<?php $_smarty_tpl->tpl_vars['error'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['error']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['errors']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['error']->key => $_smarty_tpl->tpl_vars['error']->value) {
$_smarty_tpl->tpl_vars['error']->_loop = true;
?>
<li><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
</li>
<?php } ?>
</ul>
<?php }?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['informations']->value)&&count($_smarty_tpl->tpl_vars['informations']->value)&&$_smarty_tpl->tpl_vars['informations']->value) {?>
<div class="alert alert-info" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php $_smarty_tpl->tpl_vars['info'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['info']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['informations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['info']->key => $_smarty_tpl->tpl_vars['info']->value) {
$_smarty_tpl->tpl_vars['info']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['info']->value;?>
<br/>
<?php } ?>
</div>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['confirmations']->value)&&count($_smarty_tpl->tpl_vars['confirmations']->value)&&$_smarty_tpl->tpl_vars['confirmations']->value) {?>
<div class="alert alert-success" style="display:block;">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php $_smarty_tpl->tpl_vars['confirm'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['confirm']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['confirmations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['confirm']->key => $_smarty_tpl->tpl_vars['confirm']->value) {
$_smarty_tpl->tpl_vars['confirm']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['confirm']->value;?>
<br />
<?php } ?>
</div>
<?php }?>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)) {?>
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)>1) {?>
<?php echo smartyTranslate(array('s'=>'There are %d warnings.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl);?>
<span style="margin-left:20px;" id="labelSeeMore">
<a id="linkSeeMore" href="#" style="text-decoration:underline"><?php echo smartyTranslate(array('s'=>'Click here to see more'),$_smarty_tpl);?>
</a>
<a id="linkHide" href="#" style="text-decoration:underline;display:none"><?php echo smartyTranslate(array('s'=>'Hide warning'),$_smarty_tpl);?>
</a>
</span>
<?php } else { ?>
<?php echo smartyTranslate(array('s'=>'There is %d warning.','sprintf'=>count($_smarty_tpl->tpl_vars['warnings']->value)),$_smarty_tpl);?>
<?php }?>
<ul style="display:<?php if (count($_smarty_tpl->tpl_vars['warnings']->value)>1) {?>none<?php } else { ?>block<?php }?>;" id="seeMore">
<?php $_smarty_tpl->tpl_vars['warning'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['warning']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['warnings']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['warning']->key => $_smarty_tpl->tpl_vars['warning']->value) {
$_smarty_tpl->tpl_vars['warning']->_loop = true;
?>
<li><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
</li>
<?php } ?>
</ul>
</div>
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
<?php }?>
<?php }} ?>

View File

@@ -1,90 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-30 01:03:39
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin652sof9ht/themes/default/template/nav.tpl" */ ?>
<?php /*%%SmartyHeaderCode:31857558356ab8d5b48f446-15860705%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'03b4c620dc0d7860773181595d68a66e1570fc7d' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin652sof9ht/themes/default/template/nav.tpl',
1 => 1454061940,
2 => 'file',
),
),
'nocache_hash' => '31857558356ab8d5b48f446-15860705',
'function' =>
array (
),
'variables' =>
array (
'employee' => 0,
'tab' => 0,
'tabs' => 0,
't' => 0,
't2' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab8d5b4f67c2_29101590',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab8d5b4f67c2_29101590')) {function content_56ab8d5b4f67c2_29101590($_smarty_tpl) {?><div class="bootstrap">
<nav id="<?php if ($_smarty_tpl->tpl_vars['employee']->value->bo_menu) {?>nav-sidebar<?php } else { ?>nav-topbar<?php }?>" role="navigation">
<?php if (!$_smarty_tpl->tpl_vars['tab']->value) {?>
<div class="mainsubtablist" style="display:none;"></div>
<?php }?>
<ul class="menu">
<li class="searchtab">
<?php echo $_smarty_tpl->getSubTemplate ("search_form.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('id'=>"header_search",'show_clear_btn'=>1), 0);?>
</li>
<?php $_smarty_tpl->tpl_vars['t'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['t']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['tabs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['t']->key => $_smarty_tpl->tpl_vars['t']->value) {
$_smarty_tpl->tpl_vars['t']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['t']->value['active']) {?>
<li class="maintab <?php if ($_smarty_tpl->tpl_vars['t']->value['current']) {?>active<?php }?> <?php if (count($_smarty_tpl->tpl_vars['t']->value['sub_tabs'])) {?>has_submenu<?php }?>" id="maintab-<?php echo $_smarty_tpl->tpl_vars['t']->value['class_name'];?>
" data-submenu="<?php echo $_smarty_tpl->tpl_vars['t']->value['id_tab'];?>
">
<a href="<?php if (count($_smarty_tpl->tpl_vars['t']->value['sub_tabs'])&&isset($_smarty_tpl->tpl_vars['t']->value['sub_tabs'][0]['href'])) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t']->value['sub_tabs'][0]['href'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t']->value['href'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?>" class="title" >
<i class="icon-<?php echo $_smarty_tpl->tpl_vars['t']->value['class_name'];?>
"></i>
<span><?php if ($_smarty_tpl->tpl_vars['t']->value['name']=='') {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t']->value['class_name'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?></span>
</a>
<?php if (count($_smarty_tpl->tpl_vars['t']->value['sub_tabs'])) {?>
<ul class="submenu">
<?php $_smarty_tpl->tpl_vars['t2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['t2']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['t']->value['sub_tabs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['t2']->key => $_smarty_tpl->tpl_vars['t2']->value) {
$_smarty_tpl->tpl_vars['t2']->_loop = true;
?>
<?php if ($_smarty_tpl->tpl_vars['t2']->value['active']) {?>
<li id="subtab-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t2']->value['class_name'], ENT_QUOTES, 'UTF-8', true);?>
" <?php if ($_smarty_tpl->tpl_vars['t2']->value['current']) {?> class="active"<?php }?>>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t2']->value['href'], ENT_QUOTES, 'UTF-8', true);?>
">
<?php if ($_smarty_tpl->tpl_vars['t2']->value['name']=='') {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t2']->value['class_name'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['t2']->value['name'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?>
</a>
</li>
<?php }?>
<?php } ?>
</ul>
<?php }?>
</li>
<?php }?>
<?php } ?>
</ul>
<span class="menu-collapse">
<i class="icon-align-justify icon-rotate-90"></i>
</span>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['hook'][0][0]->smartyHook(array('h'=>'displayAdminNavBarBeforeEnd'),$_smarty_tpl);?>
</nav>
</div>
<?php }} ?>

View File

@@ -1,729 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 16:50:14
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin464itamgr/themes/default/template/controllers/products/prices.tpl" */ ?>
<?php /*%%SmartyHeaderCode:909065455563b3b6e5e8018-96125323%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'03e95feed8e37700326993b21cd48203e818b035' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin464itamgr/themes/default/template/controllers/products/prices.tpl',
1 => 1446483944,
2 => 'file',
),
),
'nocache_hash' => '909065455563b3b6e5e8018-96125323',
'function' =>
array (
),
'variables' =>
array (
'link' => 0,
'ecotax_tax_excl' => 0,
'country_display_tax_label' => 0,
'tax_exclude_taxe_option' => 0,
'currency' => 0,
'product' => 0,
'priceDisplayPrecisionFormat' => 0,
'pack' => 0,
'taxesRatesByGroup' => 0,
'tax_by_group' => 0,
'ecotaxTaxRate' => 0,
'tax_rules_groups' => 0,
'tax_rules_group' => 0,
'ps_use_ecotax' => 0,
'unit_price' => 0,
'ps_tax' => 0,
'specificPriceModificationForm' => 0,
'combinations' => 0,
'combination' => 0,
'multi_shop' => 0,
'admin_one_shop' => 0,
'shops' => 0,
'shop' => 0,
'currencies' => 0,
'curr' => 0,
'countries' => 0,
'country' => 0,
'groups' => 0,
'group' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b3b6e92a9c5_76593414',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b3b6e92a9c5_76593414')) {function content_563b3b6e92a9c5_76593414($_smarty_tpl) {?>
<script type="text/javascript">
var Customer = new Object();
var product_url = '<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts',true));?>
';
var ecotax_tax_excl = parseFloat(<?php echo $_smarty_tpl->tpl_vars['ecotax_tax_excl']->value;?>
);
var priceDisplayPrecision = <?php echo intval(@constant('_PS_PRICE_DISPLAY_PRECISION_'));?>
;
$(document).ready(function () {
Customer = {
"hiddenField": jQuery('#id_customer'),
"field": jQuery('#customer'),
"container": jQuery('#customers'),
"loader": jQuery('#customerLoader'),
"init": function() {
jQuery(Customer.field).typeWatch({
"captureLength": 1,
"highlight": true,
"wait": 50,
"callback": Customer.search
}).focus(Customer.placeholderIn).blur(Customer.placeholderOut);
},
"placeholderIn": function() {
if (this.value == '<?php echo smartyTranslate(array('s'=>'All customers'),$_smarty_tpl);?>
') {
this.value = '';
}
},
"placeholderOut": function() {
if (this.value == '') {
this.value = '<?php echo smartyTranslate(array('s'=>'All customers'),$_smarty_tpl);?>
';
}
},
"search": function()
{
Customer.showLoader();
jQuery.ajax({
"type": "POST",
"url": "<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminCustomers'));?>
",
"async": true,
"dataType": "json",
"data": {
"ajax": "1",
"token": "<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['getAdminToken'][0][0]->getAdminTokenLiteSmarty(array('tab'=>'AdminCustomers'),$_smarty_tpl);?>
",
"tab": "AdminCustomers",
"action": "searchCustomers",
"customer_search": Customer.field.val()
},
"success": Customer.success
});
},
"success": function(result)
{
if(result.found) {
var html = '<ul class="list-unstyled">';
jQuery.each(result.customers, function() {
html += '<li><a class="fancybox" href="<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminCustomers');?>
&id_customer='+this.id_customer+'&viewcustomer&liteDisplaying=1">'+this.firstname+' '+this.lastname+'</a>'+(this.birthday ? ' - '+this.birthday:'');
html += ' - '+this.email;
html += '<a onclick="Customer.select('+this.id_customer+', \''+this.firstname+' '+this.lastname+'\'); return false;" href="#" class="btn btn-default"><?php echo smartyTranslate(array('s'=>'Choose'),$_smarty_tpl);?>
</a></li>';
});
html += '</ul>';
}
else
html = '<div class="alert alert-warning"><?php echo smartyTranslate(array('s'=>'No customers found'),$_smarty_tpl);?>
</div>';
Customer.hideLoader();
Customer.container.html(html);
jQuery('.fancybox', Customer.container).fancybox();
},
"select": function(id_customer, fullname)
{
Customer.hiddenField.val(id_customer);
Customer.field.val(fullname);
Customer.container.empty();
return false;
},
"showLoader": function() {
Customer.loader.fadeIn();
},
"hideLoader": function() {
Customer.loader.fadeOut();
}
};
Customer.init();
});
</script>
<?php $_smarty_tpl->_capture_stack[0][] = array('default', 'priceDisplayPrecisionFormat', null); ob_start(); ?><?php echo (('%.').(@constant('_PS_PRICE_DISPLAY_PRECISION_'))).('f');?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
<div id="product-prices" class="panel product-tab">
<input type="hidden" name="submitted_tabs[]" value="Prices" />
<h3><?php echo smartyTranslate(array('s'=>'Product price'),$_smarty_tpl);?>
</h3>
<div class="alert alert-info" <?php if (!$_smarty_tpl->tpl_vars['country_display_tax_label']->value||$_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?>style="display:none;"<?php }?>>
<?php echo smartyTranslate(array('s'=>'You must enter either the pre-tax retail price, or the retail price with tax. The input field will be automatically calculated.'),$_smarty_tpl);?>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/check_fields.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab'=>"Prices"), 0);?>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"wholesale_price",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="wholesale_price">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'The wholesale price is the price you paid for the product. Do not include the tax.'),$_smarty_tpl);?>
"><?php if (!$_smarty_tpl->tpl_vars['country_display_tax_label']->value||$_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?><?php echo smartyTranslate(array('s'=>'Wholesale price'),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Pre-tax wholesale price'),$_smarty_tpl);?>
<?php }?></span>
</label>
<div class="col-lg-2">
<div class="input-group">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input maxlength="27" name="wholesale_price" id="wholesale_price" type="text" value="<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['toolsConvertPrice'][0][0]->toolsConvertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value->wholesale_price),$_smarty_tpl);?>
<?php $_tmp1=ob_get_clean();?><?php echo sprintf($_smarty_tpl->tpl_vars['priceDisplayPrecisionFormat']->value,$_tmp1);?>
" onchange="this.value = this.value.replace(/,/g, '.');" />
</div>
<?php if (isset($_smarty_tpl->tpl_vars['pack']->value)&&$_smarty_tpl->tpl_vars['pack']->value->isPack($_smarty_tpl->tpl_vars['product']->value->id)) {?><p class="help-block"><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['toolsConvertPrice'][0][0]->toolsConvertPrice(array('price'=>sprintf($_smarty_tpl->tpl_vars['priceDisplayPrecisionFormat']->value,$_smarty_tpl->tpl_vars['pack']->value->noPackWholesalePrice($_smarty_tpl->tpl_vars['product']->value->id))),$_smarty_tpl);?>
<?php $_tmp2=ob_get_clean();?><?php echo smartyTranslate(array('s'=>'The sum of wholesale prices of the products in the pack is %s%s%s','sprintf'=>array($_smarty_tpl->tpl_vars['currency']->value->prefix,$_tmp2,$_smarty_tpl->tpl_vars['currency']->value->suffix)),$_smarty_tpl);?>
</p><?php }?>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"price",'type'=>"price"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="priceTE">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'The pre-tax retail price is the price for which you intend sell this product to your customers. It should be higher than the pre-tax wholesale price: the difference between the two will be your margin.'),$_smarty_tpl);?>
"><?php if (!$_smarty_tpl->tpl_vars['country_display_tax_label']->value||$_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?><?php echo smartyTranslate(array('s'=>'Retail price'),$_smarty_tpl);?>
<?php } else { ?><?php echo smartyTranslate(array('s'=>'Pre-tax retail price'),$_smarty_tpl);?>
<?php }?></span>
</label>
<div class="col-lg-2">
<div class="input-group">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input type="hidden" id="priceTEReal" name="price" value="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['toolsConvertPrice'][0][0]->toolsConvertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value->price),$_smarty_tpl);?>
"/>
<input size="11" maxlength="27" id="priceTE" name="price_displayed" type="text" value="<?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['toolsConvertPrice'][0][0]->toolsConvertPrice(array('price'=>$_smarty_tpl->tpl_vars['product']->value->price),$_smarty_tpl);?>
<?php $_tmp3=ob_get_clean();?><?php echo sprintf('%.6f',$_tmp3);?>
" onchange="noComma('priceTE'); $('#priceTEReal').val(this.value);" onkeyup="$('#priceType').val('TE'); $('#priceTEReal').val(this.value.replace(/,/g, '.')); if (isArrowKey(event)) return; calcPriceTI();" />
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"id_tax_rules_group",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="id_tax_rules_group">
<?php echo smartyTranslate(array('s'=>'Tax rule:'),$_smarty_tpl);?>
</label>
<div class="col-lg-8">
<script type="text/javascript">
noTax = <?php if ($_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?>true<?php } else { ?>false<?php }?>;
taxesArray = new Array();
<?php $_smarty_tpl->tpl_vars['tax_by_group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax_by_group']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['taxesRatesByGroup']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tax_by_group']->key => $_smarty_tpl->tpl_vars['tax_by_group']->value) {
$_smarty_tpl->tpl_vars['tax_by_group']->_loop = true;
?>
taxesArray[<?php echo $_smarty_tpl->tpl_vars['tax_by_group']->value['id_tax_rules_group'];?>
] = <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['json_encode'][0][0]->jsonEncode($_smarty_tpl->tpl_vars['tax_by_group']->value);?>
;
<?php } ?>
ecotaxTaxRate = <?php echo $_smarty_tpl->tpl_vars['ecotaxTaxRate']->value/100;?>
;
</script>
<div class="row">
<div class="col-lg-6">
<select onchange="javascript:calcPrice(); unitPriceWithTax('unit');" name="id_tax_rules_group" id="id_tax_rules_group" <?php if ($_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?>disabled="disabled"<?php }?> >
<option value="0"><?php echo smartyTranslate(array('s'=>'No Tax'),$_smarty_tpl);?>
</option>
<?php $_smarty_tpl->tpl_vars['tax_rules_group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax_rules_group']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['tax_rules_groups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tax_rules_group']->key => $_smarty_tpl->tpl_vars['tax_rules_group']->value) {
$_smarty_tpl->tpl_vars['tax_rules_group']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['tax_rules_group']->value['id_tax_rules_group'];?>
" <?php if ($_smarty_tpl->tpl_vars['product']->value->getIdTaxRulesGroup()==$_smarty_tpl->tpl_vars['tax_rules_group']->value['id_tax_rules_group']) {?>selected="selected"<?php }?> >
<?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['tax_rules_group']->value['name']);?>
</option>
<?php } ?>
</select>
</div>
<div class="col-lg-2">
<a class="btn btn-link confirm_leave" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminTaxRulesGroup'), ENT_QUOTES, 'UTF-8', true);?>
&amp;addtax_rules_group&amp;id_product=<?php echo $_smarty_tpl->tpl_vars['product']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?> disabled="disabled"<?php }?>>
<i class="icon-plus-sign"></i> <?php echo smartyTranslate(array('s'=>'Create new tax'),$_smarty_tpl);?>
<i class="icon-external-link-sign"></i>
</a>
</div>
</div>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<div class="alert">
<?php echo smartyTranslate(array('s'=>'Taxes are currently disabled:'),$_smarty_tpl);?>
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminTaxes'), ENT_QUOTES, 'UTF-8', true);?>
"><?php echo smartyTranslate(array('s'=>'Click here to open the Taxes configuration page.'),$_smarty_tpl);?>
</a>
<input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['product']->value->getIdTaxRulesGroup();?>
" name="id_tax_rules_group" />
</div>
</div>
</div>
<?php }?>
<div class="form-group" <?php if (!$_smarty_tpl->tpl_vars['ps_use_ecotax']->value) {?> style="display:none;"<?php }?>>
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"ecotax",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="ecotax">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'The ecotax is a local set of taxes intended to "promote ecologically sustainable activities via economic incentives". It is already included in retail price: the higher this ecotax is, the lower your margin will be.'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Ecotax (tax incl.)'),$_smarty_tpl);?>
</span>
</label>
<div class="input-group col-lg-2">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input maxlength="27" id="ecotax" name="ecotax" type="text" value="<?php echo sprintf($_smarty_tpl->tpl_vars['priceDisplayPrecisionFormat']->value,$_smarty_tpl->tpl_vars['product']->value->ecotax);?>
" onkeyup="$('#priceType').val('TI');if (isArrowKey(event))return; calcPriceTE(); this.value = this.value.replace(/,/g, '.'); if (parseInt(this.value) > getE('priceTE').value) this.value = getE('priceTE').value; if (isNaN(this.value)) this.value = 0;" />
</div>
</div>
<div class="form-group" <?php if (!$_smarty_tpl->tpl_vars['country_display_tax_label']->value||$_smarty_tpl->tpl_vars['tax_exclude_taxe_option']->value) {?>style="display:none;"<?php }?> >
<label class="control-label col-lg-3" for="priceTI"><?php echo smartyTranslate(array('s'=>'Retail price with tax'),$_smarty_tpl);?>
</label>
<div class="input-group col-lg-2">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input id="priceType" name="priceType" type="hidden" value="TE" />
<input id="priceTI" name="priceTI" type="text" value="" onchange="noComma('priceTI');" maxlength="27" onkeyup="$('#priceType').val('TI');if (isArrowKey(event)) return; calcPriceTE();" />
</div>
<?php if (isset($_smarty_tpl->tpl_vars['pack']->value)&&$_smarty_tpl->tpl_vars['pack']->value->isPack($_smarty_tpl->tpl_vars['product']->value->id)) {?><p class="col-lg-9 col-lg-offset-3 help-block"><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['toolsConvertPrice'][0][0]->toolsConvertPrice(array('price'=>sprintf($_smarty_tpl->tpl_vars['priceDisplayPrecisionFormat']->value,$_smarty_tpl->tpl_vars['pack']->value->noPackPrice($_smarty_tpl->tpl_vars['product']->value->id))),$_smarty_tpl);?>
<?php $_tmp4=ob_get_clean();?><?php echo smartyTranslate(array('s'=>'The sum of prices of the products in the pack is %s%s%s','sprintf'=>array($_smarty_tpl->tpl_vars['currency']->value->prefix,$_tmp4,$_smarty_tpl->tpl_vars['currency']->value->suffix)),$_smarty_tpl);?>
</p><?php }?>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"unit_price",'type'=>"unit_price"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="unit_price">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'When selling a pack of items, you can indicate the unit price for each item of the pack. For instance, "per bottle" or "per pound".'),$_smarty_tpl);?>
"><?php echo smartyTranslate(array('s'=>'Unit price (tax excl.)'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input id="unit_price" name="unit_price" type="text" value="<?php echo sprintf('%.6f',$_smarty_tpl->tpl_vars['unit_price']->value);?>
" maxlength="27" onkeyup="if (isArrowKey(event)) return ;this.value = this.value.replace(/,/g, '.'); unitPriceWithTax('unit');"/>
<span class="input-group-addon"><?php echo smartyTranslate(array('s'=>'per'),$_smarty_tpl);?>
</span>
<input id="unity" name="unity" type="text" value="<?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['product']->value->unity);?>
" maxlength="255" onkeyup="if (isArrowKey(event)) return ;unitySecond();" onchange="unitySecond();"/>
</div>
</div>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['product']->value->unity)&&$_smarty_tpl->tpl_vars['product']->value->unity) {?>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<div class="alert alert-warning">
<span><?php echo smartyTranslate(array('s'=>'or'),$_smarty_tpl);?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<span id="unit_price_with_tax">0.00</span><?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
<?php echo smartyTranslate(array('s'=>'per'),$_smarty_tpl);?>
<span id="unity_second"><?php echo $_smarty_tpl->tpl_vars['product']->value->unity;?>
</span><?php if ($_smarty_tpl->tpl_vars['ps_tax']->value&&$_smarty_tpl->tpl_vars['country_display_tax_label']->value) {?> <?php echo smartyTranslate(array('s'=>'(tax incl.)'),$_smarty_tpl);?>
<?php }?>
</span>
</div>
</div>
</div>
<?php }?>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"on_sale",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="on_sale">&nbsp;</label>
<div class="col-lg-9">
<div class="checkbox">
<label class="control-label" for="on_sale" >
<input type="checkbox" name="on_sale" id="on_sale" <?php if ($_smarty_tpl->tpl_vars['product']->value->on_sale) {?>checked="checked"<?php }?> value="1" />
<?php echo smartyTranslate(array('s'=>'Display the "on sale" icon on the product page, and in the text found within the product listing.'),$_smarty_tpl);?>
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<div class="alert alert-warning">
<strong><?php echo smartyTranslate(array('s'=>'Final retail price:'),$_smarty_tpl);?>
</strong>
<span>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<span id="finalPrice" >0.00</span>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
<span<?php if (!$_smarty_tpl->tpl_vars['ps_tax']->value) {?> style="display:none;"<?php }?>> (<?php echo smartyTranslate(array('s'=>'tax incl.'),$_smarty_tpl);?>
)</span>
</span>
<span<?php if (!$_smarty_tpl->tpl_vars['ps_tax']->value) {?> style="display:none;"<?php }?> >
<?php if ($_smarty_tpl->tpl_vars['country_display_tax_label']->value) {?>
/
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<span id="finalPriceWithoutTax"></span>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
<?php if ($_smarty_tpl->tpl_vars['country_display_tax_label']->value) {?>(<?php echo smartyTranslate(array('s'=>'tax excl.'),$_smarty_tpl);?>
)<?php }?>
</span>
</div>
</div>
</div>
<div class="panel-footer">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts'), ENT_QUOTES, 'UTF-8', true);?>
<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&amp;submitFilterproduct=<?php echo intval($_REQUEST['page']);?>
<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?>
</a>
<button type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save'),$_smarty_tpl);?>
</button>
<button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save and stay'),$_smarty_tpl);?>
</button>
</div>
</div>
<?php if (isset($_smarty_tpl->tpl_vars['specificPriceModificationForm']->value)) {?>
<div class="panel">
<h3><?php echo smartyTranslate(array('s'=>'Specific prices'),$_smarty_tpl);?>
</h3>
<div class="alert alert-info">
<?php echo smartyTranslate(array('s'=>'You can set specific prices for clients belonging to different groups, different countries, etc.'),$_smarty_tpl);?>
</div>
<div class="form-group">
<div class="col-lg-12">
<a class="btn btn-default" href="#" id="show_specific_price">
<i class="icon-plus-sign"></i> <?php echo smartyTranslate(array('s'=>'Add a new specific price'),$_smarty_tpl);?>
</a>
<a class="btn btn-default" href="#" id="hide_specific_price" style="display:none">
<i class="icon-remove text-danger"></i> <?php echo smartyTranslate(array('s'=>'Cancel new specific price'),$_smarty_tpl);?>
</a>
</div>
</div>
<script type="text/javascript">
var product_prices = new Array();
<?php $_smarty_tpl->tpl_vars['combination'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['combination']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['combinations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['combination']->key => $_smarty_tpl->tpl_vars['combination']->value) {
$_smarty_tpl->tpl_vars['combination']->_loop = true;
?>
product_prices['<?php echo $_smarty_tpl->tpl_vars['combination']->value['id_product_attribute'];?>
'] = '<?php echo addcslashes($_smarty_tpl->tpl_vars['combination']->value['price'],'\'');?>
';
<?php } ?>
</script>
<div id="add_specific_price" class="well clearfix" style="display: none;">
<div class="col-lg-12">
<div class="form-group">
<label class="control-label col-lg-2" for="<?php if (!$_smarty_tpl->tpl_vars['multi_shop']->value) {?>spm_currency_0<?php } else { ?>sp_id_shop<?php }?>"><?php echo smartyTranslate(array('s'=>'For'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<div class="row">
<?php if (!$_smarty_tpl->tpl_vars['multi_shop']->value) {?>
<input type="hidden" name="sp_id_shop" value="0" />
<?php } else { ?>
<div class="col-lg-3">
<select name="sp_id_shop" id="sp_id_shop">
<?php if (!$_smarty_tpl->tpl_vars['admin_one_shop']->value) {?><option value="0"><?php echo smartyTranslate(array('s'=>'All shops'),$_smarty_tpl);?>
</option><?php }?>
<?php $_smarty_tpl->tpl_vars['shop'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['shop']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['shops']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['shop']->key => $_smarty_tpl->tpl_vars['shop']->value) {
$_smarty_tpl->tpl_vars['shop']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['shop']->value['id_shop'];?>
"><?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['shop']->value['name']);?>
</option>
<?php } ?>
</select>
</div>
<?php }?>
<div class="col-lg-3">
<select name="sp_id_currency" id="spm_currency_0" onchange="changeCurrencySpecificPrice(0);">
<option value="0"><?php echo smartyTranslate(array('s'=>'All currencies'),$_smarty_tpl);?>
</option>
<?php $_smarty_tpl->tpl_vars['curr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['curr']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['currencies']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['curr']->key => $_smarty_tpl->tpl_vars['curr']->value) {
$_smarty_tpl->tpl_vars['curr']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['curr']->value['id_currency'];?>
"><?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['curr']->value['name']);?>
</option>
<?php } ?>
</select>
</div>
<div class="col-lg-3">
<select name="sp_id_country" id="sp_id_country">
<option value="0"><?php echo smartyTranslate(array('s'=>'All countries'),$_smarty_tpl);?>
</option>
<?php $_smarty_tpl->tpl_vars['country'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['country']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['countries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['country']->key => $_smarty_tpl->tpl_vars['country']->value) {
$_smarty_tpl->tpl_vars['country']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['country']->value['id_country'];?>
"><?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['country']->value['name']);?>
</option>
<?php } ?>
</select>
</div>
<div class="col-lg-3">
<select name="sp_id_group" id="sp_id_group">
<option value="0"><?php echo smartyTranslate(array('s'=>'All groups'),$_smarty_tpl);?>
</option>
<?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['group']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['groups']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) {
$_smarty_tpl->tpl_vars['group']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['group']->value['id_group'];?>
"><?php echo $_smarty_tpl->tpl_vars['group']->value['name'];?>
</option>
<?php } ?>
</select>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2" for="customer"><?php echo smartyTranslate(array('s'=>'Customer'),$_smarty_tpl);?>
</label>
<div class="col-lg-4">
<input type="hidden" name="sp_id_customer" id="id_customer" value="0" />
<div class="input-group">
<input type="text" name="customer" value="<?php echo smartyTranslate(array('s'=>'All customers'),$_smarty_tpl);?>
" id="customer" autocomplete="off" />
<span class="input-group-addon"><i id="customerLoader" class="icon-refresh icon-spin" style="display: none;"></i> <i class="icon-search"></i></span>
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-10 col-lg-offset-2">
<div id="customers"></div>
</div>
</div>
<?php if (count($_smarty_tpl->tpl_vars['combinations']->value)!=0) {?>
<div class="form-group">
<label class="control-label col-lg-2" for="sp_id_product_attribute"><?php echo smartyTranslate(array('s'=>'Combination:'),$_smarty_tpl);?>
</label>
<div class="col-lg-4">
<select id="sp_id_product_attribute" name="sp_id_product_attribute">
<option value="0"><?php echo smartyTranslate(array('s'=>'Apply to all combinations'),$_smarty_tpl);?>
</option>
<?php $_smarty_tpl->tpl_vars['combination'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['combination']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['combinations']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['combination']->key => $_smarty_tpl->tpl_vars['combination']->value) {
$_smarty_tpl->tpl_vars['combination']->_loop = true;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['combination']->value['id_product_attribute'];?>
"><?php echo $_smarty_tpl->tpl_vars['combination']->value['attributes'];?>
</option>
<?php } ?>
</select>
</div>
</div>
<?php }?>
<div class="form-group">
<label class="control-label col-lg-2" for="sp_from"><?php echo smartyTranslate(array('s'=>'Available'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<div class="row">
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon"><?php echo smartyTranslate(array('s'=>'from'),$_smarty_tpl);?>
</span>
<input type="text" name="sp_from" class="datepicker" value="" style="text-align: center" id="sp_from" />
<span class="input-group-addon"><i class="icon-calendar-empty"></i></span>
</div>
</div>
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon"><?php echo smartyTranslate(array('s'=>'to'),$_smarty_tpl);?>
</span>
<input type="text" name="sp_to" class="datepicker" value="" style="text-align: center" id="sp_to" />
<span class="input-group-addon"><i class="icon-calendar-empty"></i></span>
</div>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2" for="sp_from_quantity"><?php echo smartyTranslate(array('s'=>'Starting at'),$_smarty_tpl);?>
</label>
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon"><?php echo smartyTranslate(array('s'=>'unit'),$_smarty_tpl);?>
</span>
<input type="text" name="sp_from_quantity" id="sp_from_quantity" value="1" />
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2" for="sp_price"><?php echo smartyTranslate(array('s'=>'Product price'),$_smarty_tpl);?>
<?php if ($_smarty_tpl->tpl_vars['country_display_tax_label']->value) {?>
<?php echo smartyTranslate(array('s'=>'(tax excl.)'),$_smarty_tpl);?>
<?php }?>
</label>
<div class="col-lg-9">
<div class="row">
<div class="col-lg-4">
<div class="input-group">
<span class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->prefix;?>
<?php echo $_smarty_tpl->tpl_vars['currency']->value->suffix;?>
</span>
<input type="text" disabled="disabled" name="sp_price" id="sp_price" value="<?php echo sprintf($_smarty_tpl->tpl_vars['priceDisplayPrecisionFormat']->value,$_smarty_tpl->tpl_vars['product']->value->price);?>
" />
</div>
<p class="checkbox">
<label for="leave_bprice"><?php echo smartyTranslate(array('s'=>'Leave base price:'),$_smarty_tpl);?>
</label>
<input type="checkbox" id="leave_bprice" name="leave_bprice" value="1" checked="checked" />
</p>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-2" for="sp_reduction"><?php echo smartyTranslate(array('s'=>'Apply a discount of'),$_smarty_tpl);?>
</label>
<div class="col-lg-4">
<div class="row">
<div class="col-lg-3">
<input type="text" name="sp_reduction" id="sp_reduction" value="0.00"/>
</div>
<div class="col-lg-6">
<select name="sp_reduction_type" id="sp_reduction_type">
<option value="amount" selected="selected"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['currency']->value->name, ENT_QUOTES, 'UTF-8', true);?>
</option>
<option value="percentage"><?php echo smartyTranslate(array('s'=>'%'),$_smarty_tpl);?>
</option>
</select>
</div>
<div class="col-lg-3">
<select name="sp_reduction_tax" id="sp_reduction_tax">
<option value="0"><?php echo smartyTranslate(array('s'=>'Tax excluded'),$_smarty_tpl);?>
</option>
<option value="1" selected="selected"><?php echo smartyTranslate(array('s'=>'Tax included'),$_smarty_tpl);?>
</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var currencyName = '<?php echo addcslashes(htmlspecialchars($_smarty_tpl->tpl_vars['currency']->value->name, ENT_QUOTES, 'UTF-8', true),'\'');?>
';
$(document).ready(function(){
product_prices['0'] = $('#sp_current_ht_price').html();
$('#id_product_attribute').change(function() {
$('#sp_current_ht_price').html(product_prices[$('#id_product_attribute option:selected').val()]);
});
$('#leave_bprice').click(function() {
if (this.checked)
$('#sp_price').attr('disabled', 'disabled');
else
$('#sp_price').removeAttr('disabled');
});
$('.datepicker').datetimepicker({
prevText: '',
nextText: '',
dateFormat: 'yy-mm-dd',
// Define a custom regional settings in order to use PrestaShop translation tools
currentText: '<?php echo smartyTranslate(array('s'=>'Now','js'=>1),$_smarty_tpl);?>
',
closeText: '<?php echo smartyTranslate(array('s'=>'Done','js'=>1),$_smarty_tpl);?>
',
ampm: false,
amNames: ['AM', 'A'],
pmNames: ['PM', 'P'],
timeFormat: 'hh:mm:ss tt',
timeSuffix: '',
timeOnlyTitle: '<?php echo smartyTranslate(array('s'=>'Choose Time','js'=>1),$_smarty_tpl);?>
',
timeText: '<?php echo smartyTranslate(array('s'=>'Time','js'=>1),$_smarty_tpl);?>
',
hourText: '<?php echo smartyTranslate(array('s'=>'Hour','js'=>1),$_smarty_tpl);?>
',
minuteText: '<?php echo smartyTranslate(array('s'=>'Minute','js'=>1),$_smarty_tpl);?>
'
});
$('#sp_reduction_type').on('change', function() {
if (this.value == 'percentage')
$('#sp_reduction_tax').hide();
else
$('#sp_reduction_tax').show();
});
});
</script>
<div class="table-responsive">
<table id="specific_prices_list" class="table table-bordered">
<thead>
<tr>
<th><?php echo smartyTranslate(array('s'=>'Rule'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Combination'),$_smarty_tpl);?>
</th>
<?php if ($_smarty_tpl->tpl_vars['multi_shop']->value) {?><th><?php echo smartyTranslate(array('s'=>'Shop'),$_smarty_tpl);?>
</th><?php }?>
<th><?php echo smartyTranslate(array('s'=>'Currency'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Country'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Group'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Customer'),$_smarty_tpl);?>
</th>
<?php if ($_smarty_tpl->tpl_vars['country_display_tax_label']->value) {?>
<th><?php echo smartyTranslate(array('s'=>'Fixed price (tax excl.)'),$_smarty_tpl);?>
</th>
<?php } else { ?>
<th><?php echo smartyTranslate(array('s'=>'Fixed price'),$_smarty_tpl);?>
</th>
<?php }?>
<th><?php echo smartyTranslate(array('s'=>'Impact'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Period'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'From (quantity)'),$_smarty_tpl);?>
</th>
<th><?php echo smartyTranslate(array('s'=>'Action'),$_smarty_tpl);?>
</th>
</tr>
</thead>
<tbody>
<?php echo $_smarty_tpl->tpl_vars['specificPriceModificationForm']->value;?>
<script type="text/javascript">
$(document).ready(function() {
delete_price_rule = '<?php echo smartyTranslate(array('s'=>"Do you really want to remove this price rule?"),$_smarty_tpl);?>
';
calcPriceTI();
unitPriceWithTax('unit');
});
</script>
<?php }?>
<?php }} ?>

View File

@@ -1,92 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 17:14:08
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin382ubvnd2/themes/default/template/controllers/login/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:833984510563b41087674f2-54545746%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04322fc2d1d636cfbd4311f0f7b21694a08042d8' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin382ubvnd2/themes/default/template/controllers/login/header.tpl',
1 => 1446723176,
2 => 'file',
),
),
'nocache_hash' => '833984510563b41087674f2-54545746',
'function' =>
array (
),
'variables' =>
array (
'iso' => 0,
'img_dir' => 0,
'shop_name' => 0,
'meta_title' => 0,
'navigationPipe' => 0,
'css_files' => 0,
'css_uri' => 0,
'media' => 0,
'js_files' => 0,
'js_uri' => 0,
'js_def' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b4108799f62_27167933',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b4108799f62_27167933')) {function content_563b4108799f62_27167933($_smarty_tpl) {?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9 ie8"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9"> <![endif]-->
<html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title>
<?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
<?php if ($_smarty_tpl->tpl_vars['meta_title']->value!='') {?><?php if (isset($_smarty_tpl->tpl_vars['navigationPipe']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['navigationPipe']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?>&gt;<?php }?> <?php echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
<?php }?> (PrestaShop&trade;)
</title>
<?php $_smarty_tpl->tpl_vars['media'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['media']->_loop = false;
$_smarty_tpl->tpl_vars['css_uri'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['css_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['media']->key => $_smarty_tpl->tpl_vars['media']->value) {
$_smarty_tpl->tpl_vars['media']->_loop = true;
$_smarty_tpl->tpl_vars['css_uri']->value = $_smarty_tpl->tpl_vars['media']->key;
?>
<link href="<?php echo $_smarty_tpl->tpl_vars['css_uri']->value;?>
" rel="stylesheet" type="text/css" media="<?php echo $_smarty_tpl->tpl_vars['media']->value;?>
" />
<?php } ?>
<?php $_smarty_tpl->tpl_vars['js_uri'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['js_uri']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['js_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['js_uri']->key => $_smarty_tpl->tpl_vars['js_uri']->value) {
$_smarty_tpl->tpl_vars['js_uri']->_loop = true;
?>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_uri']->value;?>
"></script>
<?php } ?>
<script type="text/javascript" src="../js/admin/login.js?<?php echo time();?>
"></script>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value)&&count($_smarty_tpl->tpl_vars['js_def']->value)||isset($_smarty_tpl->tpl_vars['js_files']->value)&&count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }?>
</head>
<body class="ps_back-office bootstrap">
<div id="login">
<div id="content">
<?php }} ?>

View File

@@ -1,78 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:35:33
compiled from "/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/controllers/customer_threads/helpers/view/message.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1277569718568df21dd73af6-29093056%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'045986a484fbe0f74511eb043f35be83a4763011' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/admin/themes/default/template/controllers/customer_threads/helpers/view/message.tpl',
1 => 1452142913,
2 => 'file',
),
),
'nocache_hash' => '1277569718568df21dd73af6-29093056',
'function' =>
array (
),
'variables' =>
array (
'message' => 0,
'initial' => 0,
'type' => 0,
'current_employee' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568df21ddcc329_68374106',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568df21ddcc329_68374106')) {function content_568df21ddcc329_68374106($_smarty_tpl) {?>
<?php if (!$_smarty_tpl->tpl_vars['message']->value['id_employee']) {?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("customer", null, 0);?>
<?php } else { ?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("employee", null, 0);?>
<?php }?>
<div class="message-item<?php if ($_smarty_tpl->tpl_vars['initial']->value) {?>-initial-body<?php }?>">
<?php if (!$_smarty_tpl->tpl_vars['initial']->value) {?>
<div class="message-avatar">
<div class="avatar-md">
<?php if ($_smarty_tpl->tpl_vars['type']->value=='customer') {?>
<i class="icon-user icon-3x"></i>
<?php } else { ?>
<?php if (isset($_smarty_tpl->tpl_vars['current_employee']->value->firstname)) {?><img src="<?php echo $_smarty_tpl->tpl_vars['message']->value['employee_image'];?>
" alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['current_employee']->value->firstname, ENT_QUOTES, 'UTF-8', true);?>
" /><?php }?>
<?php }?>
</div>
</div>
<?php }?>
<div class="message-body">
<?php if (!$_smarty_tpl->tpl_vars['initial']->value) {?>
<h4 class="message-item-heading">
<i class="icon-mail-reply text-muted"></i>
<?php if ($_smarty_tpl->tpl_vars['type']->value=='customer') {?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['customer_name'], ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['employee_name'], ENT_QUOTES, 'UTF-8', true);?>
<?php }?>
</h4>
<?php }?>
<span class="message-date">&nbsp;<i class="icon-calendar"></i> - <?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['dateFormat'][0][0]->dateFormat(array('date'=>$_smarty_tpl->tpl_vars['message']->value['date_add'],'full'=>0),$_smarty_tpl);?>
- <i class="icon-time"></i> <?php echo substr($_smarty_tpl->tpl_vars['message']->value['date_add'],11,5);?>
</span>
<?php if (isset($_smarty_tpl->tpl_vars['message']->value['file_name'])) {?> <span class="message-product">&nbsp;<i class="icon-link"></i> <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['file_name'], ENT_QUOTES, 'UTF-8', true);?>
" class="_blank"><?php echo smartyTranslate(array('s'=>"Attachment"),$_smarty_tpl);?>
</a></span><?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['message']->value['product_name'])) {?> <span class="message-attachment">&nbsp;<i class="icon-book"></i> <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['product_link'], ENT_QUOTES, 'UTF-8', true);?>
" class="_blank"><?php echo smartyTranslate(array('s'=>"Product:"),$_smarty_tpl);?>
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['product_name'], ENT_QUOTES, 'UTF-8', true);?>
</a></span><?php }?>
<p class="message-item-text"><?php echo nl2br(htmlspecialchars($_smarty_tpl->tpl_vars['message']->value['message'], ENT_QUOTES, 'UTF-8', true));?>
</p>
</div>
</div>
<?php }} ?>

View File

@@ -1,115 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-07 10:53:33
compiled from "/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl" */ ?>
<?php /*%%SmartyHeaderCode:826361081568d22cf264876-82629326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'04fc6f3b931ddf81282908a3b23eb77ce046030e' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/themes/hotel-reservation-theme/modules/blocksocial/blocksocial.tpl',
1 => 1452142872,
2 => 'file',
),
),
'nocache_hash' => '826361081568d22cf264876-82629326',
'function' =>
array (
),
'cache_lifetime' => 31536000,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d22cf2fa035_56228780',
'variables' =>
array (
'facebook_url' => 0,
'twitter_url' => 0,
'rss_url' => 0,
'youtube_url' => 0,
'google_plus_url' => 0,
'pinterest_url' => 0,
'vimeo_url' => 0,
'instagram_url' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d22cf2fa035_56228780')) {function content_568d22cf2fa035_56228780($_smarty_tpl) {?>
<div id="social_block">
<ul>
<?php if (isset($_smarty_tpl->tpl_vars['facebook_url']->value)&&$_smarty_tpl->tpl_vars['facebook_url']->value!='') {?>
<li class="facebook">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['facebook_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Facebook','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['twitter_url']->value)&&$_smarty_tpl->tpl_vars['twitter_url']->value!='') {?>
<li class="twitter">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['twitter_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Twitter','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['rss_url']->value)&&$_smarty_tpl->tpl_vars['rss_url']->value!='') {?>
<li class="rss">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['rss_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'RSS','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['youtube_url']->value)&&$_smarty_tpl->tpl_vars['youtube_url']->value!='') {?>
<li class="youtube">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['youtube_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Youtube','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['google_plus_url']->value)&&$_smarty_tpl->tpl_vars['google_plus_url']->value!='') {?>
<li class="google-plus">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['google_plus_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Google Plus','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['pinterest_url']->value)&&$_smarty_tpl->tpl_vars['pinterest_url']->value!='') {?>
<li class="pinterest">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['pinterest_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Pinterest','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['vimeo_url']->value)&&$_smarty_tpl->tpl_vars['vimeo_url']->value!='') {?>
<li class="vimeo">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['vimeo_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Vimeo','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['instagram_url']->value)&&$_smarty_tpl->tpl_vars['instagram_url']->value!='') {?>
<li class="instagram">
<a class="_blank" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['instagram_url']->value, ENT_QUOTES, 'UTF-8', true);?>
">
<span><?php echo smartyTranslate(array('s'=>'Instagram','mod'=>'blocksocial'),$_smarty_tpl);?>
</span>
</a>
</li>
<?php }?>
<div class="clearfix visible-xs"></div>
</ul>
<!-- <h4><?php echo smartyTranslate(array('s'=>'Follow us','mod'=>'blocksocial'),$_smarty_tpl);?>
</h4> --><!-- by webkul -->
</div>
<div class="clearfix"></div>
<?php }} ?>

View File

@@ -1,653 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-03 05:49:33
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/controllers/products/informations.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6579347815638913d8933e9-84511204%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'05ca3366d7870a8e3ae347935764ea63fc4a61d4' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin757uelgkq/themes/default/template/controllers/products/informations.tpl',
1 => 1446483944,
2 => 'file',
),
),
'nocache_hash' => '6579347815638913d8933e9-84511204',
'function' =>
array (
),
'variables' =>
array (
'check_product_association_ajax' => 0,
'ps_force_friendly_product' => 0,
'PS_ALLOW_ACCENTED_CHARS_URL' => 0,
'combinationImagesJs' => 0,
'link' => 0,
'id_lang' => 0,
'display_common_field' => 0,
'bullet_common_field' => 0,
'product_type' => 0,
'is_in_pack' => 0,
'languages' => 0,
'class_input_ajax' => 0,
'product' => 0,
'product_name_redirected' => 0,
'display_multishop_checkboxes' => 0,
'PS_PRODUCT_SHORT_DESC_LIMIT' => 0,
'images' => 0,
'key' => 0,
'image' => 0,
'imagesTypes' => 0,
'type' => 0,
'language' => 0,
'table' => 0,
'default_form_language' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5638913daf26c9_39309772',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5638913daf26c9_39309772')) {function content_5638913daf26c9_39309772($_smarty_tpl) {?>
<?php if ($_smarty_tpl->tpl_vars['check_product_association_ajax']->value) {?>
<?php $_smarty_tpl->tpl_vars['class_input_ajax'] = new Smarty_variable('check_product_name ', null, 0);?>
<?php } else { ?>
<?php $_smarty_tpl->tpl_vars['class_input_ajax'] = new Smarty_variable('', null, 0);?>
<?php }?>
<div id="product-informations" class="panel product-tab">
<input type="hidden" name="submitted_tabs[]" value="Informations" />
<h3 class="tab"> <i class="icon-info"></i> <?php echo smartyTranslate(array('s'=>'Information'),$_smarty_tpl);?>
</h3>
<script type="text/javascript">
var msg_select_one = "<?php echo smartyTranslate(array('s'=>'Please select at least one product.','js'=>1),$_smarty_tpl);?>
";
var msg_set_quantity = "<?php echo smartyTranslate(array('s'=>'Please set a quantity to add a product.','js'=>1),$_smarty_tpl);?>
";
<?php if (isset($_smarty_tpl->tpl_vars['ps_force_friendly_product']->value)&&$_smarty_tpl->tpl_vars['ps_force_friendly_product']->value) {?>
var ps_force_friendly_product = 1;
<?php } else { ?>
var ps_force_friendly_product = 0;
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['PS_ALLOW_ACCENTED_CHARS_URL']->value)&&$_smarty_tpl->tpl_vars['PS_ALLOW_ACCENTED_CHARS_URL']->value) {?>
var PS_ALLOW_ACCENTED_CHARS_URL = 1;
<?php } else { ?>
var PS_ALLOW_ACCENTED_CHARS_URL = 0;
<?php }?>
<?php echo $_smarty_tpl->tpl_vars['combinationImagesJs']->value;?>
<?php if ($_smarty_tpl->tpl_vars['check_product_association_ajax']->value) {?>
var search_term = '';
$('document').ready( function() {
$(".check_product_name")
.autocomplete(
'<?php echo addslashes($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts',true));?>
', {
minChars: 3,
max: 10,
width: $(".check_product_name").width(),
selectFirst: false,
scroll: false,
dataType: "json",
formatItem: function(data, i, max, value, term) {
search_term = term;
// adding the little
if ($('.ac_results').find('.separation').length == 0)
$('.ac_results').css('background-color', '#EFEFEF')
.prepend('<div style="color:#585A69; padding:2px 5px"><?php echo smartyTranslate(array('s'=>'Use a product from the list'),$_smarty_tpl);?>
<div class="separation"></div></div>');
return value;
},
parse: function(data) {
var mytab = new Array();
for (var i = 0; i < data.length; i++)
mytab[mytab.length] = { data: data[i], value: data[i].name };
return mytab;
},
extraParams: {
ajax: 1,
action: 'checkProductName',
id_lang: <?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
}
}
)
.result(function(event, data, formatted) {
// keep the searched term in the input
$('#name_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
').val(search_term);
jConfirm('<?php echo smartyTranslate(array('s'=>'Do you want to use this product?'),$_smarty_tpl);?>
&nbsp;<strong>'+data.name+'</strong>', '<?php echo smartyTranslate(array('s'=>'Confirmation'),$_smarty_tpl);?>
', function(confirm){
if (confirm == true)
document.location.href = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts',true);?>
&updateproduct&id_product='+data.id_product;
else
return false;
});
});
});
<?php }?>
</script>
<?php if (isset($_smarty_tpl->tpl_vars['display_common_field']->value)&&$_smarty_tpl->tpl_vars['display_common_field']->value) {?>
<div class="alert alert-warning" style="display: block"><?php echo smartyTranslate(array('s'=>'Warning, if you change the value of fields with an orange bullet %s, the value will be changed for all other shops for this product','sprintf'=>$_smarty_tpl->tpl_vars['bullet_common_field']->value),$_smarty_tpl);?>
</div>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/check_fields.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('product_tab'=>"Informations"), 0);?>
<div class="form-group">
<label class="control-label col-lg-3" for="simple_product">
<?php echo $_smarty_tpl->tpl_vars['bullet_common_field']->value;?>
<?php echo smartyTranslate(array('s'=>'Type'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<div class="radio">
<label for="simple_product">
<input type="radio" name="type_product" id="simple_product" value="<?php echo Product::PTYPE_SIMPLE;?>
" <?php if ($_smarty_tpl->tpl_vars['product_type']->value==Product::PTYPE_SIMPLE) {?>checked="checked"<?php }?>>
<?php echo smartyTranslate(array('s'=>'Standard product'),$_smarty_tpl);?>
</label>
</div>
<div class="radio">
<label for="pack_product">
<input type="radio" name="type_product" <?php if ($_smarty_tpl->tpl_vars['is_in_pack']->value) {?>disabled="disabled"<?php }?> id="pack_product" value="<?php echo Product::PTYPE_PACK;?>
" <?php if ($_smarty_tpl->tpl_vars['product_type']->value==Product::PTYPE_PACK) {?>checked="checked"<?php }?>> <?php echo smartyTranslate(array('s'=>'Pack of existing products'),$_smarty_tpl);?>
</label>
</div>
<div class="radio">
<label for="virtual_product">
<input type="radio" name="type_product" id="virtual_product" <?php if ($_smarty_tpl->tpl_vars['is_in_pack']->value) {?>disabled="disabled"<?php }?> value="<?php echo Product::PTYPE_VIRTUAL;?>
<?php if ($_smarty_tpl->tpl_vars['product_type']->value==Product::PTYPE_VIRTUAL) {?>checked="checked"<?php }?>">
<?php echo smartyTranslate(array('s'=>'Virtual product (services, booking, downloadable products, etc.)'),$_smarty_tpl);?>
</label>
</div>
<div class="row row-padding-top">
<div id="warn_virtual_combinations" class="alert alert-warning" style="display:none"><?php echo smartyTranslate(array('s'=>'You cannot use combinations with a virtual product.'),$_smarty_tpl);?>
</div>
<div id="warn_pack_combinations" class="alert alert-warning" style="display:none"><?php echo smartyTranslate(array('s'=>'You cannot use combinations with a pack.'),$_smarty_tpl);?>
</div>
</div>
</div>
</div>
<div id="product-pack-container" <?php if ($_smarty_tpl->tpl_vars['product_type']->value!=Product::PTYPE_PACK) {?>style="display:none"<?php }?>></div>
<hr />
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"name",'type'=>"default",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2 required" for="name_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'The public name for this product.'),$_smarty_tpl);?>
<?php echo smartyTranslate(array('s'=>'Invalid characters:'),$_smarty_tpl);?>
&lt;&gt;;=#{}">
<?php echo smartyTranslate(array('s'=>'Room Type'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-5">
<?php ob_start();?><?php if (!$_smarty_tpl->tpl_vars['product']->value->id||Configuration::get('PS_FORCE_FRIENDLY_PRODUCT')) {?><?php echo "copy2friendlyUrl";?><?php }?><?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/input_text_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_class'=>((string)$_smarty_tpl->tpl_vars['class_input_ajax']->value).$_tmp1." updateCurrentText",'input_value'=>$_smarty_tpl->tpl_vars['product']->value->name,'input_name'=>"name",'required'=>true), 0);?>
</div>
</div>
<div class="form-group hidden">
<label class="control-label col-lg-3" for="reference">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'Your internal reference code for this product.'),$_smarty_tpl);?>
<?php echo smartyTranslate(array('s'=>'Allowed special characters:'),$_smarty_tpl);?>
.-_#\">
<?php echo $_smarty_tpl->tpl_vars['bullet_common_field']->value;?>
<?php echo smartyTranslate(array('s'=>'Reference code'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-5">
<input type="text" id="reference" name="reference" value="<?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['product']->value->reference);?>
" />
</div>
</div>
<div class="form-group hidden">
<label class="control-label col-lg-3" for="ean13">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'This type of product code is specific to Europe and Japan, but is widely used internationally. It is a superset of the UPC code: all products marked with an EAN will be accepted in North America.'),$_smarty_tpl);?>
">
<?php echo $_smarty_tpl->tpl_vars['bullet_common_field']->value;?>
<?php echo smartyTranslate(array('s'=>'EAN-13 or JAN barcode'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-3">
<input maxlength="13" type="text" id="ean13" name="ean13" value="<?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['product']->value->ean13);?>
" />
</div>
</div>
<div class="form-group hidden">
<label class="control-label col-lg-3" for="upc">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'This type of product code is widely used in the United States, Canada, the United Kingdom, Australia, New Zealand and in other countries.'),$_smarty_tpl);?>
">
<?php echo $_smarty_tpl->tpl_vars['bullet_common_field']->value;?>
<?php echo smartyTranslate(array('s'=>'UPC barcode'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-3">
<input maxlength="12" type="text" id="upc" name="upc" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product']->value->upc, ENT_QUOTES, 'UTF-8', true);?>
" />
</div>
</div>
<hr/>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"active",'type'=>"radio",'onclick'=>''), 0);?>
</span></div>
<label class="control-label col-lg-2">
<?php echo smartyTranslate(array('s'=>'Enabled'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input onclick="toggleDraftWarning(false);showOptions(true);showRedirectProductOptions(false);" type="radio" name="active" id="active_on" value="1" <?php if ($_smarty_tpl->tpl_vars['product']->value->active||!$_smarty_tpl->tpl_vars['product']->value->isAssociatedToShop()) {?>checked="checked" <?php }?> />
<label for="active_on" class="radioCheck">
<?php echo smartyTranslate(array('s'=>'Yes'),$_smarty_tpl);?>
</label>
<input onclick="toggleDraftWarning(true);showOptions(false);showRedirectProductOptions(true);" type="radio" name="active" id="active_off" value="0" <?php if (!$_smarty_tpl->tpl_vars['product']->value->active&&$_smarty_tpl->tpl_vars['product']->value->isAssociatedToShop()) {?>checked="checked"<?php }?> />
<label for="active_off" class="radioCheck">
<?php echo smartyTranslate(array('s'=>'No'),$_smarty_tpl);?>
</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group redirect_product_options" style="display:none">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"redirect_type",'type'=>"radio",'onclick'=>''), 0);?>
</span></div>
<label class="control-label col-lg-2" for="redirect_type">
<?php echo smartyTranslate(array('s'=>'Redirect when disabled'),$_smarty_tpl);?>
</label>
<div class="col-lg-5">
<select name="redirect_type" id="redirect_type">
<option value="404" <?php if ($_smarty_tpl->tpl_vars['product']->value->redirect_type=='404') {?> selected="selected" <?php }?>><?php echo smartyTranslate(array('s'=>'No redirect (404)'),$_smarty_tpl);?>
</option>
<option value="301" <?php if ($_smarty_tpl->tpl_vars['product']->value->redirect_type=='301') {?> selected="selected" <?php }?>><?php echo smartyTranslate(array('s'=>'Redirected permanently (301)'),$_smarty_tpl);?>
</option>
<option value="302" <?php if ($_smarty_tpl->tpl_vars['product']->value->redirect_type=='302') {?> selected="selected" <?php }?>><?php echo smartyTranslate(array('s'=>'Redirected temporarily (302)'),$_smarty_tpl);?>
</option>
</select>
</div>
</div>
<div class="form-group redirect_product_options" style="display:none">
<div class="col-lg-9 col-lg-offset-3">
<div class="alert alert-info">
<?php echo smartyTranslate(array('s'=>'404 Not Found = Do not redirect and display a 404 page.'),$_smarty_tpl);?>
<br/>
<?php echo smartyTranslate(array('s'=>'301 Moved Permanently = Permanently display another product instead.'),$_smarty_tpl);?>
<br/>
<?php echo smartyTranslate(array('s'=>'302 Moved Temporarily = Temporarily display another product instead.'),$_smarty_tpl);?>
</div>
</div>
</div>
<div class="form-group redirect_product_options redirect_product_options_product_choise" style="display:none">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"id_product_redirected",'type'=>"radio",'onclick'=>''), 0);?>
</span></div>
<label class="control-label col-lg-2" for="related_product_autocomplete_input">
<?php echo smartyTranslate(array('s'=>'Related product:'),$_smarty_tpl);?>
</label>
<div class="col-lg-7">
<input type="hidden" value="" name="id_product_redirected" />
<div class="input-group">
<input type="text" id="related_product_autocomplete_input" name="related_product_autocomplete_input" autocomplete="off" class="ac_input" />
<span class="input-group-addon"><i class="icon-search"></i></span>
</div>
<div class="form-control-static">
<span id="related_product_name"><i class="icon-warning-sign"></i>&nbsp;<?php echo smartyTranslate(array('s'=>'No related product.'),$_smarty_tpl);?>
</span>
<span id="related_product_remove" style="display:none">
<a class="btn btn-default" href="#" onclick="removeRelatedProduct(); return false" id="related_product_remove_link">
<i class="icon-remove text-danger"></i>
</a>
</span>
</div>
</div>
<script>
var no_related_product = '<?php echo smartyTranslate(array('s'=>'No related product'),$_smarty_tpl);?>
';
var id_product_redirected = <?php echo intval($_smarty_tpl->tpl_vars['product']->value->id_product_redirected);?>
;
var product_name_redirected = '<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['product_name_redirected']->value, ENT_QUOTES, 'UTF-8', true);?>
';
</script>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"visibility",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="visibility">
<?php echo smartyTranslate(array('s'=>'Visibility'),$_smarty_tpl);?>
</label>
<div class="col-lg-3">
<select name="visibility" id="visibility">
<option value="both" <?php if ($_smarty_tpl->tpl_vars['product']->value->visibility=='both') {?>selected="selected"<?php }?> ><?php echo smartyTranslate(array('s'=>'Everywhere'),$_smarty_tpl);?>
</option>
<option value="catalog" <?php if ($_smarty_tpl->tpl_vars['product']->value->visibility=='catalog') {?>selected="selected"<?php }?> ><?php echo smartyTranslate(array('s'=>'Catalog only'),$_smarty_tpl);?>
</option>
<option value="search" <?php if ($_smarty_tpl->tpl_vars['product']->value->visibility=='search') {?>selected="selected"<?php }?> ><?php echo smartyTranslate(array('s'=>'Search only'),$_smarty_tpl);?>
</option>
<option value="none" <?php if ($_smarty_tpl->tpl_vars['product']->value->visibility=='none') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Nowhere'),$_smarty_tpl);?>
</option>
</select>
</div>
</div>
<div id="product_options" class="form-group">
<div class="col-lg-12">
<div class="form-group">
<div class="col-lg-1">
<span class="pull-right">
<?php if (isset($_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value)&&$_smarty_tpl->tpl_vars['display_multishop_checkboxes']->value) {?>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('only_checkbox'=>"true",'field'=>"available_for_order",'type'=>"default"), 0);?>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('only_checkbox'=>"true",'field'=>"show_price",'type'=>"show_price"), 0);?>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('only_checkbox'=>"true",'field'=>"online_only",'type'=>"default"), 0);?>
<?php }?>
</span>
</div>
<label class="control-label col-lg-2" for="available_for_order">
<?php echo smartyTranslate(array('s'=>'Options'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<div class="checkbox">
<label for="available_for_order">
<input type="checkbox" name="available_for_order" id="available_for_order" value="1" <?php if ($_smarty_tpl->tpl_vars['product']->value->available_for_order) {?>checked="checked"<?php }?> >
<?php echo smartyTranslate(array('s'=>'Available for order'),$_smarty_tpl);?>
</label>
</div>
<div class="checkbox">
<label for="show_price">
<input type="checkbox" name="show_price" id="show_price" value="1" <?php if ($_smarty_tpl->tpl_vars['product']->value->show_price) {?>checked="checked"<?php }?> <?php if ($_smarty_tpl->tpl_vars['product']->value->available_for_order) {?>disabled="disabled"<?php }?> >
<?php echo smartyTranslate(array('s'=>'Show price'),$_smarty_tpl);?>
</label>
</div>
<div class="checkbox">
<label for="online_only">
<input type="checkbox" name="online_only" id="online_only" value="1" <?php if ($_smarty_tpl->tpl_vars['product']->value->online_only) {?>checked="checked"<?php }?> >
<?php echo smartyTranslate(array('s'=>'Online only (not sold in your retail store)'),$_smarty_tpl);?>
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"condition",'type'=>"default"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="condition">
<?php echo smartyTranslate(array('s'=>'Condition'),$_smarty_tpl);?>
</label>
<div class="col-lg-3">
<select name="condition" id="condition">
<option value="new" <?php if ($_smarty_tpl->tpl_vars['product']->value->condition=='new') {?>selected="selected"<?php }?> ><?php echo smartyTranslate(array('s'=>'New'),$_smarty_tpl);?>
</option>
<option value="used" <?php if ($_smarty_tpl->tpl_vars['product']->value->condition=='used') {?>selected="selected"<?php }?> ><?php echo smartyTranslate(array('s'=>'Used'),$_smarty_tpl);?>
</option>
<option value="refurbished" <?php if ($_smarty_tpl->tpl_vars['product']->value->condition=='refurbished') {?>selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>'Refurbished'),$_smarty_tpl);?>
</option>
</select>
</div>
</div>
</div>
</div>
<hr/>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"description_short",'type'=>"tinymce",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="description_short_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip" title="<?php echo smartyTranslate(array('s'=>'Appears in the product list(s), and at the top of the product page.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Short description'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-9">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/textarea_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_name'=>'description_short','class'=>"autoload_rte",'input_value'=>$_smarty_tpl->tpl_vars['product']->value->description_short,'max'=>$_smarty_tpl->tpl_vars['PS_PRODUCT_SHORT_DESC_LIMIT']->value), 0);?>
</div>
</div>
<div class="form-group">
<div class="col-lg-1"><span class="pull-right"><?php echo $_smarty_tpl->getSubTemplate ("controllers/products/multishop/checkbox.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('field'=>"description",'type'=>"tinymce",'multilang'=>"true"), 0);?>
</span></div>
<label class="control-label col-lg-2" for="description_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'Appears in the body of the product page.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Description'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-9">
<?php echo $_smarty_tpl->getSubTemplate ("controllers/products/textarea_lang.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('languages'=>$_smarty_tpl->tpl_vars['languages']->value,'input_name'=>'description','class'=>"autoload_rte",'input_value'=>$_smarty_tpl->tpl_vars['product']->value->description), 0);?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['images']->value) {?>
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<div class="alert alert-info">
<?php $_smarty_tpl->_capture_stack[0][] = array('default', null, null); ob_start(); ?><a class="addImageDescription" href="javascript:void(0);"><?php echo smartyTranslate(array('s'=>'Click here'),$_smarty_tpl);?>
</a><?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
<?php echo smartyTranslate(array('s'=>'Would you like to add an image in your description? %s and paste the given tag in the description.','sprintf'=>Smarty::$_smarty_vars['capture']['default']),$_smarty_tpl);?>
</div>
</div>
</div>
<div id="createImageDescription" class="panel" style="display:none">
<div class="form-group">
<label class="control-label col-lg-3" for="smallImage_0"><?php echo smartyTranslate(array('s'=>'Select your image'),$_smarty_tpl);?>
</label>
<div class="col-lg-9">
<ul class="list-inline">
<?php $_smarty_tpl->tpl_vars['image'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['image']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['images']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['image']->key => $_smarty_tpl->tpl_vars['image']->value) {
$_smarty_tpl->tpl_vars['image']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['image']->key;
?>
<li>
<input type="radio" name="smallImage" id="smallImage_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['image']->value['id_image'];?>
" <?php if ($_smarty_tpl->tpl_vars['key']->value==0) {?>checked="checked"<?php }?> >
<label for="smallImage_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" >
<img src="<?php echo $_smarty_tpl->tpl_vars['image']->value['src'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['image']->value['legend'];?>
" />
</label>
</li>
<?php } ?>
</ul>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" for="leftRight_1"><?php echo smartyTranslate(array('s'=>'Position'),$_smarty_tpl);?>
</label>
<div class="col-lg-5">
<p class="checkbox">
<input type="radio" name="leftRight" id="leftRight_1" value="left" checked>
<label for="leftRight_1" ><?php echo smartyTranslate(array('s'=>'left'),$_smarty_tpl);?>
</label>
</p>
<p class="checkbox">
<input type="radio" name="leftRight" id="leftRight_2" value="right">
<label for="leftRight_2" ><?php echo smartyTranslate(array('s'=>'right'),$_smarty_tpl);?>
</label>
</p>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" for="imageTypes_0"><?php echo smartyTranslate(array('s'=>'Select the type of picture'),$_smarty_tpl);?>
</label>
<div class="col-lg-5">
<?php $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['type']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['imagesTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value) {
$_smarty_tpl->tpl_vars['type']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['type']->key;
?>
<p class="checkbox">
<input type="radio" name="imageTypes" id="imageTypes_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['type']->value['name'];?>
" <?php if ($_smarty_tpl->tpl_vars['key']->value==0) {?>checked="checked"<?php }?>>
<label for="imageTypes_<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" >
<?php echo $_smarty_tpl->tpl_vars['type']->value['name'];?>
<span><?php echo smartyTranslate(array('s'=>'%dpx by %dpx','sprintf'=>array($_smarty_tpl->tpl_vars['type']->value['width'],$_smarty_tpl->tpl_vars['type']->value['height'])),$_smarty_tpl);?>
</span>
</label>
</p>
<?php } ?>
</div>
</div>
<div class="form-group">
<label class="control-label col-lg-3" for="resultImage">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'The tag to copy/paste into the description.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Image tag to insert'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-4">
<input type="text" id="resultImage" name="resultImage" />
</div>
<p class="help-block"></p>
</div>
</div>
<?php }?>
<div class="form-group">
<label class="control-label col-lg-3" for="tags_<?php echo $_smarty_tpl->tpl_vars['id_lang']->value;?>
">
<span class="label-tooltip" data-toggle="tooltip"
title="<?php echo smartyTranslate(array('s'=>'Will be displayed in the tags block when enabled. Tags help customers easily find your products.'),$_smarty_tpl);?>
">
<?php echo smartyTranslate(array('s'=>'Tags:'),$_smarty_tpl);?>
</span>
</label>
<div class="col-lg-9">
<?php if (count($_smarty_tpl->tpl_vars['languages']->value)>1) {?>
<div class="row">
<?php }?>
<?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
?>
<script type="text/javascript">
$().ready(function () {
var input_id = 'tags_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
';
$('#'+input_id).tagify({delimiters: [13,44], addTagPrompt: '<?php echo smartyTranslate(array('s'=>'Add tag','js'=>1),$_smarty_tpl);?>
'});
$('#<?php echo $_smarty_tpl->tpl_vars['table']->value;?>
_form').submit( function() {
$(this).find('#'+input_id).val($('#'+input_id).tagify('serialize'));
});
});
</script>
<?php if (count($_smarty_tpl->tpl_vars['languages']->value)>1) {?>
<div class="translatable-field lang-<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
">
<div class="col-lg-9">
<?php }?>
<input type="text" id="tags_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
" class="tagify updateCurrentText" name="tags_<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
" value="<?php echo smarty_modifier_htmlentitiesUTF8($_smarty_tpl->tpl_vars['product']->value->getTags($_smarty_tpl->tpl_vars['language']->value['id_lang'],true));?>
" />
<?php if (count($_smarty_tpl->tpl_vars['languages']->value)>1) {?>
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<?php echo $_smarty_tpl->tpl_vars['language']->value['iso_code'];?>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<?php $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['languages']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
?>
<li>
<a href="javascript:tabs_manager.allow_hide_other_languages = false;hideOtherLanguage(<?php echo $_smarty_tpl->tpl_vars['language']->value['id_lang'];?>
);"><?php echo $_smarty_tpl->tpl_vars['language']->value['name'];?>
</a>
</li>
<?php } ?>
</ul>
</div>
</div>
<?php }?>
<?php } ?>
<?php if (count($_smarty_tpl->tpl_vars['languages']->value)>1) {?>
</div>
<?php }?>
</div>
<div class="col-lg-9 col-lg-offset-3">
<div class="help-block"><?php echo smartyTranslate(array('s'=>'Each tag has to be followed by a comma. The following characters are forbidden: %s','sprintf'=>'!&lt;;&gt;;?=+#&quot;&deg;{}_$%.'),$_smarty_tpl);?>
</div>
</div>
</div>
<div class="panel-footer">
<a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminProducts'), ENT_QUOTES, 'UTF-8', true);?>
<?php if (isset($_REQUEST['page'])&&$_REQUEST['page']>1) {?>&amp;submitFilterproduct=<?php echo intval($_REQUEST['page']);?>
<?php }?>" class="btn btn-default"><i class="process-icon-cancel"></i> <?php echo smartyTranslate(array('s'=>'Cancel'),$_smarty_tpl);?>
</a>
<button type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save'),$_smarty_tpl);?>
</button>
<button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> <?php echo smartyTranslate(array('s'=>'Save and stay'),$_smarty_tpl);?>
</button>
</div>
</div>
<script type="text/javascript">
hideOtherLanguage(<?php echo $_smarty_tpl->tpl_vars['default_form_language']->value;?>
);
var missing_product_name = '<?php echo smartyTranslate(array('s'=>'Please fill product name input field','js'=>1),$_smarty_tpl);?>
';
</script>
<?php }} ?>

View File

@@ -1,66 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-06 20:48:54
compiled from "/home/sumit/public_html/html/hotel-reservation-system/mails/en/order_conf_product_list.txt" */ ?>
<?php /*%%SmartyHeaderCode:1564416830568d305eb276e7-41106083%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'05dd05cca82bcd1b637214174bf074881d2d8f74' =>
array (
0 => '/home/sumit/public_html/html/hotel-reservation-system/mails/en/order_conf_product_list.txt',
1 => 1450694420,
2 => 'file',
),
),
'nocache_hash' => '1564416830568d305eb276e7-41106083',
'function' =>
array (
),
'variables' =>
array (
'list' => 0,
'product' => 0,
'customization' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_568d305eb630c4_98802630',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_568d305eb630c4_98802630')) {function content_568d305eb630c4_98802630($_smarty_tpl) {?><?php $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['reference'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['quantity'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
<?php $_smarty_tpl->tpl_vars['customization'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['customization']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['product']->value['customization']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['customization']->key => $_smarty_tpl->tpl_vars['customization']->value) {
$_smarty_tpl->tpl_vars['customization']->_loop = true;
?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['customization']->value['customization_text'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['customization_quantity'];?>
<?php echo $_smarty_tpl->tpl_vars['product']->value['quantity'];?>
<?php } ?>
<?php } ?><?php }} ?>

View File

@@ -1,92 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-30 01:02:45
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin652sof9ht/themes/default/template/controllers/login/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:138649458856ab8d25794fa4-20256083%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'05ea87d0238f45b259ac3c4e6a25bf9237a03856' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin652sof9ht/themes/default/template/controllers/login/header.tpl',
1 => 1454062119,
2 => 'file',
),
),
'nocache_hash' => '138649458856ab8d25794fa4-20256083',
'function' =>
array (
),
'variables' =>
array (
'iso' => 0,
'img_dir' => 0,
'shop_name' => 0,
'meta_title' => 0,
'navigationPipe' => 0,
'css_files' => 0,
'css_uri' => 0,
'media' => 0,
'js_files' => 0,
'js_uri' => 0,
'js_def' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab8d257c89b3_56616782',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab8d257c89b3_56616782')) {function content_56ab8d257c89b3_56616782($_smarty_tpl) {?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9 ie8"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9"> <![endif]-->
<html lang="<?php echo $_smarty_tpl->tpl_vars['iso']->value;?>
">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/x-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
favicon.ico" />
<link rel="apple-touch-icon" href="<?php echo $_smarty_tpl->tpl_vars['img_dir']->value;?>
app_icon.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="robots" content="NOFOLLOW, NOINDEX">
<title>
<?php echo $_smarty_tpl->tpl_vars['shop_name']->value;?>
<?php if ($_smarty_tpl->tpl_vars['meta_title']->value!='') {?><?php if (isset($_smarty_tpl->tpl_vars['navigationPipe']->value)) {?><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['navigationPipe']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php } else { ?>&gt;<?php }?> <?php echo $_smarty_tpl->tpl_vars['meta_title']->value;?>
<?php }?> (PrestaShop&trade;)
</title>
<?php $_smarty_tpl->tpl_vars['media'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['media']->_loop = false;
$_smarty_tpl->tpl_vars['css_uri'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['css_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['media']->key => $_smarty_tpl->tpl_vars['media']->value) {
$_smarty_tpl->tpl_vars['media']->_loop = true;
$_smarty_tpl->tpl_vars['css_uri']->value = $_smarty_tpl->tpl_vars['media']->key;
?>
<link href="<?php echo $_smarty_tpl->tpl_vars['css_uri']->value;?>
" rel="stylesheet" type="text/css" media="<?php echo $_smarty_tpl->tpl_vars['media']->value;?>
" />
<?php } ?>
<?php $_smarty_tpl->tpl_vars['js_uri'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['js_uri']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['js_files']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['js_uri']->key => $_smarty_tpl->tpl_vars['js_uri']->value) {
$_smarty_tpl->tpl_vars['js_uri']->_loop = true;
?>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['js_uri']->value;?>
"></script>
<?php } ?>
<script type="text/javascript" src="../js/admin/login.js?<?php echo time();?>
"></script>
<?php if ((isset($_smarty_tpl->tpl_vars['js_def']->value)&&count($_smarty_tpl->tpl_vars['js_def']->value)||isset($_smarty_tpl->tpl_vars['js_files']->value)&&count($_smarty_tpl->tpl_vars['js_files']->value))) {?>
<?php echo $_smarty_tpl->getSubTemplate ((@constant('_PS_ALL_THEMES_DIR_')).("javascript.tpl"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }?>
</head>
<body class="ps_back-office bootstrap">
<div id="login">
<div id="content">
<?php }} ?>

View File

@@ -1,25 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 15:44:58
compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/shop_url/content.tpl" */ ?>
<?php /*%%SmartyHeaderCode:114941751356ab3ba2d010c3-85169481%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'060d0a8f54243bc5960c217efc0d3c326120482c' =>
array (
0 => '/home/sumit/public_html/html/hotelcommerce-master/admin/themes/default/template/controllers/shop_url/content.tpl',
1 => 1454062120,
2 => 'file',
),
),
'nocache_hash' => '114941751356ab3ba2d010c3-85169481',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_56ab3ba2d049d0_34391616',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56ab3ba2d049d0_34391616')) {function content_56ab3ba2d049d0_34391616($_smarty_tpl) {?>
<?php echo $_smarty_tpl->getSubTemplate ("controllers/shop/content.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>

View File

@@ -1,71 +0,0 @@
<?php /* Smarty version Smarty-3.1.19, created on 2015-11-05 16:06:17
compiled from "/home/sumit/public_html/html/ps-hotel-reservation-system/admin945qmi5wu/themes/default/template/helpers/tree/tree_toolbar_search.tpl" */ ?>
<?php /*%%SmartyHeaderCode:57316090563b3121dfb985-49374080%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0629aa20071e5eb8f8fb8de52798d85f406dd7ed' =>
array (
0 => '/home/sumit/public_html/html/ps-hotel-reservation-system/admin945qmi5wu/themes/default/template/helpers/tree/tree_toolbar_search.tpl',
1 => 1446455061,
2 => 'file',
),
),
'nocache_hash' => '57316090563b3121dfb985-49374080',
'function' =>
array (
),
'variables' =>
array (
'label' => 0,
'id' => 0,
'name' => 0,
'class' => 0,
'typeahead_source' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_563b3121e48d32_64570471',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_563b3121e48d32_64570471')) {function content_563b3121e48d32_64570471($_smarty_tpl) {?>
<!-- <label for="node-search"><?php echo smartyTranslate(array('s'=>$_smarty_tpl->tpl_vars['label']->value),$_smarty_tpl);?>
</label> -->
<div class="pull-right">
<input type="text"
<?php if (isset($_smarty_tpl->tpl_vars['id']->value)) {?>id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
"<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['name']->value)) {?>name="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
"<?php }?>
class="search-field<?php if (isset($_smarty_tpl->tpl_vars['class']->value)) {?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8', true);?>
<?php }?>"
placeholder="<?php echo smartyTranslate(array('s'=>'search...'),$_smarty_tpl);?>
" />
</div>
<?php if (isset($_smarty_tpl->tpl_vars['typeahead_source']->value)&&isset($_smarty_tpl->tpl_vars['id']->value)) {?>
<script type="text/javascript">
$(document).ready(
function()
{
$("#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
").typeahead(
{
name: "<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['name']->value, ENT_QUOTES, 'UTF-8', true);?>
",
valueKey: 'name',
local: [<?php echo $_smarty_tpl->tpl_vars['typeahead_source']->value;?>
]
});
$("#<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['id']->value, ENT_QUOTES, 'UTF-8', true);?>
").keypress(function( event ) {
if ( event.which == 13 ) {
event.stopPropagation();
}
});
}
);
</script>
<?php }?><?php }} ?>

Some files were not shown because too many files have changed in this diff Show More