<?php
/*
NmnNewsletter is a library that provides newsletter service
management for websites running php and mysql.
Copyright (C) 2006 Ivan Preziosi from netmeans.net - Rome.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
For more informations or to join the development of the library contact
the author at: hide@address.com
*/
session_start();
require_once("includes/config.php");
if (ENC_KEY=="changeMeSoon") die ("Please edit your ENC_KEY entry in includes/config.php !");
if($_SESSION["valid"] == true)
{
$main = "
<div class=page_heading>".HOME_VERSION_INFO."</div>
<div align=left>
<ul>
<li>".VERSION." ".HOME_VERSION_RELEASE_DATE."</li>
</ul>
<div class=page_heading>".HOME_INSTALLATION_TITLE."</div>
<ul>
<li>".HOME_INSTALLATION_WINDOWS."</li>
<li>".HOME_INSTALLATION_LINUX."</li>
<li>".HOME_INSTALLATION_EMAIL." hide@address.com</li>
</ul>
<div class=page_heading>".HOME_INTEGRATION_TITLE."</div>
<blockquote>
".HOME_INTEGRATION_CODE." <br>
<div style='background-color:#f9f9f9; padding:5px;'>
<iframe src='subscribe.html' frameborder='1' width=200></iframe>
</div> <br>
".HOME_INTEGRATION_BOX." <br><br>
<iframe src='subscribe.html' frameborder='1' width=200></iframe>
<br><br>
".HOME_INTEGRATION_EXAMPLE."<br>
<div style='background-color:#f9f9f9; padding:5px;'>
<iframe src='http://www.mysite.com/NmnNewsletter/subscribe.html' frameborder='1' width=200></iframe>
</div><br>
</blockquote>
<div class=page_heading>".HOME_FEATURES_TITLE."</div>
<ul>
<li>".HOME_FEATURES_INSPIRED."</li>
<li>".HOME_FEATURES_OPENSOURCE."</li>
<li>".HOME_FEATURES_SIMPLE."</li>
<li>".HOME_FEATURES_CONFIGURATION."</li>
<li>".HOME_FEATURES_MYSQL."</li>
<li>".HOME_FEATURES_STORE."</li>
<li>".HOME_FEATURES_LOGS."</li>
<li>".HOME_FEATURES_TRACKING."</li>
<li>".HOME_FEATURES_MULTILANGUAGE."</li>
<li>".HOME_FEATURES_IMPORT."</li>
<li>".HOME_FEATURES_ADD_DELETE."</li>
<li>".HOME_FEATURES_SUBSCRIBE."</li>
<li>".HOME_FEATURES_UNSUBSCRIBE."</li>
<li>".HOME_FEATURES_UNSUBLINK."</li>
<li>".HOME_FEATURES_CHARSET."</li>
</ul>
<div class=page_heading>".HOME_DEVELOPERS_TITLE."</div>
<ul>
<li>NetMeansNet</li>
<li>".HOME_DEVELOPERS_WEBSITE." <a target=_blanck href='http://netmeans.net'>netmeans.net</a></li>
<li>Email: <a href=\"mailto:hide@address.com\">hide@address.com</a></li>
</ul>
<div class=page_heading>".HOME_DONATION_TITLE."</div>
<a href=\"http://sourceforge.net/donate/index.php?group_id=186807\" style=\"float:right;padding:5px;\" target=\"_blank\"><img src=\"images/project-support.jpg\" width=\"88\" height=\"32\" border=\"0\" alt=\"Support This Project\" /> </a>
".HOME_DONATION_TEXT."
<div class=page_heading> </div>
<div style=\"text-align:center;padding:auto;\">
<a href=\"http://freshmeat.net\" target=\"_blank\"><img style=\"float:left;\" src=\"images/freshmeat.gif\" border=0 alt=\"\" /></a>
<a href=\"http://sourceforge.net\" target=\"_blank\"><img style=\"float:right;\" src=\"http://sflogo.sourceforge.net/sflogo.php?group_id=186807&type=1\" width=\"88\" height=\"31\" border=\"0\" alt=\"SourceForge.net Logo\" /></a>
<a href=\"http://netmeans.net\" target=\"_blank\"><img src=\"images/nmn_button.gif\" border=\"0\" alt=\"\" /></a>
</div>
</div>";
}
else
{
if($_GET["msg"] == "error")
$main .= "<div class=error>".LOGIN_ACCESS_DENIED."<br>".LOGIN_INVALID."</div><br>";
$main .= "<div class=heading2>".LOGIN_MESSAGE."</div><br>
<form action='login.php' method='post'>
Username<br>
<input class=textField type=text name=username><br><br>
Password<br>
<input class=textField type=password name=password><br><br>
<input class=button type=submit value=Login>
</form>";
}
$page = "home";
require_once("includes/template.php");
?>