HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/komma-mediadesign.nl/wwwroot/beheer/app/views/v_mo_order_images.php
<?php 
	include DOCUMENT_ROOT.'app/views/includes/v_public_header.php'; 
	include DOCUMENT_ROOT.'app/views/includes/v_public_aside.php'; 
	
	$url = '';
	$id = '';
	
	if(isset($_SESSION['return_to']['url']))
	{
		$url = $_SESSION['return_to']['url'];
		if(isset($_SESSION['return_to']['id']))
		{
			$id = $_SESSION['return_to']['id'].'/';
		}
	}
	
	$btnSave = new Button(array('type'=>'submit','name'=>'sbm_order_images','label'=>'Wijzig'));
	$btnSave->addClasses(array('blue-grad'));
	
	$btnCancel = new Button(array('type'=>'link','href'=> SITE_ROOT.$this->getData('page_linkname',FALSE).'/'.$url.'/'.$id,'label'=>'Annuleren'));
	$btnCancel->addClasses(array('black-grad', 'no-margin-right'));
?>

<div id="wrapper">
	
	<!-- Header -->
	
	<h1><?php $this->getData('page_label'); ?></h1>
	
	<hr />		
	
	<!-- Form -->
	
	<form id="dd-form" action="" method="post">
			<h2>Wijzig volgorde</h2>
			
			<p>
				Wijzig de volgorde door de balken te verslepen.
			</p>
			
			<!-- List -->
			
			<ul id="sortable-list" class="images"> 
				<?php $this->getData('sortable_list'); ?>
				<div class="clear"></div>
			</ul>
			<input type="hidden" name="sort_order" id="sort_order" value="<?php echo implode(',',$this->getData('list_ids',FALSE)); ?>" />
			
			<?php
				$btnSave->display();
				$btnCancel->display();
			?>			
			<div class="clear"></div>		
	</form>
</div>

<?php 
	include DOCUMENT_ROOT.'app/views/includes/v_public_footer.php'; 
?>