%@ Language=JavaScript%>
<%
/* Connection Pooler */
var ConnectionCache = new ConnectionCache()
/* server-side recordset */
var NewsMain = new Recordset("NewsMain", "kellnetweb", "", "", "SELECT WebNews.Headline, WebNews.Copy, WebNews.DatePosted, WebNews.StoryNumber FROM WebNews", "StoryNumber", true, 2, 3, 3, "");
NewsMain.Open();
NewsMain.ProcessAction();
NewsMain.SetMessages("","");
/* server-side recordset */
var indiantodayQ = new Recordset("indiantodayQ", "kellnetweb", "admin", "", "SELECT indianstoday.PlayDate, indianstoday.OppTeam, indianstoday.HA, indianstoday.GameTime FROM indianstoday", "PlayDate", true, 2, 3, 3, "");
indiantodayQ.Open();
indiantodayQ.ProcessAction();
indiantodayQ.SetMessages("","");
%>
<%
function Text1_Server(html) {
var theValue = ""
var theCounter = 0;
while(theCounter < "4" && !NewsMain.IsEOF())
{
theValue += "";
if (NewsMain.GetColumnValue("Headline")) { theValue += NewsMain.GetColumnValue("Headline");}
theValue += "
";
if (NewsMain.GetColumnValue("Copy")) { theValue += NewsMain.GetColumnValue("Copy").substring("0", "125");}
theValue += "...";
theValue += "";
theValue += "more";
theValue += "
";
theCounter++
NewsMain.MoveNext();
}
html = subAwithBinC("[newsin]", theValue, html)
html = subAwithBinC("
", "", html)
Response.Write(html);
}
%>