Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 041fab4

Browse files
案例blog,小更新
1 parent cec21eb commit 041fab4

File tree

4 files changed

+94
-74
lines changed

4 files changed

+94
-74
lines changed

‎.idea/workspace.xml‎

Lines changed: 79 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎php-mysql/blog/add_new.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<title><?php echo SITE_NAME ?>|新建blog</title>
1717
<link rel="stylesheet" href="css/bootstrap.min.css">
1818
<link rel="stylesheet" href="css/style.css">
19+
<script src="js/jquery.js"></script>
20+
<script src="js/bootstrap.min.js"></script>
1921
<style>
2022
.control-label{
2123
line-height: 34px;

‎php-mysql/blog/article.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ function get_blog_list($id){
2929
<title><?php echo SITE_NAME ?>| 编辑文章</title>
3030
<link rel="stylesheet" href="css/bootstrap.min.css">
3131
<link rel="stylesheet" href="css/style.css">
32+
<script src="js/jquery.js"></script>
33+
<script src="js/bootstrap.min.js"></script>
3234
<style>
3335
.control-label{
3436
line-height: 34px;

‎php-mysql/blog/index.php‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@
5050
</div>
5151
</div>
5252
<div class="side-content col-md-4">
53-
<div style="text-align: center">
54-
<div class="avatar" style="">
55-
<img src="<?php @$home_data->get_user_avatar() ?>" alt="" style="width: 60px;height: 60px">
56-
</div>
57-
<div class="user-name">
58-
<a href="#"><?php @$home_data->get_user_name()?></a>
59-
</div>
60-
<div class="user-description">
61-
<p><?php @$home_data->get_user_description() ?></p>
62-
</div>
63-
</div>
53+
<div class="user-card" style="text-align: center">
54+
<div class="avatar" style="">
55+
<img src="<?php @$home_data->get_user_avatar() ?>" alt="" style="width: 60px;height: 60px">
56+
</div>
57+
<div class="user-name">
58+
<a href="#"><?php @$home_data->get_user_name()?></a>
59+
</div>
60+
<div class="user-description">
61+
<p><?php @$home_data->get_user_description() ?></p>
62+
</div>
63+
</div>
6464
</div>
6565
</div>
6666
<?php include 'footer.php'; ?>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /