Second pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:24:05 +10:00
parent aa25e9347f
commit b6fc94ff0f
923 changed files with 243184 additions and 0 deletions

View File

@ -0,0 +1,131 @@
.body_content {
font-family : <%if advanced_editor_font%><%advanced_editor_font%><%else%>Verdana, Arial, Helvetica, sans-serif<%endif%>;
font-size: <%if is_ie%>x-<%endif%>small;
color : #000000;
background-color: <%if advanced_editor_background%><%advanced_editor_background%><%else%>#FFFFFF<%endif%>;
cursor: default;
}
.html_content {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color : #000000;
background-color: #FFFFFF;
cursor: default;
visibility: hidden;
border: 0px;
width: 0px;
height: 0px;
padding: 5px;
}
.bar {
position : absolute;
background-color : <%if editor_base_color%><%editor_base_color%><%else%>#CCCCCC<%endif%>;
border-bottom : buttonshadow solid 1px;
border-left : buttonhighlight solid 1px;
border-right : buttonshadow solid 1px;
border-top : buttonhighlight solid 1px;
height : 25px;
top : 0px;
left : 0px;
}
.toolbar {
position : relative;
background-color : <%if editor_base_color%><%editor_base_color%><%else%>#CCCCCC<%endif%>;
border-bottom : 0px;
border-left : 0px;
border-right : 0px;
border-top : 0px;
height : 25px;
top : 0px;
left : 0px;
}
.menu {
position : absolute;
background-color : <%if editor_base_color%><%editor_base_color%><%else%>#CCCCCC<%endif%>;
border-bottom : buttonshadow solid 1px;
border-left : buttonhighlight solid 1px;
border-right : buttonshadow solid 1px;
border-top : buttonhighlight solid 1px;
height : 25px;
top : 0px;
left : 0px;
visibility : hidden;
}
.tb_icon {
position : absolute;
left : -1px;
top : -1px;
}
.icon_down {
position : absolute;
left : 0px;
top : 0px;
}
.icon_downpressed {
position : absolute;
left : 1px;
top : 1px;
}
.tb_menu_item {
position : absolute;
border-bottom : <%editor_base_color%> solid 1px;
border-left : <%editor_base_color%> solid 1px;
border-right : <%editor_base_color%> solid 1px;
border-top : <%editor_base_color%> solid 1px;
top : 1px;
height : 22px;
width : 23px;
}
.menu_item_mouseoverup {
position : absolute;
border-bottom : buttonshadow solid 1px;
border-left : buttonhighlight solid 1px;
border-right : buttonshadow solid 1px;
border-top : buttonhighlight solid 1px;
top : 1px;
height : 22px;
width : 23px;
}
.menu_item_mouseoverdown {
position : absolute;
border-bottom : buttonhighlight solid 1px;
border-left : buttonshadow solid 1px;
border-right : buttonhighlight solid 1px;
border-top : buttonshadow solid 1px;
top : 1px;
height : 22px;
width : 23px;
}
.menu_item_down {
position : absolute;
background-color : gainsboro;
border-bottom : buttonhighlight solid 1px;
border-left : buttonshadow solid 1px;
border-right : buttonhighlight solid 1px;
border-top : buttonshadow solid 1px;
top : 1px;
height : 22px;
width : 23px;
}
.tb_sep {
position : absolute;
border-left : buttonshadow solid 1px;
border-right : buttonhighlight solid 1px;
font-size : 0px;
top : 1px;
height : 22px;
width : 0px;
}

View File

@ -0,0 +1,89 @@
<html>
<head><title>Button</title>
<style><%include editor_dialog.css%></style>
<script>
var name, value, initial, tab;
function initDialog() {
name = document.getElementById('name');
value = document.getElementById('value');
tab = document.getElementById('tab');
type = document.getElementById('type');
}
function done () {
/* ---------------------------------------------------------
* When the user hits done this fucntion is called to
* produce the html from the div tags. It then inserts
* it into the edit window and closes this window.
*/
var html = '<input';
if (name.value)
html += ' name="' + name.value + '"';
if (value.value)
html += ' value="' + value.value + '"';
if (tab.value)
html += ' tabindex="' + tab.value + '"';
html += ' type=';
if (type.value == 2) {
html += '"reset"';
}
else if (type.value == 1) {
html += '"submit"';
}
else {
html += '"button"';
}
html += '>';
opener.dialogWindow.editor.returnForm(html);
window.close();
}
function check_type (title, val) {
/* ---------------------------------------------------------
* When the type radio is changed this is called to see if
* the value in the Value/label field should be changed.
*/
value.value = title;
type.value = val
}
</script>
<body class=body onload="initDialog()">
<table border=0 cellpadding=3 align=center>
<tr class="td">
<td>Name:</td><td><input id=name size=30></input></td>
</tr>
<tr class="td">
<td>Value/label:</td><td><input id=value size=30 value="Button"></input></td>
</tr>
<tr class="td">
<td>Button type:</td>
<td>
<table border=0>
<tr class="td">
<td>
<input type=radio id=type name=type onclick="check_type('Button', '0');" value="0" checked> Normal
</td>
<td>
<input type=radio id=type name=type onclick="check_type('Submit', '1');" value="1"> Submit
</td>
<td>
<input type=radio id=type name=type onclick="check_type('Reset', '2');" value="2"> Reset
</td>
</tr>
</table>
</td>
</tr>
<tr class="td">
<td>Tab order:</td><td><input id=tab size=3></td>
</tr>
</table>
<hr>
<div align=right>
<button class=button onclick="done();">OK</button> &nbsp;
<button class=button onclick="window.close();">Cancel</button>&nbsp;
</div>
</body>
</html>

View File

@ -0,0 +1,409 @@
<html>
<head>
<title>Color</title>
<style>
<%include editor_dialog.css%>
.colorcell { width: 21px; height: 20px; font-size: 2px };
</style>
<script>
var colormap = {
'aliceblue' : '#F0F8FF',
'antiquewhite' : '#FAEBD7',
'aqua' : '#00FFFF',
'aquamarine' : '#7FFFD4',
'azure' : '#F0FFFF',
'beige' : '#F5F5DC',
'bisque' : '#FFE4C4',
'black' : '#000000',
'blanchedalmond' : '#FFEBCD',
'blue' : '#0000FF',
'blueviolet' : '#8A2BE2',
'brown' : '#A52A2A',
'burlywood' : '#DEB887',
'cadetblue' : '#5F9EA0',
'chartreuse' : '#7FFF00',
'chocolate' : '#D2691E',
'coral' : '#FF7F50',
'cornflowerblue' : '#6495ED',
'cornsilk' : '#FFF8DC',
'crimson' : '#DC143C',
'cyan' : '#00FFFF',
'darkblue' : '#00008B',
'darkcyan' : '#008B8B',
'darkgoldenrod' : '#B8860B',
'darkgray' : '#A9A9A9',
'darkgreen' : '#006400',
'darkkhaki' : '#BDB76B',
'darkmagenta' : '#8B008B',
'darkolivegreen' : '#556B2F',
'darkorange' : '#FF8C00',
'darkorchid' : '#9932CC',
'darkred' : '#8B0000',
'darksalmon' : '#E9967A',
'darkseagreen' : '#8FBC8F',
'darkslateblue' : '#483D8B',
'darkslategray' : '#2F4F4F',
'darkturquoise' : '#00CED1',
'darkviolet' : '#9400D3',
'deeppink' : '#FF1493',
'deepskyblue' : '#00BFFF',
'dimgray' : '#696969',
'dodgerblue' : '#1E90FF',
'firebrick' : '#B22222',
'floralwhite' : '#FFFAF0',
'forestgreen' : '#228B22',
'fuchsia' : '#FF00FF',
'gainsboro' : '#DCDCDC',
'ghostwhite' : '#F8F8FF',
'gold' : '#FFD700',
'goldenrod' : '#DAA520',
'gray' : '#808080',
'green' : '#008000',
'greenyellow' : '#ADFF2F',
'honeydew' : '#F0FFF0',
'hotpink' : '#FF69B4',
'indianred' : '#CD5C5C',
'indigo' : '#4B0082',
'ivory' : '#FFFFF0',
'khaki' : '#F0E68C',
'lavender' : '#E6E6FA',
'lavenderblush' : '#FFF0F5',
'lawngreen' : '#7CFC00',
'lemonchiffon' : '#FFFACD',
'lightblue' : '#ADD8E6',
'lightcoral' : '#F08080',
'lightcyan' : '#E0FFFF',
'lightgoldenrodyellow' : '#FAFAD2',
'lightgreen' : '#90EE90',
'lightgrey' : '#D3D3D3',
'lightpink' : '#FFB6C1',
'lightsalmon' : '#FFA07A',
'lightseagreen' : '#20B2AA',
'lightskyblue' : '#87CEFA',
'lightslategray' : '#778899',
'lightsteelblue' : '#B0C4DE',
'lightyellow' : '#FFFFE0',
'lime' : '#00FF00',
'limegreen' : '#32CD32',
'linen' : '#FAF0E6',
'magenta' : '#FF00FF',
'maroon' : '#800000',
'mediumaquamarine' : '#66CDAA',
'mediumblue' : '#0000CD',
'mediumorchid' : '#BA55D3',
'mediumpurple' : '#9370DB',
'mediumseagreen' : '#3CB371',
'mediumslateblue' : '#7B68EE',
'mediumspringgreen' : '#00FA9A',
'mediumturquoise' : '#48D1CC',
'mediumvioletred' : '#C71585',
'midnightblue' : '#191970',
'mintcream' : '#F5FFFA',
'mistyrose' : '#FFE4E1',
'moccasin' : '#FFE4B5',
'navajowhite' : '#FFDEAD',
'navy' : '#000080',
'oldlace' : '#FDF5E6',
'olive' : '#808000',
'olivedrab' : '#6B8E23',
'orange' : '#FFA500',
'orangered' : '#FF4500',
'orchid' : '#DA70D6',
'palegoldenrod' : '#EEE8AA',
'palegreen' : '#98FB98',
'paleturquoise' : '#AFEEEE',
'palevioletred' : '#DB7093',
'papayawhip' : '#FFEFD5',
'peachpuff' : '#FFDAB9',
'peru' : '#CD853F',
'pink' : '#FFC0CB',
'plum' : '#DDA0DD',
'powderblue' : '#B0E0E6',
'purple' : '#800080',
'red' : '#FF0000',
'rosybrown' : '#BC8F8F',
'royalblue' : '#4169E1',
'saddlebrown' : '#8B4513',
'salmon' : '#FA8072',
'sandybrown' : '#F4A460',
'seagreen' : '#2E8B57',
'seashell' : '#FFF5EE',
'sienna' : '#A0522D',
'silver' : '#C0C0C0',
'skyblue' : '#87CEEB',
'slateblue' : '#6A5ACD',
'slategray' : '#708090',
'snow' : '#FFFAFA',
'springgreen' : '#00FF7F',
'steelblue' : '#4682B4',
'tan' : '#D2B48C',
'teal' : '#008080',
'thistle' : '#D8BFD8',
'tomato' : '#FF6347',
'turquoise' : '#40E0D0',
'violet' : '#EE82EE',
'wheat' : '#F5DEB3',
'white' : '#FFFFFF',
'whitesmoke' : '#F5F5F5',
'yellow' : '#FFFF00',
'yellowgreen' : '#9ACD32'
};
var selectedId, color;
var editor = opener.dialogWindow.editor;
function mouseoverBorder (obj) {
obj.style.border = '2px outset buttonface';
obj.style.padding = '0px';
}
function mouseoutBorder (obj) {
obj.style.border = '1px solid gray';
obj.style.padding = '1px';
}
function selectedBorder (obj) {
obj.style.border = '2px inset buttonface';
obj.style.padding = '0px';
}
function InitColorPalette() {
if (document.getElementsByTagName)
var x = document.getElementsByTagName('TD');
else if (document.all)
var x = document.all.tags('TD');
for (var i=0;i<x.length;i++) {
if (x[i].id != 'sample' && x[i].id != 'button' && x[i].id != 'custom') {
x[i].onmouseover = over;
x[i].onmouseout = out;
x[i].onclick = setColor;
x[i].style.backgroundColor = x[i].style.color = x[i].id;
mouseoutBorder(x[i]);
}
}
document.getElementById('bok').onclick = returnColor;
if (opener.dialogWindow.currentColor) {
var input = document.getElementById('hexcolor');
input.value = opener.dialogWindow.currentColor;
setManualColor(input);
}
}
function over() {
if (this.id == selectedId) {
selectedBorder(this);
}
else {
mouseoverBorder(this);
}
}
function out() {
if (this.id == selectedId) {
selectedBorder(this);
}
else {
mouseoutBorder(this);
}
}
function textKey (event, textbox) {
if (event.keyCode == 13) {
textbox.blur();
return;
}
else if (textbox.value.length < 7) {
return event.keyCode;
}
}
function setColor() {
if (selectedId)
mouseoutBorder(document.getElementById(selectedId));
selectedId = this.id;
if (selectedId) {
color = selectedId;
selectedBorder(this);
document.getElementById('source').style.color = color;
document.getElementById('hexcolor').value = color;
}
}
function setManualColor (textbox) {
var newColor = textbox.value.toLowerCase();
if (colormap[newColor])
newColor = colormap[newColor];
newColor = newColor.toUpperCase();
if (newColor.substring(0, 1) != '#')
newColor = '#' + newColor;
// Turn a 3-digit hex color such as '#a62' into the 6 digit equivelant '#aa6622'
if (/^#[0-9A-F]{3}$/.test(newColor)) {
newColor = '#' +
newColor.substring(1,2) + newColor.substring(1,2) +
newColor.substring(2,3) + newColor.substring(2,3) +
newColor.substring(3,4) + newColor.substring(3,4);
alert("newcolor: " + newColor);
}
if (!/^#[0-9A-F]{6}$/.test(newColor)) {
textbox.value = '';
return;
}
else {
if (selectedId)
mouseoutBorder(document.getElementById(selectedId));
var have;
if (have = document.getElementById(newColor)) {
selectedBorder(have);
selectedId = newColor;
}
color = newColor;
document.getElementById('source').style.color = color;
textbox.value = color;
}
}
function returnColor() {
if (color) {
if (opener.dialogWindow.returnFunc) opener.dialogWindow.returnFunc(color);
else editor.returnColor(color);
window.close();
}
}
</script>
</head>
<body class="body" onLoad="InitColorPalette()">
<table border="1" cellpadding="1" cellspacing="1" align="center">
<tr>
<td class="colorcell" id="#FFFFFF">&nbsp;</td>
<td class="colorcell" id="#FFBFBF">&nbsp;</td>
<td class="colorcell" id="#FFDFBF">&nbsp;</td>
<td class="colorcell" id="#FFFFBF">&nbsp;</td>
<td class="colorcell" id="#EFFFBF">&nbsp;</td>
<td class="colorcell" id="#BFFFBF">&nbsp;</td>
<td class="colorcell" id="#BFFFEF">&nbsp;</td>
<td class="colorcell" id="#BFFFFF">&nbsp;</td>
<td class="colorcell" id="#BFDFFF">&nbsp;</td>
<td class="colorcell" id="#BFBFFF">&nbsp;</td>
<td class="colorcell" id="#DFBFFF">&nbsp;</td>
<td class="colorcell" id="#FFBFFF">&nbsp;</td>
<td class="colorcell" id="#FFBFDF">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#E0E0E0">&nbsp;</td>
<td class="colorcell" id="#FF8080">&nbsp;</td>
<td class="colorcell" id="#FFBF80">&nbsp;</td>
<td class="colorcell" id="#FFFF80">&nbsp;</td>
<td class="colorcell" id="#CFFF80">&nbsp;</td>
<td class="colorcell" id="#80FF80">&nbsp;</td>
<td class="colorcell" id="#80FFCF">&nbsp;</td>
<td class="colorcell" id="#80FFFF">&nbsp;</td>
<td class="colorcell" id="#80BFFF">&nbsp;</td>
<td class="colorcell" id="#8080FF">&nbsp;</td>
<td class="colorcell" id="#BF80FF">&nbsp;</td>
<td class="colorcell" id="#FF80FF">&nbsp;</td>
<td class="colorcell" id="#FF80BF">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#C0C0C0">&nbsp;</td>
<td class="colorcell" id="#FF4040">&nbsp;</td>
<td class="colorcell" id="#FFA040">&nbsp;</td>
<td class="colorcell" id="#FFFF40">&nbsp;</td>
<td class="colorcell" id="#B0FF40">&nbsp;</td>
<td class="colorcell" id="#40FF40">&nbsp;</td>
<td class="colorcell" id="#40FFB0">&nbsp;</td>
<td class="colorcell" id="#40FFFF">&nbsp;</td>
<td class="colorcell" id="#40A0FF">&nbsp;</td>
<td class="colorcell" id="#4040FF">&nbsp;</td>
<td class="colorcell" id="#A040FF">&nbsp;</td>
<td class="colorcell" id="#FF40FF">&nbsp;</td>
<td class="colorcell" id="#FF40A0">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#808080">&nbsp;</td>
<td class="colorcell" id="#FF0000">&nbsp;</td>
<td class="colorcell" id="#FF8000">&nbsp;</td>
<td class="colorcell" id="#FFFF00">&nbsp;</td>
<td class="colorcell" id="#80FF00">&nbsp;</td>
<td class="colorcell" id="#00FF00">&nbsp;</td>
<td class="colorcell" id="#00FF80">&nbsp;</td>
<td class="colorcell" id="#00FFFF">&nbsp;</td>
<td class="colorcell" id="#0080FF">&nbsp;</td>
<td class="colorcell" id="#0000FF">&nbsp;</td>
<td class="colorcell" id="#8000FF">&nbsp;</td>
<td class="colorcell" id="#FF00FF">&nbsp;</td>
<td class="colorcell" id="#FF0080">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#646464">&nbsp;</td>
<td class="colorcell" id="#BF0000">&nbsp;</td>
<td class="colorcell" id="#BF6000">&nbsp;</td>
<td class="colorcell" id="#BFBF00">&nbsp;</td>
<td class="colorcell" id="#80BF00">&nbsp;</td>
<td class="colorcell" id="#00BF00">&nbsp;</td>
<td class="colorcell" id="#00BF80">&nbsp;</td>
<td class="colorcell" id="#00BFBF">&nbsp;</td>
<td class="colorcell" id="#0060BF">&nbsp;</td>
<td class="colorcell" id="#0000BF">&nbsp;</td>
<td class="colorcell" id="#6000BF">&nbsp;</td>
<td class="colorcell" id="#BF00BF">&nbsp;</td>
<td class="colorcell" id="#BF0060">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#484848">&nbsp;</td>
<td class="colorcell" id="#800000">&nbsp;</td>
<td class="colorcell" id="#804000">&nbsp;</td>
<td class="colorcell" id="#808000">&nbsp;</td>
<td class="colorcell" id="#588000">&nbsp;</td>
<td class="colorcell" id="#008000">&nbsp;</td>
<td class="colorcell" id="#008058">&nbsp;</td>
<td class="colorcell" id="#008080">&nbsp;</td>
<td class="colorcell" id="#004080">&nbsp;</td>
<td class="colorcell" id="#000080">&nbsp;</td>
<td class="colorcell" id="#400080">&nbsp;</td>
<td class="colorcell" id="#800080">&nbsp;</td>
<td class="colorcell" id="#800040">&nbsp;</td>
</tr>
<tr>
<td class="colorcell" id="#000000">&nbsp;</td>
<td class="colorcell" id="#500000">&nbsp;</td>
<td class="colorcell" id="#502800">&nbsp;</td>
<td class="colorcell" id="#505000">&nbsp;</td>
<td class="colorcell" id="#385000">&nbsp;</td>
<td class="colorcell" id="#005000">&nbsp;</td>
<td class="colorcell" id="#005028">&nbsp;</td>
<td class="colorcell" id="#005050">&nbsp;</td>
<td class="colorcell" id="#002850">&nbsp;</td>
<td class="colorcell" id="#000050">&nbsp;</td>
<td class="colorcell" id="#280050">&nbsp;</td>
<td class="colorcell" id="#500050">&nbsp;</td>
<td class="colorcell" id="#500028">&nbsp;</td>
</tr>
</table>
<hr>
<table cellpadding="1" cellspacing="1" border="0" width="100%">
<tr>
<td id="sample" class="body" width="80">
<div id="source" style="width: 80px; border: 1px solid #000000; background: #ffffff" align="center">Sample</div>
</td>
<td id="custom" width="80">
<input type="text" id="hexcolor" maxlength="20" onchange="setManualColor(this)" onkeydown="textKey(event, this)" style="width: 80px" title="Enter a custom color (e.g. '#FF0000' or 'red') here">
</td>
<td align="right" id="button" style="padding-right: 3px">
<nobr>
<input type="button" id="bok" class="button" value=" Ok ">
<input type="button" class="button" value="Cancel" onclick="window.close()">
</nobr>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,53 @@
/* ==================================================================
* Gossamer Threads Module Library - http://gossamer-threads.com/
*
* dialog
* Author : Scott Beck
* $Id: editor_dialog.css,v 1.6 2004/10/14 22:35:14 bao Exp $
*
* Copyright (c) 2000 Gossamer Threads Inc. All Rights Reserved.
* ==================================================================
*
* Description: Style sheet for dialog pop-ups.
*/
BODY {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
background-color : buttonface;
margin : 0;
}
TD {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
.sample {
font-family : Verdana, Arial, Helvetica, sans-serif;
border-left : buttonshadow solid 1px;
border-bottom : buttonhighlight solid 1px;
border-right : buttonhighlight solid 1px;
border-top : buttonshadow solid 1px;
overflow : hidden;
background-color : buttonface;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
background-color : buttonface;
font-size : 11px;
width : 80px;
}
select {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
border-bottom : buttonhighlight solid 2px;
border-left : buttonshadow solid 2px;
border-right : buttonhighlight solid 2px;
border-top : buttonshadow solid 2px;
overflow : hidden;
cursor : default;
}

View File

@ -0,0 +1,9 @@
<html>
<head>
<style>
<%include editor.css%>
<%if is_ie%>p { margin: 0px; }<%endif%>
</style>
</head>
<body id="editor_content" class="body_content" topmargin="5" leftmargin="5"></body>
</html>

View File

@ -0,0 +1,313 @@
<html>
<head>
<title>Select Font</title>
<style><%include editor_dialog.css%></style>
<script>
var ie = false;
var ie6 = false;
if (window.navigator.appVersion.search('MSIE') > 0) ie = true;
// Allow for possible future versions of IE, which hopefully will support what IE6 supports
if (window.navigator.appVersion.search('MSIE 6') > 0 ||
window.navigator.appVersion.search('MSIE 7') > 0 ||
window.navigator.appVersion.search('MSIE 8') > 0)
ie6 = true;
var fontList, styleList, sizeList, underline, colorList, fontBox, styleBox, sizeBox, sample, dlg, dialogWindow;
var editor = opener.dialogWindow.editor;
function initDialog() {
fontList = document.getElementById('fontList');
styleList = document.getElementById('styleList');
sizeList = document.getElementById('sizeList');
underline = document.getElementById('underline');
fontBox = document.getElementById('fontBox');
colorList = document.getElementById('colorList');
styleBox = document.getElementById('styleBox');
sizeBox = document.getElementById('sizeBox');
sample = document.getElementById('sample');
dlg = document.getElementById('dlg');
populateFont();
editor.fontLoad(fontList, styleList, sizeList, colorList, underline);
fontList.onchange = loadFont;
styleList.onchange = loadFont;
sizeList.onchange = loadFont;
underline.onclick = loadFont;
colorList.onchange = loadFont;
if (!ie) {
// Mozilla's default groove coloring isn't very nice; use a better one:
document.getElementById('groove1').style.borderColor = 'ThreeDLightShadow';
document.getElementById('groove2').style.borderColor = 'ThreeDLightShadow';
/* The following Javascript is used to change the styles on the various font
* elements under Mozilla to adjust them slightly to look more or less the same
* as they do under IE. The specific problem arises because IE considers
* positions to be relative to the element excluding the border, but Mozilla
* includes the border. Mozilla's approach seems more "correct", but since the
* primary user base of the advanced editor is using IE, we do the dynamic
* adjustments for Mozilla instead of IE. They are relatively minor tweaks,
* and taking them out certainly won't break anything.
*/
fontBox.style.width = parseInt(fontBox.style.width) + 2 + 'px';
fontBox.style.left = parseInt(fontBox.style.left) - 1 + 'px';
fontBox.style.top = parseInt(fontBox.style.top) - 1 + 'px';
styleBox.style.width = parseInt(styleBox.style.width) + 2 + 'px';
styleBox.style.left = parseInt(styleBox.style.left) - 1 + 'px';
styleBox.style.top = parseInt(styleBox.style.top) - 1 + 'px';
sizeBox.style.width = parseInt(sizeBox.style.width) + 2 + 'px';
sizeBox.style.left = parseInt(sizeBox.style.left) - 1 + 'px';
sizeBox.style.top = parseInt(sizeBox.style.top) - 1 + 'px';
var sampleTable = document.getElementById('sampleTable');
sampleTable.style.height = parseInt(sampleTable.style.height) + 2 + 'px';
sample.style.width = parseInt(sample.style.width) + 4 + 'px';
}
loadFont();
}
function populateFont() {
if (ie6) {
var fonts = [];
for (var i = 1; i <= dlg.fonts.count; i++) fonts[i - 1] = dlg.fonts(i);
fonts.sort();
for (var i = 0; i < fonts.length; i++) addFont(fontList, fonts[i]);
}
else {
addFont(fontList, 'Arial');
addFont(fontList, 'Arial Black');
addFont(fontList, 'Arial Narrow');
addFont(fontList, 'Century Gothic');
addFont(fontList, 'Comic Sans MS');
addFont(fontList, 'Courier');
addFont(fontList, 'Courier New');
addFont(fontList, 'Fixedsys');
addFont(fontList, 'Garamond');
addFont(fontList, 'Georgia');
addFont(fontList, 'Lucida Console');
addFont(fontList, 'MS Sans Serif');
addFont(fontList, 'MS Serif');
addFont(fontList, 'System');
addFont(fontList, 'Tahoma');
addFont(fontList, 'Times New Roman');
addFont(fontList, 'Verdana');
addFont(fontList, 'Webdings');
addFont(fontList, 'Wingdings');
}
}
function addFont (sel, fontName) {
var o = document.createElement("OPTION");
sel.options.add(o);
o.innerHTML = fontName;
o.value = fontName;
}
function loadFont() {
if (fontList.selectedIndex >= 0) {
var font = fontList.options[fontList.selectedIndex].value;
fontBox.value = font
sample.style.fontFamily = font;
}
if (styleList.selectedIndex >= 0) {
var style = styleList.options[styleList.selectedIndex].value;
if (style == 'r') {
styleBox.value = 'Regular';
sample.style.fontStyle = 'normal';
sample.style.fontWeight = 'normal';
}
else if (style == 'b') {
styleBox.value = 'Bold';
sample.style.fontStyle = 'normal';
sample.style.fontWeight = 'bold';
}
else if (style == 'i') {
styleBox.value = 'Italic';
sample.style.fontWeight = 'normal';
sample.style.fontStyle = 'italic';
}
else if (style == 'bi') {
styleBox.value = 'Bold Italic';
sample.style.fontWeight = 'bold';
sample.style.fontStyle = 'italic';
}
}
if (sizeList.selectedIndex >= 0) {
sizeBox.value = sizeList.options[sizeList.selectedIndex].innerHTML;
sample.style.fontSize = sizeList.options[sizeList.selectedIndex].innerHTML;
}
if (colorList.selectedIndex >= 0) {
sample.style.color = colorList.options[colorList.selectedIndex].value;
}
if (underline.checked)
sample.style.textDecoration = 'underline';
else
sample.style.textDecoration = 'none';
}
function colorDialog (width, height) {
/*------------------------------------------------------------
* show dialog window
*/
var url = editor.config.baseURL + 'editor_color;' + editor.config.extraURL;
if (!dialogWindow) dialogWindow = new Object();
if (dialogWindow.win && !dialogWindow.win.closed && dialogWindow.url == url) {
dialogWindow.win.focus();
}
else {
if (dialogWindow.win && !dialogWindow.win.closed) dialogWindow.win.close();
dialogWindow.returnFunc = colorReturn;
dialogWindow.url = url;
dialogWindow.width = width;
dialogWindow.height = height;
dialogWindow.name = Math.random().toString().replace(/\./, "");
dialogWindow.left = (screen.width - width) / 2;
dialogWindow.top = (screen.height - height) / 2;
dialogWindow.attribs = 'left=' + dialogWindow.left + ',' +
'top=' + dialogWindow.top + ',' +
'resizable=no,statusbar=yes,' +
'width=' + dialogWindow.width + ',' +
'height=' + dialogWindow.height;
dialogWindow.currentColor = colorList.value;
dialogWindow.win = window.open(dialogWindow.url, dialogWindow.name, dialogWindow.attribs);
dialogWindow.editor = editor;
dialogWindow.win.focus();
}
}
function colorReturn(color) {
var clr = color.toUpperCase();
var select;
if (clr == '#000000') select = 'black';
else if (clr == '#000080') select = 'navy';
else if (clr == '#0000FF') select = 'blue';
else if (clr == '#008000') select = 'green';
else if (clr == '#008080') select = 'teal';
else if (clr == '#00FF00') select = 'lime';
else if (clr == '#00FFFF') select = 'aqua';
else if (clr == '#800000') select = 'maroon';
else if (clr == '#800080') select = 'purple';
else if (clr == '#808000') select = 'olive';
else if (clr == '#808080') select = 'gray';
else if (clr == '#C0C0C0') select = 'silver';
else if (clr == '#FF0000') select = 'red';
else if (clr == '#FF00FF') select = 'fuchsia';
else if (clr == '#FFFF00') select = 'yellow';
else if (clr == '#FFFFFF') select = 'white';
if (select) colorList.value = select;
else {
colorList.selectedIndex = colorList.options.length - 1;
colorList.options[colorList.selectedIndex].value = color;
colorList.options[colorList.selectedIndex].innerHTML = color;
}
loadFont();
}
function returnFont() {
var font, size, color, under, bold, italic;
if (fontList.selectedIndex >= 0) font = fontList.options[fontList.selectedIndex].value;
if (sizeList.selectedIndex >= 0) size = sizeList.options[sizeList.selectedIndex].value;
if (colorList.selectedIndex >= 0) color = colorList.options[colorList.selectedIndex].value;
var under = underline.checked;
var bold = /b/.test(styleList.value);
var italic = /i/.test(styleList.value);
editor.returnFont(font, size, color, bold, italic, under);
window.close();
}
</script>
</head>
<body onLoad="initDialog()" class="body">
<!-- In IE6, this object can be used to get a list of system fonts. Using document.write to create it resulted in a crash on some computers -->
<object id="dlg" classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"></object>
<div style="position: absolute; top: 7px; left: 10px" >Font:</div>
<input type="text" id="fontBox" style="font-size: 8pt; font-family: MS Sans Serif; height: 22px; width: 160px; position: absolute; top: 27px; left: 10px">
<select id="fontList" size="7" style="width: 162px; position: absolute; top: 49px; left: 9px"></select>
<div style="border: 1px groove; position: absolute; top: 175px; left: 10px; height: 100px; width: 160px" id="groove1"><div style="position: relative; top: -9px; left: 5px; width: 4.25em; background-color: ButtonFace">&nbsp;Effects&nbsp;</div></div>
<input type="checkbox" id="underline" style="position: absolute; top: 192px; left: 25px">
<div type="text" style="font-family: 'MS Sans Serif'; font-size: 8pt; border-width: 0px; position: absolute; top: 194px; left: 48px; width: 60px" onclick="underline.click()">Underline</div>
<div style="position: absolute; top: 218px; left: 25px">Color:</div>
<select id="colorList" size="1" style="font-face: 8pt; width: 80; position: absolute; top: 238px; left: 25px">
<option value="black">Black</option>
<option value="gray">Gray</option>
<option value="silver">Silver</option>
<option value="white">White</option>
<option value="lime">Lime</option>
<option value="green">Green</option>
<option value="yellow">Yellow</option>
<option value="olive">Olive</option>
<option value="red">Red</option>
<option value="maroon">Maroon</option>
<option value="fuchsia">Fuchsia</option>
<option value="purple">Purple</option>
<option value="aqua">Aqua</option>
<option value="teal">Teal</option>
<option value="navy">Navy</option>
<option value="blue">Blue</option>
<option value="">Custom</option>
</select>
<script>
document.write('<button style="position: absolute; top: 235px; left: 115px; height: 25px; width: 25px; padding: 0px" onclick="colorDialog(345, 193)" onmousedown="pressColorButton()" onmouseup="releaseColorButton()" onmouseout="releaseColorButton()">' +
'<img src="' + editor.config.imageURL + '/color.gif" id="colorButtonImage" style="position: relative; ' + (ie ? 'left: -3px' : 'left: -5px') + '; top: -1px; width: 23px; height: 23px; border: 0px"></button>');
function pressColorButton () {
var img = document.getElementById('colorButtonImage');
img.style.left = ie ? '-2px' : '-4px';
img.style.top = '0px';
}
function releaseColorButton () {
var img = document.getElementById('colorButtonImage');
img.style.left = ie ? '-3px' : '-5px';
img.style.top = '-1px';
}
</script>
<div style="position: absolute; top: 7px; left: 180px">Style:</div>
<input type="text" id="styleBox" style="font-size: 8pt; height: 22px; width: 77px; position: absolute; top: 27px; left: 185px" readonly>
<select id="styleList" size="7" style="width: 79px; position: absolute; top: 49px; left: 184px">
<option value="r">Regular</option>
<option value="b">Bold</option>
<option value="i">Italic</option>
<option value="bi">Bold Italic</option>
</select>
<div style="position: absolute; top: 7px; left: 277px">Size:</div>
<input type="text" id="sizeBox" style="font-size: 8pt; height: 22px; width: 60px; position: absolute; top: 27px; left: 277px" readonly>
<select id="sizeList" size="7" style="width: 62px; position: absolute; top: 49px; left: 276px">
<option value="1">8</option>
<option value="2">10</option>
<option value="3">12</option>
<option value="4">14</option>
<option value="5">18</option>
<option value="6">24</option>
<option value="7">36</option>
</select>
<div style="border: 1px groove; position: absolute; top: 175px; left: 185px; height: 100px; width: 153px" id="groove2"><div style="position: relative; top: -9px; left: 5px; width: 4.30em; background-color: buttonface">&nbsp;Sample&nbsp;</div></div>
<table width="131" style="position: absolute; top: 189px; left: 195px; height: 76px" cellpadding=0 cellspacing=0 id="sampleTable"><tr><td valign="middle" align="center" class="sample"><div style="overflow: hidden; width: 131px" id="sample">AaBbYyZz</div></td></tr></table>
<button class="button" onclick="returnFont()" style="position: absolute; top: 26px; left: 345px">OK</button>
<button class="button" onclick="window.close()" style="position: absolute; top: 54px; left: 345px">Cancel</button>
</body>
</html>

View File

@ -0,0 +1,9 @@
<html>
<head><style><%include editor.css%></style></head>
<body leftmargin="0" topmargin="0" bgcolor="#D6D6D6">
<div id="editor_toolbar" class="toolbar"></div>
<iframe id="editor_editor" style="position: absolute; width: 100%" src="glist.cgi?do=msg_page;pg=editor_editor.html;t=common<%hidden_query%>"></iframe>
<textarea id="editor_html" class="html_content"></textarea>
<div id="editor_menu" class="menu"></div>
</body>
</html

View File

@ -0,0 +1,92 @@
<html>
<head><title>Insert Image</title>
<style><%include editor_dialog.css%></style>
<script>
var form = document.frm_image;
var editor = opener.dialogWindow.editor;
var att = editor.inlineAttachments();
var attachments = att[0];
var num_att = att[1];
var is_ie = window.opener.editor_isIE;
var inline_selected;
function showSource () {
var img_src = document.getElementById('img_src');
var inline = document.getElementById('inline');
img_src.style.visibility = 'visible';
inline.style.visibility = 'hidden';
var src_radio = document.getElementById('source_radio');
if (src_radio) src_radio.checked = true;
}
function showInline () {
var img_src = document.getElementById('img_src');
var inline = document.getElementById('inline');
img_src.style.visibility = 'hidden';
inline.style.visibility = 'visible';
document.getElementById('inline_radio').checked = true;
}
function selectInline (radio) {
inline_selected = radio.value;
}
function imageReturn () {
var src_radio = document.getElementById('source_radio');
if (!src_radio || src_radio.checked) {
var img = document.createElement('IMG');
img.src = document.getElementById('img_src').value
editor.returnImage(img);
}
else if (document.getElementById('inline_radio').checked) {
editor.returnImage(inline_selected, true);
}
window.close();
}
function imageCancel () {
window.close();
}
function cancelEvent (evt) {
if (is_ie) evt.cancelBubble = true;
else evt.stopPropagation();
}
</script>
</head>
<body class="body">
<form onsubmit="imageReturn()">
<script>
if (num_att > 0) {
document.write('<div style="position: absolute; left: 10px; top: 5px; height: 20px; cursor: default" onclick="showSource()"><input type="radio" id="source_radio" name="image_type" value="source" onclick="showSource()" checked style="position: relative; top: 2px"> Image Location</div>\n' +
'<div style="position: absolute; right: 10px; top: 5px; height: 20px; cursor: default" onclick="showInline()"><input type="radio" id="inline_radio" name="image_type" value="inline" style="position: relative; top: 2px"> Inline Image</div>\n' +
'<div id="source" style="position: absolute; left: 10px; top: 30px; height: 40px">\n' +
' <input id="img_src" name="img_source" value="http://" style="width: 300px">\n' +
'</div>\n');
document.write('<div id="inline" style="position: absolute; left: 10px; top: 30px; height: 40px; width: 300px; visibility: hidden; overflow: auto">\n');
for (i in attachments) {
var filename = i.replace(/"/, '&quot;').replace(/&/, '&amp;').replace(/>/, '&gt;').replace(/</, '&lt;');
document.write('<span style="white-space: nowrap; cursor: default" onclick="this.childNodes[0].click();"><input type="radio" name="inline_image" value="' + filename + '" onclick="selectInline(this)" style="position: relative; top: 2px"> ' + filename + '</span>\n');
}
document.write('</div>\n');
}
else {
document.write('<div style="position: absolute; left: 10px; top: 10px; height: 20px">Image Location:</div>\n' +
'<div id="source" style="position: absolute; left: 10px; top: 30px; height: 40px">\n' +
' <input id="img_src" name="img_source" value="http://" style="width: 300px">\n' +
'</div>\n');
}
document.write('<div style="position: absolute; left: 10px; top: 80px; bottom: 5px"><input type="button" class="button" onclick="imageReturn()" value="Submit"></div>\n');
document.write('<div style="position: absolute; right: 10px; top: 80px"><input type="button" class="button" onclick="imageCancel()" value="Cancel"></div>\n');
</script>
</form>
</body>
</html>

View File

@ -0,0 +1,30 @@
<html>
<head>
<title>Create a Link</title>
<style><%include editor_dialog.css%></style>
<script>
function returnLink() {
var url = document.getElementById('url').value;
if (url.search('http') == -1) {
alert("Please correct the URL");
return;
}
opener.dialogWindow.editor.returnLink(url);
window.close();
}
</script>
</head>
<body class=body>
<BR>
<table border=0 cellpadding=3 align=center>
<tr class=body>
<td valign="top">URL:</td>
<td align="right" valign="top">
<input size="40" id="url" name="url" value="http://"><br>
<input type="button" class=button onclick="returnLink()" value="Submit">
<input type="button" class=button onclick="window.close();" value="Cancel">
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,2 @@
<span id="load_bar" class="body"><div style="position: relative; left: 10px; top:100px; visibility: visible; font-family : Verdana, Arial, Helvetica, sans-serif; font-size: 12px">Loading...</div></span>
<iframe id="editor_iframe" style="position:ralative; width: 100%; height: 100%; visibility: hidden" scrolling="no" src="glist.cgi?do=msg_page;pg=editor_iframe.html;t=common<%hidden_query%>"></iframe>

View File

@ -0,0 +1,50 @@
<html>
<head>
<title>Create Table</title>
<style><%include editor_dialog.css%></style>
</head>
<script>
var numrows, numcols, paddind, spacing, width, border;
function initDialog() {
numrows = document.getElementById('tb_numrows');
numcols = document.getElementById('tb_numcols');
padding = document.getElementById('tb_padding');
spacing = document.getElementById('tb_spacing');
width = document.getElementById('tb_width');
border = document.getElementById('tb_border');
}
function setReturn() {
opener.dialogWindow.editor.returnTable(numrows.value, numcols.value, width.value, padding.value, spacing.value, border.value);
window.close();
}
</script>
<body class=body onload="initDialog()">
<BR>
<table cellspacing=0 align=center width=80% align=center>
<tr class=body>
<td>Rows:</td>
<td><input type=text size=4 id=tb_numrows maxlength=3 value=3></td>
<td>Cell Padding:</td>
<td><input type=text size=1 id=tb_padding maxlength=1 value=1></td>
</tr>
<tr class=body>
<td>Columns:</td>
<td><input type=text size=4 id=tb_numcols maxlength=3 value=3></td>
<td>Cell spacing:</td>
<td><input type=text size=1 id=tb_spacing maxlength=1 value=1></td>
</tr>
<tr class=body>
<td>Width</td>
<td><input type=text size=4 maxlength=4 id=tb_width value="100%"></td>
<td>Border:</td>
<td colspan=3><input type=text size=1 maxlength=1 id=tb_border value="1"></td>
</tr>
</table>
<HR>
<div align=right>
<input type="button" class=button ONCLICK="setReturn();" value="Submit">
<input type="button" class=button ONCLICK="window.close();" value="Cancel">&nbsp;
</div>

View File

@ -0,0 +1,27 @@
/* inline spellcheck */
.spell {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
background-color: #E8F9E6;
border: 1px inset #cccccc;
}
.spell-updated {
color: #326aaf;
}
.spell-misspelled {
color: #ff0000;
}
.spell-menu {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
background-color: #CCCCCC;
border: 1px outset #CCCCCC;
}
.spell-menu-mouse-out {
background-color: #CCCCCC;
}
.spell-menu-mouse-over {
background-color: #797AA1;
color: #ffffff;
}

View File

@ -0,0 +1,59 @@
<script src="<%static_url%>/js/utils.js"></script>
<script src="<%static_url%>/js/spellcheck.js"></script>
<script src="<%static_url%>/js/editor.js"></script>
<script>
<%include utils.js%>
var sc = new spellCheck('sc');
sc.config.imageURL = "<%image_url%>/pics";
sc.config.addPermission = true;
sc.config.menuMaxRows = <%if suggested_word_num%><%suggested_word_num%><%else%>10<%endif%>
sc.config.addWord = 'msg_addword';
sc.config.disableElements = [
'button_attach',
'button_mode',
'button_text',
'button_create',
'button_reset',
'url_switch'
];
<%if emode eq 'html' or emode eq 'multi'%>
<%if ie_version < 5.5 and mozilla_version < 1.4%>
<%set editor_advanced = 0%>
<%endif%>
<%elsif emode eq 'text'%>
<%set editor_advanced = 0%>
<%endif%>
<%if editor_advanced%>
var ae = new advancedEditor('ae');
ae.config.imageURL = "<%image_url%>/toolbar";
ae.config.baseURL = "<%cgi_url%>/glist.cgi?do=msg_page;t=common;pg=";
ae.config.extraURL = "<%hidden_query%>";
ae.names.editorForm = 'myform';
ae.names.contentObject = 'msg_content_html';
ae.deleteCommand(['normal', 'form', 'sep7']);
ae.deleteCommand((isIE ? 'sep0' : 'sep1'));
ae.toolbar['image'][0] = 'showDialog("editor_image.html", 380, 120)';
sc.names.checkContent = 'msg_content_html';
sc.editor = ae;
<%else%>
sc.names.checkContent = "<%if emode eq 'text'%>msg_content_text<%else%>msg_content_html<%endif%>";
<%endif%>
<%if emode eq 'multi'%>
sc.names.checkContent = ['msg_content_html', 'msg_content_text'];
sc.names.checkResult = ['result_spellcheck', 'result_spellcheck2'];
sc.isMultiple = true;
<%endif%>
var old = window.onload;
window.onload = function () {
if (old) old();
if (typeof(ae) == 'object') ae.load();
sc.load();
}
</script>

View File

@ -0,0 +1,70 @@
<script>
var interval_handle;
function init() {
var sc = parent.sc;
if (typeof(sc) == 'undefined') {
alert("Object spellcheck does not exist. Please check your template!");
return;
}
if (sc.loaded) {
clearInterval(interval_handle);
<%if do eq 'msg_addword'%>
<%if error%>alert("<%error%>")<%else%>alert("'<%word%>' has been added to the dictionary.")<%endif%>
<%endif%>
var objects = sc.objects;
objects.checkForm = document.result_form;
<%if words or $text_words%>
loadWords();
if (objects.checkContent != 'undefined' && objects.checkForm)
sc.check();
<%endif%>
sc.formLoaded = true;
}
}
function loadWords() {
var sc = parent.sc;
sc.words[0] = [
<%loop words%>
['<%escape_js word%>', <%if misspelled%>1, '<%escape_js word%>'<%else%>0<%endif%>]<%unless last%>,<%endunless%><%--
--%><%endloop%>
];
<%if misspellings%>
sc.corrections[0] = {
<%misspellings%>
};
sc.misspelled = true;
<%else%>
sc.misspelled = false;
<%endif%>
sc.words[1] = [
<%loop text_words%>
['<%escape_js word%>', <%if misspelled%>1, '<%escape_js word%>'<%else%>0<%endif%>]<%unless last%>,<%endunless%><%--
--%><%endloop%>
];
<%if text_misspellings%>
sc.corrections[1] = {
<%text_misspellings%>
};
sc.misspelled = true;
<%endif%>
}
window.onload = function() {
interval_handle = setInterval(init, 500);
}
</script>
<body>
<form name="result_form" action="glist.cgi" method="post">
<%hidden_objects%>
<input id="do" name="do" type="hidden" value="msg_spellcheck">
<input name="inline" type="hidden" value="1">
<input name="emode" type="hidden" value="<%if emode%><%emode%><%endif%>">
<input name="advanced_editor" type="hidden" value="0">
<input name="compose_is_html" type="hidden" value="0">
<input name="content" type="hidden" value="">
<%if emode eq 'multi'%><input name="content2" type="hidden" value=""><%endif%>
</form>
</body>

View File

@ -0,0 +1,7 @@
<style><%include spellcheck.css%></style>
<div id="result_spellcheck" style="position: absolute; text-align:left; visibility: hidden; width: 97%; height:0px; overflow: auto; padding: 4px"></div>
<%if emode eq 'multi'%>
<div id="result_spellcheck2" style="position: absolute; text-align:left; visibility: hidden; width: 97%; height:0px; overflow: auto; padding: 4px"></div>
<%endif%>
<div id="suggest_menu" style="position: absolute; visibility: hidden; cursor: default; padding: 1px"></div><br>
<iframe id="frame_spellcheck" style="visibility: hidden; height: 0px; width: 0px" src="glist.cgi?do=msg_spellcheck;load=1;emode=<%emode%>;t=common<%hidden_query%>"></iframe>

View File

@ -0,0 +1,78 @@
<%GList::Config::tpl_load%>
<html>
<body>
<head>
<title>Gossamer List Setup: Step 1</title>
<%include include_style.txt%>
</head>
<body bgcolor="#FFFFFF">
<form method="POST" action="glist.cgi" name="myform">
<input type="hidden" name="prefix" value="glist_" />
<input type="hidden" name="password" value="" />
<input type="hidden" name="login" value="" />
<input type="hidden" name="database" value="GList" />
<input type="hidden" name="host" value="localhost" />
<input type="hidden" name="server" value="mysql" />
<input type="hidden" name="initial_step" value="2" />
<input type="hidden" name="page" value="admin_initial_setup_second.html" />
<%hidden_objects%>
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
<tr>
<td valign=middle>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
<td width=100% class=bold_white><b> GList Setup - Step 1</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr class=body>
<td class=body>
<blockquote>
<p class=body>Welcome to GList. Before you can begin to use the program, we need to setup GList to work with your
SQL server. You will need to know the following information before proceeding:</p>
<ul><li>SQL Server Type - common types include mysql, MS-SQL, Oracle<BR>
<li>SQL Hostname - which computer your sql server resides on, typically this is localhost.<BR>
<li>SQL Database Name - which database you want GList to use.<BR>
<li>SQL Username/Password - a username/password to log on to the SQL database.
</ul>
<p class=body>If you don't know the answer to any of this, please contact your ISP. If you are still stuck, please visit our support page at:</p>
<blockquote>
<p class=body><a href="http://gossamer-threads.com/scripts/support/"><font face="Tahoma,Arial,Helvetica" size="2">http://gossamer-threads.com/scripts/support/</a></p>
</blockquote>
</blockquote>
<p align="center"><input type="submit" class=button value="Next &gt;&gt;" /></p><br />
</td>
</tr>
<tr class=body>
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>

View File

@ -0,0 +1,114 @@
<html>
<body>
<head>
<title>Gossamer List Setup: Step 2</title>
<%include include_style.txt%>
</head>
<body bgcolor="#FFFFFF">
<form method="POST" action="glist.cgi">
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
<tr>
<td valign=middle>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
<td width=100% class=bold_white><b> GList Setup - Step 2</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td><BR />
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr class=body>
<td class=body>
<blockquote>
<%if error%>
<p class=body><b><font color="red">Error:</b><%error%></font></p>
<p class=body>Please fix the error below and try again:</p>
<%else%>
Please enter the following information:
<%endif%>
<table border="0" cellpadding="2" cellspacing="3">
<tr class=body>
<td valign="top" align="left" width="150" class=body>SQL Server Type:</td>
<td valign="top" align="left" width="300">
<select size="1" name="driver" class=object>
<option value="mysql"<%if driver eq 'mysql'%> selected<%endif%>>Mysql</option>
<option value="ODBC"<%if driver eq 'ODBC'%> selected<%endif%>>MS SQL 7</option>
<option value="Oracle"<%if driver eq 'Oracle'%> selected<%endif%>>Oracle</option>
<option value="Pg"<%if driver eq 'Pg'%> selected<%endif%>>Postgres</option>
</select>
</td>
</tr>
<tr class=body>
<td valign="top" align="left" width="150" class=body>SQL Hostname:</td>
<td valign="top" align="left" width="300">
<input type="text" name="host" size="25" class=object value="<%if host%><%host%><%else%>localhost<%endif%>" />
</td>
</tr>
<tr class=body>
<td valign="top" align="left" width="150" class=body>SQL Database:</td>
<td valign="top" align="left" width="300">
<input type="text" name="database" class=object size="25" value="<%if database%><%database%><%endif%>" />
</td>
</tr>
<tr class=body>
<td valign="top" align="left" width="150" class=body>SQL Username:</font></td>
<td valign="top" align="left" width="300">
<input type="text" name="login" size="25" class=object value="<%if login%><%login%><%endif%>" />
</td>
</tr>
<tr class=body>
<td valign="top" align="left" width="150" class=body>SQL Password:</font></td>
<td valign="top" align="left" width="300">
<input type="password" name="password" class=object value="" size="25" />
</td>
</tr>
<tr class=body>
<td class="body">Prefix:</td>
<td><input class=object name="prefix" type=text value="<%if prefix%><%prefix%><%else%>glist_<%endif%>" size=25 /></td>
</tr>
<tr class=body>
<td valign="top" align="left" width="150" class=body>Overwrite</td>
<td valign="top" align="left" width="300">
<input type="checkbox" name="overwrite" value="ON"<%if overwrite%> CHECKED<%endif%> />
</td>
</tr>
</table>
<p class=body>GList will verify the program and create your SQL tables. If you have existing tables
and would like GList to drop and remove your data, click on Overwrite.</p>
</blockquote>
<p align="center"><center>&nbsp; <input type="submit" name='bnext' value="Next &gt;&gt;" class=button /></p><br />
</td>
</tr>
<tr class=body>
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type=hidden name="do" value="admin_initial_setup" />
<input type=hidden name="initial_step" value="3" />
<%hidden_objects%>
</form>
</body>
</html>

View File

@ -0,0 +1,69 @@
<html>
<body>
<head>
<title>Gossamer List Setup: Step 3</title>
<%include include_style.txt%>
</head>
<body bgcolor="#FFFFFF">
<form action="glist.cgi" method="GET">
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
<tr>
<td valign=middle>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
<td width=100% class=bold_white><b> GList Setup - Step 3</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td><BR />
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr class=body>
<td class=body>
<blockquote>
<%if message%>
<p class=body><font color=green><%message%></font>
<%endif%>
<p class=body><br />
You can now proceed and use the
program, but are advised to look through the other setup options available by
clicking on setup above. If you had any problems, please hit back on your browser
and resubmit the form.
</p>
</blockquote>
<p align="center"><input type="submit" value="Next &gt;&gt;" class=button /></p>
<br />
</td>
</tr>
<tr class=body>
<td class=body><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%if usr_email and !$use_cookie%>
<input type=hidden name="sid" value="<%sid%>" />
<%endif%>
</form>
</body>
</html>

View File

@ -0,0 +1,61 @@
<html>
<body>
<head>
<title>Gossamer List Setup SQL Database</title>
<%include include_style.txt%>
</head>
<body bgcolor="#FFFFFF">
<form method="POST" action="glist.cgi">
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
<tr>
<td valign=middle>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
<td width=100% class=bold_white><b> GList Setup SQL Database</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td><BR />
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr class="body">
<td class="body">
<blockquote>
<%if msg%><pre class="body"><%msg%></pre><%endif%>
Please enter the following information:
<%include admin_setup_include_sql.html%>
</blockquote>
<p align="center"><center>&nbsp; <input type="submit" name='setup_sql' value=" Submit " class=button /></p><br />
</td>
</tr>
<tr class="body">
<td class="body"><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="do" value="admin_initial_sql" />
<%hidden_objects%>
</form>
</body>
</html>

View File

@ -0,0 +1,65 @@
<html>
<body>
<head>
<title>Gossamer List Setup SQL Database</title>
<%include include_style.txt%>
<script>
function open_url(options) {
var url = window.location.protocol + '//' + window.location.host + window.location.pathname + '?' + options;
window.location = url;
}
</script>
</head>
<body bgcolor="#FFFFFF">
<form method="POST" action="glist.cgi">
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
<tr>
<td valign=middle>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/sqlserver.gif" hspace=2></td>
<td width=100% class=bold_white><b> GList Setup SQL Database</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td><BR />
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr class="body">
<td class="body">
<blockquote>
<uL><pre class="body"><font color="green"><%msg%></font></pre></uL>
</blockquote>
<p align="center"><center>&nbsp; <input type="button" name='setup_sql' value=" Next >> " class=button onclick="open_url('do=msg_home')" /></p><br />
</td>
</tr>
<tr class="body">
<td class="body"><b>Copyright 2002 <a href="http://gossamer-threads.com/">Gossamer Threads Inc.</a></b>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="do" value="admin_initial_sql" />
<%hidden_objects%>
</form>
</body>
</html>

View File

@ -0,0 +1,15 @@
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr class=body >
<td class=body height="97%" colspan="3" valign="top">
<ul><BR />From here you can alter any of the options that GList uses, from your database settings to your email address.
Also, if you have made a mistake, with a simple click you can restore the system defaults.<BR /><BR /></ul>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,34 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
<tr class=body_bold>
<td class=body_bold>
&nbsp;<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_setup_sql_form<%hidden_query%>">SQL Server</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_setup_form<%hidden_query%>">Paths & URLs</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_misc.html<%hidden_query%>">Misc Options</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_signup.html<%hidden_query%>">User Signup</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_stoplist<%hidden_query%>">Stop List</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_setup_form&pg=admin_setup_mailing.html<%hidden_query%>">Global Header & Footer</a>
</td>
<td align=right>
<a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=setup.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a>
</td>
</tr>
<tr class="body_bold">
<td colspan="7" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,68 @@
<ul>
<li><b>Current Settings<br><br></b>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="20%" class="body">SQL Server Type</td>
<td width="80%">
<select class="object" size="1" name="sql_driver">
<option value="mysql" <%if sql_driver eq 'mysql'%>selected<%endif%>>Mysql</option>
<option value="ODBC" <%if sql_driver eq 'ODBC'%>selected<%endif%>>MS SQL 7</option>
<option value="Oracle" <%if sql_driver eq 'Oracle'%>selected<%endif%>>Oracle</option>
<option value="Pg" <%if sql_driver eq 'Pg'%>selected<%endif%>>Postgres</option>
</select>
</td>
</tr>
<tr>
<td class="body">SQL Hostname</td>
<td><input class="object" name="sql_host" type="text" value="<%if sql_host%><%sql_host%><%endif%>" size=35 /></td>
</tr>
<tr>
<td class="body">SQL Database</td>
<td><input class="object" name="sql_database" type="text" value="<%if sql_database%><%sql_database%><%endif%>" size=35 /></td>
</tr>
<tr>
<td class="body">SQL Username</td>
<td><input class="object" name="sql_login" type="text" value="<%if sql_login%><%sql_login%><%endif%>" size=35 /></td>
</tr>
<tr>
<td class="body">SQL Password</td>
<td><input class="object" name="sql_password" type="password" value="<%if sql_password%><%sql_password%><%endif%>" size=35 /></td>
</tr>
<tr>
<td class="body">Prefix</td>
<td><input class="object" name="sql_prefix" type="text" value="<%if sql_prefix%><%sql_prefix%><%endif%>" size=35 /></td>
</tr>
</table>
</li>
</ul>
<ul>
<li>
<b class="body">If you make changes here, Mailing Lists needs to examine the new database. Your choices are<br /><br></b>
<table width="100%" border="0" cellspacing="2" cellpadding="3">
<tr>
<td width="5%" height="23">
<input type="radio" name="action" value="create" checked />
</td>
<td width="95%" height="23" class="body">Create new default Mailing Lists tables in this database
but do not overwrite any existing data.
</td>
</tr>
<tr>
<td width="5%">
<input type="radio" name="action" value="overwrite" />
</td>
<td width="95%" class="body">Create new default Mailing Lists tables in this database <b>and overwrite/erase
any existing data.</b>
</td>
</tr>
<tr>
<td width="5%">
<input type="radio" name="action" value="load" />
</td>
<td width="95%" class="body">Load table info from an existing set of tables (or resync the def
files if you have changed your defs manually).
</td>
</tr>
</table><br />
</li>
</ul>

View File

@ -0,0 +1,63 @@
<%set set_focus = 'myform.header_html'%>
<%set book_mark = 'misc_options'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td class="body" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">Misc Options</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><br/>
<%if msg%><%msg%><%else%>These are global header and footer that you can change:<%endif%><br /> <br />
<form name=myform action="glist.cgi" method=post>
<table cellspacing="1" cellpadding="2" align=center width=600>
<tr><td colspan=2 class=body>HTML header</td></tr>
<tr>
<td class="body" width=20%><b>header_html</b></td>
<td><textarea name="header_html" class="object" cols="50" rows="4"><%if cfg_header_html%><%cfg_header_html%><%endif%></textarea></td>
</tr>
<tr><td colspan=2 class=body>HTML footer</td></tr>
<tr>
<td class="body" width=20%><b>footer_html</b></td>
<td><textarea name="footer_html" class="object" cols="50" rows="4"><%if cfg_footer_html%><%cfg_footer_html%><%endif%></textarea></td>
</tr>
<tr><td colspan=2 class=body>Text header</td></tr>
<tr>
<td class="body" width=20%><b>header_text</b></td>
<td><textarea name="header_text" class="object" cols="50" rows="4"><%if cfg_header_text%><%cfg_header_text%><%endif%></textarea></td>
</tr>
<tr><td colspan=2 class=body>Text footer</td></tr>
<tr>
<td class="body" width=20%><b>footer_text</b></td>
<td><textarea name="footer_text" class="object" cols="50" rows="4"><%if cfg_footer_text%><%cfg_footer_text%><%endif%></textarea></td>
</tr>
</table>
<p align=center>
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
<br /><BR /></p>
<input name=do type=hidden value="admin_setup" />
<input name=pg type=hidden value="admin_setup_mailing.html" />
<input name=misc type=hidden value="1" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,150 @@
<%set set_focus = 'myform.reg_number'%>
<%set book_mark = 'misc_options'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td class="body" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">Misc Options</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><br/>
<%if msg%><%msg%><%else%>These are other options that you can change:<%endif%><br /> <br />
<form name=myform action="glist.cgi" method=post>
<table cellspacing="1" cellpadding="2" align=center width=600>
<tr><td colspan=2 class=body>Template set to use</td></tr>
<tr>
<td class="body" width=20%><b>template_set</b></td>
<td><%GList::Tools::_template_dir_select('template_set')%></td>
</tr>
<tr><td colspan=2 class=body>Create backup templates (.bak)</td></tr>
<tr>
<td class="body" width=20%><b>template_backups</b></td>
<td>
<select name="template_backups" class="object">
<option value="1" <%if template_backups%>selected<%endif%>>Yes</option>
<option value="0" <%ifnot template_backups%>selected<%endif%>>No</option>
</select>
</td>
</tr>
<tr><td colspan=2 class=body>Registration Number</td></tr>
<tr>
<td class="body" width=20%><b>reg_number</b></td>
<td><input class=object name="reg_number" type=text value="<%if cfg_reg_number%><%cfg_reg_number%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr><td colspan=2 class=body>Mail setup. If your server has sendmail, you should set mail_path to the path to sendmail. If you do not have sendmail (typically, Windows servers do not) or do not wish to use it, set smtp_server to the name of your SMTP server. <b>Only one should be set!</b></td></tr>
<tr>
<td class="body"><b>smtp_server</b></td>
<td><input class=object name="smtp_server" type=text value="<%if cfg_smtp_server%><%cfg_smtp_server%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr>
<td class="body"><b>mail_path</b></td>
<td><input class=object name="mail_path" type=text value="<%if cfg_mail_path%><%cfg_mail_path%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr><td colspan=2 class=body>Allowed size for attachments, in KB</td></tr>
<tr>
<td class="body"><b>max_attachments_size</b></td>
<td><input class=object name="max_attachments_size" type=text value="<%if cfg_max_attachments_size%><%cfg_max_attachments_size%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr><td colspan=2 class=body>The number bounced emails in POP account that you can check from the web.</td></tr>
<tr>
<td class="body"><b>max_bounced_emails</b></td>
<td><input class=object name="max_bounced_emails" type=text value="<%if cfg_max_bounced_emails%><%cfg_max_bounced_emails%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr><td colspan=2 class=body>Mailing Lists Debug Level. This will display debug information into the error logs, and also show debug information on any fatal error.</td></tr>
<tr>
<td class="body"><b>debug_level</b></td>
<td>
<select name="debug_level" class="object">
<option value="0" <%ifnot cfg_debug_level%>selected<%endif%>>disabled</option>
<option value="1" <%if cfg_debug_level%>selected<%endif%>>enabled</option>
</select>
</td>
</tr>
<tr class=body>
<td colspan=2 class=body>
Choose whether or not to generate a session_id. If this is set to "No", users will have to configure their browsers to allow cookies to view the database.
</td></tr>
<tr class="body">
<td class="body"><b>user_session</b></td>
<td class="body">
<select name="user_session" class="object">
<option value="0" <%ifnot cfg_user_session%>selected<%endif%>>No</option>
<option value="1" <%if cfg_user_session%>selected<%endif%>>Yes</option>
</select>
</td>
</tr>
<tr><td colspan=2 class=body>Session expiry time, in hours</td></tr>
<tr>
<td class="body"><b>session_exp</b></td>
<td><input class=object name="session_exp" type=text value="<%if cfg_session_exp%><%cfg_session_exp%><%endif%>" size='3' maxlength="3" /></td>
</tr>
<tr><td colspan=2 class=body>Highlight Color </td></tr>
<tr>
<td class="body"><b>highlight_color</b></td>
<td class="body">
<select name="highlight_color" class="object">
<option value="0" <%ifnot cfg_highlight_color%>selected<%endif%>>No</option>
<option value="1" <%if cfg_highlight_color%>selected<%endif%>>Yes</option>
</select>
</td>
</tr>
<tr><td colspan=2 class=body>Display the limit bar</td></tr>
<tr>
<td class="body"><b>display_limit_bar</b></td>
<td class="body">
<select name="display_limit_bar" class="object">
<option value="0" <%ifnot cfg_display_limit_bar%>selected<%endif%>>No</option>
<option value="1" <%if cfg_display_limit_bar%>selected<%endif%>>Yes</option>
</select>
</td>
</tr>
<tr><td colspan=2 class=body>Use IFRAME for Open Message tracking</td></tr>
<tr>
<td class="body"><b>iframe_tracking</b></td>
<td class="body">
<select name="iframe_tracking" class="object">
<option value="0" <%ifnot cfg_iframe_tracking%>selected<%endif%>>No</option>
<option value="1" <%if cfg_iframe_tracking%>selected<%endif%>>Yes</option>
</select>
</td>
</tr>
<tr><td colspan=2 class=body>Custom Error Handler. Mailing Lists will display the following HTML on any error message that is generated. If left blank, the default error will be shown. You can only use two template tags in this: &lt;%error%&gt; for the error message, and &lt;%environment%&gt; for a complete debug message.</td></tr>
<tr>
<td class="body"><b>error_message</b></td>
<td><textarea class=object name="error_message" cols=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> rows=3><%if cfg_error_message%><%cfg_error_message%><%endif%></textarea></td>
</tr>
<tr><td colspan=2 class=body>This should be HTML code, you can add the code below to your website to get new subscribers on the list.</td></tr>
<tr>
<td class="body"><b>html_code</b></td>
<td><textarea class=object name="html_code" cols=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> rows=5><%if cfg_html_code%><%cfg_html_code%><%endif%></textarea></td>
</tr>
</table>
<p align=center>
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
<br /><BR /></p>
<input name=do type=hidden value="admin_setup" />
<input name=pg type=hidden value="admin_setup_misc.html" />
<input name=misc type=hidden value="1" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,64 @@
<%set set_focus = 'myform.priv_path'%>
<%set book_mark = 'path_options'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name="myform" action="glist.cgi" method="post">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/paths_urls.gif" hspace="2" vspace="0" align="texttop">Paths & URLs</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><br/>
<table cellspacing="1" cellpadding="2" border=0 width=95% align=center>
<tr>
<td class="body" align="center">
<%if msg%><%msg%><%else%>These are the only paths you should need to set in the program. Most should be set properly and should not require changing.<%endif%><br /> <br />
</td>
</tr>
</table>
<table cellspacing="1" cellpadding="4" align=center>
<tr><td colspan=2 class=body>This should be the PATH to the directory where your library is. No trailing slash please.</td></tr>
<tr>
<td class="body" width=20%><b>priv_path</b></td>
<td class="body"><input class=object name="priv_path" type=text value="<%if cfg_priv_path%><%cfg_priv_path%><%endif%>" size=35 /><font color="green">*</font></td>
</tr>
<tr><td colspan=2 class=body>This should be the URL to where your public cgi scripts are.</td></tr>
<tr>
<td class="body"><b>cgi_url</b></td>
<td class="body"><input class=object name="cgi_url" type=text value="<%if cfg_cgi_url%><%cfg_cgi_url%><%endif%>" size=35 /><font color="green">*</font></td>
</tr>
<tr><td colspan=2 class=body>This should be the URL to where your public images are.</td></tr>
<tr>
<td class="body"><b>image_url</b></td>
<td class="body"><input class=object name="image_url" type=text value="<%if cfg_image_url%><%cfg_image_url%><%endif%>" size=35 /><font color="green">*</font></td>
</tr>
<tr><td colspan=2 class=body>This should be the path to perl. NT Users should use drive letter as well.</td></tr>
<tr><td colspan=2 class=body align=right><font color="green">*: required</font></td></tr>
</table>
<p align="center">
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
<br /><BR/></p>
</td>
</tr>
</table>
<input name=do type=hidden value="admin_setup" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,92 @@
<%set set_focus = 'myform.signup_restricted_email'%>
<%set book_mark = 'misc_options'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td class="body" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/options.gif" hspace="2" vspace="0" align="texttop">User Signup Options</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><BR/>
<%if msg%><%msg%><%else%>These are other options that you can change:<%endif%><br /> <br />
<form name=myform action="glist.cgi" method=post>
<table cellspacing="2" cellpadding="3" align=center width=600>
<tr><td colspan=2 class=body>If enabled, users can signup to the system.</td></tr>
<tr>
<td class="body" width=20%><b>signup_enable</b></td>
<td class="body">
<input type="radio" name="signup_enable" value="1" <%if cfg_signup_enable%>checked<%endif%>>Yes
<input type="radio" name="signup_enable" value="0" <%ifnot cfg_signup_enable%>checked<%endif%>>No
</td>
</tr>
<tr><td colspan=2 class=body>Enter email addresses that users will not be able to use to signup. Enter restricted addresses one per line.</td></tr>
<tr>
<td valign="top" class="body" width=20%><b>signup_restricted_email</b></td>
<td><textarea name="signup_restricted_email" class="object" cols="<%if is_ie or is_mozilla%>48<Mouse>C!<21>!:<Mouse>C!<21>!9<Mouse>C!<21>!7<Mouse>C!<21>!5<%else%>30<%endif%>" rows="3"><%if cfg_signup_restricted_email%><%cfg_signup_restricted_email%><%endif%></textarea></td>
</tr>
<tr><td colspan=2 class=body>If enabled, users will be sent an e-mail containing a validation code when they sign up.</td></tr>
<tr>
<td class="body" width=20%><b>signup_email_validate</b></td>
<td class="body">
<input type="radio" name="signup_email_validate" value="1" <%if cfg_signup_email_validate%>checked<%endif%>>Yes
<input type="radio" name="signup_email_validate" value="0" <%ifnot cfg_signup_email_validate%>checked<%endif%>>No
</td>
</tr>
<tr><td colspan=2 class=body>If enabled, users must be validated by administrator user.</td></tr>
<tr>
<td class="body" width=20%><b>signup_admin_validate</b></td>
<td class="body">
<input type="radio" name="signup_admin_validate" value="1" <%if cfg_signup_admin_validate%>checked<%endif%>>Yes
<input type="radio" name="signup_admin_validate" value="0" <%ifnot cfg_signup_admin_validate%>checked<%endif%>>No
</td>
</tr>
<tr><td colspan=2 class=body>Enter a regex that will ensure that the usernames new users signup with are compatible with email. Note: If you are unfamiliar with regexes, do not alter this field.</td></tr>
<tr>
<td class="body"><b>signup_username_regex</b></td>
<td><input class=object name="signup_username_regex" type=text value="<%if cfg_signup_username_regex%><%cfg_signup_username_regex%><%endif%>" size=<%if is_ie or is_mozilla%>50<%else%>30<%endif%> /></td>
</tr>
<tr><td colspan=2 class=body>Enter limit number of list.</td></tr>
<tr>
<td class="body"><b>signup_limit_list</b></td>
<td><input class=object name="signup_limit_list" type=text value="<%if cfg_signup_limit_list%><%cfg_signup_limit_list%><%endif%>" size="10" /></td>
</tr>
<tr><td colspan=2 class=body>Enter limit number of subscriber per list.</td></tr>
<tr>
<td class="body"><b>signup_limit_sublist</b></td>
<td><input class=object name="signup_limit_sublist" type=text value="<%if cfg_signup_limit_sublist%><%cfg_signup_limit_sublist%><%endif%>" size="10" /></td>
</tr>
<tr><td colspan=2 class=body>Enter limit number of email in the last 30 days.</td></tr>
<tr>
<td class="body"><b>signup_limit_email30</b></td>
<td><input class=object name="signup_limit_email30" type=text value="<%if cfg_signup_limit_email30%><%cfg_signup_limit_email30%><%endif%>" size="10" /></td>
</tr>
</table>
<p align=center>
<input type="submit" name="bsubmit" value=" Submit Changes " class=button />
<input type="submit" name="brestore" value="Restore System Defaults" class=button />
<br /><BR /></p>
<input name=do type=hidden value="admin_setup" />
<input name=pg type=hidden value="admin_setup_signup.html" />
<input name=misc type=hidden value="1" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,48 @@
<%set set_focus = 'myform.sql_driver'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/sqlserver.gif" hspace="2" vspace="0" align="texttop">SQL Server Settings</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><br/>
<form name=myform action="glist.cgi" method=post>
<table border="0" cellspacing="1" cellpadding="1" align="center">
<tr>
<td colspan="2">
<%if msg%><uL><pre><%msg%></uL></pre><%else%><p class="body" align="center">All data in GList stored in an SQL database. This screen allows you to change which SQL server to use:</p><BR><%endif%>
</td>
</tr>
<tr class="body">
<td colspan="2" class="body">
<%include admin_setup_include_sql.html%>
<p align="center"><center>
<input type="submit" name="Submit2" value=" Submit Changes " class=button />
<br /><BR /></p></center>
</td>
</tr>
</table>
<input name=do type=hidden value="admin_setup_sql" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,102 @@
<html>
<body>
<%include include_header.html%>
<%set book_mark = 'stop_list'%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/stop.gif" hspace="2" vspace="0" align="texttop">Stop List</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><BR />
<form name="sub_search" action="glist.cgi" method=post>
<table border="0" cellspacing="2" cellpadding="3" align="center">
<tr>
<td class="body"><b>Search</b></td>
<td class="body">
<input type="text" name="stl_email" value="<%if stl_email%><%stl_email%><%endif%>" class="object" size="40">
<input type="submit" class="button" name="sub_search" value="Search">
</td>
</tr>
<tr>
<td class="body"><b>Quick Search</b></td>
<td class="body"><%search_bar%></td>
</tr>
</table>
<input type="hidden" name="do" value="admin_stoplist" />
<%hidden_objects%>
</form>
<table width="600" align="center" border="0" cellspacing="0">
<%if msg%><tr><td class="body"><%msg%></td></tr><%endif%>
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
</table>
<form name=myform action="glist.cgi" method=post>
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_bold">
<td width="30%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Email
<%else%>
<a href="glist.cgi?do=admin_stoplist;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
</tr>
<%loop results%>
<input type="hidden" name="<%row_num%>-stl_id" value="<%stl_id%>" />
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td class="body"><%stl_email%></td>
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
</tr>
<%endloop%>
</table>
</td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
<td align="right">
<input name="badd" type="button" value="Add Emails" class="button" onclick="open_url('do=admin_stoplist;form=1<%hidden_query%>')" />
<%if hits%><input name="bdelete" type="button" value="Delete Emails" class="button" onclick="init_do('myform', 'admin_stoplist_delete', null, null, 'admin_', null, 2)" /><%endif%>
</td>
</tr>
</table>
<input type="hidden" name="do" value="admin_stoplist" />
<%hidden_query%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,81 @@
<html>
<body>
<%include include_header.html%>
<%set book_mark = 'stop_list'%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/stop.gif" align="texttop" hspace="2" vspace="0">Add Stop List</td>
<td align="right"><a href="glist.cgi?do=admin_stoplist<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table><BR />
<form name="myform" action="glist.cgi" method=post>
<table border="0" cellspacing="0" cellpadding="0" height="80%" align="center">
<%if msg%><tr><td class="body"><%msg%><br /><br /></td></tr><%endif%>
<%if confirmation%>
<tr>
<td class="body">
<font color="red">The new Stop List will permanently remove <b><%found_emails%></b> addresses from active lists.</font><BR/><BR/>
<div style="position: relative; width:500px; height:<%if loop_hits >5%>200px<%else%>100px<%endif%>; overflow:auto;">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="body"><b>Email</b></td>
<td class="body" align="center"><b>Delete</b></td>
</tr>
<%loop loop_results%>
<tr>
<td class="body"><%email%></td>
<td class="body" align="center"><%if found%><%found%><%endif%></td>
</tr>
<%endloop%>
</table>
</div>
</td>
</tr>
<tr>
<td class="body" align="center">
<b>Are you sure you want to add above email(s) to your Stop List?</b> <BR />
<input type="hidden" value="<%data%>" name="emails">
<input type="submit" value=" Yes " class="button">
<input type="button" value=" No " class="button" onclick="window.history.back()">
</td>
</tr>
<%else%>
<tr>
<td height="60%"class="body">Email Addresses<BR/>
<textarea name="emails" class="object" cols="60" rows="20"><%if emails%><%emails%><%endif%></textarea>
</td>
</tr>
<tr>
<td align=center height="20%" valign=top><BR />
<input name="bsearch" type=submit value="Add Emails" class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
<%endif%>
</table>
<input type="hidden" name="do" value="admin_stoplist_<%if confirmation%>add<%else%>confirm<%endif%>" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,50 @@
<%set book_mark = 'stop_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/stop.gif" align="texttop" hspace="2" vspace="0">Stop List</td>
<td align="right"><a href="glist.cgi?do=admin_stoplist<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<center>
<div style="position: relative; width:500px; height:300px; overflow:auto;">
<table border="0" cellspacing="0" cellpadding="0" width="95%">
<tr>
<td class="body" colspan="2"><br /><font color="green"><b><%successful%></b> out of <b><%hits%></b> email addresses were added.</font>
<%if invalid%><br /><font color="red"><b><%invalid%></b> invalid email addresses.</font><%endif%>
<%if duplicate%><br /><b><%duplicate%></b> duplicate email addresses.<%endif%>
<br /><br />
</td>
</tr>
<%loop results%>
<tr class=body>
<td><%email%></td>
<td> &nbsp;[ <%if status%><%status%><%else%><font color="green"><b>Added</b></font><%endif%> ]</td>
</tr>
<%endloop%>
</table>
</div>
</center>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,148 @@
<%set set_focus = 'myform.tpl_dir'%>
<%set book_mark = 'tpl_email'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/glist.gif" hspace="2" vspace="0" align="texttop">Edit Templates</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table>
<form name=myform action="glist.cgi" method=post>
<table width="" border="0" cellspacing="0" cellpadding="0" align=center>
<tr valign="middle" class=body>
<td height="0" class=body><br />
<%GList::Tools::default_email_editor%>
<%if bsave%>
<%if save_as%>
<%set template_file = $save_as%>
<%else%>
<%set template_file = $tpl_file%>
<%endif%>
<%if demo%>
<%set msg = '<font color="red">Template Editor has been disabled in the demo!</font>'%>
<%else%>
<%if tpl_to eq '' or tpl_from eq '' or tpl_subject eq '' or tpl_body eq ''%>
<%set error = '<font color="red">Required fields are not specified!</font>'%>
<%else%>
<%GT::Mail::Editor::tpl_save(
dir => $tpl_dir,
template => $selected_dir,
file => $template_file,
header => To => $tpl_to,
header => Subject => $tpl_subject,
header => From => $tpl_from,
extra_headers => $extra_headers,
body => $tpl_body
)%>
<%endif%>
<%if error%>
<%set msg = $error%>
<%set color = red%>
<%else%>
<%set msg = "Template saved successfully."%>
<%endif%>
<%endif%>
<%elsif bload%>
<%GT::Mail::Editor::tpl_load(
dir => $tpl_dir,
template => $selected_dir,
file => $tpl_file,
header => To,
header => From,
header => Subject
)%>
<%if error%>
<%set msg = $error%>
<%set color = red%>
<%else%>
<%set loaded = 1%>
<%endif%>
<%endif%>
<table border="0" cellspacing="2" cellpadding="2" align=center>
<tr class=body>
<td class=body>Templates Set</td>
<td class=body>
<%dir_select%>
<input name="bchange" value="Change" type=submit class=button />
</td>
</tr>
<tr class=body>
<td class=body>Templates</td>
<td class=body>
<%select_list%>
<input name="bload" value=" Load " type=submit class=button />
</td>
</tr>
<tr class=body>
<td class=body>To</td>
<td>
<input type="text" class="object" name="tpl_to" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_To%><%elsif tpl_to%><%tpl_to%><%endif%>" /> *
</td>
</tr>
<tr class=body>
<td class=body>Subject</td>
<td>
<input type="text" class="object" name="tpl_subject" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_Subject%><%elsif tpl_subject%><%tpl_subject%><%endif%>" /> *
</td>
</tr>
<tr class=body>
<td class=body>From</td>
<td>
<input type="text" class="object" name="tpl_from" size="<%if is_ie or is_mozilla%>70<%else%>50<%endif%>" value="<%if loaded%><%escape_html header_From%><%elsif tpl_from%><%tpl_from%><%endif%>" /> *
</td>
</tr>
<tr class=body>
<td class=body>Extra Headers</td>
<td>
<textarea name="extra_headers" cols=70 rows=2 class=object><%if loaded%><%loop extra_headers%><%escape_html name%>: <%escape_html value%><%endloop%><%elsif extra_headers%><%extra_headers%><%endif%></textarea>
</td>
</tr>
<tr class=body>
<td class=body>E-mail body *</td>
<td align=right>
<font color="green">*: required</font>
</td>
</tr>
<tr class=body>
<td colspan=2>
<textarea cols="<%if is_ie%>120<%elsif is_mozilla%>100<%else%>90<%endif%>" rows=16 name="tpl_body" class=object><%if loaded%><%escape_html body%><%elsif tpl_body%><%tpl_body%><%endif%></textarea>
</td>
</tr>
<tr class=body>
<td valign=top class=body colspan="2">
<%if tpl_file%>
<input name="save_as" type=hidden size=30 class="object" value="<%tpl_file%>" />
<input type="submit" name="bsave" value=" Save Template " class="button" />
<%endif%>
<%if msg%><font color="<%if color%><%color%><%else%>green<%endif%>"><%msg%></font><%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type=hidden name="do" value="admin_page" />
<input type=hidden name="pg" value="admin_template_default.html" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,62 @@
<%set book_mark = 'tpl_global'%>
<%GList::Tools::global_editor%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td class="body" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/globals.gif" hspace="2" vspace="0" align="texttop">Globals</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table><br />
<%if message%><%message%><%else%>From here you can quickly edit globals that can be used in any template.<%endif%><br /><br />
<form name="myform" action="glist.cgi" method="post">
<table border="0" cellPadding="3" cellSpacing="3" width="500" valign="top" align=center>
<tr>
<td>
<table border="0" width="100%">
<tr>
<td class=body><b>Global Name</b></td>
<td class=body><b>Value</b></td>
<td class=body><b>Delete/<br />Restore</b></td>
</tr>
<%global_table%>
<tr>
<td valign="top" class="body">
<nobr>New:
<input name="new" size="10" value="" class="object">
</nobr>
</td>
<td>
<textarea wrap="off" rows="5" cols="50" name="new-val" class="object"><%if new-val%><%new-val%><%endif%></textarea>
</td>
<td>&nbsp;</td>
</tr>
</table>
<p><center><input type="submit" value="Save Changes" class=button name="save" /></center></p>
</td>
</tr>
</table>
<input type="hidden" name="do" value="admin_page" />
<input type="hidden" name="pg" value="admin_template_global.html" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,36 @@
<%set set_focus = 'myform.tpl_dir'%>
<%set book_mark = 'template'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<form name=myform action="glist.cgi" method=post>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/template.gif" hspace="2" vspace="0" align="texttop">Edit Templates</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table>
<%include admin_template_include_record.html%>
<input name=do type=hidden value="admin_page" />
<input name=pg type=hidden value="admin_template_home.html" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,26 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
<tr class=body>
<td class=body_bold class="body">
&nbsp;<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>">Templates</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_page&pg=admin_template_default.html<%hidden_query%>">Default Email Templates</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_page&pg=admin_template_language.html<%hidden_query%>">Language</a>
</td>
<td class=body_bold>
<img src="<%image_url%>/pics/bul.gif" width="12" height="8">
<a href="glist.cgi?do=admin_page&pg=admin_template_global.html<%hidden_query%>">Template Globals</a>
</td>
<td align=right>
<a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=templates.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a>
</td>
</tr>
<tr class="body_bold">
<td colspan="5" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,165 @@
<script language="JavaScript" src="<%static_url%>/js/overlib_mini.js"><!-- overLIB (c) Erik Bosrup --></script>
<script>
function switch_wrap() {
if (document.myform.tpl_text.wrap == 'off') {
document.myform.tpl_text.wrap = 'soft';
document.myform.bswitch.value = 'Enable Wrap ';
}
else {
document.myform.tpl_text.wrap = 'off';
document.myform.bswitch.value = 'Disable Wrap';
}
}
function resize() {
var obj = document.myform.tpl_text;
var rows = document.myform.nrows.value;
var cols = document.myform.ncols.value;
if ( isNaN(rows) || isNaN(cols) || rows < 0 || cols < 0 ) {
alert("Rows and Cols should be greater than 0")
return;
}
obj.cols = cols;
obj.rows = rows;
}
function gotoLine() {
var obj = document.myform.tpl_text;
var line = document.myform.line.value;
if (obj.innerText) {
var items = obj.innerText.split("\n");
if ( ( isNaN(line) )|| ( line > items.length ) || ( line <=0 ) || !line) {
alert('Please enter a number between 1 to ' + items.length);
return;
}
var lineContent = items[line-1];
var rangContent = '';
for (var i=0; i<line; i++) rangContent += items[i];
var items = rangContent.split(lineContent);
var numTimes = (items.length > 1) ? ( items.length-1 ) : 1;
var txtRange = obj.createTextRange();
var found = txtRange.findText(rangContent);
if (found) {
var tmp = 0;
while (txtRange.findText(lineContent)) {
tmp++;
if ( tmp == numTimes ) {
txtRange.select();
break;
}
txtRange.moveStart("character",1);
}
txtRange.scrollIntoView();
}
}
else alert('The content is empty!')
}
</script>
<%GList::Tools::template_editor%>
<%if readme%><p class="body"><%readme%></p><%endif%>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000; width:500px"></div>
<table border="0" cellPadding="1" cellSpacing="1" valign="top" align=center>
<tr class="body">
<td class="body" colspan="2"><br />
<%if success_message%><font color="green"><%success_message%></font><%elsif error_message%><font color="red"><b><%error_message%></b></font><%else%>From here you can quickly edit any of your user or admin templates.<%endif%><br /><br />
</td>
</tr>
<tr class="body">
<td class="body" width=20%>Template Set</td>
<td colspan=2>
<%dir_select%>
<input type="submit" value="Change" name="bchange" class=button />
</td>
</tr>
<tr class="body">
<td class="body" width=20% valign="top">Available templates</td>
<td colspan=2><%file_select%>
<input type="submit" value="Load" name="load" class=button /> <br />
(* denotes a modified or non-standard template)
</td>
</tr>
<%if tpl_name%>
<tr class="body">
<td class="body">Currently working on</td>
<td class="body" colspan="2">
<a href="javascript:void(0)" onmouseover="return overlib(' \
<table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#256A19&quot; border=&quot;0&quot; width=&quot;100%&quot;><tr><td> \
<table border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; width=&quot;500&quot;> \
<tr> \
<td colspan=&quot;2&quot; class=&quot;body&quot;><font color=&quot;white&quot;><b><u>File information</u></b></font></td> \
</tr> \
<tr> \
<td bgcolor=&quot;#CCCCCC&quot; width=&quot;1%&quot; class=&quot;body&quot;>Template&nbsp;path</td> \
<td bgcolor=&quot;white&quot; class=&quot;body&quot;><%file_path%></td> \
</tr> \
<tr> \
<td bgcolor=&quot;#CCCCCC&quot; class=&quot;body&quot;>File&nbsp;size</td> \
<td bgcolor=&quot;white&quot; class=&quot;body&quot;><%file_size%></td> \
</tr> \
<tr> \
<td bgcolor=&quot;#CCCCCC&quot; class=&quot;body&quot;>Status</td> \
<td bgcolor=&quot;white&quot; class=&quot;body&quot;><%if file_restore%>Modified from system default<%elseif file_local%>Custom template<%else%>System default<%endif%></td> \
</tr> \
<tr> \
<td bgcolor=&quot;#CCCCCC&quot; class=&quot;body&quot;>Last&nbsp;modified</td> \
<td bgcolor=&quot;white&quot; class=&quot;body&quot;><%file_mod_time%></td> \
</tr> \
</table> \
', FULLHTML, WIDTH, 300<%-- This doesn't actually affect the display with, but does affect the positioning --%>, CENTER);" onmouseout="return nd();"><%tpl_name%></a>
<%if file_local%>
<%if file_restore%>&nbsp;&nbsp;(<a href="javascript:rs('Help','glist.cgi?do=admin_template_diff;cmd_do=cmd_diff;txt_input=local/<%tpl_name%>;c_edit=<%tpl_name%>;work_path=<%template_set%>;hide_back_button=1', 550,650,0,20,'Yes')">diff</a>)&nbsp;&nbsp;<%endif%>
<input type="submit" class="button" <%if file_restore%>value="Restore" name="restore=<%tpl_name%>"<%else%>value="Delete" name="delete=<%tpl_name%>"<%endif%> />
<%endif%>
</td>
</tr>
<%endif%>
<tr class="body">
<td class="body">Save template as</td>
<td colspan=2>
<input type="text" name="tpl_name" value="<%tpl_name%>" size="40" class=object />
<input type="submit" value="Save" name="saveas" class=button />
</td>
</tr>
<tr>
<td colspan=3>
<%if is_ie or is_mozilla%>
<textarea rows="<%if is_ie%>22<%else%>15<%endif%>" name="tpl_text" cols="<%if is_ie%>120<%else%>100<%endif%>" class=object wrap='soft'><%tpl_text%></textarea><br /><br />
<%else%> <!-- Your browser is Netscape -->
<textarea rows="<%if rows%><%rows%><%else%>18<%endif%>" name="tpl_text" cols="<%if cols%><%cols%><%else%>90<%endif%>" wrap='on'><%tpl_text%></textarea><br /><br />
<%endif%>
</td>
</tr>
<tr class="body">
<td colspan=3>
<table width=100% border=0 cellPadding="0" cellSpacing="0">
<tr class="body">
<td class="body">
<%if is_ie or is_mozilla%>
<%if is_ie%>
<input type=button class=button name=bswitch value="Enable Wrap" onclick="switch_wrap()" />
<%endif%>
<input type=button class=button name=bresize value="Resize" onclick="resize()" />
<input type="text" name="nrows" value="<%if is_ie%>22<%else%>15<%endif%>" size="3" maxlength=3 class=object /> rows
<input type="text" name="ncols" value="<%if is_ie%>120<%else%>100<%endif%>" size="3" maxlength=3 class=object /> cols
<%else%>
<input type=submit class=button name=bresize value="Resize" />
<input type="text" name="nrows" value="<%if rows%><%rows%><%else%>18<%endif%>" size="3" maxlength=3 class=object /> rows
<input type="text" name="ncols" value="<%if cols%><%cols%><%else%>90<%endif%>" size="3" maxlength=3 class=object /> cols
<%endif%>
</td>
<td align=right class="body">
<%if is_ie%>
<script>
document.write("Line <input name='line' size=3 maxlength=4 class='object' /> <input name=goto value=' Go ' type=button onclick='gotoLine()' class=button />")
</script>
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>

View File

@ -0,0 +1,74 @@
<%set set_focus = 'myform.tpl_dir'%>
<%set book_mark = 'tpl_language'%>
<%GList::Tools::language_editor%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_template_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td class="body" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/language.gif" hspace="2" vspace="0" align="texttop">Language</td>
<td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
</tr>
</table>
<br />
<%if message%><%message%><%else%>From here you can quickly edit the language settings of your templates.<%endif%><br /><br />
<table border="0" cellPadding="3" cellSpacing="3" valign="top" align=center align=center>
<tr class=body>
<td class=body >Template Set:
<%dir_select%>
<input type="submit" value="Change" name="bchange" class=button />
<hr color="#97ACBD">
</td>
</tr>
<tr>
<td class=body><%prefix_list%></td>
</tr>
</table>
<table border="0" cellPadding="3" cellSpacing="3" valign="top" align=center width=500 align=center>
<tr class=body>
<td class=body>
<%if prefix%>
<table border=0 width=100%>
<tr>
<td class="body"><b>Language Code</b></font></td>
<td class="body"><b>Value</b></font></td>
<td class="body"><b>Delete/<br />Restore</b></font></td>
</tr>
<%language_table%>
<tr>
<td valign=top class="body"><nobr>New: <input name="new" size="10" value="" /></font></nobr></td>
<td><textarea rows="5" cols="50" class="object" name="new-val"><%if new-val%><%new-val%><%endif%></textarea></td>
<td>&nbsp;</td>
</tr>
</table>
<p><center><input type="submit" value="Save Changes" name="save" class=button /></center></p>
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type="hidden" name="do" value="admin_page" />
<input type="hidden" name="pg" value="admin_template_language.html" />
<input type="hidden" name="prefix" value="<%prefix%>" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,49 @@
<%set set_focus = 'myform.mod_usr_username'%>
<%set book_mark = 'add_user'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a New User</td>
<td align="right"><a href="glist.cgi?do=admin_user<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=100%>
<form name=myform action="glist.cgi" method="post">
<tr valign="middle" class=body>
<td height="0" height=80% class=body><br />
<%if msg%><pre class=body align=center><p align=center><%msg%></p></pre><%else%><%endif%>
<%include admin_user_include_record.html%>
</td>
</tr>
<tr>
<td height="30%" align=center valign=top>
<input type="submit" name="Submit" value="Add User" class="button" />
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user')"/><br /><br />
</td>
</tr>
<input type=hidden name="do" value="admin_user_add" />
<%hidden_objects%>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,99 @@
<html><body>
<%set book_mark = 'user_management'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
</tr>
<tr>
<td bgcolor="#7a9f54">
<%set log_usr_type = $usr_type%>
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
<tr class="body_bold">
<td width=15% bgcolor="#256A19"class="body_white">
<a href="glist.cgi?do=admin_user&sb=usr_type&so=<%if so eq 'ASC' or so eq ''%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Type</font></a>
<%if sb eq 'usr_type' or sb eq ''%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=20% bgcolor="#256A19"class="body_white">
<a href="glist.cgi?do=admin_user&sb=usr_username&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Username</font></a>
<%if sb eq 'usr_username'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=30% bgcolor="#256A19"class="body_bold">
<a href="glist.cgi?do=admin_user&sb=usr_email&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%if sb eq 'usr_email'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=32% bgcolor="#256A19" class="body_bold">
<a href="glist.cgi?do=admin_user&sb=pro_first_name&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Full Name</font></a>
<%if sb eq 'pro_first_name'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>up.gif<%else%>down.gif<%endif%>" border=0>
<%endif%>
</td>
<td width=3% align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" /></td>
</tr>
<%set usr_current = $usr_username%>
<%loop results%>
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td class="body">
<%if usr_type == 1%>Administrator<%elsif usr_type == 2%>Limited User<%elsif usr_type == 3%>Unlimited User<%else%>Unvalidated User<%endif%>
</td>
<td class="body">
<a href="glist.cgi?do=admin_user_modify_form&uid=<%usr_username%><%hidden_query%>"><%usr_username%></a>
</td>
<td class="body">
<a href="mailto:<%usr_email%>"><%usr_email%></a>
</td>
<td class="body"><%pro_first_name%> <%pro_last_name%></td>
<td align="center">
<%if usr_current ne $usr_username%>
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
<input type="hidden" name="<%row_num%>-usr_username" value="<%usr_username%>" />
<%endif%>
</td>
</tr>
<%endloop%>
</table>
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
<%if hits > $mh%>
<tr align="right" class="body">
<td colspan="2"><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr>
<td class="body"><%if msg%><%msg%><%endif%></td>
<td align="right">
<input name="badd" type="button" value="Add a User" onclick="open_url('do=admin_page;pg=admin_user_add_form.html<%hidden_query%>')" class="button" />
<%if hits%>
<input type="button" name="bdelete" value="Delete Users" onclick="init_do('myform', 'admin_user_delete', '', '', 'admin_user_')" class="button" />
<%if signup_enable%>
<input type="button" name="bvalidate" value="Validate Users" onclick="init_do('myform', 'admin_user_validate', '', '', 'admin_user_', '','', 'Please choose one or more user to validate by checking the boxes to the right of the user(s).')" class="button" />
<%endif%>
<input name="bsearch" type="button" value="Search Users" onclick="open_url('do=admin_page;pg=admin_user_search_form.html<%hidden_query%>')" class="button">
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input name=do value="delete" type="hidden" />
<%hidden_query%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,10 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
<tr class=body>
<td class=body_bold width="30%">&nbsp;<img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=admin_user<%hidden_query%>">User Management</a></td>
<td class=body_bold><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=admin_user_table">Customize Profile</a></td>
<td align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=users.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a></td>
</tr>
<tr class="body_bold">
<td colspan="<%if usr_type == 1%>6<%else%>4<%endif%>" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,199 @@
<script>
function reload_limit(obj) {
var form = document.myform;
if (obj.options[obj.selectedIndex].value == 1 || obj.options[obj.selectedIndex].value == 3) {
form.mod_usr_limit_list.value = 0;
form.mod_usr_limit_sublist.value = 0;
form.mod_usr_limit_email30.value = 0;
}
else {
var num_list = <%if mod_usr_limit_list%><%mod_usr_limit_list%><%elsif signup_limit_list%><%signup_limit_list%><%else%>10<%endif%>;
var num_sublist = <%if mod_usr_limit_sublist%><%mod_usr_limit_sublist%><%elsif signup_limit_sublist%><%signup_limit_sublist%><%else%>10<%endif%>;
var num_email30 = <%if mod_usr_limit_email30%><%mod_usr_limit_email30%><%elsif signup_limit_email30%><%signup_limit_email30%><%else%>100<%endif%>;
form.mod_usr_limit_list.value = num_list;
form.mod_usr_limit_sublist.value = num_sublist;
form.mod_usr_limit_email30.value = num_email30;
}
}
</script>
<table border="0" cellspacing="2" cellpadding="2" align="center" width=550>
<tr class=body>
<td class=body colspan="2"><li><b>Account Infomation</b></li></td>
</tr>
<tr class=body>
<td width="30%"><ul/>Username</td>
<td>
<%if modify%><b><%mod_usr_username%></b>
<input type="hidden" name="mod_usr_username" size="30" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" />
<input type="hidden" name="uid" size="30" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" />
<%else%>
<input class="object" type="text" name="mod_usr_username" size="20" value="<%if mod_usr_username%><%mod_usr_username%><%endif%>" /><font color=green>*</font>
<%endif%>
</td>
</tr>
<%if modify%>
<tr class="body">
<td class="body"><ul/>New Password</td>
<td>
<input class="object" type="text" name="mod_usr_password" size="20" value="" />
</td>
</tr>
<%else%>
<tr class="body">
<td class="body"><ul/>Password</td>
<td>
<input class="object" type="text" name="mod_usr_password" size="20" /><font color=green>*</font>
</td>
</tr>
<%endif%>
<tr class=body>
<td class=body><ul/>Email Address</td>
<td>
<input class="object" type="text" name="mod_usr_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_email%><%mod_usr_email%><%endif%>" /><font color=green>*</font>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Reply-to Email</td>
<td>
<input class="object" type="text" name="mod_usr_reply_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_reply_email%><%mod_usr_reply_email%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Bounce Email</td>
<td>
<input class="object" type="text" name="mod_usr_bounce_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_bounce_email%><%mod_usr_bounce_email%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Type</td>
<td class=body>
<%if mod_usr_username eq $usr_username%>
<%if usr_type == 1%>Administrator<%elsif usr_type == 2%>Limited User<%elsif usr_type == 3%>Unlimited User<%else%>Unvalidated User<%endif%>
<%else%>
<select name="mod_usr_type" class="object" onchange="reload_limit(this)">
<option value="1" <%if mod_usr_type == 1%>selected<%endif%>>Administrator</option>
<option value="2" <%if mod_usr_type == 2%>selected<%endif%>>Limited User</option>
<option value="3" <%if mod_usr_type == 3%>selected<%endif%>>Unlimitted User</option>
<option value="4" <%if mod_usr_type == 4%>selected<%endif%>>Unvalidated User</option>
</select>
<%endif%>
</td>
</tr>
<%if usr_type == 1%>
<tr class=body>
<td class=body><ul/>Status</td>
<td>
<select name="mod_usr_status" class=object>
<option value="1" <%if mod_usr_status == 1%>selected<%endif%>>Active</option>
<option value="2" <%if mod_usr_status == 2%>selected<%endif%>>Inactive</option>
</select>
</td>
</tr>
<%endif%>
<%if mod_usr_username ne $usr_username%>
<tr class=body>
<td class=body colspan="2"><li><b>Account Limits</b></li></td>
</tr>
<tr class="body">
<td class="body"><ul/>Number of list</td>
<td>
<input class="object" type="text" name="mod_usr_limit_list" size="20" maxlength="10" value="<%if mod_usr_limit_list%><%mod_usr_limit_list%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_list%><%signup_limit_list%><%else%>10<%endif%><%endif%>" />
</td>
</tr>
<tr class="body">
<td class="body"><ul/>Number of subscriber per list</td>
<td>
<input class="object" type="text" name="mod_usr_limit_sublist" size="20" maxlength="10" value="<%if mod_usr_limit_sublist%><%mod_usr_limit_sublist%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_sublist%><%signup_limit_sublist%><%else%>10<%endif%><%endif%>" />
</td>
</tr>
<tr class="body">
<td class="body"><ul/>Number of email in the last 30 days</td>
<td>
<input class="object" type="text" name="mod_usr_limit_email30" size="20" maxlength="10" value="<%if mod_usr_limit_email30%><%mod_usr_limit_email30%><%elsif pg eq 'admin_user_add_form.html'%><%if signup_limit_email30%><%signup_limit_email30%><%else%>100<%endif%><%endif%>" />
</td>
</tr>
<%endif%>
<tr class=body>
<td class=body colspan="2"><li><b>Profile Infomation</b></li></td>
</tr>
<%--
This auto generates the profile form, so if you add profile options it
will automatically appear.
--%>
<%GList::GUI::gui_profile_form(
td_l => 'class="body" align="left"',
td_r => 'class="body" align="left"',
required => '<font color="green">*</font>',
prefix => 'mod_'
)%>
<%--
Now add any extra application fields needed.
--%>
<tr class=body>
<td class=body colspan="2"><li><b>Default Values</b></li></td>
</tr>
<tr>
<td class="body" valign="top"><ul/>Compose Mode</td>
<td>
<select name="mod_usr_compose_mode" class="object">
<option value="text" <%if mod_usr_compose_mode eq 'text'%>selected<%endif%>>Text Only</option>
<option value="html" <%if mod_usr_compose_mode eq 'html'%>selected<%endif%>>HTML Only</option>
<option value="multi" <%if mod_usr_compose_mode eq 'multi'%>selected<%endif%>>Text & HTML</option>
</select>
</td>
</tr>
<tr>
<td class="body" valign="top"><ul/>Advanced Editor</td>
<td>
<select name="mod_usr_editor_advanced" class="object">
<option value="1" <%if mod_usr_editor_advanced%>selected<%endif%>>Yes</option>
<option value="0" <%ifnot mod_usr_editor_advanced%>selected<%endif%>>No</option>
</select>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Date format</td>
<td>
<select name="mod_usr_date_format" class=object onchange="preview_date(this, document.myform.date_preview)">
<option value="">----</option>
<option value="%dd%-%mm%-%yyyy%" <%if mod_usr_date_format eq '%dd%-%mm%-%yyyy%'%>selected<%endif%>>dd-mm-yyyy</option>
<option value="%mm%-%dd%-%yyyy%" <%if mod_usr_date_format eq '%mm%-%dd%-%yyyy%' or not $mod_usr_date_format%>selected<%endif%>>mm-dd-yyyy</option>
<option value="%yyyy%-%mm%-%dd%" <%if mod_usr_date_format eq '%yyyy%-%mm%-%dd%'%>selected<%endif%>>yyyy-mm-dd</option>
<option value="%dd%/%mm%/%yyyy%" <%if mod_usr_date_format eq '%dd%/%mm%/%yyyy%'%>selected<%endif%>>dd/mm/yyyy</option>
<option value="%mm%/%dd%/%yyyy%" <%if mod_usr_date_format eq '%mm%/%dd%/%yyyy%' or not $mod_usr_date_format%>selected<%endif%>>mm/dd/yyyy</option>
<option value="%yyyy%/%mm%/%dd%" <%if mod_usr_date_format eq '%yyyy%/%mm%/%dd%'%>selected<%endif%>>yyyy/mm/dd</option>
</select><BR/>
<input name="date_preview" class="object" value="<%if mod_usr_date_format%><%mod_usr_date_format%><%elsif pg eq 'admin_user_add_form.html'%>%mm%/%dd%/%yyyy%<%endif%>" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>">
</td>
</tr>
<tr class="body">
<td class="body" colspan="2"><ul/><br>The pop settings below are for bounced emails.</td>
</tr>
<tr class=body>
<td class=body><ul/>Server mail (POP3)</td>
<td>
<input type="text" class="object" name="mod_usr_mail_host" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if mod_usr_mail_host%><%mod_usr_mail_host%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Port</td>
<td>
<input type="text" class="object" name="mod_usr_mail_port" size=3 maxlength=3 value="<%if mod_usr_mail_port%><%mod_usr_mail_port%><%else%>110<%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Account Name</td>
<td>
<input type="text" class="object" name="mod_usr_mail_account" size=<%if is_ie or is_mozilla%>35<%else%>25<%endif%> value="<%if mod_usr_mail_account%><%mod_usr_mail_account%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Account Password</td>
<td>
<input type="password" class="object" name="mod_usr_mail_password" size=<%if is_ie or is_mozilla%>35<%else%>25<%endif%> value="<%if mod_usr_mail_password%><%mod_usr_mail_password%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body colspan="2" align=right><font color=green>(*): Required</font></td>
</tr>
</table>

View File

@ -0,0 +1,57 @@
<%set set_focus = 'myform.mod_pro_first_name'%>
<%set book_mark = 'modify_user'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify User</td>
<td align="right"><a href="glist.cgi?do=admin_user:<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<form name=myform action="glist.cgi" method="post">
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
<tr valign="middle">
<td height="0" height=70%><br />
<%if msg%><pre><p align=center><%msg%></pre></p><%endif%>
<%include admin_user_include_record.html%>
</td>
</tr>
<%if usr_type == 3 and $mod_usr_validate_code%>
<tr>
<td class="body">
<ul/>Do you want to email validate this user?
<input type="Radio" name="email_validate" value="1">Yes
<input type="Radio" name="email_validate" value="0" checked>No<BR/><BR/>
</td>
</tr>
<%endif%>
<tr valign="top">
<td height="30%" align="center" class="body">
<input type="submit" name="Submit" value="Update User" class="button" />
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user')" /><br /><br />
</td>
</tr>
</table>
<input type=hidden name="do" value="admin_user_modify" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,116 @@
<%set set_focus = 'myform.usr_username'%>
<%set book_mark = 'search_user'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Search User</td>
<td align="right"><a href="glist.cgi?do=admin_user<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<form name="myform" action="glist.cgi" method="post">
<table width=100% cellspacing="0" cellpadding="0">
<tr>
<td valign=middle>
<%if msg%><p align=center class="body"><br /><%msg%></p><%endif%><br />
<table align=center border="0" cellspacing="0" cellpadding="3">
<tr class="body">
<td colspan="3"><li><b>Search Info</b></li></td>
</tr>
<tr class="body">
<td><ul/>Type</td>
<td colspan=2>
<select class="object" name="usr_type">
<option value="1">Administrator</option>
<option value="2">Limited User</option>
<option value="3">Unlimited User</option>
<option value="4">Unvalidated User</option>
</select>
</td>
</tr>
<tr class="body">
<td><ul/>Username</td>
<td colspan=2>
<input class="object" name="usr_username" type=text size=17 value="" />
<input class="object" name="usr_username-opt" type=hidden size=40 value="=" />
</td>
</tr>
<tr class="body">
<td><ul/>Email</td>
<td colspan=2>
<input class="object" name="usr_email" type=text size=35 value="" />
</td>
</tr>
<tr class="body">
<td><ul/>Reply-to Email</td>
<td colspan=2><input class="object" type="text" name="usr_reply_email" size="35" /></td>
</tr>
<tr class="body">
<td><ul/>Bounce Email</td>
<td colspan=2><input class="object" type="text" name="usr_bounce_email" size="35" /></td>
</tr>
<%GList::GUI::gui_profile_form(
td_l => 'class="body" align="left"',
td_r => 'class="body" colspan="2" align="left"',
mode => 'search',
required => ''
)%>
<tr class="body">
<td colspan="3"><li><b>Search Options</b></li></td>
</tr>
<tr class="body">
<td><ul/>Maximum hits</td>
<td><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
<td>Match Any: <input name="ma" value=1 type=checkbox /></td>
</tr>
<tr class="body">
<td><ul/>Sort by</td>
<td colspan=2>
<select class="object" name=sb>
<option value="usr_username">Username </option>
<option value="usr_email">Email</option>
<option value="pro_first_name">First Name</option>
<option value="pro_last_name">Last Name</option>
<option value="usr_reply_email">Reply to Email</option>
<option value="usr_type">User Type</option>
</select>
<select class="object" name="so">
<option value="">---</option>
<option value="DESC">Descending</option>
<option value="ASC">Ascending</option>
</select>
</td>
</tr>
<tr>
<td align=center colspan="3"><BR />
<input name="bsearch" type=submit value=" Search " class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table><BR />
</td>
</tr>
</table>
<input type=hidden name="do" value="admin_user_search" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,57 @@
<html><body>
<%set book_mark = 'user_management'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td bgcolor="#FFFFFF"><img src="<%image_url%>/pics/1pixel.gif" height=4></td>
</tr>
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1" height="100%">
<tr class="body_bold">
<td width="30%" bgcolor="#256A19" class="body_white">Column Name</td>
<td width="20%" bgcolor="#256A19" class="body_white">Column Type</td>
<td width="10%" bgcolor="#256A19" class="body_white" align="center">Not Null</td>
<td width="10%" bgcolor="#256A19" class="body_white" align="center">Default</td>
<td width="30%" bgcolor="#256A19" class="body_white">Regex</td>
</tr>
<%loop loop_fields%>
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td class="body"><a href="glist.cgi?do=admin_user_table_modify;form=1;column=<%name%>"><%name%></a></td>
<td class="body"><%type%><%if size%> (<%size%>)<%endif%></td>
<td class="body" align="center"><%if not_null%>Yes<%else%>No<%endif%></td>
<td class="body" align="center"><%if default%><%default%><%else%>&nbsp;<%endif%></td>
<td align="center"><%if regex%><%regex%><%else%>&nbsp;<%endif%></td>
</tr>
<%endloop%>
</table>
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="1"cellpadding="1">
<tr class="body" height=30>
<td align=right colspan="5" >
<input name="badd" type="button" value="Add a Field" onclick="open_url('do=admin_user_table_add;form=1<%hidden_query%>')" class="button" />
<input name="badd" type="submit" value="Resync Database" class="button" i/>
</td>
</tr>
<tr>
<td colspan="5" class="body"><%if msg%><%msg%><%else%>Click on a "Column Name" to modify or delete an existing column, or click the "Add A Field" button.<%endif%></td>
</tr>
</table>
</td>
</tr>
</table>
<input name=do value="admin_user_table_resync" type="hidden" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,49 @@
<%set set_focus = 'myform.mod_usr_username'%>
<%set book_mark = 'add_user'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Field</td>
<td align="right"><a href="glist.cgi?do=admin_user_table<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
<form name=myform action="glist.cgi" method="post">
<tr valign="middle" class=body>
<td height="0" height="80%" class=body align="center"><br />
<%if msg%><%msg%><%else%>Add a profile field<%endif%><br/><br/>
<%include admin_user_table_include_record.html%><br/>
</td>
</tr>
<tr>
<td height="30%" align=center valign=top>
<input type="submit" name="bmodify" value="Add a Field" class="button" />
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user_table<%hidden_query%>')"/><br /><br />
</td>
</tr>
<input type=hidden name="do" value="admin_user_table_add" />
<%hidden_objects%>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,108 @@
<table border="0" cellspacing="2" cellpadding="2" align="center" width=550>
<tr class=body>
<td class=body colspan="2"><li><b>Database Infomation</b></li></td>
</tr>
<tr class=body>
<td width="40%"><ul/>Column Name</td>
<td>
<%if column%>
<b><%column%></b>
<input name="column" type="hidden" class="object" size="20" value="<%if column%><%column%><%endif%>">
<%else%>
<input name="column" type="text" class="object" size="20" value="<%if column%><%column%><%endif%>">
<%endif%>
</td>
</tr>
<tr class="body">
<td class="body"><ul/>Column Type</td>
<td>
<select name="type" class="object">
<option <%if type eq 'INT'%>selected<%endif%>>INT
<option <%if type eq 'TINYINT'%>selected<%endif%>>TINYINT
<option <%if type eq 'FLOAT'%>selected<%endif%>>FLOAT
<option <%if type eq 'CHAR'%>selected<%endif%>>CHAR
<option <%if type eq 'VARCHAR'%>selected<%endif%>>VARCHAR
<option <%if type eq 'TEXT'%>selected<%endif%>>TEXT
<option <%if type eq 'DATE'%>selected<%endif%>>DATE
<option <%if type eq 'DATETIME'%>selected<%endif%>>DATETIME
</select>
</td>
</tr>
<tr class="body">
<td class="body"><ul/>Column Index</td>
<td>
<select name="index" class="object">
<option value="none" SELECTED>None
<option value="regular">Regular
<option value="unique">Unique
</select>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Column Size<BR><font size="1">(Only for CHAR types)</font></td>
<td>
<input class="object" type="text" name="size" size="20" value="<%if size%><%size%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class="body"><ul/>Not Null</td>
<td class="body">
<input name="not_null" type="radio" value="1" <%if not_null%>checked<%endif%>>Yes
<input name="not_null" type="radio" value="0" <%ifnot not_null%>checked<%endif%>>No
</td>
</tr>
<tr class=body>
<td class=body><ul/>Default</td>
<td>
<input class="object" type="text" name="default" size="20" value="<%if default%><%default%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body colspan="2"><li><b>Form Infomation</b></li></td>
</tr>
<tr>
<td class="body" valign="top"><ul/>Form Display</td>
<td>
<input class="object" type="text" name="form_display" size="20" value="<%if form_display%><%form_display%><%endif%>" />
</td>
</tr>
<tr>
<td class="body" valign="top"><ul/>Form Type</td>
<td>
<select name="form_type" class="object">
<option value="HIDDEN" <%if form_type eq 'HIDDEN'%>selected<%endif%>>HIDDEN</option>
<option value="SELECT" <%if form_type eq 'SELECT'%>selected<%endif%>>SELECT</option>
<option value="MULTIPLE" <%if form_type eq 'MULTIPLE'%>selected<%endif%>>MULTI-SELECT</option>
<option value="CHECKBOX" <%if form_type eq 'CHECKBOX'%>selected<%endif%>>CHECKBOX</option>
<option value="RADIO" <%if form_type eq 'RADIO'%>selected<%endif%>>RADIO</option>
<option value="TEXT" <%if form_type eq 'TEXT' or form_type eq ''%>selected<%endif%>>TEXT</option>
<option value="TEXTAREA" <%if form_type eq 'TEXTAREA'%>selected<%endif%>>TEXTAREA</option>
<option value="PASSWORD" <%if form_type eq 'PASSWORD'%>selected<%endif%>>PASSWORD</option>
</select>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Form Size</td>
<td>
<input class="object" type="text" name="form_size" size="20" value="<%if form_size%><%form_size%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body><ul/>Form Names:<BR/>(Stored in Database)<BR/>Only for checkbox, multi-select or radio forms.</td>
<td>
<textarea type="text" class="object" name="form_names" cols="30" rows="3"><%if form_names%><%form_names%><%endif%></textarea>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Form Values:<br/>(Stored in Form)<br/>Only for checkbox, multi-select or radio forms.</td>
<td>
<textarea type="text" class="object" name="form_values" cols="30" rows="3"><%if form_values%><%form_values%><%endif%></textarea>
</td>
</tr>
<tr class=body>
<td class=body><ul/>Form Regex</td>
<td>
<input type="text" class="object" name="form_regex" size=20 value="<%if form_regex%><%form_regex%><%endif%>" />
</td>
</tr>
</table>

View File

@ -0,0 +1,66 @@
<%set set_focus = 'myform.mod_usr_username'%>
<%set book_mark = 'add_user'%>
<%include include_header.html%>
<script>
function del_confirm(col) {
if (confirm("Are you sure you want to permanently delete " + col + " column?")) {
var frm_obj = document.myform;
for ( i=0; i < frm_obj.length; i++ ) {
if ( frm_obj[i].name == 'do' ) {
frm_obj[i].value = 'admin_user_table_delete';
frm_obj.submit();
break;
}
}
}
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_user_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify a Field</td>
<td align="right"><a href="glist.cgi?do=admin_user_table<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0" height=100% align="center">
<form name=myform action="glist.cgi" method="post">
<tr valign="middle" class=body>
<td height="0" height="80%" class=body align="center"><br />
<%if msg%><%msg%><%else%>Modify the profile field and click the "Modify" button to save your changes. Click "Delete" if you wish to permanently remove this column from your database<%endif%><br/><br/>
<%include admin_user_table_include_record.html%><br/>
</td>
</tr>
<tr>
<td height="30%" align=center valign=top>
<input type="submit" name="bmodify" value="Modify <%column%>" class="button" />
<%if column ne 'pro_first_name' and $column ne 'pro_last_name'%>
<input type="button" name="bsubmit" value="Delete <%column%>" class="button" onclick="del_confirm('<%column%>')" />
<%endif%>
<input type="button" name="Submit2" value=" Cancel " class="button" onclick="open_url('do=admin_user_table<%hidden_query%>')"/><br /><br />
</td>
</tr>
<input type=hidden name="do" value="admin_user_table_modify" />
<%hidden_objects%>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,45 @@
<html>
<head>
<title><%if site_title%><%site_title%><%else%>Gossamer Gossamer List<%endif%> - Login</title>
<%include include_style.txt%>
</head>
<body>
<table width="600" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=bold_white height=20>
<td width=1><img src="<%image_url%>/icons/error.gif" hspace=2></td>
<td width=100% class=bold_white><%if header%><%header%><%else%>Error<%endif%></td>
<td align=right><a href="javascript:window.history.back()"><img src="<%image_url%>/icons/close.gif" border=0></a></td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<table align="center" border="0" cellspacing="1" cellpadding="1">
<tr class=body>
<td><%msg%></td>
</tr>
<tr class=body valign="bottom" align="center">
<td height="30" align=center>
<input class="button" type="button" name="Submit" value=" Back " onclick="window.history.back()">
</td>
</tr>
</table>
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,35 @@
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/help.gif" align="texttop" hspace="2" vspace="0">GT Module Documentation</td>
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%ifnot use_cookie%>&sid=<%session_id%><%endif%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table><BR />
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr class=body>
<td valign="top" class=body height="500" align="center">
<iframe name="gtdoc_iframe" width="100%" height="95%" src="glist.cgi?do=admin_gtdoc&topic=/index.html"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,43 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="9%">
<tr>
<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td width="20%"><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td width="80%" align="right" valign="bottom">
<%if usr_type == 2 and $display_limit_bar%>
<%include include_used_space.html%>
<%else%>
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
<%endif%>
</td>
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%else%>
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td width="100%" align="right" valign="bottom">
<%if usr_type == 2 and $display_limit_bar%>
<%set view_subscriber = 1%>
<%include include_used_space.html%>
<%else%>
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
<%endif%>
</td>
<td bgcolor="#008000" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%endif%>
</tr>
<tr bgcolor="#256A19">
<td colspan="<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>5<%else%>3<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
</tr>
<tr align="center" valign="bottom">
<td colspan="<%if selected_menu == 1 or selected_menu == 3 or selected_menu eq ''%>5<%else%>3<%endif%>" class="small">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr class="small">
<td class="small" align=left><b><a href="http://www.gossamer-threads.com/scripts/glist/"><%if site_title%><%site_title%><%endif%> version <%if version%><%version%><%endif%></a></b></td>
<td class="small" align=right><b>Copyright &copy;2003 <a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="Gossamer">Gossamer Threads Inc.</a><b></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,22 @@
<html>
<head>
<title><%if site_title%><%site_title%><%else%>Gossamer List<%endif%></title>
<%include include_style.txt%>
<script src="<%static_url%>/js/glist.js"></script>
<script>
function setFocus() {
<%if set_focus%>
var obj = document.<%set_focus%>;
if (typeof(obj) != 'undefined')
document.<%set_focus%>.focus();
<%endif%>
<%if call_check%>check_all();<%endif%>
}
</script>
<body bgcolor="#FFFFFF" leftmargin="5" topmargin="0" onLoad="setFocus();">
<%if usr_type == 1%>
<%include include_header_admin.html%>
<%else%>
<%include include_header_user.html%>
<%endif%>

View File

@ -0,0 +1,285 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
<tr>
<td width="20%" valign="bottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
<tr>
<td valign="middle">
<a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="site"><img src="<%image_url%>/pics/logo2.gif" hspace="0" vspace="5" border=0></a>
</td>
</tr>
<tr bgcolor="#256A19">
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
</tr>
</table>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 1 or selected_menu eq ''%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/line_left.gif" height="24" ></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=msg_home<%hidden_query%>"><div align="center">Messages</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=msg_home&msg_root=1<%hidden_query%>"><font color="#FFFFFF">Messages</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 2 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=lst_home&<%hidden_query%>"><div align="center">Lists</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=lst_home&<%hidden_query%>"><font color="#FFFFFF">Lists</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 3 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><div align="center">Mailings</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><font color="#FFFFFF">Mailings</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 4 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=pro_report&<%hidden_query%>"><div align="center">Reports</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=pro_report<%hidden_query%>"><font color="#FFFFFF">Reports</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 5 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=pro_profile&<%hidden_query%>"><div align="center">Account</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=pro_profile<%hidden_query%>"><font color="#FFFFFF">Account</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 6 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=admin_user<%hidden_query%>"><div align="center">Users</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=admin_user<%hidden_query%>"><font color="#FFFFFF">Users</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 7 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>"><div align="center">Templates</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=admin_page&pg=admin_template_home.html<%hidden_query%>"><font color="#FFFFFF">Templates</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom">
<%if selected_menu == 8 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><div align="center">Plugins</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><font color="#FFFFFF">Plugins</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
<td width="9%" valign="bottom" <%if selected_menu == 9 %>colspan=2<%endif%>>
<%if selected_menu == 9 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/line_right.gif" height="24"></td>
</tr>
<tr class="body">
<td width="95%" class="body" height="23" >
<a href="glist.cgi?do=admin_page&pg=admin_setup_home.html<%hidden_query%>"><div align="center">Setup</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif"></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=admin_page&pg=admin_setup_home.html<%hidden_query%>"><font color="#FFFFFF">Setup</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif"></td>
</tr>
</table>
<%endif%>
</td>
</tr>
<tr>
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 1 or selected_menu eq ''%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 2%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 3%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 4%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 5%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 6%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 7%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 8%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<%if selected_menu == 9%>
<td bgcolor="#E8EAD0" width="79"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="#7a9f54" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%else%>
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%endif%>
</tr>
</table>

View File

@ -0,0 +1,169 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
<tr>
<td width="20%" valign="bottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="6%">
<tr>
<td>
<a href="<%if site_url%><%site_url%><%else%>http://www.gossamer-threads.com<%endif%>" target="site"><img src="<%image_url%>/pics/logo2.gif" hspace="0" vspace="5" border=0></a>
</td>
</tr>
<tr bgcolor="#256A19">
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="5"></td>
</tr>
</table>
</td>
<td width="16%" valign="bottom">
<%if selected_menu == 1 or selected_menu eq ''%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/line_left.gif" height="24"></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
</tr>
<tr class="body">
<td width="100%" class="body_bold" height="23">
<a href="glist.cgi?do=msg_home<%hidden_query%>"><div align="center">Messages</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=msg_home&msg_root=1<%hidden_query%>"><font color="#FFFFFF">Messages</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
</tr>
</table>
<%endif%>
</td>
<td width="16%" valign="bottom">
<%if selected_menu == 2 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
</tr>
<tr class="body">
<td width="100%" class="body_bold" height="23">
<a href="glist.cgi?do=lst_home&<%hidden_query%>"><div align="center">Lists</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=lst_home&<%hidden_query%>"><font color="#FFFFFF">Lists</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
</tr>
</table>
<%endif%>
</td>
<td width="16%" valign="bottom">
<%if selected_menu == 3 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
</tr>
<tr class="body">
<td width="100%" class="body_bold" height="23">
<a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><div align="center">Mailings</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
<td width="95%%" class="body">
<div align="center"><a href="glist.cgi?do=mli_home&fd=1<%hidden_query%>"><font color="#FFFFFF">Mailings</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
</tr>
</table>
<%endif%>
</td>
<td width="16%" valign="bottom">
<%if selected_menu == 4 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_right_w.gif" ></td>
</tr>
<tr class="body">
<td width="95%" class="body_bold" height=23>
<a href="glist.cgi?do=pro_report&<%hidden_query%>"><div align="center">Reports</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=pro_report<%hidden_query%>"><font color="#FFFFFF">Reports</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
</tr>
</table>
<%endif%>
</td>
<td width="16%" valign="bottom" <%if selected_menu == 5 %>colspan=2<%endif%>>
<%if selected_menu == 5 %>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24" bgcolor="#E8EAD0">
<tr class="body">
<td valign="top" width="9" rowspan="2"><img src="<%image_url%>/menus/corner_left_w.gif" ></td>
<td width="95%" bgcolor="#008000">
<div align="center"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></div>
</td>
<td valign="top" align="right" width="9" rowspan="2"><img src="<%image_url%>/menus/line_right.gif" height="24"></td>
</tr>
<tr class="body">
<td width="95%" class="body_bold" height=23>
<a href="glist.cgi?do=pro_profile&<%hidden_query%>"><div align="center">Account</div></a>
</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" height="24">
<tr class="body">
<td valign="top" width="9"><img src="<%image_url%>/menus/corner_left_b.gif" ></td>
<td width="95%" class="body">
<div align="center"><a href="glist.cgi?do=pro_profile<%hidden_query%>"><font color="#FFFFFF">Account</font></a></div>
</td>
<td valign="top" align="right" width="9"><img src="<%image_url%>/menus/corner_right_b.gif" ></td>
</tr>
</table>
<%endif%>
</td>
</tr>
<tr>
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 1 or selected_menu eq ''%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 2%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 3%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="<%if selected_menu == 4%>#E8EAD0<%else%>#7a9f54<%endif%>"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<%if selected_menu == 5%>
<td bgcolor="#E8EAD0" width="123"><img src="<%image_url%>/pics/1pixel.gif" height="1"></td>
<td bgcolor="#7a9f54" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%else%>
<td bgcolor="#7a9f54"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<%endif%>
</tr>
</table>

View File

@ -0,0 +1,21 @@
Page:&nbsp;
<%set num_page_items = $hits%>
<%GList::GUI::gui_toolbar(
first => '<img src="$image_url/icons/first.gif" border="0" width="17" height="11" alt="First page">',
first_grey => '<img src="$image_url/icons/first_grey.gif" border="0" width="17" height="11" alt="First page">',
prev => '<img src="$image_url/icons/prev.gif" border="0" width="10" height="11" alt="Previous page">',
prev_grey => '<img src="$image_url/icons/prev_grey.gif" border="0" width="10" height="11" alt="Previous page">',
next => '<img src="$image_url/icons/next.gif" border="0" width="10" height="11" alt="Next page">',
next_grey => '<img src="$image_url/icons/next_grey.gif" border="0" width="10" height="11" alt="Next page">',
last => '<img src="$image_url/icons/last.gif" border="0" width="17" height="11" alt="Last page">',
last_grey => '<img src="$image_url/icons/last_grey.gif" border="0" width="17" height="11" alt="Last page">',
view_all => 'View All',
pages => 9,
'...' => '...',
'first_...' => 1,
'last_...' => 1,
before_page => '',
after_page => '',
before_current => '<b>',
after_current => '</b>',
)%>

View File

@ -0,0 +1,31 @@
<%if view_subscriber%>
<%GList::Tools::generate_used_bar('sublist', 220)%>
<%else%>
<%GList::Tools::generate_used_bar('email30', 220)%>
<%endif%>
<BR/>
<table cellpadding="1" cellspacing="2" width="100%">
<tr>
<%if used_percent%>
<td class="body">
<font size="1"><%used_message%></font>
<table border="0" width="220" cellpadding="0" cellspacing="0" style="border: 1px solid; color: #000000">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="<%if used_percent >= 80%>red<%else%>#ffe349<%endif%>">
<tr>
<td>
<img src="<%image_url%>/pics/1pixel.gif" width="<%if used_image_width%><%used_image_width%><%else%>1<%endif%>" height="12"></td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<%endif%>
<td align="right" class="body" valign="bottom">
<a href="glist.cgi?do=user_logout<%hidden_query%>"><img src="<%image_url%>/menus/logout.gif" width="62" height="18" hspace="1" vspace="1" border="0"></a>
</td>
</tr>
</table>

View File

@ -0,0 +1,129 @@
<table border="0" cellspacing="1" cellpadding="2" align=center>
<%if do eq 'lst_sub_modify'%>
<input type="hidden" value="<%subid%>" name="subid">
<tr class=body>
<td class=body>List</td>
<td><%lst_title%></td>
</tr>
<tr class=body>
<td class=body>Validated</td>
<td>
<select name="new_validated" class="object">
<option value="1" <%if new_validated%>selected<%endif%>>Yes</option>
<option value="0" <%ifnot new_validated%>selected<%endif%>>No</option>
</select>
</td>
</tr>
<tr class=body>
<td class=body>Bounced</td>
<td>
<input type="text" name="new_bounced" value="<%if new_bounced%><%new_bounced%><%else%>0<%endif%>" class="object">
</td>
</tr>
<%else%>
<tr class=body>
<td class=body valign="top">List</td>
<td>
<select name="import_to" class="object" multiple size="5" style="width: 330px">
<%GList::Tools::generate_list('import_to')%>
</select><font color="green"> *</font>
</td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Email address</td>
<td>
<input type="text" name="new_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_email%><%new_email%><%endif%>" class="object" /><font color="green"> *</font>
</td>
</tr>
<tr class=body>
<td class=body>Name</td>
<td>
<input type="text" class="object" name="new_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_name%><%new_name%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body>Company Name</td>
<td>
<input type="text" class="object" name="new_company" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_company%><%new_company%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body>Website Address:</td>
<td><input class="object" type="text" name="new_website" size="40" value="<%if new_website%><%new_website%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Shipping Address:</td>
<td><textarea name="new_shipping_address" rows="3" cols="30"><%if new_shipping_address%><%new_shipping_address%><%endif%></textarea></td>
</tr>
<tr class=body>
<td class=body>Race Director Name:</td>
<td><input class="object" type="text" name="new_race_director_name" size="40" value="<%if new_race_director_name%><%new_race_director_name%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Race Director Phone:</td>
<td><input class="object" type="text" name="new_race_director_phone" size="40" value="<%if new_race_director_phone%><%new_race_director_phone%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Race Director Email:</td>
<td><input class="object" type="text" name="new_race_director_email" size="40" value="<%if new_race_director_email%><%new_race_director_email%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Sponsorship coordinator Name:</td>
<td><input class="object" type="text" name="new_sponsorship_name" size="40" value="<%if new_sponsorship_name%><%new_sponsorship_name%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Sponsorship coordinator Phone:</td>
<td><input class="object" type="text" name="new_sponsorship_phone" size="40" value="<%if new_sponsorship_phone%><%new_sponsorship_phone%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Sponsorship coordinator Email:</td>
<td><input class="object" type="text" name="new_sponsorship_email" size="40" value="<%if new_sponsorship_email%><%new_sponsorship_email%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Press Relation Manager Name:</td>
<td><input class="object" type="text" name="new_pr_manager_name" size="40" value="<%if new_pr_manager_name%><%new_pr_manager_name%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Press Relation Manager Phone:</td>
<td><input class="object" type="text" name="new_pr_manager_phone" size="40" value="<%if new_pr_manager_phone%><%new_pr_manager_phone%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Press Relation Manager Email:</td>
<td><input class="object" type="text" name="new_pr_manager_email" size="40" value="<%if new_pr_manager_email%><%new_pr_manager_email%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Pro Athlete Liaison Name:</td>
<td><input class="object" type="text" name="new_pro_athlete_liaison_name" size="40" value="<%if new_pro_athlete_liaison_name%><%new_pro_athlete_liaison_name%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Pro Athlete Liaison Phone:</td>
<td><input class="object" type="text" name="new_pro_athlete_liaison_phone" size="40" value="<%if new_pro_athlete_liaison_phone%><%new_pro_athlete_liaison_phone%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Pro Athlete Liaison Email:</td>
<td><input class="object" type="text" name="new_pro_athlete_liaison_email" size="40" value="<%if new_pro_athlete_liaison_email%><%new_pro_athlete_liaison_email%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Goods &amp; Services Buyer Name:</td>
<td><input class="object" type="text" name="new_goods_buyer_name" size="40" value="<%if new_goods_buyer_name%><%new_goods_buyer_name%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Goods &amp; Services Buyer Phone:</td>
<td><input class="object" type="text" name="new_goods_buyer_phone" size="40" value="<%if new_goods_buyer_phone%><%new_goods_buyer_phone%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body>Goods &amp; Services Buyer Email:</td>
<td><input class="object" type="text" name="new_goods_buyer_email" size="40" value="<%if new_goods_buyer_email%><%new_goods_buyer_email%><%endif%>" /></td>
</tr>
<tr>
<td colspan="2"align="right" class="body"><font color="green">*: required</font></td>
</tr>
</table>

View File

@ -0,0 +1,179 @@
<html>
<body>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Subscribers</td>
<td class="body" align="right">
<%set mn_subscriber = 1%>
<%set isub_add = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table><BR />
<form name="sub_search" action="glist.cgi" method=post>
<table border="0" cellspacing="2" cellpadding="3" align="center">
<tr>
<td class="body"><b>Search</b></td>
<td class="body">
<input type="text" name="search_val" value="<%if search_val%><%search_val%><%endif%>" class="object" size="20">
By&nbsp;
<select name="search_col" class="object">
<option value="sub_email" <%if search_col eq 'sub_email' or search_col eq ''%>selected<%endif%>>Email</option>
<option value="sub_name" <%if search_col eq 'sub_name'%>selected<%endif%>>Name</option>
<option value="sub_company" <%if search_col eq 'sub_company'%>selected<%endif%>>Company Name</option>
</select>
in&nbsp;
<select name="sub_list_id_fk" class="object">
<option value="" <%ifnot search_in%>selected<%endif%>>All Lists</option>
<%GList::Tools::generate_list('sub_list_id_fk')%>
</select>
<input type="submit" class="button" name="sub_search" value="Search">
[ <a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Search Subscriber">Advanced</a> ]
</td>
</tr>
<tr>
<td class="body"><b>Quick Search</b></td>
<td class="body"><%search_bar%></td>
</tr>
</table>
<input type="hidden" name="do" value="lst_subscribers" />
<%hidden_objects%>
</form>
<%if msg%><p class="body"><%msg%></p><%endif%>
<form name=myform action="glist.cgi" method=post>
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<%if hits > $mh and $mh != -1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
</table>
<%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_bold">
<td width="20%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Email
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="19%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Name
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
<%if sb eq 'sub_name'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="20%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Company Name
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_company&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Company Name</font></a>
<%if sb eq 'sub_company'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="20%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>List
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
<%if sb eq 'sub_list_id_fk'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
<%ifnot hits%>Validated
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
<%if sb eq 'sub_validated'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
<%ifnot hits%>Bounced
<%else%>
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
<%if sb eq 'sub_bounced'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
</tr>
<%loop results%>
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
<td class="body"><%if sub_name%><%sub_name%><%else%>&nbsp;<%endif%></td>
<td class="body"><%if sub_company%><%sub_company%><%else%>&nbsp;<%endif%></td>
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
</tr>
<%endloop%>
</table>
</td>
</tr>
</table>
<%if hits%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
<tr>
<td align="right">
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Validate Subcribers" class="button" onclick="init_do('myform', 'lst_sub_validate', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
</td>
</tr>
</table>
<%endif%>
<input type="hidden" name="do" value="lst_sub_delete" />
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,49 @@
<%set set_focus = 'myform.lst_title'%>
<%set book_mark = 'create_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Create List</td>
<td align="right"><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
<form name=myform action="glist.cgi" method="post" onsubmit="return check_submit(this)">
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">
<tr>
<td>
<%if msg%><ul><p class=body><br /><%msg%></p></ul><%else%><br /><%endif%>
<%include lst_include_record.html%>
</td>
</tr>
<tr>
<td align=center valign=top>
<input name="bsearch" type=submit value="Create List" class="button" />
<input name="bdefault" type="button" value="Use Sample" class="button" onclick="set_default()" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_add" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,30 @@
<html><body>
<script>
function confirm_del(frm) {
if ( !check_edit(frm) ) {
alert('Please select records from the list!')
return false;
}
if ( !confirm("Do you want to remove selected record(s)?"))
return false;
}
</script>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post onsubmit="return confirm_del('myform')">
<%include lst_include_results.html%>
<input type=hidden name="do" value="delete" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,49 @@
<%include include_header.html%>
<%set book_mark = 'generate_html'%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">HTML of a List</td>
<td class="body" align="right">
<%set isub_import = 1%>
<%set imodify = 1%>
<%set isearch_sub = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<table width=750 align=center border="0" cellspacing="2" cellpadding="2">
<tr>
<td class=body>
To make it easy for people to subscribe to this list, you can add the code below to your website to get new subscribers!<br /><br />
</td>
</tr>
<tr>
<td align=center>
<textarea name="HTML" cols=<%if is_ie%>120<%elsif is_mozilla%>100<%else%>90<%endif%> rows=20 <%if is_ie or is_mozilla%>class=object<%endif%>><%msg%></textarea>
</td>
</tr>
</table><BR />
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,132 @@
<%set set_focus = 'myform.import_to'%>
<%set book_mark = 'import_subscriber'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Import Subscribers</td>
<td class="body" align="right" valign="middle">
<%set mn_subscriber = 1%>
<%set isub_search = 1%>
<%set isub_add = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<br />
<blockquote>
<p align=center class="body"><%if msg%><%msg%><%else%>This lets you to import the subscribers from either an existing text file or a list.<%endif%> </p>
</blockquote>
<form name=myform action="glist.cgi" ENCTYPE='multipart/form-data' method=post>
<table border="0" cellspacing="0" cellpadding="0" align=center align=center>
<tr class="body">
<td class="body"><li><b>Import into</b><br />Select lists from the list below</li></td>
</tr>
<tr>
<td class="body" align="right">
<select name="import_to" class="object" multiple size="5" style="width: 380px">
<%GList::Tools::generate_list('import_to')%>
</select>
</td>
</tr>
<tr class="body" height=25>
<td class="body"><li><b>Import Data</b></li></td>
</tr>
<tr valign="middle" class="body">
<td>
<table width="95%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr class="body">
<td width="20%" class="body">From file</td>
<td width="80%">
<input type="file" class="object" name="sub_file" size="40" />
</td>
</tr>
<tr class="body">
<td width="20%" class="body">OR </td>
<td width="80%">&nbsp;</td>
</tr>
<tr class="body">
<td width="20%" class="body" valign="top">Subscribers</td>
<td width="80%">
<textarea class="object" name="sub_data" cols="50" rows="5"><%if sub_data%><%sub_data%><%endif%></textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr class="body" height=25>
<td class="body"><li><b>Fields To Import</li></b>
<table border="0" cellspacing="0" cellpadding="0" align="center" width=90%>
<tr class="body">
<td width=3 align="center">
<input type="checkbox" name="cname" value="1" />
</td>
<td class="body">Subscriber Name</td>
<td width=3>
<div align="center">
<input type="checkbox" name="cemail" value="1" disabled checked />
</div>
</td>
<td width="45%" class="body">Subscriber Email</td>
</tr>
</table><br />
</td>
</tr>
<tr class="body" height=25>
<td><li><b>Import Options</li></b>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr class="body">
<td width="17%" valign="top" class="body"><b>Fields</b></td>
<td width="27%" class="body">Delimiter<br />
<input class="object" type="text" name="fd" size="2" maxlength="2" value="," /><br />
</td>
<td width="56%" valign="top" class="body">Escape charactor<br />
<input class="object" type="text" name="fe" size="2" maxlength="2" value="\" />
</td>
</tr>
<tr class="body">
<td width="17%" valign="top" class="body"><b>Records</b></td>
<td width="27%" class="body">Delimiter<br />
<input class="object" type="text" name="rd" size="2" maxlength="2" value="\n" />
<br />
</td>
<td width="56%" class="body">Ignore first<br />
<input class="object" type="text" name="rl" size="2" maxlength="1" value="0" /> lines </td>
</tr>
</table>
</td>
</tr>
<tr valign="bottom" align="center">
<td height="30">
<input type="submit" name="Submit" value="Import" class="button" />
<input type="reset" name="Submit2" value="Reset" class="button" />
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_import" />
<input type=hidden name="lst_id" value="<%lst_id%>" />
<%hidden_objects%>
</form>
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,85 @@
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Import Subscribers</td>
<td class="body" align="right">
<%set mn_subscriber = 1%>
<%set isub_search = 1%>
<%set isub_add = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><br />
<table width="500" border="0" cellspacing="0" cellpadding="0" align=center>
<tr class="body">
<td align="left" colspan="2">
<b>Import results:</b><br />
<%loop import_results%>
- <b><%list_name%></b>:
<%if overlimit%><font color='red'>Over subscriber limit.</font>
<%else%>
<br />
<ul><font color="<%if successful%>green<%else%>red<%endif%>"><%if declined != hits%><b><%hits - $declined%></b> out of<%endif%> <b><%hits%></b> email addresses imported</font><br />
<%if invalid%><font color="red"><b><%invalid%></b> invalid email addresses</font><br /><%endif%>
<%if duplicate%><b><%duplicate%></b> duplicate email addresses<br /><%endif%>
</ul>
<%endif%>
<%endloop%>
</td>
</tr>
</table><br />
<center>
<div style="position: relative; width:600px; height:300px; overflow:auto;">
<table border="0" cellspacing="1" cellpadding="2" width="95%">
<%loop import_results%>
<%loop results%>
<tr class=body>
<td><%sub_email%><nobr></td>
<td><%list_name%><nobr></td>
<td><nobr>&nbsp;[ <%if status%><%status%><%else%><font color="green"><b>Imported</b></font><%endif%> ]</td>
</tr>
<%endloop%>
<%endloop%>
</table>
</div>
</center>
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,20 @@
<%if sub_list_id_fk%><%set lst_id = $sub_list_id_fk%><%endif%>
<%set separator = '&nbsp;<img src="'%>
<%set separator .= $image_url%>
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px">&nbsp; '%>
<span class="body_white">
<%ifnot mn_subscriber%>
<%if imodify%><a href="glist.cgi?do=lst_modify_form&lst_id=<%lst_id%><%hidden_query%>" title="Edit List"><font color="#FFFFFF">Edit</font></a><%else%><b>Edit</b><%endif%>&nbsp;
<%separator%><%if ihtml%><a href="glist.cgi?do=lst_html&lst_id=<%lst_id%><%hidden_query%>" title="Get HTML"><font color="#FFFFFF">HTML</font></a><%else%><b>HTML</b><%endif%>&nbsp;
<%separator%><%if isub_import%><a href="glist.cgi?do=lst_import;form=1;import_to=<%lst_id%><%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Import</font></a><%else%><b>Import</b><%endif%>&nbsp;
&nbsp;&nbsp;<%if iclose%><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 title="Close" align="texttop"></a><%endif%>
<%else%>
<%if isub_search%><a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Subscribers"><font color="#FFFFFF">Search</font></a><%else%><b>Search</b><%endif%>&nbsp;
<%separator%><%if isub_add%><a href="glist.cgi?do=lst_sub_add;form=1<%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Add</font></a><%else%><b>Add</b><%endif%>&nbsp;
<%separator%><%if isub_import%><a href="glist.cgi?do=lst_import;form=1<%hidden_query%>" title="Import Subscribers"><font color="#FFFFFF">Import</font></a><%else%><b>Import</b><%endif%>&nbsp;
<%separator%><%if iremove_sub%><a href="glist.cgi?do=lst_unsub_bounced;form=1<%hidden_query%>" title="Remove bounced emails"><font color="#FFFFFF">Remove Bounced</font></a><%else%><b>Remove Bounced</b><%endif%>&nbsp;
<%if iclose%>
&nbsp;<a href="glist.cgi?do=<%if stoplist_url%>lst_stoplist<%else%>lst_subscribers<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" align="texttop" border=0 title="Close"></a>
<%endif%>
<%endif%>
</span>

View File

@ -0,0 +1,12 @@
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="24">
<tr>
<td class="body_bold">&nbsp;<img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_home<%hidden_query%>">Lists</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_add;form=1<%hidden_query%>">Create List</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_search_form<%hidden_query%>">Find List</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=lst_subscribers<%hidden_query%>">Subscribers</a></td>
<td class="body_bold" align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=lists.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2></a></td>
</tr>
<tr class="body_bold">
<td colspan="5" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,126 @@
<script>
function check_submit(frm) {
var obj = frm.lst_opt_template
if (typeof(lst_opt_template) == 'undefined')
return;
if ( frm.lst_opt[0].checked ) {
if ( typeof(obj) == 'undefined' ) {
alert("Please create the email templates before adding a list");
return false;
}
else {
if (obj.selectedIndex == 0) {
alert("Please select Opt In Template before updating!");
return false;
}
}
}
else {
obj.selectedIndex = 0;
}
}
function set_default() {
document.myform.lst_url_subscribe_success.value = "<%static_url%>/page/subscribe_success.html";
document.myform.lst_url_unsubscribe_success.value = "<%static_url%>/page/unsubscribe_success.html";
document.myform.lst_url_validate_success.value = "<%static_url%>/page/validate_success.html";
document.myform.lst_url_subscribe_failure.value = "<%static_url%>/page/subscribe_failure.html";
document.myform.lst_url_unsubscribe_failure.value = "<%static_url%>/page/unsubscribe_failure.html";
}
</script>
<table border="0" cellspacing="1" cellpadding="2" align=center>
<tr class=body>
<td class=body>List Name</td>
<td>
<input type="text" name="lst_title" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_title%><%lst_title%><%endif%>" class="object" /> *
</td>
</tr>
<tr class=body>
<td class=body valign="top">Description</td>
<td>
<textarea type="text" class="object" name="lst_description" cols="43" rows="3"><%if lst_description%><%lst_description%><%endif%></textarea>
</td>
</tr>
<%--
<tr class=body>
<td class=body>Move to List</td>
<td>
<%fetch_lists%>
<%set selected_list_id = $lst_move_to_id_fk%>
<select name="lst_move_to_id_fk">
<option value="0">---</option>
<%loop lists_loop%>
<option value="<%lst_id%>"<%if lst_id == $selected_list_id%> selected="selected"<%endif%>><%lst_title%></option>
<%endloop%>
</select>
</td>
</tr>
--%>
<%set tpl_opt_in = GList::Tools::_current_select('lst_opt_template')%>
<%if tpl_opt_in%>
<tr class=body>
<td class=body>Require Double Opt In</td>
<td>
<input name="lst_opt" type=radio value='1' <%if lst_opt%>checked<%endif%> />Yes
<input name="lst_opt" type=radio value='0' <%ifnot lst_opt%>checked<%endif%> />No
</td>
</tr>
<tr class=body>
<td valign=top class=body>Opt In Template</td>
<td><%tpl_opt_in%></td>
</tr>
<%endif%>
<%set tpl_subscribe = GList::Tools::_current_select('lst_subs_template')%>
<%if tpl_subscribe%>
<tr class=body>
<td valign=top class=body>Subscribe Template</td>
<td><%tpl_subscribe%></td>
</tr>
<%endif%>
<%set tpl_unsubscribe = GList::Tools::_current_select('lst_unsubs_template')%>
<%if tpl_unsubscribe%>
<tr class=body>
<td valign=top class=body>Unsubscribe Template</td>
<td><%tpl_unsubscribe%></td>
</tr>
<%endif%>
<tr>
<td class=body colspan="2"><b>Success URLs</b></td>
</tr>
<tr class=body>
<td class=body>- Subscribe</td>
<td>
<input type="text" class="object" name="lst_url_subscribe_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_subscribe_success%><%lst_url_subscribe_success%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body>- Unsubscribe</td>
<td>
<input type="text" class="object" name="lst_url_unsubscribe_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_unsubscribe_success%><%lst_url_unsubscribe_success%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body>- Validate</td>
<td>
<input type="text" class="object" name="lst_url_validate_success" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_validate_success%><%lst_url_validate_success%><%endif%>" />
</td>
</tr>
<tr>
<td class=body colspan="2"><b>Failure URLs</b></td>
</tr>
<tr class=body>
<td class=body>- Subscribe</td>
<td>
<input type="text" class="object" name="lst_url_subscribe_failure" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_subscribe_failure%><%lst_url_subscribe_failure%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body>- Unsubscribe</td>
<td>
<input type="text" class="object" name="lst_url_unsubscribe_failure" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_url_unsubscribe_failure%><%lst_url_unsubscribe_failure%><%endif%>" />
</td>
</tr>
<tr class=body>
<td class=body align=right colspan=2><font size=2 color=green>*: required</font></td>
</tr>
</table>

View File

@ -0,0 +1,84 @@
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#7a9f54">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" align=center>
<tr>
<td class=body_bold bgcolor="#256A19" width="49%">
<a href="glist.cgi?do=lst_home&sb=lst_title&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">List Name</font></a>
<%if sb eq 'lst_title' or not $sb%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td class=body_bold bgcolor="#256A19" width="12%" align="center">
<a href="glist.cgi?do=lst_home;sb=lst_date_created;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Created</font></a>
<%if sb eq 'lst_date_created'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td class=body_white bgcolor="#256A19" width="12%" align="center">
<a href="glist.cgi?do=lst_home;sb=subscribers;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Subscribers</b></font></a>
<%if sb eq 'subscribers'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td class=body_white bgcolor="#256A19" width="12%" align="center">
<a href="glist.cgi?do=lst_home;sb=validateds;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Validated</b></font></a>
<%if sb eq 'validateds'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td class=body_white bgcolor="#256A19" width="12%" align="center">
<a href="glist.cgi?do=lst_home;sb=bounceds;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>;select_all=1<%hidden_query%>"><font color="#FFFFFF"><b>Bounced</b></font></a>
<%if sb eq 'bounceds'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td class=body_white bgcolor="#256A19" width="3%" align="center"><input name=c_all type=checkbox onclick="check_all()" /></td>
</tr>
<%loop results%>
<%if bounced_emails%><%set bounced = 1%><%endif%>
<tr class=body bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td class=body><img src="<%image_url%>/icons/list.gif" hspace=2>
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<a href="glist.cgi?do=lst_modify_form&lst_id=<%lst_id%><%hidden_query%>"><%lst_title%></a>
</td>
<td class=body align="center"><%if lst_date_created%><%GList::HTML::date_get('lst_date_created')%><%endif%></td>
<td class=body align=center><%if subscribers%><a href="glist.cgi?do=lst_subscribers;sub_list_id_fk=<%lst_id%><%hidden_query%>"><%subscribers%></a><%else%>0<%endif%></td>
<td class=body align=center><%if validateds%><a href="glist.cgi?do=lst_subscribers;sub_list_id_fk=<%lst_id%>&sub_validated=1<%hidden_query%>"><%validateds%></a><%else%>0<%endif%></td>
<td class=body align=center><%if bounceds%><a href="glist.cgi?do=lst_unsub_bounced;sub_list_id_fk=<%lst_id%><%hidden_query%>"><%bounceds%></a><%else%>0<%endif%></td>
<td class=body align=center>
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
<input type="hidden" name="<%row_num%>-lst_id" value="<%lst_id%>" />
</td>
</tr>
<%endloop%>
</table>
<%if hits%>
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" height="30" align=center>
<%if hits > $mh and $mh != -1%>
<tr class=body>
<td colspan=2><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body><%if msg%><%msg%><%else%>&nbsp;<%endif%>
<td align=right>
<%if bounced%>
<input type="button" name="bounced" value="Remove Bounced Emails" class="button" onclick="open_url('do=lst_unsub_bounced<%hidden_query%>')" class="button" />
<%endif%>
<input type="button" name="bdelete" value="Delete Lists" class="button" onclick="init_do('myform', 'lst_delete', '', '', 'lst_')" class="button" />
</td>
</tr>
</table>
<%endif%>
</td>
</tr>
</table>

View File

@ -0,0 +1,60 @@
<%set set_focus = 'myform.lst_title'%>
<%set book_mark = 'modify_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify List</td>
<td align="right" class="body" valign="middle">
<%set iimport = 1%>
<%set ihtml = 1%>
<%set isearch_sub = 1%>
<%set iremove_sub = 1%>
<%set isub_import = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
<tr>
<td height=60%>
<input type="hidden" name="lst_id" size="45" value="<%if lst_id%><%lst_id%><%endif%>" />
<%include lst_include_record.html%>
</td>
</tr>
<tr>
<td align=center height=20% valign=top>
<input name="bsearch" type=submit value="Update List" class="button" />
<input name="bdefault" type="button" value="Use Sample" class="button" onclick="set_default()" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_modify" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,123 @@
<%set set_focus = 'myform.lst_id'%>
<%set book_mark = 'search_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find List</td>
<td align="right"><a href="glist.cgi?do=lst_home<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
</tr>
</table>
<form name="myform" action="glist.cgi" method="post">
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<%if msg%><span align=center class="body"><BR/><%msg%></span><%endif%>
<table border="0" cellspacing="0" cellpadding="3" align=center>
<tr class="body">
<td class="body" colspan="3"><br /><li><b>Search Info</b></li></td>
</tr>
<tr class="body">
<td class="body" nowrap>List ID</td>
<td colspan=2>
<input name="lst_id" type=text size=10 value="" class="object" />
<input name="ListID-opt" type=hidden size=10 value="=" />
</td>
</tr>
<tr class="body">
<td class="body">List Name</td>
<td colspan=2>
<input name="lst_title" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
</td>
</tr>
<tr class="body">
<td class="body">Description</td>
<td colspan=2>
<input name="lst_description" type=text size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="" class="object" />
</td>
</tr>
<tr class="body">
<td class="body" valign="top">Created<br /><b><font size=1></b></td>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="body">From<br /><input class="object" type="text" name="lst_date_created-ge" size="12" maxlength=30 value="<%if lst_date_created-ge%><%lst_date_created-ge%><%endif%>" /></td>
<td class="body">&nbsp;To<br />&nbsp;<input class="object" type="text" name="lst_date_created-le" size="12" maxlength=30 value="<%if lst_date_created-le%><%lst_date_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
</tr>
</table>
</td>
</tr>
<%if usr_type%>
<tr class="body">
<td class="body">Username</td>
<td colspan="2">
<input type="text" class="object" name="lst_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>21<%endif%>" value="" />
<select name="lst_user_id_fk-opt" class="object">
<option value="=">Exact Match</option>
<option value="<>">Not Equal</option>
</select>
</td>
</tr>
<%endif%>
<tr class="body">
<td class="body" colspan="3"><li><b>Search Options</b></li></td>
</tr>
<tr class="body">
<td class="body">Keyword search</td>
<td colspan=2><input class="object" name=keyword value="" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" /></td>
</tr>
<tr class="body">
<td class="body">Maximum hits</td>
<td class="body"><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
<td class="body">Match Any: <input name="ma" value=1 type=checkbox /></td>
</tr>
<tr class="body">
<td class="body">Sort by</td>
<td colspan=2>
<select class="object" name=sb>
<option value="lst_id">List ID</option>
<option value="lst_title">List Name</option>
<option value="lst_description">Description</option>
<option value="lst_date_created">Created</option>
</select>
<select class="object" name="so">
<option value="">---</option>
<option value="DESC">Descending</option>
<option value="ASC">Ascending</option>
</select>
</td>
</tr>
<tr>
<td align=center colspan="3"><BR />
<input name="bsearch" type=submit value=" Search " class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table><BR />
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_search" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,57 @@
<%set set_focus = 'myform.import_to'%>
<%set book_mark = 'add_subscribers'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Subscriber</td>
<td align="right" class="body" valign="middle">
<%set mn_subscriber = 1%>
<%set isub_search = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
<tr>
<td height=60%>
<%include lst_sub_include_record.html%>
</td>
</tr>
<tr>
<td align=center height=20% valign=top>
<input name="bsearch" type=submit value="Add a Subscriber" class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_sub_add" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,48 @@
<table border="0" cellspacing="1" cellpadding="2" align=center>
<%if do eq 'lst_sub_modify'%>
<input type="hidden" value="<%subid%>" name="subid">
<tr class=body>
<td class=body>List</td>
<td><%lst_title%></td>
</tr>
<tr class=body>
<td class=body>Validated</td>
<td>
<select name="new_validated" class="object">
<option value="1" <%if new_validated%>selected<%endif%>>Yes</option>
<option value="0" <%ifnot new_validated%>selected<%endif%>>No</option>
</select>
</td>
</tr>
<tr class=body>
<td class=body>Bounced</td>
<td>
<input type="text" name="new_bounced" value="<%if new_bounced%><%new_bounced%><%else%>0<%endif%>" class="object">
</td>
</tr>
<%else%>
<tr class=body>
<td class=body valign="top">List</td>
<td>
<select name="import_to" class="object" multiple size="5" style="width: 330px">
<%GList::Tools::generate_list('import_to')%>
</select><font color="green"> *</font>
</td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Email address</td>
<td>
<input type="text" name="new_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_email%><%new_email%><%endif%>" class="object" /><font color="green"> *</font>
</td>
</tr>
<tr class=body>
<td class=body>Name</td>
<td>
<input type="text" class="object" name="new_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if new_name%><%new_name%><%endif%>" />
</td>
</tr>
<tr>
<td colspan="2"align="right" class="body"><font color="green">*: required</font></td>
</tr>
</table>

View File

@ -0,0 +1,58 @@
<%set set_focus = 'myform.new_email'%>
<%set book_mark = 'edit_subscribers'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Modify a Subscriber</td>
<td align="right" class="body" valign="middle">
<%set mn_subscriber = 1%>
<%set isub_search = 1%>
<%set isub_add = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<%if msg%><ul><p class=body align="center"><br /><%msg%></p></ul><%else%><br /><%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=80%>
<tr>
<td height=60%>
<%include lst_sub_include_record.html%>
</td>
</tr>
<tr>
<td align=center height=20% valign=top>
<input name="bsearch" type=submit value="Modify a Subscriber" class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_sub_modify" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,55 @@
<%set set_focus = 'myform.sub_email'%>
<%set book_mark = 'modify_list'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Add a Subscriber</td>
<td align="right" class="body" valign="middle">
<%set mn_subscriber = 1%>
<%set isub_search = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<center>
<div style="position: relative; width:500px; height:300px; overflow:auto;">
<table border="0" cellspacing="0" cellpadding="0" width="95%">
<tr>
<td class="body" colspan="3"><br /><%if msg%><%msg%><br /><br /><%endif%></td>
</tr>
<%loop results%>
<tr class=body>
<td><%sub_email%></td>
<td><%lst_title%></td>
<td> &nbsp;[ <%if status%><%status%><%else%><font color="green"><b>Added</b></font><%endif%> ]</td>
</tr>
<%endloop%>
</table>
</div>
</center>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,122 @@
<%set set_focus = 'myform.sub_list_id_fk'%>
<%set book_mark = 'search_subscriber'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<form name=myform action="glist.cgi" method=post>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find Subscriber</td>
<td class="body" align="right">
<%set mn_subscriber = 1%>
<%set isub_add = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table>
<br/>
<%if msg%><p align=center class=body><%msg%></p><%endif%><br/>
<table border="0" cellspacing="0" cellpadding="0" align=center height=80%>
<tr>
<td height=60% valign=bottom><ul>
<table border="0" cellspacing="1" cellpadding="4" width="500">
<tr class=body>
<td class=body>List</td>
<td colspan="2">
<select name="sub_list_id_fk" class='object'>
<option value="">All Lists</option>
<%GList::Tools::generate_list('sub_list_id_fk')%>
</select>
<input name="sub_list_id_fk-opt" type=hidden value="=" />&nbsp;&nbsp;
<select name="sub_validated" class='object'>
<option value="">-----</option>
<option value="1">Validated</option>
<option value="0">Not Validated</option>
</select>
</td>
</tr>
<tr class="body">
<td valign="top" class="body">Subscribed</td>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="body">From:<br /><input class="object" type="text" name="sub_created-ge" maxlength=30 size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" value="<%if sub_created-ge%><%sub_created-ge%><%endif%>" /></td>
<td class="body">&nbsp;To:<br />&nbsp;<input class="object" type="text" name="sub_created-le" size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" maxlength=30 value="<%if sub_created-le%><%sub_created-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
</tr>
</table>
</td>
</tr>
<tr class=body>
<td class=body nowrap>Subscriber Email</td>
<td colspan=2><input class="object" type="text" name="sub_email" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_From_Name%><%sub_email%><%endif%>" /></td>
</tr>
<tr class=body>
<td class=body nowrap>Subscriber Name</td>
<td colspan=2><input class="object" type="text" name="sub_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if lst_From_Name%><%sub_name%><%endif%>" /></td>
</tr>
<%if usr_type%>
<tr class=body>
<td class=body>Username</td>
<td colspan="2">
<input type="text" class="object" name="lst_user_id_fk" size="<%if is_ie or is_mozilla%>30<%else%>21<%endif%>" value="" />
<select name="lst_user_id_fk-opt" class="object">
<option value="=">Exact Match</option>
<option value="<>">Not Equal</option>
</select>
</td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Sort by</td>
<td colspan=2>
<select name="sb" class='object'>
<option value="sub_email">Subscriber Email</option>
<option value="sub_name">Subscriber Name</option>
<option value="lst_title">List Name</option>
<option value="sub_validated">Validated</option>
<option value="sub_bounced">Bounced</option>
</select>
<select name="so" class='object'>
<option value="">---</option>
<option value="DESC">Descending</option>
<option value="ASC">Ascending</option>
</select>
</td>
</tr>
</table></ul>
</td>
</tr>
<tr>
<td align=center valign=top><br />
<input name="bsearch" type=submit value=" Search " class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table><BR />
</td>
</tr>
</table>
<input type=hidden name="do" value="lst_subscribers" />
<input type=hidden name="search_form" value="1" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,168 @@
<html>
<body>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Subscribers</td>
<td class="body" align="right">
<%set mn_subscriber = 1%>
<%set isub_add = 1%>
<%set isub_import = 1%>
<%set iremove_sub = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table><BR />
<form name="sub_search" action="glist.cgi" method=post>
<table border="0" cellspacing="2" cellpadding="3" align="center">
<tr>
<td class="body"><b>Search</b></td>
<td class="body">
<input type="text" name="search_val" value="<%if search_val%><%search_val%><%endif%>" class="object" size="20">
By&nbsp;
<select name="search_col" class="object">
<option value="sub_email" <%if search_col eq 'sub_email' or search_col eq ''%>selected<%endif%>>Email</option>
<option value="sub_name" <%if search_col eq 'sub_name'%>selected<%endif%>>Name</option>
</select>
in&nbsp;
<select name="sub_list_id_fk" class="object">
<option value="" <%ifnot search_in%>selected<%endif%>>All Lists</option>
<%GList::Tools::generate_list('sub_list_id_fk')%>
</select>
<input type="submit" class="button" name="sub_search" value="Search">
[ <a href="glist.cgi?do=lst_subscribers;form=1<%hidden_query%>" title="Search Subscriber">Advanced</a> ]
</td>
</tr>
<tr>
<td class="body"><b>Quick Search</b></td>
<td class="body"><%search_bar%></td>
</tr>
</table>
<input type="hidden" name="do" value="lst_subscribers" />
<%hidden_objects%>
</form>
<%if msg%><p class="body"><%msg%></p><%endif%>
<form name=myform action="glist.cgi" method=post>
<%if lst_user_id_fk and lst_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif lst_user_id_fk eq $usr_username and lst_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<%if hits > $mh and $mh != -1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
</table>
<%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_bold">
<td width="30%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Email
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="24%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Name
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
<%if sb eq 'sub_name'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="25%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>List
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
<%if sb eq 'sub_list_id_fk'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
<%ifnot hits%>Validated
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
<%if sb eq 'sub_validated'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
<%ifnot hits%>Bounced
<%else%>
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
<%if sb eq 'sub_bounced'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
</tr>
<%loop results%>
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
<td class="body"><%if sub_name%><%sub_name%><%else%>&nbsp;<%endif%></td>
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
</tr>
<%endloop%>
</table>
</td>
</tr>
</table>
<%if hits%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
<tr>
<td align="right">
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Validate Subcribers" class="button" onclick="init_do('myform', 'lst_sub_validate', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
</td>
</tr>
</table>
<%endif%>
<input type="hidden" name="do" value="lst_sub_delete" />
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,71 @@
<html>
<head>
<%include include_style.txt%>
</head>
<body>
<%if msg%><p class="body"><%msg%></p><%endif%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_white">
<td width="30%" bgcolor="#256A19" class="body_white">
<%ifnot hits%>Email
<%else%>
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="24%" bgcolor="#256A19" class="body_white">
<%ifnot hits%>Name
<%else%>
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_name;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
<%if sb eq 'sub_name'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_white" align="center">
<%ifnot hits%>Validated
<%else%>
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_validated;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Validated</font></a>
<%if sb eq 'sub_validated'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_white" align="center">
<%ifnot hits%>Bounced
<%else%>
<a href="glist.cgi?do=lst_subscribers<%if mn_disable%>;mn_disable=1<%endif%>;<%if query%><%query%><%endif%>;sb=sub_bounced;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
<%if sb eq 'sub_bounced'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
</tr>
<%loop results%>
<input type="hidden" name="<%row_num%>-sub_email" value="<%sub_email%>" />
<input type="hidden" name="<%row_num%>-sub_list_id_fk" value="<%sub_list_id_fk%>" />
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td class="body"><%sub_email%></td>
<td class="body"><%if sub_name%><%sub_name%><%else%>&nbsp;<%endif%></td>
<td align="center" class="body"><%if sub_validated%>Yes<%else%>No<%endif%></td>
<td align="center" class="body"><%if sub_bounced%>Yes<%else%>No<%endif%></td>
</tr>
<%endloop%>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%if hits > $mh%>
<tr class="body">
<td class="body" height=30><%include include_toolbar.html%></td>
<tr>
<%endif%>
</table>
</body>
</html>

View File

@ -0,0 +1,160 @@
<html>
<script>
function confirm_rmall(args) {
if (confirm("Are you sure you want permanently delete all bounced email results?")) {
var url = "<%cgi_url%>/glist.cgi?do=lst_sub_unbounced;all=1<%hidden_query%>" + args;
window.location = url;
}
}
</script>
<body>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include lst_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/list.gif" hspace="2" vspace="0">Bounced Emails</td>
<td class="body" align="right">
<%set mn_subscriber = 1%>
<%set isub_add = 1%>
<%set isub_import = 1%>
<%set isub_search = 1%>
<%set iclose = 1%>
<%include lst_include_icons.html%>
</td>
</tr>
</table><br />
<form name="sub_search" action="glist.cgi" method=post>
<table border="0" cellspacing="2" cellpadding="3" align="center">
<tr>
<td class="body">
Number of bounces:<br>
<select name="sub_bounced-opt" class="object">
<option value="="<%if sub_bounced-opt eq '='%> selected<%endif%>>Exactly</option>
<option value=">"<%if sub_bounced-opt eq '>'%> selected<%endif%>>More than</option>
<option value="<"<%if sub_bounced-opt eq '<'%> selected<%endif%>>Less than</option>
<option value=">="<%if sub_bounced-opt eq '>=' or not sub_bounced-opt%> selected<%endif%>>At least</option>
<option value="<="<%if sub_bounced-opt eq '<='%> selected<%endif%>>At most</option>
</select>
<input type="text" name="sub_bounced" value="<%if sub_bounced%><%sub_bounced%><%endif%>" class="object" size="15" maxlength="10" >
in&nbsp;
<select name="sub_list_id_fk" class="object">
<option value="" <%ifnot sub_list_id_fk%>selected<%endif%>>All Lists</option>
<%GList::Tools::generate_list('sub_list_id_fk')%>
</select>
<input type="submit" class="button" name="sub_search" value="Search">
</td>
</tr>
</table>
<input type="hidden" name="do" value="lst_unsub_bounced" />
<%hidden_objects%>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%if msg%><tr class="body"><td class="body"><%msg%></td></tr><%endif%>
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
</table>
<form name=myform action="glist.cgi" method=post>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
<tr>
<td bgcolor="#7a9f54">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_bold">
<td width="30%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Email
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="24%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Name
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_name&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>;mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Name</font></a>
<%if sb eq 'sub_name'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="25%" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>List
<%else%>
<a href="glist.cgi?do=lst_subscribers;<%if query%><%query%><%endif%>;sb=sub_list_id_fk;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">List</font></a>
<%if sb eq 'sub_list_id_fk'%>
<img src="<%image_url%>/icons/<%if so eq 'DESC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td width="10%" bgcolor="#256A19" class="body_bold" align="center">
<%ifnot hits%>Bounced
<%else%>
<a href="glist.cgi?do=lst_subscribers&<%if mn_disable%>;mn_disable=1<%endif%><%if query%><%query%><%endif%>;sb=sub_bounced&so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%hidden_query%>"><font color="#FFFFFF">Bounced</font></a>
<%if sb eq 'sub_bounced'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
</tr>
<%loop results%>
<input type="hidden" name="<%row_num%>-sub_id" value="<%sub_id%>" />
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td class="body"><a href="glist.cgi?do=lst_sub_modify;form=1;subid=<%sub_id%><%if users%>;users=1<%elsif user_search%>;users=1<%endif%>"><%sub_email%></a></td>
<td class="body"><%if sub_name%><%sub_name%><%else%>&nbsp;<%endif%></td>
<td class="body"><%GList::Tools::list_title($sub_list_id_fk)%></td>
<td align="center" class="body"><%if sub_bounced%><%sub_bounced%><%else%>0<%endif%></td>
<td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
</tr>
<%endloop%>
</table>
</td>
</tr>
</table>
<%if hits%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%if hits > $mh and $mh != -1%>
<tr class="body">
<td class="body"><%include include_toolbar.html%></td>
<tr>
<%endif%>
<tr>
<td align=right>
<input name="bdelete" type="button" value="Reset Bounced Emails" class="button" onclick="init_do('myform', 'lst_sub_unbounced', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Delete Subcribers" class="button" onclick="init_do('myform', 'lst_sub_delete', null, null, 'lst_', null, 1)" />
<input name="bdelete" type="button" value="Delete All" class="button" onclick="confirm_rmall('<%if conditions%><%conditions%><%endif%>')" />
</td>
</tr>
</table>
<%endif%>
<input type="hidden" name="do" value="lst_sub_delete" />
<input type="hidden" name="sub_list_id_fk" value="<%if sub_list_id_fk%><%sub_list_id_fk%><%endif%>" />
<input type="hidden" name="users" value="<%if users%>1<%endif%>" />
<input type="hidden" name="unbounced_form" value="1" />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,124 @@
<%include include_header.html%>
<table width="772" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include plugin_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" colspan="3" valign="top">
<table width="764" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/plugin_manager.gif" height=14 hspace="2" vspace="0"><%if gossamer%>Install Plugins from Gossamer<%else%>Plugin Manager<%endif%></td>
<td align="right"><a href="glist.cgi?do=admin_page&pg=plugin_manager.html<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<%GList::Plugins::admin_menu%>
<table cellspacing="1" cellpadding="2" border="0" width=100% align=center>
<tr>
<%if menu%>
<td class=body width=22% valign=top>
<table width=100% border= 1 cellpadding=0 cellspacing=0><%menu%></table>
</td>
<%endif%>
<td class=body align=center valign=top><br />
<table bgColor="#ffffff" border="0" cellPadding="3" cellSpacing="3" width="90%" valign="top" align="center">
<tr>
<td>
<p align="center"><b><font color="#000000" size="2" face="Tahoma,Arial,Helvetica">MailArc
Plugin</font></b></p>
<p> <font face="Tahoma, Arial, Helvetica" size="2">This plugin will allow
you to use Gossamer List as an archive for mailing list.<BR>
</font></p>
<p><font face="Tahoma, Arial, Helvetica" size="2"><b>+ Mail gateway configuration:</b></font></p>
<blockquote>
<p><font face="Tahoma, Arial, Helvetica" size="2">The following instructions
are for the configuration of a system using Unix/Linux and sendmail.</font></p>
</blockquote>
<ul>
<li><font face="Tahoma, Arial, Helvetica" size="2">
The MailArc plugin allows you to send a message from your desktop email client (Outlook) to GList, and GList will forward the message out to the lists within GList.
<br>
<br>
We must then edit the sendmail aliases file. Often, it is located at
&quot;/etc/aliases&quot;. We will take advantage of the facility to
associate a program with any arbitrary email address. For example: If
we want to create a special listener on the listowner_5
mailing list with the email address listowner_\@somehost.com (where
somehost.com is your server's domain name) we can enter the following
line into your aliases file. You will probably have to be root to make
this change.<br>
<br>
<font color="blue">listowner_5: "|$CFG->{priv_path}/archive.pl"</font><br>
<br>
<br>
Up to the &quot;:&quot; is the the username for the new email address.
The rest of the configuration string tells sendmail to invoke the script
&quot;archive.pl&quot; every time an email comes in for that user.<br>
<br>
To make sure that your mail server is able to use this change, you must
convert the &quot;aliases&quot; configuration file into a format that
sendmail can understand. To do so, run the command &quot;sendmail -bi&quot;
as root or as the mail system administrator. <br>
<br>
<font color=blue>[root\@penguin GList]# sendmail -bi<br>
/etc/aliases: 20 aliases, longest 70 bytes, 307 bytes total<br>
Jan 17 09:50:49 192 sendmail[9398]: alias database /etc/aliases rebuilt
by root </font><br>
<br>
Don't forget sign up this new email address to your mailing-list.<br>
</font></li>
<li><font face="Tahoma, Arial, Helvetica" size="2"><font color="#000000">If
you do not have the level of control to make changes to the &quot;aliases&quot;
file or are under a different system, the &quot;archive.pl&quot; script
runs as a mail pipe accepting emails from STDIN. Contact your system administrator
for the best option.<br>
</font><br>
</font> <font face="Tahoma, Arial, Helvetica" size="2"> </font></li>
</ul>
<p><font face="Tahoma, Arial, Helvetica" size="2"><b>+ MailArc POP3 Guide :</b> </font> </p>
<ul>
<p><font face="Tahoma, Arial, Helvetica" size="2">
You may use MailArc to pull out all emails from a POP3 account and archive them into your GList.
The command below should be run directly from your command line or should be set up as a cron job:<br>
<font face="Tahoma, Arial, Helvetica" size="2" color=blue><br>
archive.pl --forum=x --pop-host=<b><i>your_pop_host</i></b> --pop-user=<b><i>your_pop_user</i></b> --pop-pass=<b><i>your_pop_pass</i></b>
</font>
</font></p>
</ul>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,96 @@
<%set set_focus = 'myform.mail_host'%>
<%set book_mark = 'check_bounced'%>
<%include include_header.html%>
<%set use_magic = 1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<form name="myform" action="glist.cgi" method="post" onsubmit="return check_submit(this)">
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/glist.gif" align="texttop" hspace="2" vspace="0">Check for bounced emails</td>
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 align="texttop"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width=100% align=center>
<tr>
<td><br />
<uL><p class=body align="center"><%if msg%><%msg%><%else%>From here you can scan a POP box for undeliverable mail and mark
subscribers as bounced.<%endif%></ul></p>
<table border="0" cellspacing="1" cellpadding="2" bgcolor="#FFFFFF" align=center>
<tr class=body>
<td class=body>Server mail (POP3)</td>
<td>
<input type="text" name="mail_host" size="30" value="<%if mail_host%><%mail_host%><%else%><%usr_mail_host%><%endif%>" class="object" />
</td>
</tr>
<tr class=body>
<td class=body>Port</td>
<td>
<input type="text" name="mail_port" size="3" maxlength="3" value="<%if mail_port%><%mail_port%><%elsif usr_mail_port%><%usr_mail_port%><%else%>110<%endif%>" class="object" />
</td>
</tr>
<tr class=body>
<td class=body>Account name</td>
<td>
<input type="text" name="mail_user" size="30" value="<%if mail_user%><%mail_user%><%else%><%usr_mail_account%><%endif%>" class="object" />
</td>
</tr>
<tr class=body>
<td class=body>Password</td>
<td>
<input type="password" name="mail_pass" size="30" value="<%if mail_pass%><%mail_pass%><%else%><%usr_mail_password%><%endif%>" class="object" />
</td>
</tr>
<tr class=body>
<td class=body>Delete Emails</td>
<td>
<input type=radio name="del_bounced" value="0" checked />None
<input type=radio name="del_bounced" value="1" />Bounced
<input type=radio name="del_bounced" value="2" />All
</td>
</tr>
<tr class=body>
<td class=body>&nbsp;</td>
<td class=body>
<input type=checkbox name="save_info" value="1" checked />Remember Settings
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align=center valign=top><br />
<input name="bsearch" type=submit value="Check Bounced Emails" class="button" />
</td>
</tr>
</table>
</td>
</tr>
<input type=hidden name="do" value="mli_bounced" />
<%hidden_objects%>
</form>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,46 @@
<%set book_mark = 'check_bounced'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/glist.gif" width="15" height="12" hspace="2" vspace="0">Check for bounced emails</td>
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 align="texttop"></a></td>
</tr>
</table>
</td>
</tr>
</table><br /><br />
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align=center>
<tr>
<td class="body"><font color="green">Bounced email results</font><br /><br />
- Total checked email(s): <b><%if parsed%><%parsed%><%else%>0<%endif%></b><BR />
- Total bounced email(s): <b><%if bounced%><%bounced%><%else%>0<%endif%></b><br/>
- Total deleted email(s): <b><%if deleted%><%deleted%><%else%>0<%endif%></b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,36 @@
<%if p%>
<%include mli_include_preview.html%>
<%else%>
<%if fd == 2%><%set set_focus = 'myform.cm_name'%>
<%elsif fd == 1 or $fd eq ''%><%set call_check = 1%><%endif%>
<%include include_header.html%>
<%set use_magic = 1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<form name=myform action="glist.cgi" method=post>
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<%if d%> <!-- Show details-->
<%include mli_include_details.html%>
<%else%><!-- Show search results-->
<%include mli_include_results.html%>
<%endif%>
<input name='do' value="mli_home" type=hidden />
<input name='id' value="<%if id%><%id%><%endif%>" type=hidden />
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
<%hidden_query%>
</td>
</tr>
</form>
</table>
<%include include_footer.html%>
<%endif%>

View File

@ -0,0 +1,114 @@
<%loop results%>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bold_white" height="20"><img src="<%image_url%>/icons/<%ifnot mli_done%>draft.gif<%else%>sent.gif<%endif%>" align="texttop" vspace=1 hspace=1>Mailing Details</td>
<td align="right" class="body" valign="middle">
<%set separator = '&nbsp;<img src="'%>
<%set separator .= $image_url%>
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px">&nbsp; '%>
<%if mli_scheduled%><a href="glist.cgi?do=mli_schedule_modify;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><font color="#FFFFFF">Edit Schedule</font></a><%endif%> <%separator%>
<a href="javascript:rs('Details','glist.cgi?do=mli_home&p=1&mli_id=<%mli_id%><%if users%>&users=1<%endif%>;d=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Mailing"><font color="#FFFFFF">Preview</font></a>&nbsp;&nbsp;
<a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&<%url%><%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close" align="texttop"></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="1" cellpadding="1" align=center>
<tr class=body>
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
</tr>
<%if mli_done%>
<tr class=body>
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%> <b>by <%mli_user_id_fk%></b></td>
</tr>
<%endif%>
<tr class=body>
<td class=body colspan=2>&nbsp;</td>
</tr>
<tr class=body>
<td class=body width=15%>To:</td>
<td>
<a href="javascript:rs('Details','glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>',550,650,0,20,'Yes')"><%total%> recipient<%if total > 1%>s<%endif%></a>
</td>
</tr>
<tr class=body>
<td class=body>From:</td>
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
</tr>
<tr class=body>
<td class=body>Reply To:</td>
<td class=body><%mli_reply_to%></td>
</tr>
<tr class=body>
<td class=body>Return-path:</td>
<td class=body><%mli_bounce_email%></td>
</tr>
<%if mli_charset%>
<tr class=body>
<td class=body>Charset:</td>
<td><%mli_charset%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Subject:</td>
<td><%mli_subject%></td>
</tr>
<%GList::HTML::generate_attachments('mli_id')%>
<%if attachments%>
<tr class=body>
<td class=body valign=top>Attachments:</td>
<td>
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class=body >
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
<td class=body><i>
<a href="javascript:rs('Details','glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>',550,650,0,20,'Yes')">view</a>
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if mli_message_text%>
<tr class=body height=310>
<td class=body colspan=2 valign=top><b>Text Message:</b><br />
<table width="100%" height="100%"cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
<tr class=body>
<td valign=top>
<div style="position: relative; width:100%; height:300px; overflow:auto;"><%GList::HTML::html_unescape($mli_message_text)%></div>
</td>
</tr>
</table>
</td>
</tr>
<%endif%>
<%if mli_message_html%>
<tr class=body height=310>
<td class=body colspan=2 valign=top><b>HTML Message:</b><br />
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
<tr><td valign=top><div style="position: relative; width:100%; height:300px; overflow:auto;"><%mli_message_html%></div></td></tr>
</table>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
<%endloop%>

View File

@ -0,0 +1,11 @@
<table border="0" cellspacing="0" cellpadding="0" width=100% height="24">
<tr>
<td class="body_bold">&nbsp;<img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_home<%if url%>&<%url%><%endif%>;fd=1<%hidden_query%>">Mailings</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_search_form&<%if id%>&id=<%id%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>">Find Mailing</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=mli_bounced_form&<%if id%>&id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&<%url%><%endif%><%hidden_query%>">Check Bounced</a></td>
<td class="body_bold" align=right><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=mailings.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" title="Help" border=0 vspace=2 hspace=2 title="Help"></a></td>
</tr>
<tr class="body_bold">
<td colspan="4" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,155 @@
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3" class="bold_white">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr bgcolor="#336600" class="bold_white">
<td height="20">
<table cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td width="10">
<%if cm_name and $do%>
<img src="<%image_url%>/icons/folder.gif" vspace="0" hspace="1" align="texttop">
<%else%>
<%if fd == 3 or fd == 4%>
<img src="<%image_url%>/icons/f_archive.gif" vspace="0" hspace="1" align="texttop">
<%elsif fd == 2%>
<img src="<%image_url%>/icons/f_sent.gif" vspace="0" hspace="1" align="texttop">
<%else%>
<img src="<%image_url%>/icons/f_draft.gif" vspace="0" hspace="1" align="texttop">
<%endif%>
<%endif%>
</td>
<td height="20" class="bold_white">
<%if cm_name and $do%>
<%cm_name%>
<%else%>
<%if fd == 4%>
Scheduled Mailings
<%elsif fd == 3%>
Deleted Mailings
<%elsif fd == 2%>
Sent Mailings
<%else%>
Queued Mailings
<%endif%>
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr valign="top">
<td valign="middle" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=body>
<td width="1%"></td>
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="1" vspace="0"></td>
<td width="98%" class=body>
<a href="glist.cgi?do=mli_home;fd=1<%if url%>;<%url%><%endif%><%hidden_query%>"><%if $fd <= 1%><b>Queued Mailings<%if drafts%><span class=small> (<%drafts%>)</span><%endif%></b><%else%>Queued Mailings<%if drafts%><span class=small> (<%drafts%>)</span><%endif%><%endif%></a>
</td>
</tr>
<tr class=body>
<td width="1%"></td>
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="1" vspace="0"></td>
<td width="98%" class=body>
<a href="glist.cgi?do=mli_home<%if url%>;<%url%><%endif%>;fd=4<%hidden_query%>"><%if fd == 4%><b><%endif%>Scheduled Mailings<%if scheduled_hits%><span class="small"> (<%scheduled_hits%>)</span><%endif%><%if fd==4%></b><%endif%></a>
</td>
</tr>
<tr class=body>
<td width="1%" class=body>
<%if hits_sent%>
<a href="glist.cgi?do=mli_home<%ifnot cs%>;cs=1<%endif%><%if cd%>;cd=1<%endif%><%if ca%>;ca=1<%endif%><%if fd%>;fd=<%fd%><%endif%><%hidden_query%>"><img src="<%image_url%>/icons/<%if cs%>collapse.gif<%else%>expend.gif<%endif%>" width="9" height="9" border=0></a>
<%endif%>
</td>
<td class=body width="1%"><img src="<%image_url%>/icons/f_sent.gif" vspace="0" hspace="1"></td>
<td class=body width="98%">
<%if id or fd ne '2'%>
<a href="glist.cgi?do=mli_home;fd=2<%if url%>;<%url%><%endif%><%hidden_query%>">Sent Items</a>
<%else%>
<a href="glist.cgi?do=mli_home;fd=2<%if url%>;<%url%><%endif%><%hidden_query%>"><b>Sent Items</b></a>
<%endif%>
</td>
</tr>
<%if cs and $hits_sent%>
<tr>
<td width="1%">&nbsp;</td>
<td colspan="2" width=99%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%loop results_sent%>
<tr>
<td width="1%"><img src="<%image_url%>/icons/<%if last%>corner.gif<%else%>line.gif<%endif%>" width="20" height="18"></td>
<td width="1%"><img src="<%image_url%>/icons/folder.gif" hspace="2"></td>
<td class=body width="98%">
<%if id eq $cm_id%>
<a href="glist.cgi?do=mli_home;fd=2;id=<%cm_id%><%if url%>;<%url%><%endif%><%hidden_query%>"><b><%cm_name%></b></a>
<%else%>
<a href="glist.cgi?do=mli_home;fd=2;id=<%cm_id%><%if url%>;<%url%><%endif%><%hidden_query%>"><%cm_name%></a>
<%endif%>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<tr>
<td width="9">
<%if hits_deleted%>
<a href="glist.cgi?do=mli_home<%ifnot cs%>;cs=1<%endif%><%if cd%>;cd=1<%endif%><%if ca%>;ca=1<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/<%ifnot cs%>collapse.gif<%else%>expend.gif<%endif%>" width="9" height="9" border=0></a>
<%endif%>
</td>
<td width="18"><img src="<%image_url%>/icons/recycle.gif" vspace="0" hspace="1"></td>
<td class=body>
<%if fd == 3%>
<a href="glist.cgi?do=mli_home;fd=3<%if url%>;<%url%><%endif%><%hidden_query%>"><b>Deleted Items</b></a>
<%else%>
<a href="glist.cgi?do=mli_home;fd=3<%if url%>;<%url%><%endif%><%hidden_query%>">Deleted Items</a>
<%endif%>
</td>
</tr>
</table>
</td>
</tr>
<%if fd == 2 and not $users%>
<tr class=body>
<td colspan="3"class=body ><br />
<%ifnot id%>
<b>Name:</b>
<input type="text" name="cm_name" size="<%if is_ie or is_mozilla%>10<%else%>5<%endif%>" value="<%if cm_name%><%cm_name%><%endif%>" class="object" />
<input type="button" class="button" name="badd_cat" value=" Add " onclick="init_do('myform', 'mli_cat_add', 0, 'cm_name', 'mli_')" />
<%else%>
<table>
<tr>
<td class=body><b>Name:</b></td>
<td>
<input type="text" name="cm_name" size="<%if is_ie or is_mozilla%>15<%else%>5<%endif%>" value="<%if cm_name%><%cm_name%><%endif%>" class="object" />
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type=hidden name="cm_id" value="<%id%>"><input class="button" type=button name="cat_update" value="Update" onclick="init_do('myform', 'mli_cat_modify', 1, 'cm_name', 'mli_')" />
<input type=button class="button" name="cat_delete" value="Delete" onclick="init_do('myform', 'mli_cat_delete', 1, 'cm_name', 'mli_')" />
</td>
</tr>
</table>
<%endif%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,86 @@
<body>
<%include include_style.txt%>
<script src="<%image_url%>/GList.js"></script>
<%loop results%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="99%" border="0" cellspacing="1" cellpadding="1" align=center>
<tr class=body>
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
</tr>
<%if mli_done%>
<tr class=body>
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body colspan=2>&nbsp;</td>
</tr>
<tr class=body>
<td class=body width=20%>To:</td>
<td>
<a href="glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>"><%total%> recipient<%if total > 1%>s<%endif%></a>
</td>
</tr>
<tr class=body>
<td class=body>From:</td>
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
</tr>
<tr class=body>
<td class=body>Reply To:</td>
<td class=body><%mli_reply_to%></td>
</tr>
<tr class=body>
<td class=body>Return-path:</td>
<td class=body><%mli_bounce_email%></td>
</tr>
<%if mli_charset%>
<tr class=body>
<td class=body>Charset:</td>
<td><%mli_charset%></td>
</tr>
<%endif%>
<tr class=body>
<td class=body>Subject:</td>
<td><%mli_subject%></td>
</tr>
<%GList::HTML::generate_attachments('mli_id')%>
<%if attachments%>
<tr class=body>
<td class=body valign=top>Attachments:</td>
<td>
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class=body >
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
<td class=body><i>
<a href="glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>">view</a>
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if mli_message_text%>
<tr class=body>
<td colspan=2 valign=top><b>Text Message:</b><br />
<%GList::HTML::html_unescape($mli_message_text)%>
</td>
</tr>
<%endif%>
<%if mli_message_html%>
<tr class=body>
<td colspan=2 valign=top><br /><b>HTML Message:</b><br />
<%mli_message_html%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
<%endloop%>

View File

@ -0,0 +1,225 @@
<%ifnot fd%><%set fd = 1%><%endif%>
<%if fd == 4%>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#7a9f54">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_white">
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
<td width="6%" height="20" bgcolor="#256A19" class="body_bold" align="center"><b>
<%ifnot hits%>ID
<%else%>
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>&id=<%id%><%endif%>;sb=mli_id&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">ID</font></a>
<%if sb eq 'mli_id' or $sb eq ''%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
<%endif%>
<%endif%></b>
</td>
<td width="42%" height="20" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Subject
<%else%>
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>;id=<%id%><%endif%>;sb=mli_subject;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Subject</font></a>
<%if sb eq 'mli_subject'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td class="body_bold" width="8%" align="center" bgcolor="#256A19" height="22">Recipients</td>
<td class="body_bold" width="23%" align="center" bgcolor="#256A19" height="22">Frequency</td>
<td class="body_bold" width="12%" align="center" bgcolor="#256A19" height="22">Time</td>
<td class="body_bold" width="8%" align="center" bgcolor="#256A19" height="22">Status</td>
<td class="body" width="3%" align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" <%if fd == 1%>checked<%endif%>/></td>
</tr>
<%loop results%>
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td align="center"><img src="<%image_url%>/icons/<%if mli_done%>sent.gif<%else%>draft.gif<%endif%>" hspace=1></td>
<td align="center">
<%GList::HTML::generate_attachments('mli_id')%>
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%>&nbsp;<%endif%>
</td>
<td class="body" align=center><%mli_id%></td>
<td class="body">
<%if mli_user_id_fk and mli_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif mli_user_id_fk eq $usr_username and mli_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<a href="glist.cgi?do=mli_home;d=1;mli_id=<%mli_id%><%if lookup%>&lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>&id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><%mli_subject%></a>
</td>
<td align="center" class="body"><%if total%><%total%><%endif%></td>
<%GList::Tools::schedule_info($mli_id)%>
<td align="center" class="body">
<%if scm_type == 1%>One on <%scm_option%>
<%elsif scm_type == 2%>Daily
<%elsif scm_type == 3%>Weekly on <%scm_option%>
<%elsif scm_type == 4%>Monthly on <%scm_option%><%endif%>
</td>
<td align="center" class="body"><%scm_hour%>:<%if scm_minute < 10%>0<%endif%><%scm_minute%> <%if scm_hour <= 12%>AM<%else%>PM<%endif%></td>
<td align="center" class="body">
<%if GList::Tools::schedule_status%>Sent<%endif%>
</td>
<td align="center">
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" <%if fd == 1%>checked<%endif%>>
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>" />
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<tr>
<td class="body">
<%if msg%><%msg%><%endif%>
<%if hits%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=30>
<%if hits > $mh%>
<tr align="left" class="body">
<td class="body"><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr>
<td align="right">
<input type="hidden" name="mod_action" value="delete">
<input type="button" name="bschedule" value="Delete Scheduled Mailings" onclick="init_do('myform', 'mli_schedule_delete', '', '', 'mli_', '<%fd%>')" class="button" />
<input type="button" name="bdelete" value="<%if fd != 1%>Delete<%else%>Cancel<%endif%> Mailings" onclick="init_do('myform', 'mli_delete', '', '', 'mli_', '<%fd%>')" class="button" />
</td>
</tr>
</table>
<%endif%>
</td>
</tr>
</table>
<%else%>
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#7a9f54">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body_white">
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
<td width="3%" height="20" bgcolor="#256A19" class="body_white" align="center"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
<td width="6%" height="20" bgcolor="#256A19" class="body_bold" align="center"><b>
<%ifnot hits%>ID
<%else%>
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>&id=<%id%><%endif%>;sb=mli_id&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">ID</font></a>
<%if sb eq 'mli_id' or $sb eq ''%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
<%endif%>
<%endif%></b>
</td>
<td width="45%" height="20" bgcolor="#256A19" class="body_bold">
<%ifnot hits%>Subject
<%else%>
<a href="glist.cgi?<%if do%>do=mli_search&<%endif%><%if query%><%query%><%endif%>&fd=<%if fd%><%fd%><%else%>1<%endif%><%if id%>;id=<%id%><%endif%>;sb=mli_subject&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Subject</font></a>
<%if sb eq 'mli_subject'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
<%endif%>
</td>
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Recipients</td>
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Sent</td>
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Bounced</td>
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Opened</td>
<td class="body"_bold width="8%" align="center" bgcolor="#256A19" height="22">Clicked</td>
<td class="body" width="3%" align="center" bgcolor="#256A19"><input name=c_all type=checkbox onclick="check_all()" <%if fd == 1%>checked<%endif%>/></td>
</tr>
<%loop results%>
<tr class="body" bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
<td align="center"><img src="<%image_url%>/icons/<%if mli_done%>sent.gif<%else%>draft.gif<%endif%>" hspace=1></td>
<td align="center">
<%GList::HTML::generate_attachments('mli_id')%>
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%>&nbsp;<%endif%>
</td>
<td class="body" align=center><%mli_id%></td>
<td class="body">
<%if mli_user_id_fk and mli_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif mli_user_id_fk eq $usr_username and mli_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<a href="glist.cgi?do=mli_home;d=1;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><%mli_subject%></a>
</td>
<td align="center" class="body"><%if total%><%total%><%endif%></td>
<td align="center" class="body"><%if done%><%done%><%endif%></td>
<td align="center" class="body"><%if bounced_emails%><%bounced_emails%><%endif%></td>
<td align="center" class="body"><%if mli_num_opened%><%mli_num_opened%><%endif%></td>
<td align="center" class="body"><%if mli_num_clicked%><%mli_num_clicked%><%endif%></td>
<td align="center">
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" <%if fd == 1%>checked<%endif%>>
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>" />
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<tr>
<td class="body">
<%if msg%><%msg%><%endif%>
<%if hits%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=30>
<%if hits > $mh%>
<tr align="left" class="body">
<td class="body"><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr class="body">
<td valign=bottom class="body">&nbsp;</td>
<td class="body" align="right">
<%ifnot users%>
<%if fd == 1 and hits_draft%>
<%set flag = 1%>
<%elsif fd = 2 and hits_sent%>
<%set flag = 1%>
<%elsif fd = 3%>
<%set flag = 1%>
<%elsif id%>
<%set flag = 1%>
<%endif%>
<%if flag%>
<b><%if fd == 3%>Restore<%else%>Move<%endif%> to</b>:
<select name="move_to" class=object>
<option value="">-------</option>
<%if id%>
<option value='root'>Sent Items</option>
<%endif%>
<%if fd == 1%>
<%loop results_draft%>
<%if id ne $cm_id%>
<option value="<%cm_id%>"><%cm_name%></option>
<%endif%>
<%endloop%>
<%elsif fd == 2%>
<%loop results_sent%>
<%if id ne $cm_id%>
<option value="<%cm_id%>"><%cm_name%></option>
<%endif%>
<%endloop%>
<%elsif fd == 3%>
<option value='draft'>Queued Mailings</option>
<option value='sent'>Sent Items</option>
<%endif%>
</select>
<input type="button" name="bmove" value="<%if fd == 3%>Restore<%else%>Move<%endif%>" onclick="init_do('myform', 'mli_move', '', '', 'mli_', '<%fd%>')" class=button />
<%endif%>
<%endif%>
<%if fd <=1 %>
<input type="button" name="s_send" value="Start Mailings" onclick="init_do('myform', 'mli_send', '', '', 'mli_', '<%fd%>')" class="button" />
<input type="button" name="bschedule" value="Schedule Mailings" onclick="init_do('myform', 'mli_schedule', '', '', 'mli_', '<%fd%>')" class="button" />
<%endif%>
<input type="button" name="bdelete" value="<%if fd != 1%>Delete<%else%>Cancel<%endif%> Mailings" onclick="init_do('myform', 'mli_delete', '', '', 'mli_', '<%fd%>')" class="button" />
<%if fd == 3%><input type="button" name="bempty" value="Delete All" onclick="init_do('myform', 'mli_empty')" class="button" /><%endif%>
</td>
</tr>
</table>
<%endif%>
</td>
</tr>
</table>
<%endif%>

View File

@ -0,0 +1,132 @@
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="body" nowrap>Time Of Day:</td>
</tr>
<tr>
<td colspan="2" class="body">
<ul><select class="object" name="scm_hour">
<option value="1" <%if scm_hour eq '1'%>selected<%endif%>>1 (1 AM)</option>
<option value="2" <%if scm_hour eq '2'%>selected<%endif%>>2 (2 AM)</option>
<option value="3" <%if scm_hour eq '3'%>selected<%endif%>>3 (3 AM)</option>
<option value="4" <%if scm_hour eq '4'%>selected<%endif%>>4 (4 AM)</option>
<option value="5" <%if scm_hour eq '5'%>selected<%endif%>>5 (5 AM)</option>
<option value="6" <%if scm_hour eq '6'%>selected<%endif%>>6 (6 AM)</option>
<option value="7" <%if scm_hour eq '7'%>selected<%endif%>>7 (7 AM)</option>
<option value="8" <%if scm_hour eq '8'%>selected<%endif%>>8 (8 AM)</option>
<option value="9" <%if scm_hour eq '9'%>selected<%endif%>>9 (9 AM)</option>
<option value="10" <%if scm_hour eq '10'%>selected<%endif%>>10 (10 AM)</option>
<option value="11" <%if scm_hour eq '11'%>selected<%endif%>>11 (11 AM)</option>
<option value="12" <%if scm_hour eq '12'%>selected<%endif%>>12 (12 AM)</option>
<option value="13" <%if scm_hour eq '13'%>selected<%endif%>>13 (1 PM)</option>
<option value="14" <%if scm_hour eq '14'%>selected<%endif%>>14 (2 PM)</option>
<option value="15" <%if scm_hour eq '15'%>selected<%endif%>>15 (3 PM)</option>
<option value="16" <%if scm_hour eq '16'%>selected<%endif%>>16 (4 PM)</option>
<option value="17" <%if scm_hour eq '17'%>selected<%endif%>>17 (5 PM)</option>
<option value="18" <%if scm_hour eq '18'%>selected<%endif%>>18 (6 PM)</option>
<option value="19" <%if scm_hour eq '19'%>selected<%endif%>>19 (7 PM)</option>
<option value="20" <%if scm_hour eq '20'%>selected<%endif%>>20 (8 PM)</option>
<option value="21" <%if scm_hour eq '21'%>selected<%endif%>>21 (9 PM)</option>
<option value="22" <%if scm_hour eq '22'%>selected<%endif%>>22 (10 PM)</option>
<option value="23" <%if scm_hour eq '23'%>selected<%endif%>>23 (11 PM)</option>
<option value="24" <%if scm_hour eq '24'%>selected<%endif%>>24 (12 PM)</option>
</select> :
<select class="object" name="scm_minute">
<option value="0" <%ifnot scm_minute%>selected<%endif%>>0</option>
<option value="5" <%if scm_minute eq '5'%>selected<%endif%>>5</option>
<option value="10" <%if scm_minute eq '10'%>selected<%endif%>>10</option>
<option value="15" <%if scm_minute eq '15'%>selected<%endif%>>15</option>
<option value="20" <%if scm_minute eq '20'%>selected<%endif%>>20</option>
<option value="25" <%if scm_minute eq '25'%>selected<%endif%>>25</option>
<option value="30" <%if scm_minute eq '30'%>selected<%endif%>>30</option>
<option value="35" <%if scm_minute eq '35'%>selected<%endif%>>35</option>
<option value="40" <%if scm_minute eq '40'%>selected<%endif%>>40</option>
<option value="45" <%if scm_minute eq '45'%>selected<%endif%>>45</option>
<option value="50" <%if scm_minute eq '50'%>selected<%endif%>>50</option>
<option value="55" <%if scm_minute eq '55'%>selected<%endif%>>55</option>
</select>
</td>
</tr>
<tr class="body">
<td valign="top" class="body">Frequency:</td>
</tr>
<tr>
<td class="body"><ul>
<table cellpadding="3" cellspacing="0">
<tr>
<td class="body" width="1"><input type="radio" name="scm_type" <%if scm_type == 1%>checked<%endif%> value="1"></td>
<td class="body"><nobr>Once on
<input type="text" name="opt_date" size="10" maxlength="10" value="<%if opt_date%><%opt_date%><%endif%>" class="object"> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font>
</td>
</tr>
<tr>
<td class="body"><input type="radio" name="scm_type" <%if scm_type == 2%>checked<%endif%> value="2"></td>
<td class="body">Daily</td>
</tr>
<tr>
<td class="body"><input type="radio" name="scm_type" <%if scm_type == 3%>checked<%endif%> value="3"></td>
<td class="body"><nobr>Weekly on
<select name="opt_weekly" class="object">
<option value="">---</option>
<option <%if opt_weekly eq 'Monday'%>selected<%endif%> value="Monday">Monday</option>
<option <%if opt_weekly eq 'Tuesday'%>selected<%endif%> value="Tuesday">Tuesday</option>
<option <%if opt_weekly eq 'Wednesday'%>selected<%endif%> value="Wednesday">Wednesday</option>
<option <%if opt_weekly eq 'Thursday'%>selected<%endif%> value="Thursday">Thursday</option>
<option <%if opt_weekly eq 'Friday'%>selected<%endif%> value="Friday">Friday</option>
<option <%if opt_weekly eq 'Saturday'%>selected<%endif%> value="Saturday">Saturday</option>
<option <%if opt_weekly eq 'Sunday'%>selected<%endif%> value="Sunday">Sunday</option>
</select>
</td>
</tr>
<tr>
<td class="body"><input type="radio" name="scm_type" value="4" <%if scm_type == 4%>checked<%endif%>></td>
<td class="body">Monthly
<select class="object" name="opt_monthly">
<option value="">---</option>
<option <%if opt_monthly eq '1'%>selected<%endif%>>1</option>
<option <%if opt_monthly eq '2'%>selected<%endif%>>2</option>
<option <%if opt_monthly eq '3'%>selected<%endif%>>3</option>
<option <%if opt_monthly eq '4'%>selected<%endif%>>4</option>
<option <%if opt_monthly eq '5'%>selected<%endif%>>5</option>
<option <%if opt_monthly eq '6'%>selected<%endif%>>6</option>
<option <%if opt_monthly eq '7'%>selected<%endif%>>7</option>
<option <%if opt_monthly eq '8'%>selected<%endif%>>8</option>
<option <%if opt_monthly eq '9'%>selected<%endif%>>9</option>
<option <%if opt_monthly eq '10'%>selected<%endif%>>10</option>
<option <%if opt_monthly eq '11'%>selected<%endif%>>11</option>
<option <%if opt_monthly eq '12'%>selected<%endif%>>12</option>
<option <%if opt_monthly eq '13'%>selected<%endif%>>13</option>
<option <%if opt_monthly eq '14'%>selected<%endif%>>14</option>
<option <%if opt_monthly eq '15'%>selected<%endif%>>15</option>
<option <%if opt_monthly eq '16'%>selected<%endif%>>17</option>
<option <%if opt_monthly eq '17'%>selected<%endif%>>17</option>
<option <%if opt_monthly eq '18'%>selected<%endif%>>18</option>
<option <%if opt_monthly eq '19'%>selected<%endif%>>19</option>
<option <%if opt_monthly eq '20'%>selected<%endif%>>20</option>
<option <%if opt_monthly eq '21'%>selected<%endif%>>21</option>
<option <%if opt_monthly eq '22'%>selected<%endif%>>22</option>
<option <%if opt_monthly eq '23'%>selected<%endif%>>23</option>
<option <%if opt_monthly eq '24'%>selected<%endif%>>24</option>
<option <%if opt_monthly eq '25'%>selected<%endif%>>25</option>
<option <%if opt_monthly eq '26'%>selected<%endif%>>26</option>
<option <%if opt_monthly eq '27'%>selected<%endif%>>27</option>
<option <%if opt_monthly eq '28'%>selected<%endif%>>28</option>
<option <%if opt_monthly eq '29'%>selected<%endif%>>29</option>
<option <%if opt_monthly eq '30'%>selected<%endif%>>30</option>
<option <%if opt_monthly eq '31'%>selected<%endif%>>31</option>
</select>
</td>
</tr>
<tr>
<td class="body" colspan="2">Update text part with content from the following URL
<input type="text" name="scm_text_url" class="object" value="<%if scm_text_url%><%scm_text_url%><%endif%>" size="50">
</td>
</tr>
<tr>
<td class="body" colspan="2">Update html part with content from the following URL
<input type="text" name="scm_html_url" class="object" value="<%if scm_html_url%><%scm_html_url%><%endif%>" size="50">
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@ -0,0 +1,83 @@
<%set book_mark = 'search_mailing'%>
<%include include_header.html%>
<script>
function del_confirm() {
if (confirm("Do you want to delete the schedule of mailing '<%mli_id%>'?")) {
document.myform.mod_action.value = 'delete';
document.myform.submit();
}
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Modify Scheduled Mailing</td>
<td align="right" class="body">
<%set separator = '&nbsp;<img src="'%>
<%set separator .= $image_url%>
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px">&nbsp; '%>
<a href="glist.cgi?do=mli_schedule_modify;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><font color="#FFFFFF"><b>Edit Schedule</b></font></a> <%separator%>
<a href="javascript:rs('Details','glist.cgi?do=mli_home&p=1&mli_id=<%mli_id%><%if users%>&users=1<%endif%>;d=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Mailing"><font color="#FFFFFF">Preview</font></a>&nbsp;&nbsp;
<a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close" align="absmiddle"></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<form name=myform action="glist.cgi" method="post">
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
<tr>
<td class="body">
<blockquote>
<br/><%msg%><br><br>
&nbsp;Mailing ID: <b><%mli_id%> - <%mli_subject%></b><br><br>
<%include mli_include_schedule_mailing.html%>
<br />
</blockquote>
<input type="hidden" name="do" value="mli_schedule_modify" />
<input type="hidden" name="mli_id" value="<%mli_id%>" />
<input type="hidden" name="mod_action" value="" />
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
<%hidden_objects%>
</td>
</tr>
<tr>
<td>
<blockquote>
<input type="submit" name="bmodify" value="Modify The Schedule" class="button">
<input type="button" name="bdelete" value="Delete The Schedule" class="button" onclick="del_confirm()">
<input type="submit" name="bcancel" value="Cancel" class="button">
</blockquote>
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,43 @@
<html><body><%include include_header.html%>
<table width=100% height=85%>
<tr>
<td valign=middle>
<table width="422" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="body" height="15"><b></b></td>
</tr>
<tr class="body">
<td class="body" bgcolor="#CCCCCC" width="420" height="17" style="border-left: 1px solid #999999; border-top: 1px solid #999999; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF">
<table width="0%" border="0" cellspacing="0" cellpadding="0" bgcolor="#006600" align="left">
<tr>
<td><b><font size="1"><img src="<%image_url%>/pics/1pixel.gif" id=progress name=progress width="0" height="15" border="0"></font></b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="body">
<table>
<tr>
<td class=body>
<div><font size="1" id=d_message>Preparing....</font></div>
</td>
<td class=body>
<div><font size="1" id=d_percent>0%</font></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script>
var img = document.getElementById('progress');
var msg = document.getElementById('d_message');
var per = document.getElementById('d_percent');
</script>

View File

@ -0,0 +1,28 @@
<html>
<head>
<title><%if site_title%><%site_title%><%else%>Gossamer Gossamer List<%endif%> - Recipients</title>
<%include include_style.txt%>
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=body>
<td class=body><font size=5><b>Mailing Recipients<br /><br /></b></font></td>
<td class=body align=right valign=top><b>Mailing ID: <%eml_mailing_id_fk%></b></td>
</tr>
<tr class=body>
<td class=body colspan=2>
<%loop results%>
<%eml_email%><%if eml_skipped%> [ <font color="red"><b>Skipped</b></font> ]<%endif%><br />
<%endloop%>
</td>
</tr>
<%if hits > $mh%>
<tr class=body>
<td class=body colspan=2><br /><%include include_toolbar.html%></td>
</tr>
<%endif%>
</table>
</body>
</html>

View File

@ -0,0 +1,70 @@
<%set book_mark = 'search_mailing'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Mailing Schedule</td>
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<form name=myform action="glist.cgi" method="post">
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
<tr>
<td class="body">
<blockquote>
<br /><%msg%><br><ul>
<%loop selected_mailings%>
<input type="hidden" name="modify" value="<%row_num%>">
<input type="hidden" name="<%row_num%>-mli_id" value="<%mli_id%>">
- <%mli_id%>: <%mli_subject%><br>
<%endloop%>
</ul>
<%include mli_include_schedule_mailing.html%>
<br />
</blockquote>
<input type="hidden" name="do" value="mli_schedule" />
<input name='fd' value="<%if fd%><%fd%><%endif%>" type=hidden />
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
<%hidden_objects%>
</td>
</tr>
<tr>
<td>
<blockquote>
<input type="submit" name="bschedule" value="Set Schedule" class="button">
<input type="submit" name="bcancel" value="Cancel" class="button">
</blockquote>
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,159 @@
<%set set_focus = 'myform.mli_id'%>
<%set book_mark = 'search_mailing'%>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include mli_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" width="20%" valign="top"><%include mli_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/search.gif" width="16" align="texttop" hspace="2" vspace="0">Find Mailing</td>
<td align="right"><a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<form name=myform action="glist.cgi" method="post">
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
<tr>
<td class="body" align="center">
<%if msg%><span align=center class="body" /><br /><%msg%></span><%endif%>
<table border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td class="body" colspan="3"><br /><li><b>Search Info</b></li></td>
</tr>
<tr>
<td class="body" nowrap>Mailing ID</td>
<td colspan="2">
<input type="text" class="object" name="mli_id" size="12" value="<%if mli_id%><%mli_id%><%endif%>" />
<select name="fd" class="object">
<option value="1" <%if fd == 1%>selected<%endif%>>Queued Mailings</option>
<option value="4" <%if fd == 4%>selected<%endif%>>Scheduled Mailings</option>
<option value="2" <%if fd == 2%>selected<%endif%>>Sent Mailings</option>
<%if hits_sent%>
<%loop results_sent%>
<option value="cat-<%cm_id%>" <%if id eq $cm_id%>selected<%endif%>>&nbsp;&nbsp;<%cm_name%></option>
<%endloop%>
<%endif%>
<option value="3" <%if fd == 3%>selected<%endif%>>Deleted Mailings</option>
</select>
</td>
</tr>
<tr class="body">
<td valign="top" class="body">Done</td>
<td colspan="2">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="body">From<br /><input class="object" type="text" name="mli_done-ge" maxlength=30 size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" value="<%if mli_done-ge%><%mli_done-ge%><%endif%>" /></td>
<td class="body">&nbsp;To<br />&nbsp;<input class="object" type="text" name="mli_done-le" size="<%if is_ie or is_mozilla%>12<%else%>10<%endif%>" maxlength=30 value="<%if mli_done-le%><%mli_done-le%><%endif%>" /> <font size=1><%GList::language('SYS_DATE_FORMAT')%></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="body">Subject</td>
<td colspan="2">
<input type="text" class="object" name="mli_subject" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_subject%><%mli_subject%><%endif%>" />
</td>
</tr>
<tr class="body">
<td class="body" valign="top">Message TEXT</td>
<td colspan="2">
<textarea class="object" name="mli_message_text" cols="<%if is_ie or is_mozilla%>43<%else%>35<%endif%>" rows="3"><%if mli_message_text%><%mli_message_text%><%endif%></textarea>
</td>
</tr>
<tr class="body">
<td class="body" valign="top">Message HTML</td>
<td colspan="2">
<textarea class="object" name="mli_message_html" cols="<%if is_ie or is_mozilla%>43<%else%>35<%endif%>" rows="3"><%if mli_message_html%><%mli_message_html%><%endif%></textarea>
</td>
</tr>
<tr>
<td class="body">From</td>
<td colspan="2">
<input type="text" class="object" name="mli_from" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_from%><%mli_from%><%endif%>">
</td>
</tr>
<tr>
<td class="body">Name</td>
<td colspan="2">
<input type="text" class="object" name="mli_name" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" value="<%if mli_name%><%mli_name%><%endif%>">
</td>
</tr>
<%if usr_type%>
<tr class="body">
<td>Username</td>
<td colspan="2">
<input type="text" class="object" name="mli_user_id_fk" size="<%if is_ie or is_mozilla%>29<%else%>20<%endif%>" value="" />
<select name="mli_user_id_fk-opt" class="object">
<option value="=">Exact Match</option>
<option value="<>">Not Equal</option>
</select>
</td>
</tr>
<%endif%>
<tr class="body">
<td class="body" colspan="3"><li><b>Search Options</b></li></td>
</tr>
<tr class="body">
<td class="body">Keyword search</td>
<td colspan=2><input class="object" name=keyword value="<%if keyword%><%keyword%><%endif%>" size="<%if is_ie or is_mozilla%>45<%else%>30<%endif%>" /></td>
</tr>
<tr class="body">
<td class="body">Maximum hits</td>
<td><input class="object" name=mh value="<%if mh%><%mh%><%else%>25<%endif%>" size=1 maxlength=2 /></td>
<td class="body">Match Any: <input name="ma" value=1 type=checkbox /></td>
</tr>
<tr class="body">
<td class="body">Sort by</td>
<td colspan=2>
<select name=sb class="object">
<option value="mli_id">ID</option>
<option value="mli_subject">Subject</option>
</select>
<select name="so" class="object">
<option value="">---</option>
<option value="DESC">Descending</option>
<option value="ASC">Ascending</option>
</select>
</td>
</tr>
<tr>
<td align=center colspan="3"><BR />
<input name="bsearch" type=submit value=" Search " class="button" />
<input name="breset" type=reset value=" Reset " class="button" />
</td>
</tr>
</table><BR />
<input type="hidden" name="do" value="mli_search" />
<input name='cd' value="<%if cd%><%cd%><%endif%>" type=hidden />
<input name='cs' value="<%if cs%><%cs%><%endif%>" type=hidden />
<input name='ca' value="<%if ca%><%ca%><%endif%>" type=hidden />
<%hidden_objects%>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%include include_footer.html%>

View File

@ -0,0 +1,122 @@
<html><body>
<%set book_mark = 'create_message'%>
<script>
function switch_wrap() {
if (document.myform.msg_Content.wrap == 'off') {
document.myform.msg_Content.wrap = 'soft';
document.myform.bwrap.value = 'Wrap off';
}
else {
document.myform.msg_Content.wrap = 'off';
document.myform.bwrap.value = 'Wrap on';
}
}
function resize() {
var obj = document.myform;
rows = obj.nrows.value;
cols = obj.ncols.value;
if ( !isNaN(rows) && !isNaN(cols) ) {
obj.msg_Content.cols = cols
obj.msg_Content.rows = rows
}
}
function gotoLine() {
var obj = document.myform.msg_Content;
var line = document.myform.nline.value;
if (obj.innerText) {
var items = obj.innerText.split("\n");
if ( ( isNaN(line) )|| ( line > items.length ) || ( line <=0 ) || !line) {
alert('Please enter a number between 1 to ' + items.length);
return;
}
var lineContent = items[line-1];
var rangContent = '';
for (var i=0; i<line; i++) rangContent += items[i];
var items = rangContent.split(lineContent);
var numTimes = (items.length > 1) ? ( items.length-1 ) : 1;
var txtRange = obj.createTextRange();
var found = txtRange.findText(rangContent);
if (found) {
var tmp = 0;
while (txtRange.findText(lineContent)) {
tmp++;
if ( tmp == numTimes ) {
txtRange.select();
break;
}
txtRange.moveStart("character",1);
}
txtRange.scrollIntoView();
}
}
else alert('The content is empty!')
}
</script>
<%set set_focus = 'myform.msg_subject'%>
<form name=myform action="glist.cgi" method="post" ENCTYPE='multipart/form-data'>
<%include include_header.html%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td height="20"><img src="<%image_url%>/icons/message.gif" align="texttop" hspace="2" vspace="3">Create Message</td>
<td align="right" class="body">
<%set iclose = 1%>
<%include msg_include_icons.html%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" align=center>
<tr>
<td valign=top align="center">
<%if msg%><pre class="body"><br/><%msg%></pre><BR /><%else%>&nbsp;<%endif%>
</td>
</tr>
<tr>
<td valign=top>
<%include msg_include_record.html%>
</td>
</tr>
<tr>
<td align=center>
<input type=submit id="button_create" name="bsearch" value="Create Message" class=button />
<input type="button" id="button_spellcheck" name="spellcheck" value="Check Spelling" class="button" tabindex=15>
<input type="button" id="button_reset" name="breset" value=" Reset " class=button onclick="open_url('do=msg_add_form<%hidden_query%>')"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<input name="do" value="msg_add" type=hidden />
<%hidden_objects%>
<%include include_footer.html%>
</form>

View File

@ -0,0 +1,33 @@
<%ifnot users%><%set set_focus = 'myform.cms_name'%><%endif%>
<%if p%>
<script src="<%static_url%>/js/glist.js"></script>
<%include include_style.txt%>
<title><%if site_title%><%site_title%><%else%>Gossamer List<%endif%></title>
<%include msg_include_preview.html%>
<%else%>
<%include include_header.html%>
<%set use_magic = 1%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
<tr>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include msg_include_menu.html%></td>
<td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
<form name=myform action="glist.cgi" method=post>
<tr>
<td height="97%" width="20%" valign="top"><%include msg_include_nav.html%></td>
<td bgcolor="#008000" height="97%" width="1" valign="top"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
<td height="97%" width="80%" valign="top">
<%if d%> <!-- Show details-->
<%include msg_include_details.html%>
<%else%><!-- Show search results-->
<%include msg_include_results.html%>
<%endif%>
<input name='do' value="msg_home" type=hidden />
<%hidden_objects%>
</td>
</tr>
</form>
</table>
<%include include_footer.html%>
<%endif%>

View File

@ -0,0 +1,130 @@
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<%loop results%>
<tr bgcolor="#C5E1A3">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="bold_white">
<td bgcolor="#336600">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="bold_white"><img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace="2" vspace="2" align="texttop">Message Details</td>
<td align="right" class="body_white">
<%set iclose = 1%>
<%set ipreview = 1%>
<%set isend = 1%>
<%set iedit = 1%>
<%set modify = 1%>
<%include msg_include_icons.html%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width=1><img src="<%image_url%>/pics/1pixel.gif" width=1></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="1" cellpadding="2" align="center">
<tr class="body">
<td width=15% class="body" valign=top><b>Message Mode</b></td>
<td width=85% class="body">[<b>
<%if msg_mode eq 'html'%>HTML
<%elsif msg_mode eq 'multi'%>Text and HTML
<%else%>Text Only<%endif%></b> ]
</td>
</tr>
<%if msg_charset%>
<tr class="body">
<td valign=top><b>Charset</b></td>
<td ><%msg_charset%></td>
</tr>
<%endif%>
<tr class="body">
<td width=15% class="body" valign=top><b>Subject</b></td>
<td width=85% class="body"><%msg_subject%></td>
</tr>
<tr class="body">
<td class="body" valign=top><b>From</b></td>
<td class="body"><%if msg_from_name%>"<%msg_from_name%>" &lt;<%msg_from_email%>&gt;<%else%><%msg_from_email%><%endif%></td>
</tr>
<tr class="body">
<td class="body" valign=top><b>Reply To</b></td>
<td class="body"><%msg_reply_to%></td>
</tr>
<tr class="body">
<td class="body" valign=top><b>Return-Path</b></td>
<td class="body"><%msg_bounce_email%></td>
</tr>
<tr class="body">
<td class="body" valign=top width=12%><b>Status</b></td>
<td class="body"><%ifnot msg_status%>Draft<%elsif msg_status == 1%>Sent<%endif%></td>
</tr>
<tr class="body">
<td class="body" valign=top><b>Created</b></td>
<td class="body"><%GList::HTML::date_get('msg_created', '%mm%-%dd%-%yyyy% %hh%:%MM%:%ss%')%>
<%if usr_email ne $msg_user_id_fk%>, by <b><%msg_user_id_fk%></b><%endif%>
</td>
</tr>
<%GList::HTML::generate_attachments%>
<%if attachments%>
<tr class="body">
<td class="body" valign=top><b>Attachments</b></td>
<td class="body">
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class="body">
<td class="body"><%att_file_name%> (<%GList::Tools::friendly_size($att_file_size)%>)</td>
<td class="body"><i>
<a href="javascript:rs('Details','glist.cgi?do=msg_fview&fn=<%att_id%>&fd=<%msg_id%>&ft=1<%hidden_query%>',550,650,0,20,'Yes')">view</a>
<a href="glist.cgi?do=msg_fdownload;fn=<%att_id%>;fd=<%msg_id%>;ft=1<%hidden_query%>">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if msg_content_text%>
<tr class="body" height=310>
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
<tr class="body">
<td valign=top>
<div style="position: relative; width:100%; height:300px; overflow:auto;">
<%GList::HTML::html_unescape($msg_content_text)%>
</div>
</td>
</tr>
</table>
</td>
</tr>
<%endif%>
<%if msg_content_html%>
<tr class="body" height=310>
<td class="body" colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>HTML Message</b><br /><%endif%>
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
<tr>
<td valign=top>
<div style="position: relative; width:100%; height:300px; overflow:auto;">
<%msg_content_html%>
</div>
</td>
</tr>
</table>
<br />
</td>
</tr>
<%endif%>
</table>
<%endloop%>
</td>
</tr>
</table>

View File

@ -0,0 +1,13 @@
<%set first_link = 1%>
<%set separator = '&nbsp;<img src="'%>
<%set separator .= $image_url%>
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px">&nbsp; '%>
<%if modify%>
<%ifnot mul_messages%>
<%if idetails%><a href="glist.cgi?do=msg_home;d=1;msg_id=<%msg_id%>;msg_id-opt==<%if lookup%>&lu=<%lookup%><%endif%><%hidden_query%>" title="Details Page"><font color="#FFFFFF">Details</font></a><%else%><b>Details</b><%endif%>
<%separator%><%if ipreview%><a href="javascript:rs('Details','glist.cgi?do=msg_search;msg_id=<%msg_id%>;msg_id-opt==;p=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Message"><font color="#FFFFFF">Preview</font></a><%endif%>
<%separator%><%if iedit%><a href="glist.cgi?do=msg_modify_form;msg_id=<%msg_id%>;msg_id-opt==<%hidden_query%>" title="Edit Message"><font color="#FFFFFF">Edit</font></a><%else%><b>Edit</b><%endif%>
<%separator%><%if isend%><a href="glist.cgi?do=msg_send_form;msg_id=<%msg_id%><%hidden_query%>" title="Select Lists"><font color="#FFFFFF">Select Lists</font></a><%else%><b><font color="#FFFFFF">Select Lists</font></b><%endif%>
<%endif%>
<%endif%>
&nbsp; &nbsp;<%if iclose%><a href="glist.cgi?do=msg_home<%if url%>;url<%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 title="Close" align="texttop"></a><%endif%>

View File

@ -0,0 +1,12 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24">
<tr class="body_bold">
<td class="body_bold">&nbsp; <img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_home<%if url%>;<%url%><%endif%><%hidden_query%>">Messages</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_add_form<%if url%>;<%url%><%endif%><%hidden_query%>">Create Message</a></td>
<td class="body_bold"><img src="<%image_url%>/pics/bul.gif" width="12" height="8"><a href="glist.cgi?do=msg_search_form<%if url%>;<%url%><%endif%><%hidden_query%>">Find Message</a></td>
<td align="right"><a href="javascript:rs('Help','glist.cgi?do=msg_page;pg=messages.html;t=help<%hidden_query%><%if book_mark%>#<%book_mark%><%endif%>', 550,650,0,20,'Yes')"><img src="<%image_url%>/icons/help.gif" vspace="2" hspace="2" border="0" title="Help"></a></td>
</tr>
<tr class="body_bold">
<td colspan="4" bgcolor="#008000"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,95 @@
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#7a9f54" class="bold_white">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr bgcolor="#256A19">
<td>
<table cellspacing="0" cellpadding="0">
<tr class="bold_white">
<td width="10"><img src="<%image_url%>/icons/folder.gif" vspace="0" hspace="1"></td>
<td height="20" class="bold_white"><%if cms_name and $do%><%cms_name%><%else%>Folders<%endif%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class=body>
<td width="1%" align="right">
<%if hits_cat%>
<a href="glist.cgi?do=msg_home&<%if msg_cat_id_fk%>&msg_cat_id_fk=<%msg_cat_id_fk%>&msg_cat_id_fk-opt==<%endif%><%ifnot cd%>&cd=1<%endif%><%if cs%>&cs=1<%endif%><%if ca%>&ca=1<%endif%><%if users%>&users=1<%endif%>"><img src="<%image_url%>/icons/<%ifnot cd%>collapse.gif<%else%>expend.gif<%endif%>" border=0 width="9" height="9" hspace=1></a>
<%endif%>
</td>
<td width="1%"><img src="<%image_url%>/icons/f_draft.gif" hspace="2" vspace="2"></td>
<td width="100%" class=body>
<%ifnot msg_cat_id_fk%><a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b>Messages</b></a>
<%else%>
<a href="glist.cgi?do=msg_home&<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>">Messages</a>
<%endif%>
<%if hits_root%><span class="small">(<%hits_root%>)</span><%endif%>
</td>
</tr>
<%ifnot cd%>
<tr>
<td>&nbsp;</td>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%loop results_cat%>
<tr class=body>
<td class=body width="1%"><img src="<%image_url%>/pics/<%if last%>corner.gif<%else%>line.gif<%endif%>" width="20" height="18"></td>
<td class=body width="1%"><img src="<%image_url%>/icons/folder.gif" hspace="1"></td>
<td class=body width="98%">
<%if msg_cat_id_fk eq $cms_id%><a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><b><%cms_name%></b></a>
<%else%>
<a href="glist.cgi?do=msg_home&msg_cat_id_fk=<%cms_id%>&msg_cat_id_fk-opt==<%if url%>&<%url%><%endif%><%if users%>&users=1<%endif%><%hidden_query%>"><%cms_name%></a>
<%endif%>
<%if messages%><span class="small">(<%messages%>)</span><%endif%>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%ifnot users%>
<tr class="body">
<td colspan="3" class="body"><br />
<%ifnot cms_id%>
&nbsp;Name:
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>10<%else%>6<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
<input type="button" name="badd_cat" value=" Add " onclick="init_do('myform', 'msg_cat_add', '', '', 'msg_')" class=button />
<%elsif do ne 'deletecat'%>
<table>
<tr>
<td class="body">Name:</td>
<td>
<input type="text" name="cms_name" size="<%if is_ie or is_mozilla%>15<%else%>15<%endif%>" value="<%if cms_name%><%cms_name%><%endif%>" class=object />
</td>
</tr>
<td>&nbsp;</td>
<td>
<input type=hidden name="cms_id" value="<%cms_id%>" />
<input type=button name="cat_update" value="Update" onclick="init_do('myform', 'msg_cat_modify', 1, '', 'msg_')" class=button />
<input type=button name="cat_delete" value="Delete" onclick="init_do('myform', 'msg_cat_delete', 1, '', 'msg_')" class=button />
</td>
</tr>
</table>
<%endif%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="200" height="1"></td>
</tr>
</table>

View File

@ -0,0 +1,102 @@
<body>
<form name="myform" action="glist.cgi" method="post">
<table width="100%" height="40" border="0" cellspacing="1" cellpadding="2" align="center" style="border: solid 1px #008000">
<%if msg%>
<tr>
<td class="body"><%msg%></td>
</tr>
<%endif%>
<tr>
<td class="body">Send a copy of this message to:<br />
Name <input class="object" type="text" name="name" value="<%ifnot name%><%pro_first_name%> <%pro_last_name%><%else%><%name%><%endif%>" size="15">
Email <input class="object" type="text" name="email" value="<%ifnot email%><%usr_email%><%else%><%email%><%endif%>" size="25">
<input class="button" type="submit" name="bemail" value=" Send ">
</td>
</tr>
</table>
<input type=hidden name="msg_id" value="<%msg_id%>" />
<input type=hidden name="msg_id-opt" value="=" />
<input type=hidden name="d" value="1" />
<input type=hidden name="p" value="1" />
<input type=hidden name="do" value="msg_send_sample" />
<%hidden_objects%>
</form>
<%loop results%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr class="body">
<td width=15% class="body" valign=top>Message Mode</td>
<td width=85% class="body">[<b>
<%if msg_mode eq 'html'%>HTML
<%elsif msg_mode eq 'multi'%>Text and HTML
<%else%>Text Only<%endif%></b> ]
</td>
</tr>
<%if msg_charset%>
<tr class="body">
<td valign=top>Charset</td>
<td ><%msg_charset%></td>
</tr>
<%endif%>
<tr class="body">
<td valign=top>Subject</td>
<td ><%msg_subject%></td>
</tr>
<tr class="body">
<td width=20% class="body" valign=top>From</td>
<td width=80% class="body"><%if msg_from_name%>"<%msg_from_name%>" &lt;<%msg_from_email%>&gt;<%else%><%msg_from_email%><%endif%></td>
</tr>
<tr class="body">
<td class="body" valign=top>Reply To</td>
<td class="body"><%msg_reply_to%></td>
</tr>
<tr class="body">
<td class="body" valign=top>Return-Path</td>
<td class="body"><%msg_bounce_email%></td>
</tr>
<tr class="body">
<td valign=top>Created</td>
<td><%GList::HTML::date_get('msg_created', '%mm%-%dd%-%yyyy% %hh%:%MM%:%ss%')%>
<%if usr_email ne $msg_user_id_fk%>, by <b><%msg_user_id_fk%></b><%endif%>
</td>
</tr>
<%GList::HTML::generate_attachments%>
<%if attachments%>
<tr class="body">
<td valign=top>Attachments</td>
<td>
<table border="0" cellspacing="2" cellpadding="2">
<%loop attachments%>
<tr class="body">
<td class="body"><%att_file_name%> (<%GList::Tools::friendly_size($att_file_size)%>)</td>
<td class="body"><i>
<a href="javascript:rs('Details','glist.cgi?do=msg_fview&fn=<%att_id%>&fd=<%msg_id%>&ft=1',550,650,0,20,'Yes')">view</a>
<a href="glist.cgi?do=msg_fdownload&fn=<%att_id%>&fd=<%msg_id%>&ft=1">download</a></i>
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<%endif%>
<%if msg_content_text%>
<tr class="body">
<td colspan=2 valign=top class="body"><%if msg_mode eq 'multi' or msg_mode eq 'html'%><b>Text Message</b><br /><%endif%>
<%GList::HTML::html_unescape($msg_content_text)%>
</td>
</tr>
<%endif%>
<%if msg_content_html%>
<tr class="body">
<td colspan=2 valign=top><%if msg_mode eq 'multi' or msg_mode eq 'html' %><b>HTML Message</b><br /><%endif%>
<%msg_content_html%>
</td>
</tr>
<%endif%>
</table>
</td>
</tr>
</table>
<%endloop%>

View File

@ -0,0 +1,381 @@
<%include spellcheck_editor.html%>
<script>
/*
// Add listeners to the subscription inputs
document.getElementById("subscribe_to_num")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("subscribe_to_text")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("unsubscribe_to_num")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("unsubscribe_to_text")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("subscribe_move_from_num")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("subscribe_move_from_num")
.addEventListener("onchange", this.create_subscription_link());
document.getElementById("subscribe_move_text")
.addEventListener("onchange", this.create_subscription_link());
//*/
function switch_mode(mode, editor_advanced, submit) {
document.myform.emode.value = mode;
if (typeof(editor_advanced) != 'undefined')
document.myform.editor_advanced.value = editor_advanced;
if (submit) {
if (editor_advanced == 0)
ae.retrieveHTML();
document.myform.switch_editor.value = 1;
document.myform.submit();
}
}
function create_subscription_link(event) {
var targetId = event.target.id;
// Return if null/undefined
if(!targetId == true)
{
return;
}
// Look if this is an "ADD" subscription
var contentToReplace = "";
if (targetId.includes("unsubscribe_to"))
{
contentToReplace = "<a href=\"<%unsubscribe_list%>" +
document.getElementById("unsubscribe_to_num").value +
"\">" + document.getElementById("unsubscribe_to_text").value
+ "</a>";
document.getElementById("unsubscribe_to_link").setAttribute("value", contentToReplace);
}
else if(targetId.includes("subscribe_to"))
{
contentToReplace = "<a href=\"<%subscribe_list%>" +
document.getElementById("subscribe_to_num").value +
"\">" + document.getElementById("subscribe_to_text").value
+ "</a>";
document.getElementById("subscribe_to_link").setAttribute("value", contentToReplace);
}
else if (targetId.includes("subscribe_move"))
{
contentToReplace = "<a href=\"<%move_list%>" +
document.getElementById("subscribe_move_from_num").value + "-" +
document.getElementById("subscribe_move_to_num").value +
"\">" + document.getElementById("subscribe_move_text").value
+ "</a>";
document.getElementById("subscribe_move_link").setAttribute("value", contentToReplace);
}
return;
}
function copy_to_clipboard(event) {
var targetId = event.target.id;
// Return if null/undefined
if(!targetId == true)
{
return;
}
if (targetId.includes("unsubscribe_to"))
{
document.getElementById("unsubscribe_to_link").select();
}
else if(targetId.includes("subscribe_to"))
{
document.getElementById("subscribe_to_link").select();
}
else if (targetId.includes("subscribe_move"))
{
document.getElementById("subscribe_move_link").select();
}
try {
document.execCommand('copy');
}
catch (err) {
return;
}
return;
}
</script>
<div>
<a href="<%subscribe_list%>209">Unsubscribe</a>
</div>
<table onchange="create_subscription_link(event)" border="0" width="98%" cellspacing="1" cellpadding="1" align="center">
<tr>
<td class="body">Email Mode</td>
<td class="body">[ <b>
<%if emode eq 'html'%>HTML
<%elsif emode eq 'multi'%>Text and HTML
<%else%>Text Only<%endif%></b> ]
<input type="hidden" name="msg_mode" value="<%if emode eq 'html'%>html<%elsif emode eq 'multi'%>multi<%else%>text<%endif%>">
<input type="submit" id="button_mode" class="button" name="bswitch" value="Switch To <%if emode eq 'text'%>HTML<%else%>Text<%endif%>" onclick="switch_mode('<%if emode eq 'text' and $usr_compose_mode eq 'multi'%>multi<%elsif emode eq 'text'%>html<%else%>text<%endif%>')">
</td>
</tr>
<tr>
<td class="body">Character Set:</td>
<td>
<select name="msg_charset" class="object">
<option<%if msg_charset eq 'us-ascii'%> selected<%endif%>>us-ascii</option>
<option<%if msg_charset eq 'ISO-8859-1'%> selected<%endif%>>ISO-8859-1</option>
<option<%if msg_charset eq 'ISO-8859-2'%> selected<%endif%>>ISO-8859-2</option>
<option<%if msg_charset eq 'ISO-8859-3'%> selected<%endif%>>ISO-8859-3</option>
<option<%if msg_charset eq 'ISO-8859-4'%> selected<%endif%>>ISO-8859-4</option>
<option<%if msg_charset eq 'ISO-8859-5'%> selected<%endif%>>ISO-8859-5</option>
<option<%if msg_charset eq 'ISO-8859-6'%> selected<%endif%>>ISO-8859-6</option>
<option<%if msg_charset eq 'ISO-8859-6-I'%> selected<%endif%>>ISO-8859-6-I</option>
<option<%if msg_charset eq 'ISO-8859-6-E'%> selected<%endif%>>ISO-8859-6-E</option>
<option<%if msg_charset eq 'ISO-8859-7'%> selected<%endif%>>ISO-8859-7</option>
<option<%if msg_charset eq 'ISO-8859-8'%> selected<%endif%>>ISO-8859-8</option>
<option<%if msg_charset eq 'ISO-8859-8-I'%> selected<%endif%>>ISO-8859-8-I</option>
<option<%if msg_charset eq 'ISO-8859-8-E'%> selected<%endif%>>ISO-8859-8-E</option>
<option<%if msg_charset eq 'ISO-8859-9'%> selected<%endif%>>ISO-8859-9</option>
<option<%if msg_charset eq 'ISO-8859-10'%> selected<%endif%>>ISO-8859-10</option>
<option<%if msg_charset eq 'ISO-8859-13'%> selected<%endif%>>ISO-8859-13</option>
<option<%if msg_charset eq 'ISO-8859-14'%> selected<%endif%>>ISO-8859-14</option>
<option<%if msg_charset eq 'ISO-8859-15'%> selected<%endif%>>ISO-8859-15</option>
<option<%if msg_charset eq 'ISO-IR-111'%> selected<%endif%>>ISO-IR-111</option>
<option<%if msg_charset eq 'ISO-2022-CN'%> selected<%endif%>>ISO-2022-CN</option>
<option<%if msg_charset eq 'ISO-2022-KR'%> selected<%endif%>>ISO-2022-KR</option>
<option<%if msg_charset eq 'ISO-2022-JP'%> selected<%endif%>>ISO-2022-JP</option>
<option<%if msg_charset eq 'UTF-32BE'%> selected<%endif%>>UTF-32BE</option>
<option<%if msg_charset eq 'UTF-32LE'%> selected<%endif%>>UTF-32LE</option>
<option<%if msg_charset eq 'UTF-32BE'%> selected<%endif%>>UTF-32BE</option>
<option<%if msg_charset eq 'UTF-16BE'%> selected<%endif%>>UTF-16BE</option>
<option<%if msg_charset eq 'UTF-16LE'%> selected<%endif%>>UTF-16LE</option>
<option<%if msg_charset eq 'UTF-16BE'%> selected<%endif%>>UTF-16BE</option>
<option<%if msg_charset eq 'windows-1250'%> selected<%endif%>>windows-1250</option>
<option<%if msg_charset eq 'windows-1251'%> selected<%endif%>>windows-1251</option>
<option<%if msg_charset eq 'windows-1252'%> selected<%endif%>>windows-1252</option>
<option<%if msg_charset eq 'windows-1253'%> selected<%endif%>>windows-1253</option>
<option<%if msg_charset eq 'windows-1254'%> selected<%endif%>>windows-1254</option>
<option<%if msg_charset eq 'windows-1255'%> selected<%endif%>>windows-1255</option>
<option<%if msg_charset eq 'windows-1256'%> selected<%endif%>>windows-1256</option>
<option<%if msg_charset eq 'windows-1257'%> selected<%endif%>>windows-1257</option>
<option<%if msg_charset eq 'windows-1258'%> selected<%endif%>>windows-1258</option>
<option<%if msg_charset eq 'IBM866'%> selected<%endif%>>IBM866</option>
<option<%if msg_charset eq 'IBM850'%> selected<%endif%>>IBM850</option>
<option<%if msg_charset eq 'IBM852'%> selected<%endif%>>IBM852</option>
<option<%if msg_charset eq 'IBM855'%> selected<%endif%>>IBM855</option>
<option<%if msg_charset eq 'IBM857'%> selected<%endif%>>IBM857</option>
<option<%if msg_charset eq 'IBM862'%> selected<%endif%>>IBM862</option>
<option<%if msg_charset eq 'IBM864'%> selected<%endif%>>IBM864</option>
<option<%if msg_charset eq 'IBM864i'%> selected<%endif%>>IBM864i</option>
<option<%if msg_charset eq 'UTF-8'%> selected<%endif%>>UTF-8</option>
<option<%if msg_charset eq 'UTF-7'%> selected<%endif%>>UTF-7</option>
<option<%if msg_charset eq 'Shift_JIS'%> selected<%endif%>>Shift_JIS</option>
<option<%if msg_charset eq 'Big5'%> selected<%endif%>>Big5</option>
<option<%if msg_charset eq 'EUC-JP'%> selected<%endif%>>EUC-JP</option>
<option<%if msg_charset eq 'EUC-KR'%> selected<%endif%>>EUC-KR</option>
<option<%if msg_charset eq 'GB2312'%> selected<%endif%>>GB2312</option>
<option<%if msg_charset eq 'VISCII'%> selected<%endif%>>VISCII</option>
<option<%if msg_charset eq 'KOI8-R'%> selected<%endif%>>KOI8-R</option>
<option<%if msg_charset eq 'KOI8-U'%> selected<%endif%>>KOI8-U</option>
<option<%if msg_charset eq 'TIS-620'%> selected<%endif%>>TIS-620</option>
<option<%if msg_charset eq 'T.61-8bit'%> selected<%endif%>>T.61-8bit</option>
<option<%if msg_charset eq 'HZ-GB-2312'%> selected<%endif%>>HZ-GB-2312</option>
<option<%if msg_charset eq 'Big5-HKSCS'%> selected<%endif%>>Big5-HKSCS</option>
</select>
</td>
</tr>
<tr>
<td class="body">Subject</td>
<td class="body">
<input type="text" name="msg_subject" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_subject%><%msg_subject%><%endif%>" class=object /><font color=green>*</font>
</td>
</tr>
<tr>
<td class="body" nowrap>From Name</td>
<td class="body" nowrap>
<input type="text" name="msg_from_name" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_from_name%><%msg_from_name%><%else%><%pro_first_name%> <%pro_last_name%><%endif%>" class=object />
</td>
</tr>
<tr>
<td class="body">From Email</td>
<td class="body">
<input type="text" name="msg_from_email" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_from_email%><%msg_from_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
</td>
</tr>
<tr>
<td class="body">Reply to Email</td>
<td class="body">
<input type="text" name="msg_reply_to" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_reply_to%><%msg_reply_to%><%elsif usr_reply_email%><%usr_reply_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
</td>
</tr>
<tr>
<td class="body">Bounce Email</td>
<td class="body">
<input type="text" name="msg_bounce_email" size="<%if is_ie or is_mozilla%>54<%else%>20<%endif%>" value="<%if msg_bounce_email%><%msg_bounce_email%><%elsif usr_bounce_email%><%usr_bounce_email%><%else%><%usr_email%><%endif%>" class=object /><font color=green>*</font>
</td>
</tr>
<tr>
<td class="body" valign="top">Attachments</td>
<td>
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<td colspan=2>
<input type=file name=attachment size="<%if is_ie or is_mozilla%>30<%else%>20<%endif%>" class=object />
<input type=submit id="button_attach" name="add_attach" value="Upload" class=button />
</td>
</tr>
<%if hits%>
<tr>
<td>
<table border="0" cellspacing="1" cellpadding="1">
<%loop attachments%>
<tr class="body">
<td>
<input type=hidden name="attach-<%fname%>" value="<%user_fname%>" />
<input name="del_attach" value="<%fname%>" type="checkbox" />
</td>
<td class="body"><%user_fname%>&nbsp;&nbsp;(<%GList::Tools::friendly_size($fsize)%>)</td>
</tr>
<%endloop%>
</table>
</td>
<td valign="middle"><input type=submit name="sdelete" value="Delete Attachments" class=button /></td>
</tr>
<%endif%>
</table>
</td>
</tr>
<%if emode eq 'html' or emode eq 'multi'%>
<tr>
<td class="body">Text</td>
<td class="body">
<%if emode eq 'html'%>
[ <b>Autogenerated</b> ]
<%elsif emode eq 'multi'%>
[ <b>Entered Manually</b> ]
<%endif%>
<input type="submit" class="button" id="button_text" name="bswitch" value="<%if emode eq 'html'%>Enter text manually<%elsif emode eq 'multi'%>Autogenerate<%endif%>" onclick="switch_mode(<%if emode eq 'multi'%>'html'<%elsif emode eq 'html'%>'multi'<%endif%>)">
</td>
</tr>
<%endif%>
<tr>
<td class="body"><%if emode ne 'html'%>Text message<%else%>&nbsp;<%endif%></td>
<td align=right class="body"><font color=green>*: required&nbsp;</font></td>
</tr>
<%--
TEXT message part
--%>
<%if emode eq 'text' or emode eq 'multi' or emode eq ''%>
<tr>
<td colspan=2 align="center">
<textarea id="msg_content_text" name="msg_content_text" style="width: 100%" rows="15" wrap='on' <%if is_ie or is_mozilla%>class="object_white"<%endif%>><%if msg_content_text%><%msg_content_text%><%endif%></textarea>
</td>
</tr>
<%endif%>
<%--
HTML code for message having HTML and TEXT part
--%>
<%if emode eq 'html' or emode eq 'multi'%>
<tr>
<td class="body" colspan="2"><%if editor_advanced%>HTML message<%else%>Raw HTML<%endif%>&nbsp; <span id="url_switch">[ <a href="javascript:switch_mode('<%if emode%><%emode%><%else%>text<%endif%>', <%if editor_advanced%>0<%else%>1<%endif%>, 1)"><%if editor_advanced%>Use Text Area<%else%>Use Advanced Editor<%endif%></a> ]</span></td>
</tr>
<%if editor_advanced%>
<tr height="280">
<td align="center" colspan="2" <%if emode eq 'html'%>width="<%if msg_editor_width%><%msg_editor_width%><%else%>700<%endif%>"<%endif%>>
<input type="hidden" id="msg_content_html" name="msg_content_html" value="<%if msg_content_html%><%msg_content_html%><%endif%>" />
<input type="hidden" id="compose_is_html" value="1" />
<%include editor_objects.html%>
</td>
</tr>
<%else%>
<tr>
<td align=center colspan=2>
<textarea id="msg_content_html" name="msg_content_html" style="width: 100%" rows="15" wrap='on' class="object_white"><%if msg_content_html%><%msg_content_html%><%endif%></textarea>
<input type="hidden" id="compose_is_html" value="1" />
</td>
</tr>
<%endif%>
<!-- Arbitrary Subscribe/Unsubscribe/Move List Options -->
<tr>
<td class="body">Subscribe To List:</td>
<td>
<input type="number" id="subscribe_to_num" />
</td>
</tr>
<tr>
<td class="body">Subscribe To Text:</td>
<td>
<input type="text" id="subscribe_to_text" />
</td>
</tr>
<tr>
<td class="body"></td>
<td>
<input type="text" id="subscribe_to_link" readonly="readonly" value=""/>
<input type="button" id="subscribe_to_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
</td>
</tr>
<tr>
<td class="body">Unsubscribe To List:</td>
<td>
<input type="number" id="unsubscribe_to_num" />
</td>
</tr>
<tr>
<td class="body">Unsubscribe To Text:</td>
<td>
<input type="text" id="unsubscribe_to_text" />
</td>
</tr>
<tr>
<td class="body"></td>
<td>
<input type="text" id="unsubscribe_to_link" readonly="readonly" value=""/>
<input type="button" id="unsubscribe_to_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
</td>
</tr>
<tr>
<td class="body">Move Subscription To Lists:</td>
<td>
<input type="number" id="subscribe_move_from_num" />
</td>
</tr>
<tr>
<td class="body" />
<td>
<input type="number" id="subscribe_move_to_num" />
</td>
</tr>
<tr>
<td class="body">Move Subscription To Text:</td>
<td>
<input type="text" id="subscribe_move_text" />
</td>
</tr>
<tr>
<td class="body"></td>
<td>
<input type="text" id="subscribe_move_link" readonly="readonly" value=""></input>
<input type="button" id="subscribe_move_but" value="Copy to Clipboard" onclick="copy_to_clipboard(event)"/>
</td>
</tr>
<!-- END: Arbitrary Subscription Options -->
<tr>
<td colspan=2 class="body">
<input type="checkbox" name="msg_track_open" value="1" <%if msg_track_open%>checked<%endif%>> Track number of users who open this message.<BR/>
<input type="checkbox" name="msg_track_click" value="1" <%if msg_track_click%>checked<%endif%>> Track click rates.
</td>
</tr>
<%endif%>
</table>
<%include spellcheck_objects.html%>
<input type="hidden" name="emode" value="<%if emode%><%emode%><%else%>text<%endif%>">
<input type="hidden" name="editor_advanced" value="<%if editor_advanced%><%editor_advanced%><%endif%>">
<input type="hidden" name="switch_editor" value="">

View File

@ -0,0 +1,92 @@
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
</tr>
<tr bgcolor="#7a9f54">
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr class="body">
<td width="3%" height="20" align="center" bgcolor="#256A19" class="body"><img src="<%image_url%>/icons/message.gif" hspace=2></td>
<td width="3%" height="20" align="center" bgcolor="#256A19" class="body"><img src="<%image_url%>/icons/attachment.gif" hspace=2></td>
<td width="63%" height="20" bgcolor="#256A19" class="body_bold">
<a href="glist.cgi?do=msg_home&<%if query%><%query%><%elsif msg_cat_id_fk%>msg_cat_id_fk=<%msg_cat_id_fk%><%else%>msg_root=1<%endif%><%ifnot use_cookie%>&sid=<%session_id%><%endif%><%if users%>&users=1<%endif%>&sb=msg_subject&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>"><font color="#FFFFFF">Subject</font></a>
<%if sb eq 'msg_subject'%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>down.gif<%else%>up.gif<%endif%>" border=0>
<%endif%>
</td>
<td width="28%" height="20" bgcolor="#256A19" class="body_bold" align="center">
<a href="glist.cgi?do=msg_home&<%if query%><%query%><%elsif msg_cat_id_fk%>msg_cat_id_fk=<%msg_cat_id_fk%><%else%>msg_root=1<%endif%><%ifnot use_cookie%>&sid=<%session_id%><%endif%><%if users%>&users=1<%endif%>&so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%>"><font color="#FFFFFF">Created</font></a>
<%ifnot sb%>
<img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
<%endif%>
</td>
<td width="5%" align="center" height="20" bgcolor="#256A19" class="body">
<input name=c_all type=checkbox onclick="check_all()" />
</td>
</tr>
<%loop results%>
<tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
<td align="center">
<img src="<%image_url%>/icons/<%if msg_status%>sent.gif<%else%>message.gif<%endif%>" hspace=2>
</td>
<td align="center">
<%GList::HTML::generate_attachments%>
<%if attachments%><img src="<%image_url%>/icons/attachment.gif" hspace=2><%else%>&nbsp;<%endif%>
</td>
<td class="body">
<%if msg_user_id_fk and msg_user_id_fk ne $usr_username%>
<%set user_search = 1%>
<%elsif msg_user_id_fk eq $usr_username and msg_user_id_fk-opt eq '<>'%>
<%set user_search = 1%>
<%endif%>
<a href="glist.cgi?do=msg_home;d=1;msg_id=<%msg_id%>;msg_id-opt==<%if lookup%>;lu=<%lookup%><%endif%><%hidden_query%>"><%msg_subject%></a>
</td>
<td class="body" align=center>
<%GList::HTML::date_get('msg_created', 1)%>
</td>
<td align="center">
<input type="checkbox" name="modify" value="<%row_num%>" onclick="check_item(this)" />
<input type="hidden" name="<%row_num%>-msg_id" value="<%msg_id%>" />
</td>
</tr>
<%endloop%>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" height=30 >
<%if hits > $mh and $mh != -1%>
<tr align="left" class="body">
<td class="body" cols="2"><%include include_toolbar.html%></td>
</tr>
<%endif%>
<tr class="body">
<td class="body"><%if msg%><%msg%><%else%>&nbsp;<%endif%></td>
<%if hits%>
<td class="body" align="right">
<%if hits_cat%>
<b>Move to</b>:
<select name="move_to" class=object>
<option value="">-------</option>
<%if msg_cat_id_fk%>
<option value='root'>Messages</option>
<%endif%>
<%loop results_cat%>
<%if msg_cat_id_fk ne $cms_id%>
<option value="<%cms_id%>"><%cms_name%></option>
<%endif%>
<%endloop%>
</select>
<input type="button" name="bmove" value="Move" onclick="init_do('myform', 'msg_move', '', '', 'msg_', '', '', 'Please choose one or more message to move by checking the boxes to the right of the message(s).')" class=button />
<%endif%>
<input type="button" name="bdelete" value="Delete Messages" onclick="init_do('myform', 'msg_delete', '', '', 'msg_')" class=button />
<input type="button" name="bselect" value="Select Lists" onclick="init_do('myform', 'msg_send_form', '', '', 'msg_', '', '', 'Please choose one or more message to send by checking the boxes to the right of the message(s).')" class=button />
</td>
<%endif%>
</tr>
</table>
</td>
</tr>
</table>

Some files were not shown because too many files have changed in this diff Show More