+
+ # See if there are any tags related to this vhost
+ my $ref = $dbh->selectrow_hashref('SELECT * FROM tags t JOIN images i ON t.image=i.id WHERE vhost=? LIMIT 1',
+ undef, $r->get_server_name);
+ if (defined($ref)) {
+ Sesse::pr0n::Templates::print_template($r, 'mainmenu-events');
+ }
+