示例#1
0
文件: index.php 项目: valderman/izwei
<body>
	<div id="dialog">
		<div class='content'></div>
	</div>
    <div id="menu"><h2>iZwei</h2>
    <?php 
echo $site->form(FORM_SIMPLESEARCH);
echo $site->form(FORM_UPLOAD);
?>
    </div>
    <div id="content">
    <?php 
// will be moved to design later on
$s = new Search();
$s->order(SORT_NEWEST);
$s->range(0, 12);
$res = $s->search();
while ($image = $res->fetch_object()) {
    echo $site->imageBlock($image);
}
?>
    </div>
    <div id="modal">
    	
    </div>
    <div id="modalContent"> </div>
</body>

<?php 
$site->footer();