| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/cgny/nympadmin/ |
Upload File : |
<cfcontent type="text/html;charset=iso-8859-1">
<cfprocessingDirective pageencoding="iso-8859-1">
<cfset setEncoding("Form", "ISO-8859-15")>
<CFSET CurrentDateTime = #CreateODBCDateTime(Now())#>
<cfif session.email eq ''>
<cfset Session.email = -1>
</cfif>
<cfif IsDefined("Cookie.email")>
<cfset Session.email = Cookie.email>
</cfif>
<html><head>
<script type="text/javascript" src="htmlarea.js"></script>
<script type="text/javascript" src="lang/en.js"></script>
<script type="text/javascript" src="dialog.js"></script>
<style type="text/css">
@import url(htmlarea.css);
</style>
<script type="text/javascript">
var editor = null;
function initEditor() {
editor = new HTMLArea("ta");
// comment the following two lines to see how customization works
editor.generate();
return false;
var cfg = editor.config; // this is the default configuration
cfg.registerButton({
id : "my-hilite",
tooltip : "Highlight text",
image : "ed_custom.gif",
textMode : false,
action : function(editor) {
editor.surroundHTML("<span class=\"hilite\">", "</span>");
},
context : 'table'
});
cfg.toolbar.push(["linebreak", "my-hilite"]); // add the new button to the toolbar
// BEGIN: code that adds a custom button
// uncomment it to test
var cfg = editor.config; // this is the default configuration
/*
cfg.registerButton({
id : "my-hilite",
tooltip : "Highlight text",
image : "ed_custom.gif",
textMode : false,
action : function(editor) {
editor.surroundHTML("<span class=\"hilite\">", "</span>");
}
});
*/
function clickHandler(editor, buttonId) {
switch (buttonId) {
case "my-toc":
editor.insertHTML("<h1>Table Of Contents</h1>");
break;
case "my-date":
editor.insertHTML((new Date()).toString());
break;
case "my-bold":
editor.execCommand("bold");
editor.execCommand("italic");
break;
case "my-hilite":
editor.surroundHTML("<span class=\"hilite\">", "</span>");
break;
}
};
cfg.registerButton("my-toc", "Insert TOC", "ed_custom.gif", false, clickHandler);
cfg.registerButton("my-date", "Insert date/time", "ed_custom.gif", false, clickHandler);
cfg.registerButton("my-bold", "Toggle bold/italic", "ed_custom.gif", false, clickHandler);
cfg.registerButton("my-hilite", "Hilite selection", "ed_custom.gif", false, clickHandler);
cfg.registerButton("my-sample", "Class: sample", "ed_custom.gif", false,
function(editor) {
if (HTMLArea.is_ie) {
editor.insertHTML("<span class=\"sample\"> </span>");
var r = editor._doc.selection.createRange();
r.move("character", -2);
r.moveEnd("character", 2);
r.select();
} else { // Gecko/W3C compliant
var n = editor._doc.createElement("span");
n.className = "sample";
editor.insertNodeAtSelection(n);
var sel = editor._iframe.contentWindow.getSelection();
sel.removeAllRanges();
var r = editor._doc.createRange();
r.setStart(n, 0);
r.setEnd(n, 0);
sel.addRange(r);
}
}
);
/*
cfg.registerButton("my-hilite", "Highlight text", "ed_custom.gif", false,
function(editor) {
editor.surroundHTML('<span class="hilite">', '</span>');
}
);
*/
cfg.pageStyle = "body { background-color: #efd; } .hilite { background-color: yellow; } "+
".sample { color: green; font-family: monospace; }";
cfg.toolbar.push(["linebreak", "my-toc", "my-date", "my-bold", "my-hilite", "my-sample"]); // add the new button to the toolbar
// END: code that adds a custom button
editor.generate();
}
function insertHTML() {
var html = prompt("Enter some HTML code here");
if (html) {
editor.insertHTML(html);
}
}
function highlight() {
editor.surroundHTML('<span style="background-color: yellow">', '</span>');
}
</script>
<cfif parameterexists (url.showid)>
<cfquery name="disc" datasource="#ds#">
select showname,id
from shows
where id = #url.showid#
</cfquery>
<cfoutput><title>#disc.showname#</title></cfoutput>
<cfelseif parameterexists (url.thread)>
<cfquery name="message" datasource="#ds#">
select topic
from #boardtable#
where id=#url.thread#
</cfquery>
<Cfoutput><title>#message.topic#</CFOUTPUT></title>
<cfelseif parameterexists (url.mid)>
<cfquery name="message" datasource="#ds#">
select topic
from #boardtable#
where id=#url.mid#
</cfquery>
<title><Cfoutput>#message.topic#</CFOUTPUT></title>
<cfelseif parameterexists (url.page)>
<cfif #url.page# eq 'shows'><title>Broadway Show Directory</title></cfif>
<cfif #url.page# eq 'oshows'><title>Off-Broadway Show Directory</title></cfif>
<cfif #url.page# eq 'calendar'><title>Broadway Calendar</title></cfif>
<cfelseif parameterexists (url.pagename)>
<cfif #url.pagename# eq 'classic'><title>Broadway Message Board - Classic View</title></cfif>
<cfif #url.pagename# eq 'board'><title>Broadway Message Board - Modern View</title></cfif>
<cfelseif parameterexists (url.daterequest)>
<cfoutput><title>Broadway Calendar #url.daterequest#</title></cfoutput>
<cfelse>
<title>BroadwayWorld.com - The New Theater Fan Community!</title>
</cfif>
<script>
if (window != top) top.location.href = location.href;
</script>
<script language="javascript">
function popup(){
newwin = window.open('','picture','width=400,height=400,scrollbars=no, hspace=0 vspace =0 resizable=0');}
</script>
<script language="javascript">
function popup4(){
newwin = window.open('','picture','width=400,height=400,scrollbars=yes, hspace=0 vspace =0 resizable=0');}
</script>
<cfinclude template="style.cfm">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff" Link="7C0908" aLink="CC2B00" vLink="CC6262" onload="initEditor()">>
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td bgcolor=D4D4D4 valign=top width=240><a href="/index.cfm"><img alt src="/broadwayworld.jpg" border="0" hspace=3></a></td>
<td bgcolor=D4D4D4 align=right><Table cellspacing=0 cellpadding=1><tr><td><IFRAME src="/test.php" frameBorder=0 width=468 scrolling=no height=60></IFRAME> </td></tr></TABLE></td></tr></table><table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td valign="top" width=160 bgcolor="#FFF0D3"><table border="0" cellspacing="0" cellpadding="0" width=160><tr><td width="160" valign="top"><br><cfinclude template="nav.cfm"></td></tr></table></td><td valign=top width=1><img src="/left.gif"></td><td valign="top" width="95%"><br>
<cfquery name = "getcoldata" datasource ="bww">
select *
from columnmaster
where member = '#getuser.member#'
</cfquery>
<form action="test.cgi" method="post" id="edit" name="edit">
<textarea id="ta" name="ta" style="width:100%" rows="20" cols="80">
<p>Here is some sample text: <b>bold</b>, <i>italic</i>, <u>underline</u>. </p>
<p align=center>Different fonts, sizes and colors (all in bold):</p>
<p><b>
<font face="arial" size="7" color="#000066">arial</font>,
<font face="courier new" size="6" color="#006600">courier new</font>,
<font face="georgia" size="5" color="#006666">georgia</font>,
<font face="tahoma" size="4" color="#660000">tahoma</font>,
<font face="times new roman" size="3" color="#660066">times new roman</font>,
<font face="verdana" size="2" color="#666600">verdana</font>,
<font face="tahoma" size="1" color="#666666">tahoma</font>
</b></p>
<p>Click on <a href="http://www.interactivetools.com/">this link</a> and then on the link button to the details ... OR ... select some text and click link to create a <b>new</b> link.</p>
</textarea>
<p />
<input type="submit" name="ok" value=" submit " />
<input type="button" name="ins" value=" insert html " onclick="return insertHTML();" />
<input type="button" name="hil" value=" highlight text " onclick="return highlight();" />
<a href="javascript:mySubmit()">submit</a>
<script type="text/javascript">
function mySubmit() {
// document.edit.save.value = "yes";
document.edit.onsubmit(); // workaround browser bugs.
document.edit.submit();
};
</script>
</form>
<table width=100%><tr><td>
<div align="center"><font face=verdana size=+1><strong>Submit New Column<br>After you submit, our editor will be notified...<br> After he edits and approves, your column will be live - magic!</strong></font>
<br>
<FORM action="postcolumn2.cfm" method=post id="edit" name="edit">
<cfoutput>
<input NAME="COLUMNNUM" value="#getcoldata.id#" type="hidden">
</cfoutput>
<br>
<table cellspacing=5 cellpadding=5>
<tr>
<td>
<b><font SIZE="-1" FACE="verdana" >Column Title:</font></b>
</td>
<td>
<input NAME="title" SIZE="70">
<input TYPE ="hidden" NAME="Title_required" VALUE="You must enter a title!">
</td>
</tr>
<tr>
<td colspan=2 align="left" valign="top">
<font SIZE="-1" FACE="verdana" ><b>Blurb:</b></font><br>
<textarea name="blurb" cols="65" rows="3" wrap="VIRTUAL"></textarea>
</td>
</tr>
<tr><td colspan=2>
<textarea name="ta" style="width:800; height:500" rows="100">
</textarea>
<script type="text/javascript">
function mySubmit() {
// document.edit.save.value = "yes";
document.edit.onsubmit(); // workaround browser bugs.
document.edit.submit();
};
</script>
</td></tr>
</table>
<center><b><input type="submit" Value="Submit Column"><input type="reset" Value="Clear Form"></b></center>
</center><br>
</form>
</td></tr></table>
<cfinclude template="../footer2.cfm">