#!/usr/bin/perl ############################################################################### # Reminder.pl # ############################################################################### # YaBB: Yet another Bulletin Board # # Open-Source Project started by Zef Hemel (zef@zefnet.com) # # Software Version: YaBB 1 Gold - Release # # =========================================================================== # # Software Distributed by: http://yabb.xnull.com # # Support, News, Updates at: http://yabb.xnull.com/community/ # # =========================================================================== # # Copyright (c) 2000-2001 X-Null - All Rights Reserved # # Software by: The YaBB Development Team # ############################################################################### if( $ENV{'SERVER_SOFTWARE'} =~ /IIS/ ) { $yyIIS = 1; $0 =~ m~(.*)(\\|/)~; $yypath = $1; $yypath =~ s~\\~/~g; chdir($yypath); push(@INC,$yypath); } require "Settings.pl"; require "$language"; require "$sourcedir/Load.pl"; require "$sourcedir/Subs.pl"; require "$sourcedir/Security.pl"; ### Log this click ### &ClickLog; $reminderplver="1 Gold - Release"; $username = 'Guest'; ### Banning ### &banning; ### Write log ### &WriteLog; ############################################################################### $yytitle="$mbname $txt{'669'}"; &header; if ($ENV{'QUERY_STRING'} =~ /input_user/i) { &input; &footer; exit; } $user = $INFO{'user'}; fopen(FILE, "$memberdir/$user.dat") || &no_user_error; @member=; fclose(FILE); $password = $member[0]; $name = $member[1]; $email = $member[2]; $status = $member[7]; chomp($name); chomp($email); chomp($password); chomp($status); $subject = "$txt{'36'} $mbname : $name"; &sendmail($email, $subject, qq~$txt{'711'} $name,\n\n$mbname ==>\n\n$txt{'35'}: $user\n$txt{'36'}: $password\n$txt{'87'}: $status\n\n$txt{'130'}~); print << "EOT";

$mbname $txt{'36'} $txt{'194'}
$txt{'192'}: $user

$txt{'193'}

EOT &footer; exit; ############################################################################### sub input { print << "EOT";

$mbname $txt{'36'} $txt{'194'}
$txt{'35'}:
EOT } sub mailprog_error { print "
$txt{'394'}
$txt{'395'} Webmaster $txt{'396'}.
\n"; print "
Back
\n"; &footer; exit; } sub no_user_error { print "
$txt{'40'}
\n"; print "
$txt{'193'}
\n"; &footer; exit; }