Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/application/views/backend.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" href="./media/css/screen.css" type="text/css" media="screen" title="default" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="css/pro_dropline_ie.css" />
<![endif]-->

<!--<script type="text/javascript" src="./media/js/jquery-1.6.2.min.js"></script>//-->

<link type="text/css" href="./media/css/custom-theme/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
<script src="http://code.jquery.com/jquery-1.6.3.min.js" type="text/javascript"></script>
<script type="text/javascript" src="./media/js/jquery-ui-1.8.16.custom.min.js"></script>

<!--  jquery core -->
<!--<script src="./media/js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>//-->

<!--  checkbox styling script -->
<script src="./media/js/jquery/ui.core.js" type="text/javascript"></script>
<script src="./media/js/jquery/ui.checkbox.js" type="text/javascript"></script>
<script src="./media/js/jquery/jquery.bind.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$('input').checkBox();
	$('#toggle-all').click(function(){
 	$('#toggle-all').toggleClass('toggle-checked');
	$('#mainform input[type=checkbox]').checkBox('toggle');
	return false;
	});
});
</script>  

<![if !IE 7]>

<!--  styled select box script version 1 -->
<script src="./media/js/jquery/jquery.selectbox-0.5.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect').selectbox({ inputClass: "selectbox_styled" });
});
</script>
 

<![endif]>

<!--  styled select box script version 2 --> 
<script src="./media/js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_form_1').selectbox({ inputClass: "styledselect_form_1" });
	$('.styledselect_form_2').selectbox({ inputClass: "styledselect_form_2" });
});
</script>

<!--  styled select box script version 3 --> 
<script src="js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_pages').selectbox({ inputClass: "styledselect_pages" });
});
</script>

<!--  styled file upload script --> 
<script src="./media/js/jquery/jquery.filestyle.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
  $(function() {
      $("input.file_1").filestyle({ 
          image: "./media/images/forms/choose-file.gif",
          imageheight : 21,
          imagewidth : 78,
          width : 480
      });
  });
</script>

<!-- Custom jquery scripts -->
<script src="./media/js/jquery/custom_jquery.js" type="text/javascript"></script>
 
<!-- Tooltips -->
<script src="./media/js/jquery/jquery.tooltip.js" type="text/javascript"></script>
<script src="./media/js/jquery/jquery.dimensions.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$('a.info-tooltip ').tooltip({
		track: true,
		delay: 0,
		fixPNG: true, 
		showURL: false,
		showBody: " - ",
		top: -35,
		left: 5
	});
});
</script> 


<!--  date picker script -->
<link rel="stylesheet" href="./media/css/datePicker.css" type="text/css" />
<script src="./media/js/jquery/date.js" type="text/javascript"></script>
<script src="./media/js/jquery/jquery.datePicker.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
        $(function()
{

// initialise the "Select date" link
$('#date-pick_1')
	.datePicker(
		// associate the link with a date picker
		{
			createButton:false,
			startDate:'01/01/2005',
			endDate:'31/12/2020'
		}
	).bind(
		// when the link is clicked display the date picker
		'click',
		function()
		{
			updateSelects($(this).dpGetSelected()[0]);
			$(this).dpDisplay();
			return false;
		}
	).bind(
		// when a date is selected update the SELECTs
		'dateSelected',
		function(e, selectedDate, $td, state)
		{
			updateSelects(selectedDate);
		}
	).bind(
		'dpClosed',
		function(e, selected)
		{
			updateSelects(selected[0]);
		}
	);
	
var updateSelects = function (selectedDate)
{
	var selectedDate = new Date(selectedDate);
	$('#d_1 option[value=' + selectedDate.getDate() + ']').attr('selected', 'selected');
	$('#m_1 option[value=' + (selectedDate.getMonth()+1) + ']').attr('selected', 'selected');
	$('#y_1 option[value=' + (selectedDate.getFullYear()) + ']').attr('selected', 'selected');
}
// listen for when the selects are changed and update the picker
$('#d_1, #m_1, #y_1')
	.bind(
		'change',
		function()
		{
			var d = new Date(
						$('#y_1').val(),
						$('#m_1').val()-1,
						$('#d_1').val()
					);
			$('#date-pick_1').dpSetSelected(d.asString());
		}
	);

// default the position of the selects to today
var today = new Date();
updateSelects(today.getTime());

// and update the datePicker to reflect it...
$('#d_1').trigger('change');




});


        $(function()
{
// initialise the "Select date" link
$('#date-pick_2')
	.datePicker(
		// associate the link with a date picker
		{
			createButton:false,
			startDate:'01/01/2005',
			endDate:'31/12/2020'
		}
	).bind(
		// when the link is clicked display the date picker
		'click',
		function()
		{
			updateSelects($(this).dpGetSelected()[0]);
			$(this).dpDisplay();
			return false;
		}
	).bind(
		// when a date is selected update the SELECTs
		'dateSelected',
		function(e, selectedDate, $td, state)
		{
			updateSelects(selectedDate);
		}
	).bind(
		'dpClosed',
		function(e, selected)
		{
			updateSelects(selected[0]);
		}
	);
	
var updateSelects = function (selectedDate)
{
	var selectedDate = new Date(selectedDate);
	$('#d_2 option[value=' + selectedDate.getDate() + ']').attr('selected', 'selected');
	$('#m_2 option[value=' + (selectedDate.getMonth()+1) + ']').attr('selected', 'selected');
	$('#y_2 option[value=' + (selectedDate.getFullYear()) + ']').attr('selected', 'selected');
}
// listen for when the selects are changed and update the picker
$('#d_2, #m_2, #y_2')
	.bind(
		'change',
		function()
		{
			var d = new Date(
						$('#y_2').val(),
						$('#m_2').val()-1,
						$('#d_2').val()
					);
			$('#date-pick_2').dpSetSelected(d.asString());
		}
	);

// default the position of the selects to today
var today = new Date();
updateSelects(today.getTime());

// and update the datePicker to reflect it...
$('#d_2').trigger('change');

});
</script>

<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script src="./media/js/jquery/jquery.pngFix.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix( );
});
</script>



<script type="text/javascript">
			$(function(){
		
				// Dialog Link
				$('.icon-2').click(function(){
					
					var link = $(this).attr('href');
			
					var dialogOpts = {
					 
							open: function() {
						   
							},
						
							buttons: {
								
								"Ok": function() { 
											
									$('#dialog').dialog("close"); 
									location.href = link;
									
								}, 
								"Cancel": function() { 
								
									$('#dialog').dialog("close"); 
									
								} 
							},
							
							close: function() {
							
							}
					};
				
					$('#dialog').dialog(dialogOpts);
					
					return false;
				});
				
				$('.delete-photo').click(function(){
					
					var link = $(this).attr('href');
			
					var dialogOpts = {
					 
							open: function() {
						   
							},
						
							buttons: {
								
								"Ok": function() { 
											
									$('#dialog').dialog("close"); 
									location.href = link;
									
								}, 
								"Cancel": function() { 
								
									$('#dialog').dialog("close"); 
									
								} 
							},
							
							close: function() {
							
							}
					};
				
					$('#dialog').dialog(dialogOpts);
					
					return false;
				});

			});
		</script>
		<style type="text/css">
			/*demo page css*/
			body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 0px;}
			.demoHeaders { margin-top: 2em; }
			
		</style>
		
		
		<link href="./media/css/fileuploader.css" rel="stylesheet" type="text/css">	
		
	<link media="screen" rel="stylesheet" href="./media/css/colorbox.css" />

	<script src="./media/js/colorbox/jquery.colorbox.js"></script>
	<script>
		$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$(".group1").colorbox({rel:'group1'});
			$(".group2").colorbox({rel:'group2', transition:"fade"});
			$(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"});
			$(".group4").colorbox({rel:'group4', slideshow:true});
			$(".ajax").colorbox();
			$(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344});
			$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
			$(".inline").colorbox({inline:true, width:"50%"});
			$(".callbacks").colorbox({
				onOpen:function(){ alert('onOpen: colorbox is about to open'); },
				onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
				onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
				onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
				onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
			});
			
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});
	</script>		
</head>
<body>
<?php

	$path_info = !empty($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
?>
<!-- Start: page-top-outer -->
<div id="page-top-outer">    

<!-- Start: page-top -->
<div id="page-top">

	<!-- start logo -->
	<div id="icons">
	<a href="CMS/news"><img <?php echo (strstr($path_info, "/news")) ? 'class="active"' : ''; ?> src="./media/images/ico/news.png" alt="Oferty specjalne" title="Oferty specjalne" /></a>
	<a href="CMS/promotion"><img <?php echo (strstr($path_info, "/promotion")) ? 'class="active"' : ''; ?> src="./media/images/ico/promotion.png" alt="Promocje" title="Promocje" /></a>
	<a href="CMS/gallery"><img <?php echo (strstr($path_info, "/gallery")) ? 'class="active"' : ''; ?> src="./media/images/ico/gallery.png" alt="Galeria" title="Galeria" /></a>
	
	<a href="CMS/page"><img <?php echo (strstr($path_info, "/page")) ? 'class="active"' : ''; ?> src="./media/images/ico/page.png" alt="Podstrony" title="Podstrony" /></a>
	
	
	</div>
	<!-- end logo -->
	
	<!--  start top-search -->
	<div id="top-search">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td><input type="text" value="Search" onblur="if (this.value=='') { this.value='Search'; }" onfocus="if (this.value=='Search') { this.value=''; }" class="top-search-inp" /></td>
		<td>
		<select  class="styledselect">
			<option value=""> All</option>
			<option value=""> Products</option>
			<option value=""> Categories</option>
			<option value="">Clients</option>
			<option value="">News</option>
		</select> 
		</td>
		<td>
		<input type="image" src="./media/images/shared/top_search_btn.gif"  />
		</td>
		</tr>
		</table>
	</div>
 	<!--  end top-search -->
 	<div class="clear"></div>

</div>
<!-- End: page-top -->

</div>
<!-- End: page-top-outer -->
	
<div class="clear">&nbsp;</div>
 
<!--  start nav-outer-repeat................................................................................................. START -->
<?php echo cms::navigation(); ?>
<!--  start nav-outer-repeat................................................... END -->

  <div class="clear"></div>
 
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<!--  start page-heading -->
	<div id="page-heading">
		<h1>CMS++ 2.32</h1>
	</div>
	<!-- end page-heading -->

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="./media/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="./media/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<?php echo $content; ?>
	
			<div class="clear"></div>
		 
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<?php echo cms::footer(); ?>
<!-- end footer -->
 
</body>
</html>