<link href="style.css" rel="stylesheet" type="text/css" />
<script src="jquery.js" type="text/javascript"></script>
<script src="main.js" type="text/javascript"></script>
<script type="text/javascript" src="inc/tiny_mce/jquery.tinymce.js"></script>
<script language="JavaScript">
$(document).ready(function(){
});
<!--
function win1() {
window.open("win1.php","Window1","menubar=no,width=460,height=360,toolbar=no");
}
function openWin2() {
winnews = window.open("upnews.php", "Upload news",
"width=600,height=300,scrollbars=yes");
}
function openWin3() {
win3 = window.open("", "Window3", "width=320,height=210,scrollbars=yes");
}
function writeTo3() {
win3.document.writeln("<h2>This is written to Window 3 by the main window</h2>");
}
function openWinNav() {
win2 = window.open("winnav.php", "Navigation","width=200,height=300,scrollbars=no,status=no");
}
//-->
</script>
<script type="text/javascript">
//delete standard
function submitForm(itemnumber,page,action) {
// alert(action);
if (action == "delete" ) {
if (confirm("Deleting "+ page +" item. Are you sure?")) {
var location=(page+".php?itemnumber="+itemnumber+"&delete="+action);
this.location.href = location;
}else{
// history.back();
}
}
}
//submenu multiplo
function submitFormSub(itemnumber,subnumber,page,action) {
// alert(action);
if (action=="deletesub") {
if (confirm("Deleting "+ page +" item. Are you sure?")) {
var location=(page+".php?itemnumber="+itemnumber+"&delete="+action+"&subnumber="+subnumber);
this.location.href = location;
}else{
// history.back();
}
}
}
//submenu singolo
function submitFormSubS(itemnumber,page,action) {
//alert(action);
if (action=="deletesubs") {
if (confirm("Deleting "+ page +" item. Are you sure?")) {
var location=(page+".php?itemnumber="+itemnumber+"&delete="+action);
this.location.href = location;
}else{
// history.back();
}
}
}
//cancella lista
function submitFormList(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting "+ page +" folder. Are you sure?")) {
var location=(page+".php?name="+itemnumber+"&deletelist="+action);
this.location.href = location;
}
}
function submitFormPhoto(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting "+ page +" folder. Are you sure?")) {
var location=(page+".php?name="+itemnumber+"&deletephoto="+action);
this.location.href = location;
}
}
function submitFormPhotoCat(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting picture. Are you sure?")) {
var location=(page+".php?itemnumber="+itemnumber+"&deletephotocat="+action);
this.location.href = location;
}
}
///delete video gallery
function submitFormVideo(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting "+ page +" folder. Are you sure?")) {
var location=(page+".php?name="+itemnumber+"&deletevideo="+action);
this.location.href = location;
}
}
///delete video single
function submitFormVideov(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting "+ page +". Are you sure?")) {
var location=(page+".php?name="+itemnumber+"&deletevideos="+action);
this.location.href = location;
}
}
///delete video single
function submitFormMusic(itemnumber,page,action) {
//alert(action);
if (confirm("Deleting "+ page +". Are you sure?")) {
var location=(page+".php?name="+itemnumber+"&deletemusic="+action);
this.location.href = location;
}
}
</script>