[реклама вместо картинки] #!/usr/bin/perl # ### PRIMARY UBB SCRIPT ## # # Ultimate Bulletin Board is copyright Infopop Corporation, 1998-2000. # # ------------ Ultimate.cgi ------------- # # This file contains intro functionality for the UBB. # # Infopop Corporation offers no # warranties on this script. The owner/licensee of the script is # solely responsible for any problems caused by installation of # the script or use of the script, including messages that may be # posted on the BB. # # All copyright notices regarding the Ultimate Bulletin Board # must remain intact on the scripts and in the HTML # for the scripts. # # For more info on the Ultimate BB, # see https://www.UltimateBB.com # ############################################################### # #If you are running UBB on IIS, #you may need to add the following line #if so, just remove the "#" sign before the print line below #print "HTTP/1.0 200 OK\n"; eval { ($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX / or Windows / ($0 =~ m,(.*)\\[^\\]+,) && unshift (@INC, "$1"); # Get the script location: Windows \ #substitute all require files here for the file require "UltBB.setup"; require "Date.pl"; require "mods.file"; require "Styles.file"; require "ubb_library.pl"; }; &ReadParse; if ($in{'action'} eq "Redirect") { print "Location: $in{'GoTo'}\n\n"; exit; } #end Redirect check print ("Content-type: text/html\n\n"); #adjust bgcolor variables if ($BGColor ne ""){ $BGColor = qq(bgcolor="$BGColor"); } if ($AltColumnColor1 ne ""){ $AltColumnColor1 = qq(bgcolor="$AltColumnColor1"); } if ($AltColumnColor2 ne ""){ $AltColumnColor2 = qq(bgcolor="$AltColumnColor2"); } if ($CategoryStripColor ne ""){ $CategoryStripColor = qq(bgcolor="$CategoryStripColor"); } if ($TableColorStrip ne ""){ $TableColorStrip = qq(bgcolor="$TableColorStrip"); } if ($PageBackground ne ""){ $PageBackground = qq(background="$NonCGIURL/$PageBackground"); } if ($TableBorderColor ne ""){ $TableWidth2 = "100%"; $BorderTop = qq(
); $BorderBottom = qq(
); } else { $TableWidth2 = $TableWidth; $BorderTop = ""; $BorderBottom = ""; } if ($BBStatus eq "OFF") { &StandardHTML($BBClosedMessage); exit; } foreach $row(@in) { ($Name, $Value) = split ("=", $row); $Name = &decodeURL($Name); $Value = &decodeURL($Value); if ($Name eq "BypassCookie") { $BypassCookie = $Value; } if ($Name eq "category") { $category = $Value; $CategoryName = &GetCatName($category); } if ($Name eq "number") { $number = $Value; $number =~ s/\D//; } if ($Name eq "DaysPrune") { $DaysPrune = $Value; } } # end FOREACH $row if ($VariablesPath eq "") { $VariablesPath = $CGIPath; } #set Random Number- for use in Banner Ads, etc. if ( ($Header ne "") || ($Footer ne "") ) { $RandomNumber = &MakeRandomNumber; $RandomNumber2 = $RandomNumber + 100074; if ($Header ne "") { $Header =~ s/UBBrandomX/$RandomNumber/isg; $Header =~ s/UBBrandomY/$RandomNumber2/isg; } if ($Footer ne "") { $Footer =~ s/UBBrandomX/$RandomNumber/isg; $Footer =~ s/UBBrandomY/$RandomNumber2/isg; } } # end if header or footer if (@in == 0) { &Intro; exit; } if ($in{'action'} eq "intro") { &Intro; exit; } if ($in{'action'} eq "email") { &DoEmail($in{'ToWhom'}); } else { # all else requires the UBB Registration Library eval (require "register_lib.pl"); if ($@){ &StandardHTML("Sorry! The Registration Library is not Available. Contact the Admin"); exit; } } if ($in{'action'} eq "agree") { &Agree; } if ($in{'action'} eq "COPPAgree") { if($COPPAType eq 'COPPADenied') { &StandardHTML("Sorry! We do not permit anyone under age 13 to register at this Bulletin Board."); exit; }else { &ShowCOPPAAgree; } } if ($in{'action'} eq "useCOPPAform") { &ShowCOPPAForm; } if ($in{'action'} eq "register") { &Register; } if ($in{'action'} eq "lostpw") { if ($UseEmail eq "ON") { &LostPW; } else { &StandardHTML("Sorry, but this feature is not available, per your administrator's directions. Use your back button to return to the BB."); } } # INTRO PAGE SUBROUTINES # sub Intro { &get_cookie; #retrieves all current cookies &AssembleCats; #retrieve cats @CATEGORIES = &OpenFile("$NonCGIPath/categories.file"); #check for archives if (-e "$NonCGIPath/Archives/archives.pl") { @archives = &OpenFile("$NonCGIPath/Archives/archives.pl"); if ($archives[0] ne "") { @ArchiveLine = qq(

Sa

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Sa » Music ♫


Music ♫

Тем 1 страница 21 из 21

Тема Ответов Просмотров Последнее сообщение
0 466 2011-10-06 11:21:32  andrey1986
0 113 2011-05-23 14:04:41  easyeas
3 Linkin Park!  l.ruМария  [ 1 2 3 4 5 ]
138 3716 2008-05-20 19:20:53  Maja
4 30 Seconds to Mars  Jonkey Flash  [ 1 2 3  15 ]
428 10294 2008-05-08 22:33:03  [УйдиСтарушкаЙаВпечали]
5 Cinema Bizarre  Olga5228
23 2748 2008-04-22 20:35:24  Аринка Великолепная
6 Panic!At the Disco  element  [ 1 2 3 4 ]
118 2508 2008-04-22 15:48:31  Maja
7 Green Day  Rude Interpol  [ 1 2 3 4 ]
103 2537 2008-04-20 20:33:58  Gothic-Girl
8 Закрыта The Beatles.  [УйдиСтарушкаЙаВпечали]
5 848 2008-03-06 22:47:43  [УйдиСтарушкаЙаВпечали]
9 Fall Out Boy  REBELLE  [ 1 2 ]
39 1006 2008-02-27 15:14:08  Olga5228
10 The Gazette  Gothic-Girl  [ 1 2 3  9 ]
249 5878 2008-02-21 12:03:56  Gothic-Girl
12 380 2008-02-12 17:12:17  Liza
12 389 2008-02-10 20:56:35  [УйдиСтарушкаЙаВпечали]
115 2306 2008-02-07 11:33:09  Gothic-Girl
14 Evanescence-Эми Ли....  Jonkey Flash  [ 1 2 3 4 5 ]
126 3205 2008-02-06 07:23:16  leeelllik
15 Muse...Мэтью Бэлами...  Jonkey Flash  [ 1 2 3 4 ]
92 6720 2007-11-18 19:46:09  [УйдиСтарушкаЙаВпечали]
16 Avril Lavigne-есть фанаты?  Jonkey Flash  [ 1 2 3 4 ]
99 3738 2007-11-18 08:58:14  Jonkey Flash
17 Californian Punk!!!  [УйдиСтарушкаЙаВпечали]
7 295 2007-11-02 19:30:16  [УйдиСтарушкаЙаВпечали]
18 AFI  Аленка  [ 1 2 ]
43 5679 2007-08-06 03:06:00  Kleo
19 the Used  element
29 740 2007-07-09 21:07:35  [УйдиСтарушкаЙаВпечали]
20 Placebo  Rude Interpol  [ 1 2 ]
55 2640 2007-06-07 11:18:54  биляшка
21 В память...  Rude Interpol  [ 1 2 ]
36 963 2007-05-27 00:12:42  [УйдиСтарушкаЙаВпечали]

Вы здесь » Sa » Music ♫