###############################################
# Greymatter 1.3.1 #
# Build 208 #
# Main Library #
# Copyright (c)2000-2005, The Greymatter team #
# http://www.greymatterforums.com/ #
###############################################
$cookiename = "gm_password";
# *** Your possession of this software indicates that you agree to the terms ***
# *** specified under the "Copyright & Usage" heading in the "manual.html" file. ***
# Patch for weekdayshort and monthwordshort variables
# provided by Rae (rae@tnir.org)
# c&p'ed in by domesticat
# (gmstuff@domesticat.net)
# -----------------
# program variables
# -----------------
$gmversion = "1.3.1";
$gmfonttag = qq();
$gmheadtag = qq#
$gmfonttaggreymatter $gmversion
);
$statusnote = "";
# ------------------
# emoticons subroutine
# ------------------
# added by flipped cracker 9/17/2003
# version 1.3
sub gm_emoticons {
&gm_readconfig;
$_ = shift;
if( (($emoticonsallowed eq "both") || ($emoticonsallowed eq $returnto)) && ($thisentryemoticonsallowed eq "yes") ) {
s/\:\)/
);
$gmframebottomtwo = qq($gmfonttag);
$gmframetoptwo = qq( $gmfonttag);
$gmframebottom = qq(
/g;
s/\:O/
/g;
s/\:\(/
/g;
s/\:D/
/g;
s/\:P/
/g;
s/\;\)/
/g;
s/\:angry:/
/g;
s/\:blush:/
/g;
s/\:confused:/
/g;
s/\:cool:/
/g;
s/\:crazy:/
/g;
s/\:cry:/
/g;
s/\:doze:/
/g;
s/\:hehe:/
/g;
s/\:laugh:/
/g;
s/\:plain:/
/g;
s/\:rolleyes:/
/g;
s/\:satisfied:/
/g;
}
return($_);
}
# merged in version 1.3
# ------------------
# emoticons code display subroutine
# ------------------
# added by flipped cracker 9/17/2003
# version 1.3
sub gm_emoticons_code {
&gm_readconfig;
$emoticonsmaincode = "";
if( ($emoticonsallowed eq "both") || ($emoticonsallowed eq "entries") ) {
$emoticonsmaincode = "