コード例 #1
0
ファイル: un_index.php プロジェクト: dalinhuang/yike
	<?php 
echo View\Home::$styles . "\n";
?>
	<?php 
echo View\Home::addStyle("index.css");
?>
	<?php 
echo View\Home::addScript("common.js");
?>

</head>

<body>
<div id="container" style="clear:both;"><!--页面层容器-->
<?php 
echo View\Home::getNav();
?>
    <div id="header" style="clear:both;"><!--页面头部-->  	
    </div>
    <div id="PageBody"> <!--页面主体-->
    	<div id="Sidebar"><!--侧边栏--> 侧边栏
        	<div id="Status">
			</div>
        	<div id="Classify">
        	   	<ul class="nav nav-list">
  					<li class="nav-header">
   						物品分类
  					</li>
  					<li><a href="app/catalogue.php?catalog=1"><i class="icon-home"></i>全部物品</a></li>
  					<li><a href="app/catalogue.php?catalog=2"><i class="icon-leaf"></i>服装</a></li>
  					<li><a href="app/catalogue.php?catalog=3"><i class="icon-briefcase"></i>鞋包配饰</a></li>
コード例 #2
0
ファイル: signup.php プロジェクト: dalinhuang/yike
						<input type="text" id="username" name="username" class="span2"/>
						<input type="button" class="btn" value="检查用户名是否可用" id="checkUser" name="checkUser"/>
						<span class="help-inline" id="userIsAveilable"></span>
					</div>
				</div>
			</div>
			
			<div class="control-group" >
				<label class="control-label" for="password">密码:</label>
				<div class="controls"><input type="password" id="password" name="password"/></div>
			</div>
			
			<div class="control-group" >
				<label class="control-label" for="email">邮箱:</label>
				<div class="controls"><input type="text" id="email" name="email"/></div>
			</div>

			<div class="form-actions">
				<input type="submit" id="submit" class="btn btn-primary" value="注册!"/>
				<input type="reset" id="reset" value="重填" />
			</div>
		</fieldset>
	</form>
<?php 
echo View\Home::$scripts . "\n";
echo View\Home::addScript('user/signup.js');
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #3
0
ファイル: index.php プロジェクト: dalinhuang/yike
						</td>
					<tr>
				<?php 
    }
    ?>
				</tbody>
			</table>
			<div class="form-actions" style="text-align: center;">
				<a class="btn btn-primary" href="/app/require/new.php" >发表新需求</a>
			</div>						
			<?php 
} else {
    ?>
			<p>亲~你还没发表过需求。<a href="/app/require/new.php" class="btn btn-info">点击这里</a> 开始吧。</p>
			<?php 
}
?>
		</div>
	</div>
	
	<?php 
echo View\Home::getFooter();
?>
	<?php 
echo View\Home::$scripts . "\n";
echo View\Home::addScript('user/index.js') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #4
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);
コード例 #5
0
ファイル: edit.php プロジェクト: dalinhuang/yike
			</div>
		</div>		
		
		<div>
			<label for="thingdetail">物品详细信息</label>
			<textarea id="thingdetail" style="width: 100%; height: 600px;" name="thingdetail"><?php 
echo $unuse->ownthing_details;
?>
</textarea>
		</div>
		
		<input type="hidden" value="<?php 
echo $unuse->ownthing_id;
?>
" name="unuseid" id="unuseid">
		
		<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();
echo View\Home::$scripts . "\n";
echo View\Home::editor();
echo View\Home::addScript('unuse/edit.js') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #6
0
ファイル: require.php プロジェクト: dalinhuang/yike
	</div>

<!-- 消息弹出层Begin -->
	<div class="modal hide fade" id="msgmodal">
		<div class="modal-header">
			<button class="close" data-dismiss="modal">x</button>
			<h3>发送消息</h3>
		</div>
		
		<div class="modal-body" style="text-align: center;">
			<input type="text" title="接收者用户名" placeholder="接收者用户名" id="receiver" style="width: 80%;" value="<?php 
echo $require->asker->user_name;
?>
" />
			<input type="text" placeholder="信息标题" id="msgtitle" style="width: 80%;"/>
			<textarea rows="10" cols="" style="width: 80%;" placeholder="消息正文" id="msgcontent"></textarea>
		</div>
		<div class="modal-footer">
			<input class="btn btn-primary" type="button" id="submitForm" value="发送信息" />
			<input class="btn btn-warning" type="button" value="取消" id="hidemodal"/>
		</div>
	</div>
<!-- 消息弹出层End-->
<?php 
echo View\Home::getFooter();
echo View\Home::$scripts . "\n" . View\Home::addScript('user/user.js') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #7
0
ファイル: new_index.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";
echo View\Home::addStyle('home.css');
?>
</head>

<body>
<h2 >易物于此,来者是客~~</h2>	
	<img src="/static/images/in-work.png" id="inWork" title="网站施工中,敬请期待……"/>
<?php 
echo View\Home::$scripts . "\n";
echo View\Home::addScript('home.js');
?>
	
</body>
</html>
<?php 
View\General::waste($start);
コード例 #8
0
ファイル: new.php プロジェクト: dalinhuang/yike
			<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();
echo View\Home::$scripts . "\n";
echo View\Home::editor();
echo View\Home::addScript('unuse/new.js?ver=20120617') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #9
0
ファイル: login.php プロジェクト: dalinhuang/yike
?>
	<form id="login" class="form-horizontal">
		<fieldset id="userlogin">
			<div class="control-group" >
				<label class="control-label" for="yikename">用户名:</label>
				<div class="controls"><input type="text" id="yikename" name="yikename"/></div>
			</div>
			<div class="control-group">				
				<label class="control-label" for="yiketoken">密码:</label>
				<div class="controls"><input type="password" id="yiketoken" name="yiketoken"/></div>
			</div>
			<div class="control-group">				
				<label class="control-label" for="check">验证码:</label>
				<div class="controls"><input type="text" id="check" name="check"/>
					<img name=codeimg src='/ValidatorCode.php' onclick="javascript:$(this).fadeOut('fast', reCode())" title="看不清楚?点击更换">
				</div>
			</div>
			<div class="form-actions">
				<input type="submit" name="submit" class="btn btn-primary" id="submit" value="登陆"/>
				<input type="reset" name="reset" id="reset" class="btn" value="重新填写" />	
			</div>		
		</fieldset>
	</form>
<?php 
echo View\Home::$scripts . "\n";
echo View\Home::addScript('user/login.js') . "\n";
?>
</body>
</html>
<?php 
View\General::waste($start);
コード例 #10
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);
コード例 #11
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);