<?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
*/
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo CHARSET ?>">
<title><?php echo VERSION; ?> : A Free & Open-Source PHP Newsletter (based on OpenNewsletter)</title>
<meta name="description" content="NmnNewsletter is a free & open-source newsletter/mailing-list manager developed in php by netmeans.net and based on OpenNewsletter by Self Exile.">
<style>
body, td, th { color:#4466BB; font-family: Verdana; line-height:1.5; font-size:12px; }
a, a:visited { border-bottom:1px dotted #4466BB; text-decoration:none; color:#4466BB; }
a:hover { background-color:#DFE8FF; text-decoration:none; }
.menu_header { color: white; font-weight: bold; text-decoration: none; text-align: center; vertical-align: middle }
.menu_header a:link { color: white; background-color: #4466BB; display: block; padding: 3px; border:1px solid #5f81d7; }
.menu_header a:visited { color: white; background-color: #4466BB; display: block; padding: 3px; border:1px solid #5f81d7; }
.menu_header a:hover { color: white; background-color: #5f81d7; display: block; padding: 3px; border:1px solid #5f81d7; }
.menu_header a:active { color: white; background-color: #4466BB; display: block; padding: 3px; border:1px solid #5f81d7; }
a.menu2, a.menu2:visited{ color:#FFFFFF; background-color:#5f81d7; }
a.menu2:hover { color:#FFFFFF; background-color:#5f81d7; }
h1, h2, h3, h4 { font-weight:normal; }
hr { color:#eeeeee; height:1px; }
input, textarea, select { font-family:Verdana; font-size:12px; color:#4466BB; border:1px solid #4466BB; }
.textField { width:200px; }
.textField2 { width:620px; }
.button { background-image:url(images/bg_button.gif); width:91; height:22; color:#000000; border:0; padding-bottom:3px; font-weight:bold; }
.copyright { color:#5f81d7; font-size:11px; }
.heading { font-size:24px; }
.heading2 { font-size:16px; font-weight:bold; }
.page_heading { font-size:18px; width:100%; border-bottom:1px solid #DFE8FF; text-align:left; margin-bottom:10px; }
.message { width:80%; color:#4466BB; background-color:#DFE8FF; padding:5px; border:1px solid #4466BB; text-align:center; }
.error { width:80%; color:#4466BB; background-color:#DFE8FF; padding:5px; border:1px solid #4466BB; text-align:center; }
.error_text { color:#FF0000; }
</style>
<script language="JavaScript" type="text/javascript" src="includes/gen_validatorv2.js"></script>
<script language="JavaScript" type="text/javascript" src="includes/common.lib.js"></script>
<?php
if(USE_TINYMCE && isset($tinyMce) && $tinyMce)
{
?>
<script language="javascript" type="text/javascript" src="includes/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
elements : 'nourlconvert',
relative_urls : false,
convert_urls : false,
plugins : "table,insertdatetime",
plugin_insertdate_dateFormat : "%d-%m-%Y",
plugin_insertdate_timeFormat : "%H:%M:%S",
theme_advanced_buttons3_add : "tablecontrols,insertdate,inserttime",
table_styles : "Header 1=header1;Header 2=header2;Header 3=header3",
table_cell_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Cell=tableCel1",
table_row_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1",
table_cell_limit : 100,
table_row_limit : 5,
table_col_limit : 5
});
function toggleEditor(id) {
var elm = document.getElementById(id);
if (tinyMCE.getInstanceById(id) == null)
tinyMCE.execCommand('mceAddControl', false, id);
else
tinyMCE.execCommand('mceRemoveControl', false, id);
}
</script>
<?php
}
?>
</head>
<body bgcolor='f3f3f3'>
<table align=center width='750' border='0' cellpadding='0' cellspacing='0' background='images/content_bkg.gif'>
<tr><td><img src='images/content_cap_top.gif' width='750' height='8'></td></tr>
<tr>
<td style='padding-top:10px;padding-left:20px;padding-bottom:10px;padding-right:20px;background:url(images/nmnLogo.gif) no-repeat 97% 0;'>
<div class="heading" style="border-bottom:1px solid #DFE8FF; margin-bottom:5px; ">
<?php echo VERSION; ?><font size=1>
<a href='mailto:hide@address.com'><?php echo LANG_TEMPLATE_SUPPORT_LINK; ?></a> |
<a href='http://netmeans.net'>NetMeans.Net</a>
</font>
</div>
<table class="menu_header" cellpadding="0" width="100%" cellspacing="0" style='text-align:center;'>
<tr>
<?php
if($page == "home")
echo "<td><a class=menu2 href='index.php'>".LANG_TEMPLATE_MENU_HOME."</a></td>";
else
echo "<td><a href='index.php'>".LANG_TEMPLATE_MENU_HOME."</a></td>";
if($page == "subscribers")
echo "<td><a class=menu2 href='subscribers.php'>".LANG_TEMPLATE_MENU_SUBSCRIBERS."</a></td>";
else
echo "<td><a href='subscribers.php'>".LANG_TEMPLATE_MENU_SUBSCRIBERS."</a></td>";
if($page == "compose")
echo "<td><a class=menu2 href='compose.php?type=html'>".LANG_TEMPLATE_MENU_CREATE_NL."</a></td>";
else
echo "<td><a href='compose.php?type=html'>".LANG_TEMPLATE_MENU_CREATE_NL."</a></td>";
if($page == "nl list")
echo "<td><a class=menu2 href='nlList.php'>".LANG_TEMPLATE_MENU_NL_LIST."</a></td>";
else
echo "<td><a href='nlList.php'>".LANG_TEMPLATE_MENU_NL_LIST."</a></td>";
echo "<td><a href='logout.php'>".LANG_TEMPLATE_MENU_LOGOUT."</a></td>";
?>
</tr>
</table>
<table width=100% style="margin-top:5px;margin-bottom:5px;">
<tr>
<td>
<div align="center" style="border:1px solid #DFE8FF; padding:10px;">
<?php echo $main; ?>
</div>
</td>
</tr>
</table>
<div style='border:1px solid #DFE8FF; padding:3px;' align='center' class=copyright>
This is a Free & Open Source mailing list manager developed by <a href="http://netmeans.net">NetMeans.Net</a> and distributed under the LGPL license. This software is based on the OpenNewsletter project by <a href="http://www.selfexile.com" target="_blank">Self Exile</a>.
<br>
2006-2007 NetMeansNet s.n.c - Ostia - Rome - Italy | <a href="http://netmeans.net">http://netmeans.net</a> | <a href="mailto:hide@address.com">hide@address.com</a>
</div>
</td>
</tr>
<tr><td><img src='images/content_cap_bottom.gif' width='750' height='12'></td></tr>
</table>
</body>
</html>