コード例 #1
0
ファイル: new.php プロジェクト: dalinhuang/yike
		
		<div style="position: relative;">
			<div style="width: 45%;">
				<label for="thingtitle">图片</label>
				<input type="text" name="cover" id="cover" placeholder="图片路径"/><input type="button" id="uploadimg" value="选择图片" />
			</div>
			
			<div style="position: absolute; right: 10px; top: 0px; width: 45%;">
				<label>估价</label>
				<input type="text" name="value" id="value" style="width: 98%;" placeholder="估价"/>
			</div>
		</div>
		
		<div>
			<label for="thingdetail">详细信息</label>
			<textarea id="thingdetail" style="width: 100%; height: 600px;" name="thingdetail"></textarea>
		</div>
		
		<div class="form-actions" style="text-align: center;">
			<input type="button" class="btn btn-primary" value="确定" style="margin-right: 3em;" id="formSubmit"/>
			<input type="reset" class="btn btn-warning" value="重新填写" />
		</div>		
	</form>

<?php 
echo View\Home::getFooter() . "\n" . View\Home::$scripts . "\n" . View\Home::editor() . View\Home::addScript('require/new.js?ver=20120617') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #2
0
ファイル: cat.php プロジェクト: dalinhuang/yike
<?php

include '../../base.php';
?>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>按分类浏览</title>
<?php 
echo View\Home::$styles . "\n";
?>
</head>

<body>
<?php 
echo View\Home::getNav();
?>
	<div class="well container main-body" style="height: 450px;">
		
	</div>

<?php 
echo View\Home::getFooter();
echo View\Home::$scripts . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #3
0
ファイル: edit.php プロジェクト: dalinhuang/yike
?>
" type="text" name="thingvalue" id="thingvalue" style="width: 98%;" placeholder="估价"/>
			</div>
		</div>
		
		<div>
			<label for="thingdetail">详细信息</label>
			<textarea id="thingdetail" style="width: 100%; height: 600px;" name="thingdetail"><?php 
echo $require->demandthing_detail;
?>
</textarea>
		</div>
		
		<input type="hidden" value="<?php 
echo $require->demandthing_id;
?>
" id="requireid" name="requireid" />
		
		<div class="form-actions" style="text-align: center;">
			<input type="button" class="btn btn-primary" value="更新需求" style="margin-right: 3em;" id="formSubmit"/>
			<input type="button" onclick="javascript:location.reload();" class="btn btn-warning" value="重新填写" />
		</div>		
	</form>

<?php 
echo View\Home::getFooter() . "\n" . View\Home::$scripts . "\n" . View\Home::editor() . View\Home::addScript('require/edit.js') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);