<% #Submit Contents require 'cgi' require 'worldgeeks/page' require 'worldgeeks/login' require 'worldgeeks/submit' require 'worldgeeks/content' cgi = CGI.new('html4') vars= cgi.params directory_id = vars['directory_id'][0].to_s dir_name = vars['directory'][0] directory = Directory.new(directory_id, dir_name) page = Page.new("Links", "/worldgeeks/listings", directory, "") print CGI.pretty(page.render) %>