PageRenderTime 45ms CodeModel.GetById 8ms RepoModel.GetById 1ms app.codeStats 0ms

/cache/smarty/compile/29/ad/bf/29adbfc13bf0a7a5396ec32fba6c3df24754b481.file.view.tpl.php

https://bitbucket.org/Yanachkov/updatepanda18
PHP | 192 lines | 181 code | 11 blank | 0 comment | 23 complexity | 081b4a1ea7beeeed668c2119d1a02813 MD5 | raw file
Possible License(s): LGPL-3.0, MPL-2.0, JSON, MIT, LGPL-2.1, MPL-2.0-no-copyleft-exception
  1. <?php /* Smarty version Smarty-3.1.19, created on 2018-03-30 13:33:12
  2. compiled from "/home/autom2eh/new.toolspanda.com/admin/themes/default/template/controllers/dashboard/helpers/view/view.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:13316379825abe12684e4320-11052396%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '29adbfc13bf0a7a5396ec32fba6c3df24754b481' =>
  8. array (
  9. 0 => '/home/autom2eh/new.toolspanda.com/admin/themes/default/template/controllers/dashboard/helpers/view/view.tpl',
  10. 1 => 1517239232,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '13316379825abe12684e4320-11052396',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'link' => 0,
  21. 'dashboard_use_push' => 0,
  22. 'warning' => 0,
  23. 'action' => 0,
  24. 'preselect_date_range' => 0,
  25. 'date_from' => 0,
  26. 'date_to' => 0,
  27. 'calendar' => 0,
  28. 'hookDashboardZoneOne' => 0,
  29. 'hookDashboardZoneTwo' => 0,
  30. 'lang_iso' => 0,
  31. 'host_mode' => 0,
  32. 'new_version_url' => 0,
  33. ),
  34. 'has_nocache_code' => false,
  35. 'version' => 'Smarty-3.1.19',
  36. 'unifunc' => 'content_5abe1268505ce3_88963409',
  37. ),false); /*/%%SmartyHeaderCode%%*/?>
  38. <?php if ($_valid && !is_callable('content_5abe1268505ce3_88963409')) {function content_5abe1268505ce3_88963409($_smarty_tpl) {?>
  39. <script>
  40. var dashboard_ajax_url = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminDashboard');?>
  41. ';
  42. var adminstats_ajax_url = '<?php echo $_smarty_tpl->tpl_vars['link']->value->getAdminLink('AdminStats');?>
  43. ';
  44. var no_results_translation = '<?php echo smartyTranslate(array('s'=>'No result','js'=>1),$_smarty_tpl);?>
  45. ';
  46. var dashboard_use_push = '<?php echo intval($_smarty_tpl->tpl_vars['dashboard_use_push']->value);?>
  47. ';
  48. var read_more = '<?php echo smartyTranslate(array('s'=>'Read more','js'=>1),$_smarty_tpl);?>
  49. ';
  50. </script>
  51. <div id="dashboard">
  52. <div class="row">
  53. <div class="col-lg-12">
  54. <?php if ($_smarty_tpl->tpl_vars['warning']->value) {?>
  55. <div class="alert alert-warning"><?php echo $_smarty_tpl->tpl_vars['warning']->value;?>
  56. </div>
  57. <?php }?>
  58. <div id="calendar" class="panel">
  59. <form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['action']->value, ENT_QUOTES, 'UTF-8', true);?>
  60. " method="post" id="calendar_form" name="calendar_form" class="form-inline">
  61. <div class="btn-group">
  62. <button type="button" name="submitDateDay" class="btn btn-default submitDateDay<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='day') {?> active<?php }?>">
  63. <?php echo smartyTranslate(array('s'=>'Day'),$_smarty_tpl);?>
  64. </button>
  65. <button type="button" name="submitDateMonth" class="btn btn-default submitDateMonth<?php if ((!isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)||!$_smarty_tpl->tpl_vars['preselect_date_range']->value)||(isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='month')) {?> active<?php }?>">
  66. <?php echo smartyTranslate(array('s'=>'Month'),$_smarty_tpl);?>
  67. </button>
  68. <button type="button" name="submitDateYear" class="btn btn-default submitDateYear<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='year') {?> active<?php }?>">
  69. <?php echo smartyTranslate(array('s'=>'Year'),$_smarty_tpl);?>
  70. </button>
  71. <button type="button" name="submitDateDayPrev" class="btn btn-default submitDateDayPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='prev-day') {?> active<?php }?>">
  72. <?php echo smartyTranslate(array('s'=>'Day'),$_smarty_tpl);?>
  73. -1
  74. </button>
  75. <button type="button" name="submitDateMonthPrev" class="btn btn-default submitDateMonthPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='prev-month') {?> active<?php }?>">
  76. <?php echo smartyTranslate(array('s'=>'Month'),$_smarty_tpl);?>
  77. -1
  78. </button>
  79. <button type="button" name="submitDateYearPrev" class="btn btn-default submitDateYearPrev<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)&&$_smarty_tpl->tpl_vars['preselect_date_range']->value=='prev-year') {?> active<?php }?>">
  80. <?php echo smartyTranslate(array('s'=>'Year'),$_smarty_tpl);?>
  81. -1
  82. </button>
  83. <!--
  84. <button type="submit" name="submitDateRealTime" class="hide btn btn-default submitDateRealTime <?php if ($_smarty_tpl->tpl_vars['dashboard_use_push']->value) {?>active<?php }?>" value="<?php echo !intval($_smarty_tpl->tpl_vars['dashboard_use_push']->value);?>
  85. ">
  86. <?php echo smartyTranslate(array('s'=>'Real Time'),$_smarty_tpl);?>
  87. </button> -->
  88. </div>
  89. <input type="hidden" name="datepickerFrom" id="datepickerFrom" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['date_from']->value, ENT_QUOTES, 'UTF-8', true);?>
  90. " class="form-control">
  91. <input type="hidden" name="datepickerTo" id="datepickerTo" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['date_to']->value, ENT_QUOTES, 'UTF-8', true);?>
  92. " class="form-control">
  93. <input type="hidden" name="preselectDateRange" id="preselectDateRange" value="<?php if (isset($_smarty_tpl->tpl_vars['preselect_date_range']->value)) {?><?php echo $_smarty_tpl->tpl_vars['preselect_date_range']->value;?>
  94. <?php }?>" class="form-control">
  95. <div class="form-group pull-right">
  96. <button id="datepickerExpand" class="btn btn-default" type="button">
  97. <i class="icon-calendar-empty"></i>
  98. <span class="hidden-xs">
  99. <?php echo smartyTranslate(array('s'=>'From'),$_smarty_tpl);?>
  100. <strong class="text-info" id="datepicker-from-info"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['date_from']->value, ENT_QUOTES, 'UTF-8', true);?>
  101. </strong>
  102. <?php echo smartyTranslate(array('s'=>'To'),$_smarty_tpl);?>
  103. <strong class="text-info" id="datepicker-to-info"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['date_to']->value, ENT_QUOTES, 'UTF-8', true);?>
  104. </strong>
  105. <strong class="text-info" id="datepicker-diff-info"></strong>
  106. </span>
  107. <i class="icon-caret-down"></i>
  108. </button>
  109. </div>
  110. <?php echo $_smarty_tpl->tpl_vars['calendar']->value;?>
  111. </form>
  112. </div>
  113. </div>
  114. </div>
  115. <div class="row">
  116. <div class="col-md-4 col-lg-3" id="hookDashboardZoneOne">
  117. <?php echo $_smarty_tpl->tpl_vars['hookDashboardZoneOne']->value;?>
  118. </div>
  119. <div class="col-md-8 col-lg-7" id="hookDashboardZoneTwo">
  120. <?php echo $_smarty_tpl->tpl_vars['hookDashboardZoneTwo']->value;?>
  121. <div id="dashaddons" class="row-margin-bottom">
  122. <a href="http://addons.prestashop.com/en/209-dashboards?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  123. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank">
  124. <i class="icon-plus"></i> <?php echo smartyTranslate(array('s'=>'Add more dashboard modules'),$_smarty_tpl);?>
  125. </a>
  126. </div>
  127. </div>
  128. <div class="col-md-12 col-lg-2">
  129. <section class="dash_news panel">
  130. <h3><i class="icon-rss"></i> <?php echo smartyTranslate(array('s'=>'PrestaShop News'),$_smarty_tpl);?>
  131. </h3>
  132. <div class="dash_news_content"></div>
  133. <div class="text-center"><h4><a href="http://www.prestashop.com/blog/" onclick="return !window.open(this.href);"><?php echo smartyTranslate(array('s'=>'Find more news'),$_smarty_tpl);?>
  134. </a></h4></div>
  135. </section>
  136. <section id="dash_version" class="visible-lg">
  137. <iframe style="overflow:hidden;border:none" src="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['new_version_url']->value, ENT_QUOTES, 'UTF-8', true);?>
  138. " ></iframe>
  139. </section>
  140. <section class="dash_links panel">
  141. <h3><i class="icon-link"></i> <?php echo smartyTranslate(array('s'=>"Useful links"),$_smarty_tpl);?>
  142. </h3>
  143. <dl>
  144. <dt><a href="http://doc.prestashop.com/display/PS16?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  145. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo smartyTranslate(array('s'=>"Official Documentation"),$_smarty_tpl);?>
  146. </a></dt>
  147. <dd><?php echo smartyTranslate(array('s'=>"User, Developer and Designer Guides"),$_smarty_tpl);?>
  148. </dd>
  149. </dl>
  150. <dl>
  151. <dt><a href="http://www.prestashop.com/forums?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  152. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo smartyTranslate(array('s'=>"PrestaShop Forum"),$_smarty_tpl);?>
  153. </a></dt>
  154. <dd><?php echo smartyTranslate(array('s'=>"Connect with the PrestaShop community"),$_smarty_tpl);?>
  155. </dd>
  156. </dl>
  157. <dl>
  158. <dt><a href="http://addons.prestashop.com?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  159. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo smartyTranslate(array('s'=>"PrestaShop Addons"),$_smarty_tpl);?>
  160. </a></dt>
  161. <dd><?php echo smartyTranslate(array('s'=>"Enhance your store with templates & modules"),$_smarty_tpl);?>
  162. </dd>
  163. </dl>
  164. <dl>
  165. <dt><a href="http://forge.prestashop.com?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  166. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo smartyTranslate(array('s'=>"The Forge"),$_smarty_tpl);?>
  167. </a></dt>
  168. <dd><?php echo smartyTranslate(array('s'=>"Report issues in the Bug Tracker"),$_smarty_tpl);?>
  169. </dd>
  170. </dl>
  171. <dl>
  172. <dt><a href="http://www.prestashop.com/en/contact-us?utm_source=back-office&amp;utm_medium=dashboard&amp;utm_campaign=back-office-<?php echo mb_strtoupper($_smarty_tpl->tpl_vars['lang_iso']->value, 'UTF-8');?>
  173. &amp;utm_content=<?php if ($_smarty_tpl->tpl_vars['host_mode']->value) {?>cloud<?php } else { ?>download<?php }?>" class="_blank"><?php echo smartyTranslate(array('s'=>"Contact Us!"),$_smarty_tpl);?>
  174. </a></dt>
  175. <dd></dd>
  176. </dl>
  177. </section>
  178. </div>
  179. </div>
  180. </div>
  181. <?php }} ?>