Viewing File: /people/testlab/www/testlab.com.pl/inc/klienci.php

<?php include('../inc/db.php'); ?>
<?
$db = new DBConnect();
if ($_GET['limit']=='') $_GET['limit']=0;
$sql = "select * from `aktualnosci` where skrypt_id=326 order by data asc;";
$db->query($sql);
while ($row=$db->fetchrow()) $images=$images."{title:'', autor:'', date:'', link:''},";
$images=substr($images,0,-1);
?>
	window.addEvent('domready',function(){
		

		var info6 = $('box6').getNext().setOpacity(0.5);
		var sampleObjectItems =[
	    <?echo $images;?>
		];
		var hs6 = new noobSlide({
			mode: 'vertical',
			box: $('box6'),
			items: sampleObjectItems,
			size: 90,
			autoPlay: true,
		
			buttons: {
				previous: $('prev6'),
				next: $('next6')
			},
			button_event: 'click',
			fxOptions: {
				duration: 1500,
				transition: Fx.Transitions.Back.easeOut,
				wait: false
			},
			onWalk: function(currentItem,currentHandle){
				info6.empty();
				new Element('h4').setHTML('').inject(info6);
				new Element('p').setHTML('').inject(info6);
				this.handles.setOpacity(0.5);
				currentHandle.setOpacity(1);
			}
		});
	

	});
Back to Directory File Manager