function content_55dc7cc6618e90_37772010($_smarty_tpl) { fn_preload_lang_vars(array('add_grid_block', 'insert_grid', 'insert_block', 'grid_options', 'enable_or_disable_grid', 'delete_grid', 'grid', 'add_grid_block', 'insert_grid', 'insert_block', 'grid_options', 'delete_grid', 'on_off')); ?> <div id="grid_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['grid_id'], ENT_QUOTES, 'UTF-8'); ?> " class="<?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['default_class']->value) === null || $tmp === '' ? "grid" : $tmp, ENT_QUOTES, 'UTF-8'); ?> grid_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['width'], ENT_QUOTES, 'UTF-8'); if ($_smarty_tpl->tpl_vars['grid']->value['offset']) { ?> prefix_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['offset'], ENT_QUOTES, 'UTF-8'); } if ($_smarty_tpl->tpl_vars['grid']->value['alpha']) { ?> alpha<?php } if ($_smarty_tpl->tpl_vars['grid']->value['omega']) { ?> omega<?php } if ($_smarty_tpl->tpl_vars['grid']->value['content_align'] == "RIGHT") { ?> bm-right-align<?php } elseif ($_smarty_tpl->tpl_vars['grid']->value['content_align'] == "LEFT") { ?> bm-left-align<?php } else { ?> bm-full-width<?php } ?> <?php if ($_smarty_tpl->tpl_vars['grid']->value['status'] == "D") { ?> grid-off<?php } ?> " <?php if ($_smarty_tpl->tpl_vars['grid']->value['status'] != "A") { ?> data-ca-status="disabled"<?php } else { ?> data-ca-status="active"<?php } ?> > <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> <div class="bm-full-menu grid-control-menu bm-control-menu <?php if ($_smarty_tpl->tpl_vars['grid']->value['width'] <= 2) { ?> hidden<?php } ?> "> <?php if ($_smarty_tpl->tpl_vars['container']->value['default'] == 1 || $_smarty_tpl->tpl_vars['container']->value['position'] == 'CONTENT' && !$_smarty_tpl->tpl_vars['dynamic_object']->value || $_smarty_tpl->tpl_vars['show_menu']->value || $_smarty_tpl->tpl_vars['container']->value['linked_to_default'] != "Y") { ?> <div class="grid-control-menu-actions"> <div class="btn-group action"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class='icon-plus cm-tooltip' data-ce-tooltip-position="top" title="<?php echo $_smarty_tpl->__("add_grid_block"); ?> "></span></a> <ul class="dropdown-menu droptop"> <li><a href="" class="cm-action bm-action-add-grid"><?php echo $_smarty_tpl->__("insert_grid"); ?> </a></li> <li><a href="" class="cm-action bm-action-add-block"><?php echo $_smarty_tpl->__("insert_block"); ?> </a></li> </ul> </div> <div class="cm-action bm-action-properties cm-tooltip exicon-cog action" data-ce-tooltip-position="top" title="<?php echo $_smarty_tpl->__("grid_options"); ?> "></div> <div class="cm-action bm-action-switch cm-tooltip exicon-off action" data-ce-tooltip-position="top" title="<?php echo $_smarty_tpl->__("enable_or_disable_grid"); ?> "></div> <div class="cm-action bm-action-delete cm-tooltip pull-right exicon-trash extra action" data-ce-tooltip-position="top" title="<?php echo $_smarty_tpl->__("delete_grid"); ?> "></div> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['layout_data']->value['layout_width'] != "fixed") { ?> <?php if ($_smarty_tpl->tpl_vars['parent_grid']->value['width'] > 0) { ?> <?php $_smarty_tpl->tpl_vars['fluid_width'] = new Smarty_variable(fn_get_grid_fluid_width($_smarty_tpl->tpl_vars['layout_data']->value['width'], $_smarty_tpl->tpl_vars['parent_grid']->value['width'], $_smarty_tpl->tpl_vars['grid']->value['width']), null, 0); ?> <?php } else { ?> <?php $_smarty_tpl->tpl_vars['fluid_width'] = new Smarty_variable($_smarty_tpl->tpl_vars['grid']->value['width'], null, 0); ?> <?php } ?> <?php } ?> <h4 class="grid-control-title <?php if ($_smarty_tpl->tpl_vars['grid']->value['width'] <= 2) { ?> hidden<?php } ?> "> <?php echo $_smarty_tpl->__("grid"); ?> <?php echo htmlspecialchars(($tmp = @$_smarty_tpl->tpl_vars['grid']->value['width']) === null || $tmp === '' ? "0" : $tmp, ENT_QUOTES, 'UTF-8'); ?> <?php if ($_smarty_tpl->tpl_vars['layout_data']->value['layout_width'] != "fixed" && $_smarty_tpl->tpl_vars['fluid_width']->value > 0) { ?> <small class="muted">(span <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['fluid_width']->value, ENT_QUOTES, 'UTF-8'); ?> )</small> <?php } ?> </h4> </div> <?php if ($_smarty_tpl->tpl_vars['container']->value['default'] == 1 || $_smarty_tpl->tpl_vars['container']->value['position'] == 'CONTENT' && !$_smarty_tpl->tpl_vars['dynamic_object']->value || $_smarty_tpl->tpl_vars['show_menu']->value || $_smarty_tpl->tpl_vars['container']->value['linked_to_default'] != "Y") { ?> <div class="bm-compact-menu <?php if ($_smarty_tpl->tpl_vars['grid']->value['width'] > 2) { ?> hidden<?php } ?> grid-control-menu bm-control-menu"> <div class="action-showmenu"> <div class="btn-group action"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class='icon-align-justify cm-tooltip' title="<?php echo $_smarty_tpl->__("add_grid_block"); ?> "></span></a> <ul class="dropdown-menu droptop"> <li><a class="cm-action bm-action-add-grid hand"><?php echo $_smarty_tpl->__("insert_grid"); ?> </a></li> <li><a class="cm-action bm-action-add-block hand"><?php echo $_smarty_tpl->__("insert_block"); ?> </a></li> <li><a class="cm-action bm-action-properties hand"><?php echo $_smarty_tpl->__("grid_options"); ?> </a></li> <li><a class="cm-action bm-action-delete hand"><?php echo $_smarty_tpl->__("delete_grid"); ?> </a></li> <li><a class="cm-action bm-action-switch hand"><?php echo $_smarty_tpl->__("on_off"); ?> </a></li> </ul> </div> </div> </div> <?php } ?> <!--grid_<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['grid_id'], ENT_QUOTES, 'UTF-8'); ?> --></div> <?php if ($_smarty_tpl->tpl_vars['grid']->value['clear']) { ?> <div class="clearfix"></div> <?php } }
function content_55dc759d71d034_46348107($_smarty_tpl) { if ($_smarty_tpl->tpl_vars['layout_data']->value['layout_width'] != "fixed") { ?> <?php if ($_smarty_tpl->tpl_vars['parent_grid']->value['width'] > 0) { ?> <?php $_smarty_tpl->tpl_vars['fluid_width'] = new Smarty_variable(fn_get_grid_fluid_width($_smarty_tpl->tpl_vars['layout_data']->value['width'], $_smarty_tpl->tpl_vars['parent_grid']->value['width'], $_smarty_tpl->tpl_vars['grid']->value['width']), null, 0); ?> <?php } else { ?> <?php $_smarty_tpl->tpl_vars['fluid_width'] = new Smarty_variable($_smarty_tpl->tpl_vars['grid']->value['width'], null, 0); ?> <?php } } ?> <?php if ($_smarty_tpl->tpl_vars['grid']->value['status'] == "A" && $_smarty_tpl->tpl_vars['content']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['grid']->value['alpha']) { ?> <div class="<?php if ($_smarty_tpl->tpl_vars['layout_data']->value['layout_width'] != "fixed") { ?> row-fluid <?php } else { ?> row<?php } ?> "><?php } ?> <?php $_smarty_tpl->tpl_vars['width'] = new Smarty_variable(($tmp = @$_smarty_tpl->tpl_vars['fluid_width']->value) === null || $tmp === '' ? $_smarty_tpl->tpl_vars['grid']->value['width'] : $tmp, null, 0); ?> <div class="span<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['width']->value, ENT_QUOTES, 'UTF-8'); if ($_smarty_tpl->tpl_vars['grid']->value['offset']) { ?> offset<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['offset'], ENT_QUOTES, 'UTF-8'); } ?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['grid']->value['user_class'], ENT_QUOTES, 'UTF-8'); ?> " > <?php echo $_smarty_tpl->tpl_vars['content']->value; ?> </div> <?php if ($_smarty_tpl->tpl_vars['grid']->value['omega']) { ?> </div><?php } } }