<?
/**
- ** array.php3
+ ** array.php
**
** This contains functions that work with array manipulation. They
** will help sort, and do other types of things with arrays
<?
/**
- ** date.php3
+ ** date.php
**
** Takes a date and parses it into a usable format. The form that a
** date SHOULD arrive in is:
<?
/**
- ** display_messages.php3
+ ** display_messages.php
**
** This contains all messages, including information, error, and just
** about any other message you can think of.
echo " <TD BGCOLOR=DCDCDC>";
echo " <FONT FACE=\"Arial,Helvetica\"><B><CENTER>ERROR</CENTER></B></FONT>";
echo " </TD></TR><TR><TD>";
- echo " <CENTER><FONT FACE=\"Arial,Helvetica\"><BR>Unknown user or password incorrect.<BR><A HREF=\"login.php3\" TARGET=_top>Click here to try again</A>.</FONT></CENTER>";
+ echo " <CENTER><FONT FACE=\"Arial,Helvetica\"><BR>Unknown user or password incorrect.<BR><A HREF=\"login.php\" TARGET=_top>Click here to try again</A>.</FONT></CENTER>";
echo " </TD></TR>";
echo "</TABLE>";
echo "</BODY></HTML>";
echo "</TABLE>";
echo "</BODY></HTML>";
}
-?>
\ No newline at end of file
+?>
<?
/**
- ** imap.php3
+ ** imap.php
**
** Functions for the IMAP connection
**
<?
/**
- ** mailbox.php3
+ ** mailbox.php
**
** This contains functions that request information about a mailbox. Including
** reading and parsing headers, getting folder information, etc.
return $from;
}
-?>
\ No newline at end of file
+?>
<?
/**
- ** mailbox_display.php3
+ ** mailbox_display.php
**
** This contains functions that display mailbox information, such as the
** table row that has sender, date, subject, etc...
echo "<TR BGCOLOR=FFFFFF><TD>";
if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
}
else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
}
else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
}
echo "</TD></TR>\n";
echo " <TD WIDTH=25%><FONT FACE=\"Arial,Helvetica\"><B>From</B></FONT></TD>";
echo " <TD WIDTH=15%><FONT FACE=\"Arial,Helvetica\"><B>Date</B></FONT>";
if ($sort == 0)
- echo " <A HREF=\"right_main.php3?sort=1&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n";
+ echo " <A HREF=\"right_main.php?sort=1&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/up_pointer.gif\" BORDER=0></A></TD>\n";
else
- echo " <A HREF=\"right_main.php3?sort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
+ echo " <A HREF=\"right_main.php?sort=0&startMessage=1&mailbox=$urlMailbox\" TARGET=\"right\"><IMG SRC=\"../images/down_pointer.gif\" BORDER=0></A></TD>\n";
echo " <TD WIDTH=*><FONT FACE=\"Arial,Helvetica\"><B>Subject</B></FONT></TD>\n";
echo "</TR>";
echo "</TD></TR>\n";
echo "<TR BGCOLOR=FFFFFF><TD>";
if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
}
else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
}
else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
- echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+ echo "<A HREF=\"right_main.php?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
}
echo "</TD></TR></TABLE>"; /** End of message-list table */
}
<?
/**
- ** page_header.php3
+ ** page_header.php
**
** Prints the page header (duh)
**
echo "<TABLE BGCOLOR=FFFFFF BORDER=0 COLS=2 WIDTH=100% CELLSPACING=0 CELLPADDING=2>";
echo " <TR BGCOLOR=A0B8C8 WIDTH=50%>";
echo " <TD ALIGN=left>";
- echo " <FONT FACE=\"Arial,Helvetica\" SIZE=-1><A HREF=\"signout.php3\" TARGET=_top><B>Sign Out</B></A></FONT>";
+ echo " <FONT FACE=\"Arial,Helvetica\" SIZE=-1><A HREF=\"signout.php\" TARGET=_top><B>Sign Out</B></A></FONT>";
echo " </TD><TD ALIGN=right WIDTH=50%>";
echo " <FONT FACE=\"Arial,Helvetica\"><div align=right>Current Folder: <B>$shortBoxName</div></B></FONT>";
echo " </TD>";
echo " <FONT FACE=\"Arial,Helvetica\">Addresses</FONT>  ";
echo " <FONT FACE=\"Arial,Helvetica\">Options</FONT>  ";
echo " </TD><TD ALIGN=right WIDTH=50%>";
- echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php3\" TARGET=_top>Todos & Bugs</A></FONT>  ";
+ echo " <FONT FACE=\"Arial,Helvetica\"><A HREF=\"http://adam.usa.om.org/~luke/main.php\" TARGET=_top>Todos & Bugs</A></FONT>  ";
echo " <FONT FACE=\"Arial,Helvetica\">Help!</FONT>";
echo " </TD>";
echo "</TABLE>";
<?
/**
- ** left_main.php3
+ ** left_main.php
**
** This is the code for the left bar. The left bar shows the folders
** available, and has cookie information.
<BODY BGCOLOR=A0B8C8 TEXT="#000000" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE" onUnLoad="unSetCookies()">
<FONT FACE="Arial,Helvetica">
<?
- include("../config/config.php3");
- include("../functions/strings.php3");
- include("../functions/imap.php3");
+ include("../config/config.php");
+ include("../functions/strings.php");
+ include("../functions/imap.php");
// *****************************************
// Parse the incoming mailbox name and return a string that is the FOLDER.MAILBOX
echo " ";
$mailboxURL = urlencode($mailbox);
- echo "<a href=\"right_main.php3?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\"><FONT FACE=\"Arial,Helvetica\">";
+ echo "<a href=\"right_main.php?sort=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\"><FONT FACE=\"Arial,Helvetica\">";
echo readShortMailboxName($mailbox, ".");
echo "</FONT></a><br>\n";
}
<?
/**
- ** login.php3
+ ** login.php
**
** Very simple login screen that clears the cookie every time it's loaded
**
<HTML>
<BODY BGCOLOR=FFFFFF>
<?
- include("../config/config.php3");
+ include("../config/config.php");
- echo "<FORM ACTION=webmail.php3 METHOD=POST NAME=f>\n";
+ echo "<FORM ACTION=webmail.php METHOD=POST NAME=f>\n";
echo "<CENTER><IMG SRC=\"$org_logo\"</CENTER>\n";
echo "<CENTER><FONT FACE=\"Arial,Helvetica\" SIZE=-2>SquirrelMail version $version<BR>By Nathan and Luke Ehresman<BR></FONT><CENTER>\n";
echo "<TABLE COLS=1 WIDTH=350>\n";
<?
/**
- ** right_main.php3
+ ** right_main.php
**
** This is where the mailboxes are listed. This controls most of what
** goes on in SquirrelMail.
**/
if(!isset($logged_in)) {
- echo "You must <a href=\"login.php3\">login</a> first.";
+ echo "You must <a href=\"login.php\">login</a> first.";
exit;
}
if(!isset($username) || !isset($key)) {
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
<FONT FACE="Arial,Helvetica">
<?
- include("../config/config.php3");
- include("../functions/imap.php3");
- include("../functions/strings.php3");
- include("../functions/date.php3");
- include("../functions/page_header.php3");
- include("../functions/array.php3");
- include("../functions/mailbox.php3");
- include("../functions/mailbox_display.php3");
- include("../functions/display_messages.php3");
+ include("../config/config.php");
+ include("../functions/imap.php");
+ include("../functions/strings.php");
+ include("../functions/date.php");
+ include("../functions/page_header.php");
+ include("../functions/array.php");
+ include("../functions/mailbox.php");
+ include("../functions/mailbox_display.php");
+ include("../functions/display_messages.php");
/////////////////////////////////////////////////////////////////////////////////
//
<?
/**
- ** signout.php3
+ ** signout.php
**
** Clears the cookie, and logs them out.
**
echo " <TR BGCOLOR=FFFFFF WIDTH=100%>";
echo " <TD ALIGN=CENTER>";
echo " <FONT FACE=\"Arial,Helvetica\"><BR>You have been successfully signed out.<BR></FONT>";
- echo " <FONT FACE=\"Arial,Helvetica\">Click here to <A HREF=\"login.php3\" TARGET=_top>log back in.</A></FONT><BR><BR>";
+ echo " <FONT FACE=\"Arial,Helvetica\">Click here to <A HREF=\"login.php\" TARGET=_top>log back in.</A></FONT><BR><BR>";
echo " </TD>";
echo " </TR>";
echo " <TR BGCOLOR=DCDCDC WIDTH=100%>";
<?
/**
- ** webmail.php3
+ ** webmail.php
**
** This simply creates the frames.
**
OM-USA WebMail
</TITLE>
<FRAMESET COLS="200, *" NORESIZE BORDER=0>
- <FRAME SRC="left_main.php3" NAME="left">
- <FRAME SRC="right_main.php3" NAME="right">
+ <FRAME SRC="left_main.php" NAME="left">
+ <FRAME SRC="right_main.php" NAME="right">
</FRAMESET>
</HEAD></HTML>