anyway,
print_comp_header("recent entries");
var YearMonth latestYMonth = $p->get_latest_month(); # get latest month with posts
var int latestMonth = $latestYMonth.month; # get month number
var int numEntries; # declare int for number of entries in month
# somehow get the array of entries from recentpage class so we can play with it
$numEntries = size($Entry); # get number of entries in month
var int i = $numEntries - 1; # iteration variable to step thru the array
# decremented for use in array
foreach $i ($numEntries - 1 .. 0){
"""<a href="$Entry[$i].permalink.url">""";
if($Entry[$i] != ""){
"""$Entry[$i].subject"""; # if theres a subject, print it
} else {
"""$*text_nosubject"""; # if there isnt a subject, print the "no subject" variable
}
"""</a><br />"""; # close link and make new line
}
print_comp_footer();
![]() | ![]() | ![]() | |||||
![]() | |||||||
![]() | |||||||
![]() | ![]() | ![]() | recent entries | ![]() | ![]() | ![]() | |
![]() | |||||||
![]() | |||||||
![]() | ![]() | ![]() | xmas shopping oops nikki melissa's movie nite my amazon.com wishlist | ![]() | ![]() | ![]() | |
![]() | |||||||
![]() |