File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888$ rss = @fetch_rss ('http://feedster.com/links.php?url= ' . trailingslashit (get_option ('home ' )) .'&type=rss&limit=6 ' );
8989if ( isset ($ rss ->items ) && 0 != count ($ rss ->items ) ) {
9090?>
91- <div>
91+ <div id="incominglinks" >
9292<h3><?php _e ('Incoming Links ' ); ?> <cite><a href="http://feedster.com/links.php?url=<?php echo trailingslashit (get_option ('home ' )); ?> "><?php _e ('More ' ); ?> »</a></cite></h3>
9393<ul>
9494<?php
121121}
122122?>
123123
124+
124125<?php
125126$ rss = @fetch_rss ('http://planet.wordpress.org/feed/ ' );
126127//var_dump($rss);
127128if ( $ rss ) {
128129?>
130+ <div id="planetnews">
129131<h3><?php _e ('Other WordPress News ' ); ?> <a href="http://planet.wordpress.org/"><?php _e ('more ' ); ?> »</a></h3>
130132<ul>
131133<?php
137139 }
138140?>
139141</ul>
142+ </div>
140143<?php
141144}
142145?>
143-
146+ <div style="clear: both">
144147<br clear="all" />
145148</div>
149+ </div>
146150<?php
147151$ drafts = $ wpdb ->get_results ("SELECT ID, post_title FROM $ wpdb ->posts WHERE post_status = 'draft' AND post_author = $ user_ID " );
148152if ($ drafts ) {
Original file line number Diff line number Diff line change @@ -13,6 +13,26 @@ a.delete:hover {
1313 color : # fff ;
1414}
1515
16+ # planetnews ul {
17+ list-style : none;
18+ margin : 0 ;
19+ padding : 0 ;
20+ }
21+
22+ # planetnews li {
23+ width : 16% ;
24+ margin : 1% 2% ;
25+ float : left;
26+ }
27+
28+ # planetnews li a {
29+ display : block;
30+ padding : .5em ;
31+ background : # ddd ;
32+ height : 6em ;
33+ overflow : hidden;
34+ }
35+
1636a .edit , a .delete , a .edit : hover , a .delete : hover {
1737 border-bottom : none;
1838 display : block;
You can’t perform that action at this time.
0 commit comments