function content_54feafa7356007_19509727($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_replace')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\modifier.replace.php';
        }
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        if (!is_callable('smarty_function_theme_url')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.theme_url.php';
        }
        ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	
<title>Edit <?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</title>

</head>
<body class="page-<?php 
        echo smarty_modifier_replace($_smarty_tpl->tpl_vars['route']->value, '/', '-');
        ?>
">

<div class="header">
	<a href="<?php 
        echo smarty_function_url(array('path' => "home/index"), $_smarty_tpl);
        ?>
" class="logo"></a>

	<div class="buttons">
		<div class="popup" id="subNavControll">
			<div class="label"><span class="icos-list"></span></div>
		</div>
		<div class="dropdown">
			<div class="label"><span class="icos-user2"></span></div>
			<div class="body" style="width: 160px;">
				
					
				
				
					
				
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/edit", 'id' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
" data-toggle="dialog"><span class="icon-cog icon-white"></span> <?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
</a>
				</div>
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/logout"), $_smarty_tpl);
        ?>
"><span class="icon-off icon-white"></span> Logoff</a>
				</div>
			</div>
		</div>
		
			
			
				
				
					
						
							
								
								
								
							
						
					
				
			
		
		<div class="popup">
			<div class="label"><span class="icos-cog"></span></div>
			<div class="body">
				<div class="arrow"></div>
				<div class="row-fluid">
					<div class="row-form">
						<div class="span12">
							<span class="top">Themes:</span>
							<div class="themes">
								<a href="#" data-theme="" class="tip" title="Default"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/default.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDaB" class="tip" title="DaB"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dab.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssTq" class="tip" title="Tq"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/tq.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGy" class="tip" title="Gy"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/gy.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssLight" class="tip" title="Light"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/light.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDark" class="tip" title="Dark"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dark.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGreen" class="tip" title="Green"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/green.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssRed" class="tip" title="Red"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/red.jpg"), $_smarty_tpl);
        ?>
"/></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Backgrounds:</span>
							<div class="backgrounds">
								<a href="#" data-background="bg_default" class="bg_default"></a>
								<a href="#" data-background="bg_mgrid" class="bg_mgrid"></a>
								<a href="#" data-background="bg_crosshatch" class="bg_crosshatch"></a>
								<a href="#" data-background="bg_hatch" class="bg_hatch"></a>
								<a href="#" data-background="bg_light_gray" class="bg_light_gray"></a>
								<a href="#" data-background="bg_dark_gray" class="bg_dark_gray"></a>
								<a href="#" data-background="bg_texture" class="bg_texture"></a>
								<a href="#" data-background="bg_light_orange" class="bg_light_orange"></a>
								<a href="#" data-background="bg_yellow_hatch" class="bg_yellow_hatch"></a>
								<a href="#" data-background="bg_green_hatch" class="bg_green_hatch"></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Navigation:</span>
							<input type="radio" name="navigation" id="fixedNav"/> Fixed
							<input type="radio" name="navigation" id="collapsedNav"/> Collapsible
							<input type="radio" name="navigation" id="hiddenNav"/> Hidden
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

</div>

<div class="navigation">

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_mainMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>



<div class="control"></div>

<div class="submain">

<div id="default">

	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_userInfo.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	<div class="dr"><span></span></div>
	
</div>

</div>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


<div class="content">

	<div class="row-fluid">

		
<div class="span12">
    
        <?php 
        /*  Call merged included template "admin/widgets/_alerts.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate('admin/widgets/_alerts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '1156854feafa726eac0-95373703');
        content_54feafa731adf2_96289847($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/_alerts.tpl" */
        ?>
        <div class="widget">
            <div class="head">
                <div class="icon"><i class="icosg-bookmark1"></i></div>
                <h2>Edit <?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</h2>
            </div>
            <?php 
        echo $_smarty_tpl->tpl_vars['form']->value;
        ?>

        </div>
    
</div>


	</div>
	

</div>

    
    
    <?php 
        if (!empty($_smarty_tpl->tpl_vars['errorAttributes']->value)) {
            ?>
        <script type="text/javascript">
            var errors = <?php 
            echo json_encode($_smarty_tpl->tpl_vars['errorAttributes']->value);
            ?>
;
            attachErrors(errors, '<?php 
            echo $_smarty_tpl->tpl_vars['instance']->value;
            ?>
');
        </script>
    <?php 
        }
        ?>

<div class="loadingframe"></div>

</body>
</html><?php 
    }
    function content_54eb80f33f7be4_08398560($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_replace')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\modifier.replace.php';
        }
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        if (!is_callable('smarty_function_theme_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.theme_url.php';
        }
        ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	
		<title>Administrator Area</title>
	
</head>
<body class="page-<?php 
        echo smarty_modifier_replace($_smarty_tpl->tpl_vars['route']->value, '/', '-');
        ?>
">

<div class="header">
	<a href="<?php 
        echo smarty_function_url(array('path' => "home/index"), $_smarty_tpl);
        ?>
" class="logo"></a>

	<div class="buttons">
		<div class="popup" id="subNavControll">
			<div class="label"><span class="icos-list"></span></div>
		</div>
		<div class="dropdown">
			<div class="label"><span class="icos-user2"></span></div>
			<div class="body" style="width: 160px;">
				
					
				
				
					
				
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/edit", 'id' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
" data-toggle="dialog"><span class="icon-cog icon-white"></span> <?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
</a>
				</div>
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/logout"), $_smarty_tpl);
        ?>
"><span class="icon-off icon-white"></span> Logoff</a>
				</div>
			</div>
		</div>
		
			
			
				
				
					
						
							
								
								
								
							
						
					
				
			
		
		<div class="popup">
			<div class="label"><span class="icos-cog"></span></div>
			<div class="body">
				<div class="arrow"></div>
				<div class="row-fluid">
					<div class="row-form">
						<div class="span12">
							<span class="top">Themes:</span>
							<div class="themes">
								<a href="#" data-theme="" class="tip" title="Default"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/default.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDaB" class="tip" title="DaB"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dab.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssTq" class="tip" title="Tq"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/tq.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGy" class="tip" title="Gy"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/gy.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssLight" class="tip" title="Light"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/light.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDark" class="tip" title="Dark"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dark.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGreen" class="tip" title="Green"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/green.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssRed" class="tip" title="Red"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/red.jpg"), $_smarty_tpl);
        ?>
"/></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Backgrounds:</span>
							<div class="backgrounds">
								<a href="#" data-background="bg_default" class="bg_default"></a>
								<a href="#" data-background="bg_mgrid" class="bg_mgrid"></a>
								<a href="#" data-background="bg_crosshatch" class="bg_crosshatch"></a>
								<a href="#" data-background="bg_hatch" class="bg_hatch"></a>
								<a href="#" data-background="bg_light_gray" class="bg_light_gray"></a>
								<a href="#" data-background="bg_dark_gray" class="bg_dark_gray"></a>
								<a href="#" data-background="bg_texture" class="bg_texture"></a>
								<a href="#" data-background="bg_light_orange" class="bg_light_orange"></a>
								<a href="#" data-background="bg_yellow_hatch" class="bg_yellow_hatch"></a>
								<a href="#" data-background="bg_green_hatch" class="bg_green_hatch"></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Navigation:</span>
							<input type="radio" name="navigation" id="fixedNav"/> Fixed
							<input type="radio" name="navigation" id="collapsedNav"/> Collapsible
							<input type="radio" name="navigation" id="hiddenNav"/> Hidden
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

</div>

<div class="navigation">

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_mainMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>



<div class="control"></div>

<div class="submain">

<div id="default">

	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_userInfo.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	<div class="dr"><span></span></div>
	
</div>

</div>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


<div class="content">

	<div class="row-fluid">

		


	</div>
	

</div>

<div class="loadingframe"></div>

</body>
</html><?php 
    }
    function content_53e1d7434877a7_14304867($_smarty_tpl)
    {
        if (!is_callable('smarty_function_theme_url')) {
            include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/App/smarty/plugins/function.theme_url.php';
        }
        if (!is_callable('smarty_modifier_replace')) {
            include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/Library/Smarty/libs/plugins/modifier.replace.php';
        }
        if (!is_callable('smarty_function_url')) {
            include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/App/smarty/plugins/function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/App/smarty/plugins/function.lang.php';
        }
        if (!is_callable('smarty_function_html_table')) {
            include '/media/jay/Data/apache/skully-admin/vendor/skullyframework/skully/Skully/Library/Smarty/libs/plugins/function.html_table.php';
        }
        ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	
<title><?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</title>
  <?php 
        if (!empty($_smarty_tpl->tpl_vars['dragField']->value)) {
            ?>
    <script type='text/javascript' src="<?php 
            echo smarty_function_theme_url(array('path' => "resources/js/plugins/datatables/dataTables.rowReordering.js"), $_smarty_tpl);
            ?>
"></script>
  <?php 
        }
        ?>

</head>
<body class="page-<?php 
        echo smarty_modifier_replace($_smarty_tpl->tpl_vars['route']->value, '/', '-');
        ?>
">

<div class="header">
	<a href="<?php 
        echo smarty_function_url(array('path' => "home/index"), $_smarty_tpl);
        ?>
" class="logo"></a>

	<div class="buttons">
		<div class="popup" id="subNavControll">
			<div class="label"><span class="icos-list"></span></div>
		</div>
		<div class="dropdown">
			<div class="label"><span class="icos-user2"></span></div>
			<div class="body" style="width: 160px;">
				
					
				
				
					
				
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/edit", 'id' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
" data-toggle="dialog"><span class="icon-cog icon-white"></span> <?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
</a>
				</div>
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/logout"), $_smarty_tpl);
        ?>
"><span class="icon-off icon-white"></span> Logoff</a>
				</div>
			</div>
		</div>
		
			
			
				
				
					
						
							
								
								
								
							
						
					
				
			
		
		<div class="popup">
			<div class="label"><span class="icos-cog"></span></div>
			<div class="body">
				<div class="arrow"></div>
				<div class="row-fluid">
					<div class="row-form">
						<div class="span12">
							<span class="top">Themes:</span>
							<div class="themes">
								<a href="#" data-theme="" class="tip" title="Default"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/default.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDaB" class="tip" title="DaB"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dab.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssTq" class="tip" title="Tq"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/tq.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGy" class="tip" title="Gy"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/gy.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssLight" class="tip" title="Light"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/light.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDark" class="tip" title="Dark"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dark.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGreen" class="tip" title="Green"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/green.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssRed" class="tip" title="Red"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/red.jpg"), $_smarty_tpl);
        ?>
"/></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Backgrounds:</span>
							<div class="backgrounds">
								<a href="#" data-background="bg_default" class="bg_default"></a>
								<a href="#" data-background="bg_mgrid" class="bg_mgrid"></a>
								<a href="#" data-background="bg_crosshatch" class="bg_crosshatch"></a>
								<a href="#" data-background="bg_hatch" class="bg_hatch"></a>
								<a href="#" data-background="bg_light_gray" class="bg_light_gray"></a>
								<a href="#" data-background="bg_dark_gray" class="bg_dark_gray"></a>
								<a href="#" data-background="bg_texture" class="bg_texture"></a>
								<a href="#" data-background="bg_light_orange" class="bg_light_orange"></a>
								<a href="#" data-background="bg_yellow_hatch" class="bg_yellow_hatch"></a>
								<a href="#" data-background="bg_green_hatch" class="bg_green_hatch"></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Navigation:</span>
							<input type="radio" name="navigation" id="fixedNav"/> Fixed
							<input type="radio" name="navigation" id="collapsedNav"/> Collapsible
							<input type="radio" name="navigation" id="hiddenNav"/> Hidden
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

</div>

<div class="navigation">

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_mainMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>



<div class="control"></div>

<div class="submain">

<div id="default">

	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_userInfo.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	<div class="dr"><span></span></div>
	
</div>

</div>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


<div class="content">

	<div class="row-fluid">

		
<div class="span12">
<?php 
        /*  Call merged included template "admin/widgets/_alerts.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate('admin/widgets/_alerts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '121501231153e1d7432b8bd2-95263522');
        content_53e1d7433b4733_44431098($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/_alerts.tpl" */
        ?>
    
	<div class="widget">
		<div class="head dark">
			<div class="icon"><i class="icos-stats-up"></i></div>
			<h2><?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</h2>
			<ul class="buttons">
				<li><a href="<?php 
        echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['addPath']->value), $_smarty_tpl);
        ?>
" title="Add <?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
" data-toggle="dialog"><span class="icos-plus1"></span></a></li>
			</ul>
		</div>
        <div class="block-fluid">
                <?php 
        if (!empty($_smarty_tpl->tpl_vars['dragField']->value)) {
            ?>
                    <?php 
            $_smarty_tpl->tpl_vars['sortableTable'] = new Smarty_variable('sortableTable initialized', true, 0);
            ?>
                <?php 
        }
        ?>
                <?php 
        ob_start();
        echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['indexPath']->value), $_smarty_tpl);
        $_tmp1 = ob_get_clean();
        echo smarty_function_html_table(array('loop' => '', 'table_attr' => 'class="' . $_smarty_tpl->tpl_vars['sortableTable']->value . ' aTable in table-hover" rel="' . $_tmp1 . '"style="width: 100%;"', 'th_attr' => $_smarty_tpl->tpl_vars['thAttributes']->value, 'cols' => $_smarty_tpl->tpl_vars['columns']->value), $_smarty_tpl);
        ?>

        </div>
	</div>
    
</div>


	</div>
	

</div>

    
        <script type="text/javascript">
            <?php 
        if (!empty($_smarty_tpl->tpl_vars['columnDefs']->value)) {
            ?>
            var _columnDefs = <?php 
            echo $_smarty_tpl->tpl_vars['columnDefs']->value;
            ?>
;
            <?php 
        }
        ?>
        </script>
    
<?php 
        /*  Call merged included template "admin/widgets/crud/widgets/_sortable.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("admin/widgets/crud/widgets/_sortable.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '121501231153e1d7432b8bd2-95263522');
        content_53e1d74344dd77_62969341($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/crud/widgets/_sortable.tpl" */
        ?>

<div class="loadingframe"></div>

</body>
</html><?php 
    }
    function content_54eb8126c4a2b1_15960605($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\block.form.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['action']->value)) {
            ?>
        <?php 
            $_smarty_tpl->tpl_vars['action'] = new Smarty_variable('create', true, 0);
            ?>
    <?php 
        }
        ?>
    <?php 
        ob_start();
        echo smarty_function_url(array('path' => "admin/cRUDImages/" . $_smarty_tpl->tpl_vars['action']->value), $_smarty_tpl);
        $_tmp1 = ob_get_clean();
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('class' => "validate", 'method' => "POST", 'action' => $_tmp1));
        $_block_repeat = true;
        echo smarty_block_form(array('class' => "validate", 'method' => "POST", 'action' => $_tmp1), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <div class="block-fluid">
            <div class="row-form">
                <div class="span12 largerText">
                    <?php 
            if ($_smarty_tpl->tpl_vars['action']->value == 'create') {
                ?>
                        <?php 
                echo smarty_function_lang(array('value' => "Create " . $_smarty_tpl->tpl_vars['instanceName']->value), $_smarty_tpl);
                ?>

                    <?php 
            } else {
                ?>
                        <input name="<?php 
                echo $_smarty_tpl->tpl_vars['instanceName']->value;
                ?>
[id]" type="hidden" value="<?php 
                echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
                ?>
">
                        <?php 
                echo smarty_function_lang(array('value' => "Edit " . $_smarty_tpl->tpl_vars['instanceName']->value), $_smarty_tpl);
                ?>

                    <?php 
            }
            ?>
                </div>
            </div>

            <div class="row-form">
                <div class="span12">
                    <p>Instance needs to be created first before image(s) can be added into it.</p>
                    <p>Click on "Save Changes" button below.</p>
                </div>
            </div>

            <?php 
            if (!$_smarty_tpl->tpl_vars['isAjax']->value) {
                ?>
                <div class="toolbar bottom TAR">
                    <div class="btn-group">
                        <button class="btn btn-primary" id="submitForm" type="submit">Save Changes</button>
                    </div>
                </div>
            <?php 
            }
            ?>

        </div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('class' => "validate", 'method' => "POST", 'action' => $_tmp1), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
    function content_54feaf960ed1a7_90246633($_smarty_tpl)
    {
        if (!is_callable('smarty_function_theme_url')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.theme_url.php';
        }
        if (!is_callable('smarty_modifier_replace')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\modifier.replace.php';
        }
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        if (!is_callable('smarty_function_html_table')) {
            include 'D:\\apache\\skully-amazon-s3\\vendor\\skullyframework\\skully\\Skully\\Library\\Smarty\\libs\\plugins\\function.html_table.php';
        }
        ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/wrappers/_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	
    <title><?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</title>
    <?php 
        if (!empty($_smarty_tpl->tpl_vars['dragField']->value) && !$_smarty_tpl->tpl_vars['dataTableServerSide']->value) {
            ?>
        <script type='text/javascript' src="<?php 
            echo smarty_function_theme_url(array('path' => "resources/js/plugins/datatables/dataTables.rowReordering.js"), $_smarty_tpl);
            ?>
"></script>
    <?php 
        }
        ?>

</head>
<body class="page-<?php 
        echo smarty_modifier_replace($_smarty_tpl->tpl_vars['route']->value, '/', '-');
        ?>
">

<div class="header">
	<a href="<?php 
        echo smarty_function_url(array('path' => "home/index"), $_smarty_tpl);
        ?>
" class="logo"></a>

	<div class="buttons">
		<div class="popup" id="subNavControll">
			<div class="label"><span class="icos-list"></span></div>
		</div>
		<div class="dropdown">
			<div class="label"><span class="icos-user2"></span></div>
			<div class="body" style="width: 160px;">
				
					
				
				
					
				
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/edit", 'id' => $_smarty_tpl->tpl_vars['user']->value['id']), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
" data-toggle="dialog"><span class="icon-cog icon-white"></span> <?php 
        echo smarty_function_lang(array('value' => "My Settings"), $_smarty_tpl);
        ?>
</a>
				</div>
				<div class="itemLink">
					<a href="<?php 
        echo smarty_function_url(array('path' => "admin/admins/logout"), $_smarty_tpl);
        ?>
"><span class="icon-off icon-white"></span> Logoff</a>
				</div>
			</div>
		</div>
		
			
			
				
				
					
						
							
								
								
								
							
						
					
				
			
		
		<div class="popup">
			<div class="label"><span class="icos-cog"></span></div>
			<div class="body">
				<div class="arrow"></div>
				<div class="row-fluid">
					<div class="row-form">
						<div class="span12">
							<span class="top">Themes:</span>
							<div class="themes">
								<a href="#" data-theme="" class="tip" title="Default"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/default.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDaB" class="tip" title="DaB"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dab.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssTq" class="tip" title="Tq"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/tq.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGy" class="tip" title="Gy"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/gy.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssLight" class="tip" title="Light"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/light.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssDark" class="tip" title="Dark"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/dark.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssGreen" class="tip" title="Green"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/green.jpg"), $_smarty_tpl);
        ?>
"/></a>
								<a href="#" data-theme="ssRed" class="tip" title="Red"><img src="<?php 
        echo smarty_function_theme_url(array('path' => "resources/images/admin/themes/red.jpg"), $_smarty_tpl);
        ?>
"/></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Backgrounds:</span>
							<div class="backgrounds">
								<a href="#" data-background="bg_default" class="bg_default"></a>
								<a href="#" data-background="bg_mgrid" class="bg_mgrid"></a>
								<a href="#" data-background="bg_crosshatch" class="bg_crosshatch"></a>
								<a href="#" data-background="bg_hatch" class="bg_hatch"></a>
								<a href="#" data-background="bg_light_gray" class="bg_light_gray"></a>
								<a href="#" data-background="bg_dark_gray" class="bg_dark_gray"></a>
								<a href="#" data-background="bg_texture" class="bg_texture"></a>
								<a href="#" data-background="bg_light_orange" class="bg_light_orange"></a>
								<a href="#" data-background="bg_yellow_hatch" class="bg_yellow_hatch"></a>
								<a href="#" data-background="bg_green_hatch" class="bg_green_hatch"></a>
							</div>
						</div>
					</div>
					<div class="row-form">
						<div class="span12">
							<span class="top">Navigation:</span>
							<input type="radio" name="navigation" id="fixedNav"/> Fixed
							<input type="radio" name="navigation" id="collapsedNav"/> Collapsible
							<input type="radio" name="navigation" id="hiddenNav"/> Hidden
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>

</div>

<div class="navigation">

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_mainMenu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>



<div class="control"></div>

<div class="submain">

<div id="default">

	<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_userInfo.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>

	<div class="dr"><span></span></div>
	
</div>

</div>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate("admin/widgets/_breadcrumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);
        ?>


<div class="content">

	<div class="row-fluid">

		
    <div class="span12">
        <?php 
        /*  Call merged included template "admin/widgets/_alerts.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate('admin/widgets/_alerts.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '3136354feaf95d96ae4-56138430');
        content_54feaf95eaed67_95649373($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/_alerts.tpl" */
        ?>
        
            <div class="widget">
                <div class="head dark">
                    <div class="icon"><i class="icos-stats-up"></i></div>
                    <h2><?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
</h2>
                    <ul class="buttons">
                        <li><a href="<?php 
        echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['addPath']->value), $_smarty_tpl);
        ?>
" title="Add <?php 
        echo $_smarty_tpl->tpl_vars['instanceName']->value;
        ?>
" data-toggle="dialog"><span class="icos-plus1"></span></a></li>
                    </ul>
                </div>
                <div class="block-fluid">
                    <?php 
        if (!$_smarty_tpl->tpl_vars['dataTableServerSide']->value) {
            ?>
                        <?php 
            if (!empty($_smarty_tpl->tpl_vars['dragField']->value)) {
                ?>
                            <?php 
                $_smarty_tpl->tpl_vars['sortableTable'] = new Smarty_variable('sortableTable initialized', true, 0);
                ?>
                        <?php 
            }
            ?>
                        <?php 
            ob_start();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['indexPath']->value), $_smarty_tpl);
            $_tmp1 = ob_get_clean();
            echo smarty_function_html_table(array('loop' => '', 'table_attr' => 'class="' . $_smarty_tpl->tpl_vars['sortableTable']->value . ' aTable in table-hover" rel="' . $_tmp1 . '"style="width: 100%;"', 'th_attr' => $_smarty_tpl->tpl_vars['thAttributes']->value, 'cols' => $_smarty_tpl->tpl_vars['columns']->value), $_smarty_tpl);
            ?>

                    <?php 
        } else {
            ?>
                        <?php 
            echo smarty_function_html_table(array('loop' => '', 'table_attr' => 'id="datatable-media" class="display" cellspacing="0" style="width:100%;"', 'th_attr' => $_smarty_tpl->tpl_vars['thAttributes']->value, 'cols' => $_smarty_tpl->tpl_vars['columns']->value), $_smarty_tpl);
            ?>


                        <style type="text/css">
                            .dataTables_processing { z-index: 1000; }
                        </style>

                        <script type="text/javascript">
                            $(function(){
                                $('#datatable-media').dataTable({
                                    "processing": true,
                                    "serverSide": true,
                                    "ajax": "index",
                                    "columnDefs": <?php 
            echo $_smarty_tpl->tpl_vars['columnDefs']->value;
            ?>

                                });

                                <?php 
            if ($_smarty_tpl->tpl_vars['isSortable']->value) {
                ?>
                                $( "#datatable-media tbody" ).sortable({
                                    start: function(event, ui) {
                                        ui.item.oldId = ui.item.attr('data-id')
                                        ui.item.startPos = ui.item.index();
                                        ui.item.oldPos = ui.item.attr('data-position');
                                    },
                                    stop: function(event, ui) {
                                        $.ajax({
                                            type: "POST",
                                            url: "reorderServerSide",
                                            data: { oldPosition: ui.item.oldPos, newPosition: $('#datatable-media').DataTable().row(ui.item.index()).nodes().to$().attr('data-position'), id: ui.item.oldId }
                                        });
                                        $('#datatable-media').DataTable().draw(false);
                                    }
                                });
                                $( "#datatable-media tbody" ).disableSelection();
                                <?php 
            }
            ?>
                            });
                        </script>
                    <?php 
        }
        ?>
                </div>
            </div>
        
    </div>


	</div>
	

</div>

        
            <script type="text/javascript">
                <?php 
        if (!empty($_smarty_tpl->tpl_vars['columnDefs']->value)) {
            ?>
                var _columnDefs = <?php 
            echo $_smarty_tpl->tpl_vars['columnDefs']->value;
            ?>
;
                <?php 
        }
        ?>
            </script>
        
        <?php 
        /*  Call merged included template "admin/widgets/crud/widgets/_sortable.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("admin/widgets/crud/widgets/_sortable.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0, '3136354feaf95d96ae4-56138430');
        content_54feaf96072a28_69727118($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/crud/widgets/_sortable.tpl" */
        ?>
    
<div class="loadingframe"></div>

</body>
</html><?php 
    }
    function content_54eb813c4360a3_01493542($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_block_form')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\block.form.php';
        }
        if (!is_callable('smarty_function_public_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.public_url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
    <?php 
        ob_start();
        echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageUploadPath']->value), $_smarty_tpl);
        $_tmp23 = ob_get_clean();
        $_smarty_tpl->smarty->_tag_stack[] = array('form', array('class' => "imageForm", 'method' => "POST", 'enctype' => "multipart/form-data", 'action' => $_tmp23));
        $_block_repeat = true;
        echo smarty_block_form(array('class' => "imageForm", 'method' => "POST", 'enctype' => "multipart/form-data", 'action' => $_tmp23), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

        <?php 
            if (!empty($_smarty_tpl->tpl_vars['instanceName']->value)) {
                ?>
            <input type="hidden" name="<?php 
                echo $_smarty_tpl->tpl_vars['instanceName']->value;
                ?>
_id" value="<?php 
                if (!empty($_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'])) {
                    echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
                }
                ?>
" />
        <?php 
            }
            ?>
        <input type="hidden" name="settingName" value="<?php 
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            ?>
" />
        <?php 
            if (!empty($_smarty_tpl->tpl_vars['typeName']->value)) {
                ?>
            <input type="hidden" name="type" value="<?php 
                echo $_smarty_tpl->tpl_vars['typeName']->value;
                ?>
" />
        <?php 
            }
            ?>
        <?php 
            if (isset($_smarty_tpl->tpl_vars['position']->value)) {
                ?>
            <input type="hidden" name="position" value="<?php 
                echo $_smarty_tpl->tpl_vars['position']->value;
                ?>
"/>
        <?php 
            }
            ?>
        <div class="fileupload <?php 
            if (!empty($_smarty_tpl->tpl_vars['_image']->value)) {
                ?>
fileupload-exists<?php 
            } else {
                ?>
fileupload-new<?php 
            }
            ?>
" data-provides="fileupload">
            <div class="fileupload-preview thumbnail">
                <?php 
            if (!empty($_smarty_tpl->tpl_vars['_image']->value)) {
                ?>
                    <input type="hidden" name="imageUrl" value="<?php 
                echo smarty_function_public_url(array('path' => $_smarty_tpl->tpl_vars['_image']->value), $_smarty_tpl);
                ?>
" />
                    <a href="<?php 
                echo smarty_function_public_url(array('path' => $_smarty_tpl->tpl_vars['_image']->value), $_smarty_tpl);
                ?>
" class="fb" rel="<?php 
                echo $_smarty_tpl->tpl_vars['group']->value;
                ?>
"><img src="<?php 
                echo smarty_function_public_url(array('path' => $_smarty_tpl->tpl_vars['_image']->value), $_smarty_tpl);
                ?>
" /></a>
                <?php 
            } else {
                ?>
                    <div class="emptyInfo"><?php 
                echo smarty_function_lang(array('value' => "No Image"), $_smarty_tpl);
                ?>
</div>
                <?php 
            }
            ?>
            </div>
            <div>
                <span class="btn btn-file btn-primary">
                    <span class="fileupload-new">Upload</span>
                    <span class="fileupload-exists">Change</span>
                    <input type="file" name="image" />
                </span>
                <span class="btn btn-primary fileupload-upload" style="display: none;">Upload</span>
            </div>
        </div>
    <?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_form(array('class' => "imageForm", 'method' => "POST", 'enctype' => "multipart/form-data", 'action' => $_tmp23), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

<?php 
    }
    function content_54eb813c6a0766_18721371($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
    <div class="FR TAR" style="width: 100%; padding: 5px 10px;">
        <?php 
        if ($_smarty_tpl->tpl_vars['isSettingModel']->value) {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp46 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp47 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp46, 'setting' => $_tmp47, 'field' => 'value'), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        } else {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp48 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp49 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp50 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp48, 'setting' => $_tmp49, 'field' => $_tmp50), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        }
        ?>
    </div>
    <?php 
        $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(0, true, 0);
        ?>
    <?php 
        $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['type']->_loop = false;
        $_smarty_tpl->tpl_vars['typeName'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['_imageSetting']->value['types'];
        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['typeName']->value = $_smarty_tpl->tpl_vars['type']->key;
            ?>
        <?php 
            if ($_smarty_tpl->tpl_vars['i']->value % 4 == 0) {
                ?>
            <div class="row-form imageManagerRow">
        <?php 
            }
            ?>
        <div class="span3 imageFormContainer">
            <label><?php 
            echo $_smarty_tpl->tpl_vars['typeName']->value;
            ?>
</label>
            <div><?php 
            echo $_smarty_tpl->tpl_vars['type']->value['description'];
            ?>
</div>
            <?php 
            echo $_smarty_tpl->getSubTemplate("admin/widgets/imageUploader/_imageForm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('_image' => $_smarty_tpl->tpl_vars['instanceImages']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value][$_smarty_tpl->tpl_vars['typeName']->value], 'type' => $_smarty_tpl->tpl_vars['type']->value, 'typeName' => $_smarty_tpl->tpl_vars['typeName']->value, '_imageSetting' => $_smarty_tpl->tpl_vars['_imageSetting']->value, '_imageSettingName' => $_smarty_tpl->tpl_vars['_imageSettingName']->value), 0);
            ?>

        </div>
        <?php 
            if ($_smarty_tpl->tpl_vars['i']->value % 4 == 3 || count($_smarty_tpl->tpl_vars['_imageSetting']->value['types']) == $_smarty_tpl->tpl_vars['i']->value + 1) {
                ?>
            </div>
        <?php 
            }
            ?>
        <?php 
            $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value + 1, true, 0);
            ?>
    <?php 
        }
    }
    function content_54eb813c9193f9_12417425($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
<div class="row-form imageManagerRow">
    <input type="hidden" name="position" value="<?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
" />
    <div class="FR">
        <?php 
        if ($_smarty_tpl->tpl_vars['isSettingModel']->value) {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp74 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp75 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp76 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp74, 'direction' => "up", 'position' => $_tmp75, 'setting' => $_tmp76, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp77 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp78 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp79 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp77, 'direction' => "down", 'position' => $_tmp78, 'setting' => $_tmp79, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp80 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp81 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp82 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp80, 'position' => $_tmp81, 'setting' => $_tmp82, 'field' => 'value'), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        } else {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp83 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp84 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp85 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp86 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp83, 'direction' => "up", 'position' => $_tmp84, 'setting' => $_tmp85, 'field' => $_tmp86), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp87 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp88 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp89 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp90 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp87, 'direction' => "down", 'position' => $_tmp88, 'setting' => $_tmp89, 'field' => $_tmp90), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp91 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp92 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp93 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp94 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp91, 'position' => $_tmp92, 'setting' => $_tmp93, 'field' => $_tmp94), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        }
        ?>
    </div>
    <div class="strong positionTitle"><?php 
        echo $_smarty_tpl->tpl_vars['_imageSetting']->value['_config']['adminName'];
        ?>
 Position: <span class="position"><?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
</span></div>
    <div class="span3 imageFormContainer" <?php 
        if ($_smarty_tpl->tpl_vars['i']->value % 4 == 0) {
            ?>
style="margin-left: 0;"<?php 
        }
        ?>
>
        <div><?php 
        echo $_smarty_tpl->tpl_vars['_imageSetting']->value['options']['description'];
        ?>
</div>
        <?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        $_tmp95 = ob_get_clean();
        /*  Call merged included template "admin/widgets/imageUploader/_imageForm.tpl" */
        $_tpl_stack[] = $_smarty_tpl;
        $_smarty_tpl = $_smarty_tpl->setupInlineSubTemplate("admin/widgets/imageUploader/_imageForm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('group' => $_smarty_tpl->tpl_vars['_imageSettingName']->value . '_' . $_tmp95, '_image' => $_smarty_tpl->tpl_vars['_image']->value, '_imageSetting' => $_smarty_tpl->tpl_vars['_imageSetting']->value, '_imageSettingName' => $_smarty_tpl->tpl_vars['_imageSettingName']->value, 'position' => $_smarty_tpl->tpl_vars['_imagePos']->value), 0, '2785654eb813c7390e7-70120317');
        content_54eb813c8cd2f2_35618380($_smarty_tpl);
        $_smarty_tpl = array_pop($_tpl_stack);
        /*  End of included template "admin/widgets/imageUploader/_imageForm.tpl" */
        ?>
    </div>
</div>
<?php 
    }
    function content_54eb813c579720_70263011($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
<div class="row-form imageManagerRow">
    <input type="hidden" name="position" value="<?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
" />
    <div class="FR">
        <?php 
        if ($_smarty_tpl->tpl_vars['isSettingModel']->value) {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp24 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp25 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp26 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp24, 'direction' => "up", 'position' => $_tmp25, 'setting' => $_tmp26, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp27 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp28 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp29 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp27, 'direction' => "down", 'position' => $_tmp28, 'setting' => $_tmp29, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp30 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp31 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp32 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp30, 'position' => $_tmp31, 'setting' => $_tmp32, 'field' => 'value'), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        } else {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp33 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp34 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp35 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp36 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp33, 'direction' => "up", 'position' => $_tmp34, 'setting' => $_tmp35, 'field' => $_tmp36), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp37 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp38 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp39 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp40 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp37, 'direction' => "down", 'position' => $_tmp38, 'setting' => $_tmp39, 'field' => $_tmp40), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp41 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp42 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp43 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp44 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp41, 'position' => $_tmp42, 'setting' => $_tmp43, 'field' => $_tmp44), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        }
        ?>
    </div>
    <div class="strong positionTitle"><?php 
        echo $_smarty_tpl->tpl_vars['_imageSetting']->value['_config']['adminName'];
        ?>
 Position: <span class="position"><?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
</span></div>
    <div class="span3 imageFormContainer" <?php 
        if ($_smarty_tpl->tpl_vars['i']->value % 4 == 0) {
            ?>
style="margin-left: 0;"<?php 
        }
        ?>
>
        <div><?php 
        echo $_smarty_tpl->tpl_vars['_imageSetting']->value['options']['description'];
        ?>
</div>
        <?php 
        ob_start();
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        $_tmp45 = ob_get_clean();
        echo $_smarty_tpl->getSubTemplate("admin/widgets/imageUploader/_imageForm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('group' => $_smarty_tpl->tpl_vars['_imageSettingName']->value . '_' . $_tmp45, '_image' => $_smarty_tpl->tpl_vars['_image']->value, '_imageSetting' => $_smarty_tpl->tpl_vars['_imageSetting']->value, '_imageSettingName' => $_smarty_tpl->tpl_vars['_imageSettingName']->value, 'position' => $_smarty_tpl->tpl_vars['_imagePos']->value), 0);
        ?>

    </div>
</div>
<?php 
    }
    function content_54eb813c2e99b3_87189824($_smarty_tpl)
    {
        if (!is_callable('smarty_function_url')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.url.php';
        }
        if (!is_callable('smarty_function_lang')) {
            include 'D:\\apache\\skully-admin\\vendor\\skullyframework\\skully\\Skully\\App\\smarty\\plugins\\function.lang.php';
        }
        ?>
<div class="row-form imageManagerRow">
    <input type="hidden" name="position" value="<?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
" />
    <div class="FR">
        <?php 
        if ($_smarty_tpl->tpl_vars['isSettingModel']->value) {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp1 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp2 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp3 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp1, 'direction' => "up", 'position' => $_tmp2, 'setting' => $_tmp3, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp4 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp5 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp6 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp4, 'direction' => "down", 'position' => $_tmp5, 'setting' => $_tmp6, 'field' => 'value'), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['instances']->value[$_smarty_tpl->tpl_vars['_imageSettingName']->value]['id'];
            $_tmp7 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp8 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp9 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp7, 'position' => $_tmp8, 'setting' => $_tmp9, 'field' => 'value'), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        } else {
            ?>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp10 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp11 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp12 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp13 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp10, 'direction' => "up", 'position' => $_tmp11, 'setting' => $_tmp12, 'field' => $_tmp13), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveUp hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Up"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-up"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp14 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp15 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp16 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp17 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageMovePath']->value, 'id' => $_tmp14, 'direction' => "down", 'position' => $_tmp15, 'setting' => $_tmp16, 'field' => $_tmp17), $_smarty_tpl);
            ?>
" class="btn btn-primary btn-small btnMoveDown hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Move Down"), $_smarty_tpl);
            ?>
"><i class="icos-arrow-down"></i></a>
            <a href="<?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['instanceName']->value]->value['id'];
            $_tmp18 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp19 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp20 = ob_get_clean();
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imageSettingName']->value;
            $_tmp21 = ob_get_clean();
            echo smarty_function_url(array('path' => $_smarty_tpl->tpl_vars['imageDeletePath']->value, 'id' => $_tmp18, 'position' => $_tmp19, 'setting' => $_tmp20, 'field' => $_tmp21), $_smarty_tpl);
            ?>
" data-toggle="dialog" class="btn btn-danger btn-small btnRemove hasPosition" title="<?php 
            echo smarty_function_lang(array('value' => "Delete"), $_smarty_tpl);
            ?>
"><i class="icos-remove"></i></a>
        <?php 
        }
        ?>
    </div>
    <div class="strong positionTitle"><?php 
        echo $_smarty_tpl->tpl_vars['_imageSetting']->value['_config']['adminName'];
        ?>
 Position: <span class="position"><?php 
        echo $_smarty_tpl->tpl_vars['_imagePos']->value;
        ?>
</span></div>
    <?php 
        $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(0, true, 0);
        ?>
    <?php 
        $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['type']->_loop = false;
        $_smarty_tpl->tpl_vars['typeName'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['_imageSetting']->value['types'];
        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['typeName']->value = $_smarty_tpl->tpl_vars['type']->key;
            ?>
        <div class="span3 imageFormContainer" <?php 
            if ($_smarty_tpl->tpl_vars['i']->value % 4 == 0) {
                ?>
style="margin-left: 0;"<?php 
            }
            ?>
>
            <label><?php 
            echo $_smarty_tpl->tpl_vars['typeName']->value;
            ?>
</label>
            <div><?php 
            echo $_smarty_tpl->tpl_vars['type']->value['description'];
            ?>
</div>
            <?php 
            ob_start();
            echo $_smarty_tpl->tpl_vars['_imagePos']->value;
            $_tmp22 = ob_get_clean();
            echo $_smarty_tpl->getSubTemplate("admin/widgets/imageUploader/_imageForm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array('group' => $_smarty_tpl->tpl_vars['_imageSettingName']->value . '_' . $_tmp22, '_image' => $_smarty_tpl->tpl_vars['_image']->value[$_smarty_tpl->tpl_vars['typeName']->value], 'type' => $_smarty_tpl->tpl_vars['type']->value, 'typeName' => $_smarty_tpl->tpl_vars['typeName']->value, '_imageSetting' => $_smarty_tpl->tpl_vars['_imageSetting']->value, '_imageSettingName' => $_smarty_tpl->tpl_vars['_imageSettingName']->value, 'position' => $_smarty_tpl->tpl_vars['_imagePos']->value), 0);
            ?>

        </div>
        <?php 
            $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value + 1, true, 0);
            ?>
    <?php 
        }
        ?>
</div>
<?php 
    }