first commit

This commit is contained in:
2026-04-24 15:32:21 +02:00
commit 20d40fead4
5046 changed files with 641038 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
//function CheckExt(value) {
//
// if (value)
//
//
//}
function CheckExt(file, url) {
new Ajax.Request(url,
{
method:'post',
parameters: {file: file},
onSuccess: function(transport){
var response = transport.responseText;
eval(response);
},
onFailure: function(){ alert('Something went wrong...') }
});
}
//
//function DeletePhoto(url, photo) {
// new Ajax.Request(url,
// {
// method:'post',
// parameters: {photo: photo},
// onSuccess: function(transport){
// var response = transport.responseText;
// eval(response);
//
// },
// onFailure: function(){ alert('Something went wrong...') }
// });
//
//}
function DeletePhoto(url, photo) {
$.ajax({
type: "POST",
url: url,
cache: false,
data: ({photo: photo}),
success: function(html){
//$("#longer").show();
//$("#categoryOptions").html(html);
$('#image_'+photo).hide();
}
});
}