From 8a03b03fb21e168ace1c5424967d0e6ddbc6c7cc Mon Sep 17 00:00:00 2001 From: piernov Date: Fri, 19 Oct 2012 21:37:53 +0200 Subject: Header déplacé dans header.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- top.cgi | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'top.cgi') diff --git a/top.cgi b/top.cgi index df6424f..0f88548 100755 --- a/top.cgi +++ b/top.cgi @@ -11,34 +11,15 @@ order = "-" page="Blagues" subpage="Top 10" -cgi = CGI.new +require 'header' +puts header_bdg() +cgi=$cgi if cgi['order'] == "worst" order = "+" subpage="Worst" end -puts cgi.header - -puts < - - - - - BDG — Blagues de Geek - - - - - - - - - -HTML_BDG - require 'menu' puts menu_bdg(page,subpage) -- cgit v1.2.3-70-g09d2