-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
93 lines (84 loc) · 3.74 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
include('template/init.php');
include('template/function.php');
?><!DOCTYPE html>
<html lang="zh">
<head>
<?php include('template/head.php'); ?>
</head>
<body>
<?php include('template/menu.php'); ?>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="container marketing">
<div class="jumbotron">
<div class="container">
<h1>幫班上訂書,很麻煩嗎?</h1>
<p>每當開學,班上的學藝是否就得開始苦惱,要如何有效地幫班上訂書呢?尤其是到了大三大四,班上同學神龍不見尾的,也不見得一起上課,更是難以統記...</p>
<p><a class="btn btn-primary btn-lg" href="about.php">繼續閱讀 »</a></p>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div id="myCarousel" class="carousel slide">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Carousel items -->
<div class="carousel-inner">
<div class="item active">
<div class="row-fluid">
<div class="span3"><a href="#x" class="thumbnail"><img src="https://d2hsbzg80yxel6.cloudfront.net/images/78403/original/ACN025900.jpg" alt="Image" style="max-width:100%;" /></a></div>
</div><!--/row-fluid-->
</div><!--/item-->
<div class="item">
<div class="row-fluid">
<div class="span3"><a href="#x" class="thumbnail"><img src="http://ecx.images-amazon.com/images/I/41TZp-oRZfL.jpg" alt="Image" style="max-width:100%;" /></a></div>
</div><!--/row-fluid-->
</div><!--/item-->
<div class="item">
<div class="row-fluid">
<div class="span3"><a href="#x" class="thumbnail"><img src="https://d2hsbzg80yxel6.cloudfront.net/images/78509/original/ACA019000.jpg" alt="Image" style="max-width:100%;" /></a></div>
</div><!--/row-fluid-->
</div><!--/item-->
<div class="item">
<div class="row-fluid">
<div class="span3"><a href="#x" class="thumbnail"><img src="https://d2hsbzg80yxel6.cloudfront.net/images/78572/original/i8028_cd0abb3c4d62420b4f4442c24fd5b154.jpg" alt="Image" style="max-width:100%;" /></a></div>
</div><!--/row-fluid-->
</div><!--/item-->
</div><!--/carousel-inner-->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
</div><!--/myCarousel-->
</div>
<div class="col-lg-8">
<div class="list-group">
<?php
$text = json_decode(post('/control/book.php',array('cmd'=>'showBookList')),1);
foreach ($text as $row) {
?>
<a href="viewBL.php?blid=<?=$row['blid']?>" class="list-group-item">
<h4 class="list-group-item-heading"><?=$row['blist_name']?></h4>
<p class="list-group-item-text pull-right"><?=$row['blist_desc']?></p>
<div class="clearfix"></div>
</a>
<?php
}
?>
</div>
</div>
</div>
<hr>
<footer>
<p>© Company 2013</p>
</footer>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>