コード例 #1
0
ファイル: index.php プロジェクト: dalinhuang/yike
    header("location: /app/user/login.php");
    exit;
}
$msgs = Model\Message::findUserMsg();
$myUnuses = Model\OwnedThing::myUnuseThing(10);
$myRequires = Model\DemandThing::myRequireThing(10);
$statuses = Model\Status::all();
?>
<!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("user/index.css");
?>
<style>

</style>
</head>

<body>
<?php 
echo View\Home::getNav();
?>
	<div class="well container main-body">
		<div class="" id="user-msg">
			<h3>信息</h3>
			<?php 
if ($msgs) {
コード例 #2
0
ファイル: un_index.php プロジェクト: dalinhuang/yike
<?php

include 'base.php';
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<?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">
コード例 #3
0
ファイル: require.php プロジェクト: dalinhuang/yike
    exit;
}
$require->addClickCount();
//增加点击量
?>
<!DOCTYPE html >
<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 
コード例 #4
0
ファイル: edit.php プロジェクト: dalinhuang/yike
    header('HTTP/1.1 404 Not Found');
    exit;
}
$catalogues = Model\Catalogue::all();
?>
<!DOCTYPE html >
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>修改闲置物品  <?php 
echo $unuse->ownthing_name;
?>
</title>
<?php 
echo View\Home::$styles . "\n";
echo View\Home::addStyle("unuse/new.css");
?>

</head>

<body>
<?php 
echo View\Home::getNav();
?>
	<form class="well" style="width: 700px; margin: 0 auto;" id="newunuse">
		<div style="position: relative;">
			<div style="width: 45%;">
				<label for="thingtitle">物品名称</label>
				<input type="text" class="" placeholder="物品名称" id="thingtitle" style="width: 100%;" value="<?php 
echo $unuse->ownthing_name;
?>
コード例 #5
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);
コード例 #6
0
ファイル: index.php プロジェクト: dalinhuang/yike
include 'base.php';
include 'app/database.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>易客 - 校园易物平台</title>
	<?php 
echo View\Home::$styles . "\n";
?>
	<?php 
echo View\Home::$scripts . "\n";
?>
	<?php 
echo View\Home::addStyle("style.css");
?>
	<!--[if IE]><link rel="stylesheet" type="text/css" href="/static/styles/ie6.css" /><![endif]-->
	<?php 
echo View\Home::addScript("jquery-1.2.3.pack.js");
?>
	<?php 
echo View\Home::addScript("jquery.jcarousel.pack.js");
?>
	<script type="text/javascript">
		jQuery(document).ready(function() {
		    jQuery('#mycarousel').jcarousel({
		    	scroll: 1,
		    	animation: "slow",
		    	wrap: "both"	    		
		    });
コード例 #7
0
ファイル: index.php プロジェクト: dalinhuang/yike
<?php

include '../../base.php';
include '../database.php';
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<?php 
echo View\Home::$styles;
echo View\Home::addStyle("/information/information.css") . "\n";
?>
</head>

<body>
<div id="container"><!--页面层容器-->
<?php 
echo View\Home::getNav();
?>
    <div id="PageBody"> <!--页面主体-->
        <div id="MainBody">主体内容 <!--主体内容-->
        	<div id="BasicInfo">
        	<img class="ipic" name="" src="/img/200406301.jpg" alt="没有图片" align="left"/ >
        	<div class="dtt">
        		<dtl><strong>[这里物品名称] </strong></dtl>
        		<dtr>创建日期:<span class="red"><em>2012.6.20</em></span></dtr>
        	</div>
        	<div class="dttt">
        		<dtl>分类:***</dtl>
        		<dtr>人气:<span class="red"><em>555°</em></span></dtr>
        	</div>