<?php include_once '../../config/symbini.php'; include_once $serverRoot . '/classes/ImageExplorer.php'; include_once $serverRoot . '/classes/PhotographerManager.php'; $imageExplorer = new ImageExplorer(); $imgArr = $imageExplorer->getImages($_POST); echo '<div style="clear:both;">'; echo '<input type="hidden" id="imgCnt" value="' . $imgArr['cnt'] . '" />'; unset($imgArr['cnt']); foreach ($imgArr as $imgArr) { $imgId = $imgArr['imgid']; $imgUrl = $imgArr['url']; $imgTn = $imgArr['thumbnailurl']; if ($imgTn) { $imgUrl = $imgTn; if ($imageDomain && substr($imgTn, 0, 1) == '/') { $imgUrl = $imageDomain . $imgTn; } } elseif ($imageDomain && substr($imgUrl, 0, 1) == '/') { $imgUrl = $imageDomain . $imgUrl; } ?> <div class="tndiv" style="margin-top: 15px; margin-bottom: 15px"> <div class="tnimg"> <a href="imgdetails.php?imgid=<?php echo $imgId; ?> "> <img src="<?php
<?php include_once '../config/symbini.php'; include_once $serverRoot . '/classes/PhotographerManager.php'; include_once $serverRoot . '/classes/ImageExplorer.php'; header("Content-Type: text/html; charset=" . $charset); $phUid = array_key_exists("phuid", $_REQUEST) ? $_REQUEST["phuid"] : 0; $collId = array_key_exists("collid", $_REQUEST) ? $_REQUEST["collid"] : 0; $limitStart = array_key_exists("lstart", $_REQUEST) ? $_REQUEST["lstart"] : 0; $limitNum = array_key_exists("lnum", $_REQUEST) ? $_REQUEST["lnum"] : 100; $imgCnt = array_key_exists("imgcnt", $_REQUEST) ? $_REQUEST["imgcnt"] : 0; $pManager = new PhotographerManager(); $imageExplorer = new ImageExplorer(); ?> <html> <head> <title><?php echo $defaultTitle; ?> Image Search</title> <link href="../css/base.css?<?php echo $CSS_VERSION; ?> " type="text/css" rel="stylesheet" /> <link href="../css/main.css?<?php echo $CSS_VERSION; ?> " type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/jquery-ui.js"></script> <script type="text/javascript" src="../js/underscore-1.4.3.js"></script>