csNewsPro Management
csNewsPro Management
Category Management
Selected
Category:
in(databases)in(databasesb)
News Item Management
in(alabel)
Delete
Selected Items:
Move to:
in(databases)in(databasesa)
Select Item(s)
Below then Choose Action Above
Select
Item #
(reorder)
Action
News Item (
title, date, and description)
in(line)
Powered by csNewsPro
- © 2000,2001 localhost
window.location="#in(w)";
function ShowRenameDB(){
var newName = prompt("Please enter new category name:","new category");
if(!newName){
return;
}
var rndURL = (1000*Math.random());
window.location = "in(cgiurl)?database=in(database)&command=rendb&nm="+escape(newName)+"&rnd="+rndURL;
return true;
}
function ShowCopyDB(id){
var newName = prompt("Please enter new name to copy to:","category copy");
if(!newName){
return;
}
var rndURL = (1000*Math.random());
window.location = "in(cgiurl)?database=in(database)&command=copydb&nm="+escape(newName)+"&rnd="+rndURL;
return true;
}
function CheckDelete(){
var rndURL = (1000*Math.random());
if (document.form1.database.selectedIndex < 0){
alert("Error. Please select a list to delete.");
return true;
}
var list = document.form1.database.options[document.form1.database.selectedIndex].text;
var db = document.form1.database.options[document.form1.database.selectedIndex].value;
if(confirm("Are you sure you want to delete "+list+"?")){
window.location = "in(cgiurl)?command=deletedb&database="+db+"&rnd="+rndURL;
return true;
}
else{
return false;
}
}
function CopyItem(id){
var rndURL = (1000*Math.random());
window.location = "in(cgiurl)?database=in(database)&command=copyitem&id="+id+"&rnd="+rndURL;
}
function Delete(){
if(confirm("Are you sure you want to delete these items?")){
document.lowform.command.value="deleteitems";
document.lowform.submit();
}
return true;
}
function Edit(id){
var rndURL = (1000*Math.random());
window.location = "in(cgiurl)?database=in(database)&command=showedit&id="+id+"&rnd="+rndURL;
return true;
}
function View(id){
var rndURL = (1000*Math.random());
var windowURL = "in(cgiurl)?database=in(database)&command=viewone&id="+id+"&rnd="+rndURL;
newWindow = window.open(windowURL,null,'location=0,directories=0,status=0,menuBar=1,scrollBars=yes,resizable=yes');
newWindow.focus();
}
function ShowAdd(){
var rndURL = (1000*Math.random());
var windowURL = "in(cgiurl)?database=in(database)&command=showadddb&rnd="+rndURL;
newWindow = window.open(windowURL,null,'width=500,height=300,location=0,directories=0,status=0,menuBar=1,scrollBars=yes,resizable=yes');
newWindow.focus();
return true;
}
function ShowPrev(){
var rndURL = (1000*Math.random());
var windowURL = "in(cgiurl)?database=in(database)&command=viewnews&rnd="+rndURL;
newWindow = window.open(windowURL,null,'width=500,height=300,location=0,directories=0,status=0,menuBar=1,scrollBars=yes,resizable=yes');
newWindow.focus();
return true;
}
function ShowAdv(){
var rndURL = (1000*Math.random());
window.location = "in(cgiurl)?database=in(database)&command=showadv&rnd="+rndURL;
return true;
}
function ShowLinks(d,i){
var rndURL = (1000*Math.random());
var windowURL = "in(cgiurl)?database=in(database)&command=showlinks&d="+d+"&i="+i+"&rnd="+rndURL;
var height=600;
var width=600;
newWindow = window.open(windowURL,null,'width='+width+',height='+height+',location=0,directories=0,status=0,menuBar=0,scrollBars=yes,resizable=yes');
newWindow.focus();
return true;
}
Wyszukiwarka
Podobne podstrony:
show listt show list pub (2)t show list pubt show listt show list (4)t show list pub (4)t show list (3)t show list pub (3)show infotrack listanonymous ftp sites list nl 2anonymous ftp sites list org 7List motywacyjnywięcej podobnych podstron