function print_free_text(Page p) {
if(1) {
print_comp_header("Postings");
var string[] keys = ["public", "private", "protected"];
var int{} entries_posted = {
"public" => 2,
"private" => 1,
"protected" => 96
};
var int{} comments_posted = {
"public" => 2,
"private" => 0,
"protected" => 76
};
var int{} comments_received = {
"public" => 2,
"private" => 0,
"protected" => 68
};
var string photobucket_root = "
http://i17.photobucket.com/albums/b53/Ambertopia";
var Color bgcolor = "#f4f4f4";
"""
Entries
Posted
""";
foreach var string sec ($keys) {
"""
$entries_posted{$sec}""";
}
"""
Comments
Posted""";
foreach var string sec ($keys) {
"""
$comments_posted{$sec}""";
}
"""
Received""";
foreach var string sec ($keys) {
"""
$comments_received{$sec}""";
}
"""
""";
print_comp_footer();
}
if(1) {
print_comp_header("Postings");
var string acct_type = "Permanent Account";
var string entries = "2,372";
var string date_created = "2003-03-18 20:52:57";
var string comments_posted = "20,237";
var string comments_received = "8,179";
var string base_url = $p.journal->base_url() + "/";
"""
Type:
$acct_type
Created:
$date_created
Entries:
$entries
Posted:
$comments_posted
Received:
$comments_received
""";
print_comp_footer();
}
}