-
December 2nd, 2001, 09:56 PM
#1
-
December 2nd, 2001, 11:57 PM
#2
what a great idea. if i had the time i'd do it.
seriously, i've cut and pasted your post into my todo list.
thanks
Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”
-
December 3rd, 2001, 12:11 AM
#3
Here ya go
Thanks I'm glad you find it useful...
To save you the time of doing it yourself...here's the setup I use
------Start index.html ------
<html>
<frameset cols="225,*,175">
<frameset rows="60%,40%">
<frame src="http://www.securityfocus.com/topnews?nentries=20&width=100&content=all" name="sfocus">
<frame src="http://packetstorm.decepticons.org/backend/sidebar20.html" name="pstorm">
</frameset>
<frameset rows="50%,50%">
<frame src="security.html" name="swatcher">
<frame src="http://defaced.alldas.de/backend/last15def.html" name="alldus">
</frameset>
<frame src="trend.html" name="tmicro">
</frameset>
</html>
--------End index.html -----------
Then I have a file that has the security watcher page
--------Start security.html ----------
<HTML>
<BODY>
<CENTER>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=3>
<TR VALIGN=TOP>
<TD>
<FONT FACE="Arial,Helvetica">
<script LANGUAGE="JavaScript" SRC="http://news.securitytracker.com/server/affiliate?756CA6E7326E8003"></script>
</FONT></TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
-------End security.html ---------
And last the Trend Micro page trend.html
--------Start trend.html----------
<HTML>
<BODY>
<CENTER>
<script language="JavaScript">
<!--
// *********************************
// WEBMASTERS: YOU MAY CHANGE THE FOLLOWING VALUES TO CUSTOMIZE
// THE APPEARANCE OF TREND MICRO VIRUS INFO FEED ON YOUR SITE
var showAlert='automatic' // 'automatic' OR 'never'
var topCount=5 // NUMBER (0 to 10)
var advisoryCount=5 // NUMBER (0 to 20)
var showRisk=false
var showUpdated=false
var showPattern=false
var showPatternLink=false
var showEngineLink=false
var showFreeScanLink=true
var showFreeAlertsLink=true
var showHoaxesLink=true
var showMapLink=false
var showSearch=false
var bgColor='white' // COLOR NAME OR HEX VALUE (i.e., '#ffffff')
var textColor='black'
var linkColor='blue'
var fontSize=1
var fontName='Verdana, Arial, Helvetica, sans-serif'
var linkTarget='_blank'
// YOU MAY TRANSLATE THE FOLLOWING LABELS TO YOUR OWN LANGUAGE
var saStr='SECURITYALERT'
var mrStr='MEDIUM RISK'
var hrStr='HIGH RISK'
var tvStr='Top Viruses'
var vaStr='Virus Advisories'
var rlStr='Related Links'
var fvStr='FREE virus scan'
var faStr='FREE email alerts'
var hoStr='Hoaxes'
var rtStr='Real-time virus map'
var vsStr='VirusSearch'
var goStr='go'
// *********************************
var ct='http://www.antivirus.com/syndication/vinfo/click.asp?go='
var veURL=ct+'http://www.antivirus.com'
veURL+='/pc-cillin/vinfo/virusencyclo/default5.asp?VName='
var moreURL=ct+'http://www.antivirus.com/pc-cillin/vinfo/default.asp?advis=more'
var ptnURL=ct+'http://www.antivirus.com/pc-cillin/download/pattern.asp'
var engURL=ct+'http://www.antivirus.com/pc-cillin/download/pattern.asp'
var hcURL=ct+'http://housecall.antivirus.com/pc_housecall/'
var subURL=ct+'http://www.antivirus.com/pc-cillin/vinfo/subscription.asp'
var hxURL=ct+'http://www.antivirus.com/pc-cillin/vinfo/hoaxes/hoax.asp'
var wtcURL=ct+'http://wtc.trendmicro.com/wtc/pcc_wmap.html'
r1=showHoaxesLink;r2=showFreeScanLink;r3=showFreeAlertsLink
r4=showMapLink;r5=showPatternLink;r6=showEngineLink
lt=' target="'+linkTarget+'"'
var lti=' title="go to www.antivirus.com"'
var ft='<font face="'+fontName+'" size="'+fontSize+'" '
ft+='color="'+textColor+'">'
var lft='<font face="'+fontName+'" size="'+fontSize+'" '
lft+='color="'+linkColor+'">'
function mainTable() {
// INITIALIZE
p+='<table border="0" cellspacing="0" cellpadding="'+(fontSize-1)+'">'
// start ALERTS
if (showAlert == 'automatic' && alertLevel == 'medium') {
p+='<tr><td colspan="'+rowCount+'" bgcolor="#FFFF00">'
p+='<table border="0" cellspacing="0" cellpadding="5" width="100%">'
p+='<tr><td align="center">'
p+='<font face="'+fontName+'" size="'+(fontSize-1)+'" color="#000000">'
p+='**'+saStr+'**
'
p+='<font size="'+(fontSize+1)+'">'
p+='<a href="'+veURL+VName+'"'+lti+lt+'>'
p+='<font color="blue"><u>'+VName+'</u></font></a></font>
'
p+='<font size="'+fontSize+'">'+virusDescription+'</font>
'
p+='**'+mrStr+'**</font></td></tr></table></td>'
p+='</tr><tr><td colspan="'+rowCount+'">'+ft+'</font></td></tr>'
}
if (showAlert == 'automatic' && alertLevel == 'high') {
p+='<tr><td colspan="'+rowCount+'" bgcolor="#CC0000">'
p+='<table border="0" cellspacing="0" cellpadding="5" width="100%"><tr>'
p+='<td align="center">'
p+='<font face="'+fontName+'" size="'+(fontSize-1)+'" color="#FFFFFF">'
p+='**'+saStr+'**
'
p+='<font size="'+(fontSize+1)+'">'
p+='<a href="'+veURL+VName+'"'+lti+lt+'>'
p+='<font color="white"><u>'+VName+'</u></font></a></font>
'
p+='<font size="'+fontSize+'">'+virusDescription+'</font>
'
p+='**'+hrStr+'**</font></td></tr></table></td>'
p+='</tr><tr><td colspan="'+rowCount+'">'+ft+'</font></td></tr>'
}
// end ALERTS
// start TOP 10
if (topCount > 0 && topCountOK) {
p+='<tr><td colspan="'+rowCount+'">'+ft+''+tvStr+'</font></td></tr>'
if (showUpdated || showPattern) {
wide=true
}else{
wide=false
}
if (topCount == 10 && advisoryCount > 0 && showRisk && wide) {
p+='<tr><td colspan="'+rowCount+'">'
p+='<table border="0" cellspacing="0" cellpadding="0">'
for (var i=0; i < 5; i++) {
p+='<tr><td align="right">'+ft+(i+1)+'.</td><td nowrap>'+ft
p+='<a href="'+veURL+top10[i]+'"'+lti+lt+'>'
p+=lft+top10[i]+'</font></a></font></td>'
p+='<td align="right">'+ft+''+(i+6)+'.</td>'
p+='<td nowrap>'+ft
p+='<a href="'+veURL+top10[i+5]+'"'+lti+lt+'>'
p+=lft+top10[i+5]+'</font></a></font></td></tr>'
}
p+='</table></td></tr>'
} else {
if (topCount>0 && topCount<11) {
for (var i=0;i<topCount;i++) {
p+='<tr><td align="right">'+ft+(i+1)+'.</td>'
p+='<td colspan="'+(rowCount-1)+'" nowrap>'+ft
p+='<a href="'+veURL+top10[i]+'"'+lti+lt+'>'
p+=lft+top10[i]+'</font></a></font></td></tr>'
}
}
}
p+='<tr><td colspan="'+rowCount+'">'+ft+'</td></tr>'
}
// end TOP 10
// start ADVISORIES
if (advisoryCount > 0) {
p+='<tr><td colspan="2">'+ft+''+vaStr+'</font></td>'
if (advisoryCountOK) {
if (showRisk) {
p+='<td align="center" nowrap>'
p+='<font size="1" face="'+fontName+'" color="'+textColor+'">'
p+='-risk-</font></td>'
}
if (showUpdated) {
p+='<td nowrap align="center">'
p+='<font size="1" face="'+fontName+'" color="'+textColor+'">'
p+='-updated on-</font></td>'
}
if (showPattern) {
p+='<td nowrap align="center">'
p+='<font size="1" face="'+fontName+'" color="'+textColor+'">'
p+='-pattern-</font></td>'
}
p+='</tr>'
if (advisories.length < advisoryCount) {
tempCount=advisories.length
} else {
tempCount=advisoryCount
}
for (var i=0; i < tempCount; i++) {
if (advisories[i].risk == "low") {
riskBgColor=''; riskColor=textColor; riskStr='low';
riskBullet='<font face="Arial"></font>'
}
if (advisories[i].risk == "medium") {
riskBgColor=' bgcolor="#FFFF00"'; riskColor='#000000';
riskStr='medium';
riskBullet='<font face="Verdana">!</font>'
}
if (advisories[i].risk == "high") {
riskBgColor=' bgcolor="#CC0000"'; riskColor='#FFFFFF';
riskStr='high'
riskBullet='<font face="Verdana">!</font>'
}
p+='<tr><td align="right" valign="bottom" '+riskBgColor+'>'
p+='<font face="'+fontName+'" size="'+fontSize+'" '
p+=' color="'+riskColor+'">'+riskBullet+'</font></td>'
p+='<td valign="bottom">'+ft
p+='<a href="'+veURL+advisories[i].name+'" title="'+advisories[i].risk
p+=' risk, updated '+advisories[i].updated+'"'+lt+'>'
p+=lft+advisories[i].name+'</font></a></td>'
if (showRisk) {
p+='<td align="center" '+riskBgColor+'><font face="'+fontName+'"'
p+=' size="'+fontSize+'" color="'+riskColor+'">'+riskStr+''
p+='</font></td>'
}
if (showUpdated) {
p+='<td align="right" nowrap>'+ft+''+advisories[i].updated
p+='</font></td>'
}
if (showPattern) {
p+='<td align="center" nowrap>'+ft+'<a '
p+='href="'+ptnURL+'"'+lt
p+='style="text-decoration:none;"'+lti+'>'
p+=lft+'<font color="'+textColor+'">'+advisories[i].pattern
p+='</font></font></a></td>'
}
p+='</tr>'
}
p+='<tr><td align="right">'+ft
p+='<font face="Arial"></font></td><td '
p+='colspan="'+(rowCount-1)+'">'+ft+'<a href="'+moreURL+'"'+lt
p+='title="go to www.antivirus.com">'+lft+'more...'
p+='</font></a></font></td></tr><tr><td colspan="'+rowCount+'">'+ft
p+='</font></td></tr>'
}
}
// end ADVISORIES
// start RELATED LINKS
if (r1||r2||r3||r4||r5||r6) {
tmp1='<tr><td align="right" valign="top">'+ft+'<font face="Arial">'
tmp1+='</font></td><td colspan="'+(rowCount-1)+'">'+ft
p+='<tr><td colspan="'+rowCount+'">'+ft+''+rlStr+'</font></td></tr>'
if(r1){
p+=tmp1+'<a href="'+hxURL+'"'+lt+'>'
p+=lft+hoStr+'</font></a></font></td></tr>'
}
if(r2){
p+=tmp1+'<a href="'+hcURL+'"'+lt+'>'
p+=lft+fvStr+'</font></a></font></td></tr>'
}
if(r3){
p+=tmp1+'<a href="'+subURL+'"'+lt+'>'
p+=lft+faStr+'</font></a></font></td></tr>'
}
if(r4){
p+=tmp1+'<a href="'+wtcURL+'"'+lt+'>'
p+=lft+rtStr+'</font></a></font></td></tr>'
}
if(r5){
p+=tmp1+'<a href="'+ptnURL+'"'+lt+'>'
p+=lft+'Pattern '+strCurPtn+'</font></a></font></td></tr>'
}
if(r6){
p+=tmp1+'<a href="'+engURL+'"'+lt+'>'
p+=lft+'Scan engine '+strCurEng+'</font></a></font></td></tr>'
}
p+='<tr><td colspan="'+rowCount+'">'+ft+'</font></td></tr>'
}
// end RELATED LINKS
// start SEARCH
if (showSearch) {
p+='<form'+lt+' action="'
p+='http://www.antivirus.com/vinfo/virusencyclo/BuildClauseCgi.asp" '
p+='method="post" name="VirusEncyclo03"><tr><td colspan="'+rowCount+'">'
p+=ft+''+vsStr+' </font>'
p+='<input name="hidOK" type="hidden" value="0">'
p+='<input name="hidChoice" type="hidden" value="3">'
p+='<input type="text" name="keyword" size="12">'
p+='<input type="submit" value="'+goStr+'"></td></tr></form>'
}
// end SEARCH
p+='</table>'
}
// --></script>
<script language="JavaScript1.1"
SRC="http://www.antivirus.com/syndication/vinfo/vinfo_data_js2.asp"></SCRIPT>
</CENTER>
</BODY>
</HTML>
--------------End trend.html ----------
Copy and paste that code into the appropiate files and you'll be set...
If you need any additional help with it..let me know
Simon Templer
\"Your work is to discover your world and then with all your heart give yourself to it. \"
-The Buddha
-
December 3rd, 2001, 01:02 AM
#4
Thank you.
you are very thoughtful to go out of your way to make someone elses life easier
-
December 3rd, 2001, 03:12 AM
#5
That is an excellent idea, I did a similar page sometime ago at school but it was divided into two sections. I like your layout better, peace
[shadow]Prepare ship for ludicrous speed![/shadow]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|