Link Wizard
CsNews Pro - Link Wizard
News Listing
Links
Display Order:
Order Type
Chronological
(as entered)
Alphabetically
(title field)
Date
Field (value entered in date
field)
Order Direction
Ascending
(a-z, 1-9, 01/01/2001-12/31/2001)
Descending
(z-a, 9-1,12/31/2001-01/01/2001)
Display Range
Example: if you would
like to display the newest three articles, keep
the order type as default and select the range as
1 - 3.
All
-
(a-z, 1-9,
01/01/2001-12/31/2001)
If
range is numeric, i.e. 1-3, range applies to:
Total
Each Selected Category
Output - Template Options
Use templates on
INDEX LISTING:Yes
No
Use
templates on BODY:Yes
No
Show News Descriptions
Yes
No
Limit Descriptions to
characters
(leave blank for no limit).
Display Options
Show News Dates
and Location: Yes
No
Show Bodies on
Index: Yes
No
Display Call - Code Type
JavaScript
Server
Side Include
Direct
Category Options
Select Categories
for Index:
(CTRL-Select
to select multiple categories)
ALL CATEGORIES
in(databases)
in(databasesb)
Show Category
Titles:
Yes
No
Group by Category:
Yes
No
Body Links -
Display Body Only
News Items
Select Body
to Display:
in(titles)
Output - Template Options
Use
Templates
Do Not Use
Templates
Display Call - Code Type
JavaScript
Server Side Include
Direct
Search Form
Link
To display a search
form, cut and paste the follow code on any of
your web pages or templates.
var win=null;
function MyWindow(mypage,myname,w,h,scroll,pos){
var rndURL = (1000*Math.random());
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage+'&rndURL='+rndURL,myname,settings);
if(win.focus){win.focus();}}
function DoNewsSearch(){
if(!document.cssearch.query.value){
alert("Error. Please enter something to search for");
return false;
}
else{
var URL = "in(cgiurl)?command=dosearch&query="+escape(document.cssearch.query.value);
MyWindow(URL,'query',600,400,'yes','center');
}
}
Powered by CSNews - © 2000,2001
WWW.localhost, LLC
function GenerateIndex(){
if(document.form1.o[0].checked){var o="n";}
if(document.form1.o[1].checked){var o="a";}
if(document.form1.o[2].checked){var o="d";}
if(document.form1.od[0].checked){var od="a";}
if(document.form1.od[1].checked){var od="d";}
if(document.form1.range[0].checked){var range="a";}
if(document.form1.range[1].checked){var range="s";}
var rangestart = escape(document.form1.rangestart.value);
var rangeend = escape(document.form1.rangeend.value);
var dlimit = escape(document.form1.dlimit.value);
if(document.form1.op[0].checked){var op="t";}
if(document.form1.op[1].checked){var op="r";}
if(document.form1.ob[0].checked){var ob="t";}
if(document.form1.ob[1].checked){var ob="r";}
if(document.form1.sd[0].checked){var sd="y";}
if(document.form1.sd[1].checked){var sd="n";}
if(document.form1.st[0].checked){var st="y";}
if(document.form1.st[1].checked){var st="n";}
if(document.form1.ct[0].checked){var ct="j";}
if(document.form1.ct[1].checked){var ct="s";}
if(document.form1.ct[2].checked){var ct="d";}
if(document.form1.nb[0].checked){var nb="y";}
if(document.form1.nb[1].checked){var nb="n";}
if(document.form1.sc[0].checked){var sc="y";}
if(document.form1.sc[1].checked){var sc="n";}
if(document.form1.pt[0].checked){var pt="t";}
if(document.form1.pt[1].checked){var pt="c";}
if(document.form1.gc[0].checked){var gc="y";}
if(document.form1.gc[1].checked){var gc="n";}
var db='';
if(document.form1.databases.options[0].selected){
db = "&database=all";
}
else{
for(var x=0; x
Wyszukiwarka
Podobne podstrony:
linklinklink link DYM efekty video z dymem40 97 Lower guide link remove & installfloating linkwięcej podobnych podstron