function content_569cf7ca383257_95502232($_smarty_tpl)
    {
        if (!is_callable('smarty_function_html_table')) {
            require_once 'D:\\www\\demo\\smart_demo\\smarty\\plugins\\function.html_table.php';
        }
        if (!is_callable('smarty_function_html_checkboxes')) {
            require_once 'D:\\www\\demo\\smart_demo\\smarty\\plugins\\function.html_checkboxes.php';
        }
        if (!is_callable('smarty_function_html_options')) {
            require_once 'D:\\www\\demo\\smart_demo\\smarty\\plugins\\function.html_options.php';
        }
        if (!is_callable('smarty_function_html_radios')) {
            require_once 'D:\\www\\demo\\smart_demo\\smarty\\plugins\\function.html_radios.php';
        }
        ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Insert title here</title>
        <style type='text/css'>
            #red {
                color: red;
                font-size: 14px;
            }
        </style>
    </head>
    <body>
        <h1>html标签演示</h1>
        <?php 
        echo smarty_function_html_table(array('loop' => $_smarty_tpl->tpl_vars['lamp']->value, 'cols' => '1', 'table_attr' => 'style="border:1px #ccc solid;"'), $_smarty_tpl);
        ?>

		<h2>复选框</h2>
        <div id='red'>
            <?php 
        echo smarty_function_html_checkboxes(array('name' => 'hobby', 'values' => $_smarty_tpl->tpl_vars['values']->value, 'checked' => $_smarty_tpl->tpl_vars['checked']->value, 'output' => $_smarty_tpl->tpl_vars['output']->value), $_smarty_tpl);
        ?>

        </div>
        <h2>下拉选项</h2>
        <select name='hobby'>
            <?php 
        echo smarty_function_html_options(array('values' => $_smarty_tpl->tpl_vars['values']->value, 'selected' => $_smarty_tpl->tpl_vars['checked']->value, 'output' => $_smarty_tpl->tpl_vars['output']->value), $_smarty_tpl);
        ?>

        </select>
        <h2>单选框</h2>
        <?php 
        echo smarty_function_html_radios(array('name' => 'hobby', 'values' => $_smarty_tpl->tpl_vars['values']->value, 'checked' => '1', 'output' => $_smarty_tpl->tpl_vars['output']->value, 'separator' => '
        <br>
        '), $_smarty_tpl);
        ?>

    </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_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 
    }
<br>
<?php 
echo smarty_function_html_options(array('name' => 'customer_id', 'options' => $this->_tpl_vars['cust_options'], 'selected' => $this->_tpl_vars['customer_id']), $this);
?>

<br>
<?php 
echo smarty_function_html_table(array('loop' => $this->_tpl_vars['data']), $this);
?>

<?php 
echo smarty_function_html_table(array('loop' => $this->_tpl_vars['data'], 'cols' => 4, 'table_attr' => 'border="0"'), $this);
?>

<?php 
echo smarty_function_html_table(array('loop' => $this->_tpl_vars['data'], 'cols' => "first,second,third,fourth", 'tr_attr' => $this->_tpl_vars['tr']), $this);
?>


<br>
<br>
<br>
<br>
<br>
<br>





require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_table', 'barcode.tpl', 12, false))), $this);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CONTROL PROCESO </title>
</head>

<body>
<table align="center">
<tr>
<td><?php 
echo smarty_function_html_table(array('loop' => $this->_tpl_vars['id_orden'], 'cellspacing' => 1, 'cols' => 3, 'td_attr' => 'width="25%" height="15%" align="center" valign="top"', 'table_attr' => 'border="0	" height="100%" align="center" whidth="75%"'), $this);
?>
<br><br><br><br><br><br><br><br><br></td>
</tr>
<tr>
<td>
 <?php 
echo smarty_function_html_table(array('loop' => $this->_tpl_vars['codebar'], 'cellspacing' => 10, 'cols' => 4, 'td_attr' => 'width="25%" height="15%" align="center" valign="top"', 'table_attr' => 'border="0" cellspacing="20" height="100%" align="center" whidth="90%"'), $this);
?>

</td>
</tr>
</table>
</body>
</html>