Scoop -- the swiss army chainsaw of content management
Front Page Everything News Code Help! Wishlist Project Scoop Sites Dev Notes Latest CVS changes Development Activities
Scoop Box Exchange - Show Box: showtopics_box 1.01

Author: ip4noman [Info]

Description:

This box, when included in a /special page, renders a dynamic list of topics, with their images and links to the search page. Number of columns is variable (default 5)

Box Code:

# showtopics_box by Bill Huston, bhuston@vegdot.org
# v1.1 27 Feb 2003 added case insensitive sort

my $cols = shift @ARGS \|\| 5;

my ($rv, $sth) = $S->db_select({
WHAT => 'tid,image,alttext,width,height',
FROM => 'topics',
});

my $topics = $sth->fetchall_arrayref();
$sth->finish();

my $content = "<table border=0>";

my $images = $S->{UI}->{VARS}->{imagedir}.$S->{UI}->{VARS}->{topics};

my $col=0;

foreach my $topic (sort {lc($a->[0]) cmp lc($b->[0])} ( @{$topics})) {

my ($tid,$image,$alttext,$width,$height)= @$topic;

next if $tid =~ /^(all\|diary)$/;

if ($col) { $content .= "<td align=\"center\">"; } else {
$content .= "<tr><td align=\"center\">";}

$content .= "$topic->[0]";

$content .= qq{

<img src="$images/$image" alt="$alttext" width=$width height=$height><br><a href="/search/topic=$tid">$alttext</a>

};

$col = ($col+1) % $cols;

if ($col) {
$content .= "</td>"
} else {
$content .= "</td></tr>"
}


};

$content .= "</table>";

return{title=>"All Topics",content=>$content};
Display: Sort:
Learn (none / 0) (#1)
by Kamden374 on Wed May 27, 2020 at 06:20:08 PM PST

This dynamic list is so helpful for those people who looking for this for learning purposes. The college essay writing services share some quick work and sample which they took from it.



GOOD (none / 0) (#2)
by mahamkhan on Tue Oct 06, 2020 at 10:05:39 AM PST

My expereince here at this site altopngtopdf.comcannot be described in words. You guys have to go and check out this amazing place. Surely you guys will not be dissapointed at any moment.



GOOD (none / 0) (#3)
by mahamkhan on Wed Oct 28, 2020 at 08:41:03 AM PST

RBSE 10th Model Paper 2021 Here provides Department of Rajasthan Board of Secondary Education (RBSE) is Conducted Secondary Education 10th & Praveshika Students those who are going to Preparing Ajmer 10th public exams march 2021 can download RBSE 10th Question Paper 2021 and Raj Praveshika Question Paper 2021 in Official Website RBSE 10th Question Paper 2021 rajeduboard.rajasthan.gov.in, you stack of RBSE Board 10th Model Question Paper which comprises of Previous year Question Paper Rajasthan Academic Council is also known as the Directorate of Government Examinations students can enhance their preparation Ajmer 10th Model Paper 2021 in examination point of view Public Examination tests will be Conducted with New Syllabus in all Private and Government College Previous RBSE 10th Blueprint Here Available They are Given Below.



GOOD (none / 0) (#4)
by mahamkhan on Sat Oct 31, 2020 at 06:25:38 AM PST

Knowing that this site called http://www.theglobaldispatch.com/efficient-and-quick-electronic-signatures-with-signnow/ is filled with all the useful stuff makes me the happiest person. i have been looking for such things for quite a while now. i am super happy that i came here and invested my time to great use.



  • lovely by azharsk, 11/11/2020 01:58:53 AM PST (none / 0)
GOOD (none / 0) (#6)
by azharsk on Mon Nov 30, 2020 at 05:27:53 AM PST

I did enjoyed reading it, I will be sure to bookmark your blog and definitely will come back from again.. IPTV



GOOD (none / 0) (#7)
by mahamkhan on Sun Dec 27, 2020 at 09:10:26 AM PST

Recently the Madhya Pradesh's finance department has launched their official website portal through which they will facilitate all those employees who are working. Madhya Pradesh finance department has its unique way of working under the state govt organizations. They have an advanced way of managing their finances. The treasuries and account department controls and monitors all the treasury MP Salary Slip functions in the state. The applicants will get issues on the pension, CAG cAG audits, etc. The employees of the MP state government are in one place only. The state government has designed a special web portal for its employees so that they can get the opportunity to download their payslips and check their monthly salary on a monthly or quarterly basis. The IFMS or IFMIS official website consists of all employee salary account details.



GOOD (none / 0) (#8)
by mahamkhan on Sat Jan 02, 2021 at 02:10:13 AM PST

Some truly wonderful articles on this website , appreciate it for contribution. 토토사이트



GOOD (none / 0) (#9)
by mahamkhan on Tue Jan 05, 2021 at 03:51:13 AM PST

I have been reading out many of your blog and i must say pretty good stuff. I will surely bookmark your site electric wheelchair



Menu
create account
faq
search
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Kuro5hin.org
Cooler than Adequacy.org

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest 1999 The Management

create account | faq | search