File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ public function article($id)//文章详情页
2424 $ this ->load ->view ('article ' , $ data );
2525 }
2626
27- public function about ()
27+ public function about ()//关于页面
2828 {
2929 $ this ->load ->view ('about ' );
3030 }
3131
3232 public function tweets ()
3333 {
34- $ config ['base_url ' ] = 'http://cc.com:89/home/tweets ' ;
34+ $ config ['base_url ' ] = 'http://cc.com:89/home/tweets ' ;//输出分页链接
3535 $ config ['total_rows ' ] = $ this ->db ->get ("tweets " )->num_rows ();
3636 $ config ['per_page ' ] = 10 ;
3737 $ config ['num_links ' ] = 100 ;
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public function logout()//登出功能
9999 }
100100
101101 /**
102- * 文本显示模块
102+ * 文本显示模块 后台主页
103103 */
104104 public function article ()
105105 {
Original file line number Diff line number Diff line change 4949 <!--时光--><?php if (isset ($ rows )) { foreach ($ rows as $ row ):?>
5050 <div class="shiguang animated bounceIn">
5151 <div class="left sg_ico">
52- <img src="<?php echo base_url (); ?> static/images/my_1.jpg" width="120" height="120" alt="日记图标"/>
52+ <img src="<?php echo base_url ();?> static/images/my_1.jpg" width="120" height="120" alt="日记图标"/>
5353 </div>
5454 <div class="right sg_text">
5555 <?php echo $ row ['content ' ]?>
Original file line number Diff line number Diff line change 5050 <!--时光--><?php if (isset ($ rows )) { foreach ($ rows as $ row ):?>
5151 <div class="shiguang animated bounceIn">
5252 <div class="left sg_ico">
53- <img src="<?php echo base_url (); ?> static/images/my_1.jpg" width="125" height="125" alt="日记图标"/>
53+ <img src="<?php echo base_url ();?> static/images/my_1.jpg" width="125" height="125" alt="日记图标"/>
5454 </div>
5555 <div class="right sg_text">
5656 <?php echo $ row ['content ' ]?>
Original file line number Diff line number Diff line change 11/* CSS Document */
22@charset "utf-8" ;
33* {margin : 0 ; padding : 0px ;}
4- body {font-size : 14px ;font-family : "微软雅黑" ;background : # E3E3E5 url(../ images/bg.jpg) 50% top scroll no-repeat;color : # 5d5d5d ;}
4+ body {font-size : 14px ;font-family : "微软雅黑" ;background : # E3E3E5 url(../ images/bg.jpg) 50% top scroll no-repeat;color : # 5d5d5d ;}
55a {text-decoration : none;}
66.left {float : left;}
77.right {float : right;}
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ img{display:block;border:0px;}
6666.w650 {width : 960px ;}
6767.position {height : 38px ;line-height : 38px ;font-size : 14px ;color : # 666 ;border-bottom : none;}
6868.position a {padding : 0px 5px ;color : # 404040 ;}
69- .position a .home {background : url(../ images/flower_ico.gif) no-repeat;padding-left : 35px ; display : inline-block;}
7069span .bds_more {line-height : 16px !important ;}
7170# bdshare span .bds_more {background : none !important ;}
7271.w650 {width : 960px ;padding-top : 15px ;}
You can’t perform that action at this time.
0 commit comments