예제 #1
0
	}

/*]]>*/
</script>
<script type="text/javascript" src="<?php 
print $IMConfig['base_url'];
?>
assets/images.js"></script>
<script type="text/javascript" src="../../popups/popup.js"></script>
<script type="text/javascript" src="assets/popup.js"></script>
</head>

<body>
<?php 
if ($manager->isValidBase() == false) {
    drawErrorBase($manager);
} elseif (count($list[0]) > 0 || count($list[1]) > 0) {
    ?>

	<?php 
    drawDirs($list[0], $manager);
    ?>
	<?php 
    drawFiles($list[1], $manager);
    ?>

<?php 
} else {
    drawNoResults();
}
?>
예제 #2
0
파일: images.php 프로젝트: happyxlq/lt_svn
	{
		var url = "editor.php?img="+image;
		Dialog(url, function(param) 
		{
			if (!param) // user must have pressed Cancel
				return false;
			else
			{
				return true;
			}
		}, null);		
	}

/*]]>*/
</script>
<script type="text/javascript" src="assets/images.js"></script>
</head>

<body>
<?php if ($manager->isValidBase() == false) { drawErrorBase($manager); } 
	elseif(count($list[0]) > 0 || count($list[1]) > 0) { ?>
<table>
	<tr>
	<?php drawDirs($list[0], $manager); ?>
	<?php drawFiles($list[1], $manager); ?>
	</tr>
</table>
<?php } else { drawNoResults(); } ?>
</body>
</html>