コード例 #1
0
ファイル: signup.php プロジェクト: dalinhuang/yike
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>易客注册</title>
<?php 
echo View\Home::$styles . "\n";
?>
	<style>
		#reg { width: 600px; margin: 0 auto; }
		#submit { margin-right: 30px; }
	</style>
</head>

<body>
<?php 
echo View\Home::getNav();
?>
	<form id='reg' class="form-horizontal error" style="margin-top: 200px;">
		<fieldset>
			<div class="control-group">
				<label class="control-label" for="username">用户名:</label>
				<div class="controls">
					<div class="input-append">
						<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" >
コード例 #2
0
ファイル: require.php プロジェクト: dalinhuang/yike
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>需要 <?php 
echo $require->demandthing_title;
?>
 </title>
<?php 
echo View\Home::$styles . "\n";
echo View\Home::addStyle("user/unuse.css");
?>
</head>

<body>
<?php 
echo View\Home::getNav() . "\n";
?>
	<div class="well container main-body" style="line-height: 4;">
	<h3 style="text-align: center;"><?php 
echo $require->demandthing_title;
?>
</h3>
		<table style="width: 100%">
			<tr>
				<td style="width: 40%">寻求者:<?php 
echo $require->asker->user_name;
?>
				<a class="btn btn-primary" data-toggle="modal" href="#msgmodal" >给 <?php 
echo $require->asker->user_name;
?>
 发送消息</a>