Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.28
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
thearyasamaj /
public_html /
aryaadmin /
Archive /
[ HOME SHELL ]
Name
Size
Permission
Action
common
[ DIR ]
drwxr-xr-x
arya_AdminInclude_11-01-16.php
1002
B
-rw-r--r--
arya_AdminInclude_13-01-16.php
1.06
KB
-rw-r--r--
arya_AdminInclude_16-09-14.php
811
B
-rw-r--r--
arya_addactivities_28-03-14.ph...
16.43
KB
-rw-r--r--
arya_addadminpages_14-08-14.ph...
13.62
KB
-rw-r--r--
arya_addadmissionnotification_...
32.91
KB
-rw-r--r--
arya_addadvertisement_18-12-14...
23.42
KB
-rw-r--r--
arya_addarticle_05-08-14.php
30.03
KB
-rw-r--r--
arya_addarticle_25-11-15.php
29.99
KB
-rw-r--r--
arya_addaryasamajtab_28-03-14....
22.29
KB
-rw-r--r--
arya_addaudioalbum_28-03-14.ph...
23.93
KB
-rw-r--r--
arya_addauthor_13-09-14.php
20.12
KB
-rw-r--r--
arya_adddiscategory_28-03-14.p...
28.26
KB
-rw-r--r--
arya_adddiscover_04-08-14.php
27.41
KB
-rw-r--r--
arya_addelectionappointment_02...
16.17
KB
-rw-r--r--
arya_addengvarriable_25-03-14....
8.84
KB
-rw-r--r--
arya_addevents_26-01-16.php
50.97
KB
-rw-r--r--
arya_addevents_28-03-14.php
50.96
KB
-rw-r--r--
arya_addeventtype_28-03-14.php
29.83
KB
-rw-r--r--
arya_addfestival_23-07-14.php
30.54
KB
-rw-r--r--
arya_addfiledownload_09-12-14....
12.06
KB
-rw-r--r--
arya_addimportantplaces_28-03-...
35.98
KB
-rw-r--r--
arya_addinstituteprofile_02-10...
23.85
KB
-rw-r--r--
arya_addinstituteprofile_09-05...
23.84
KB
-rw-r--r--
arya_addinstitutetype_04-08-14...
33.23
KB
-rw-r--r--
arya_addinstitution_09-10-14.p...
56.08
KB
-rw-r--r--
arya_addlanguage_04-08-14.php
13.81
KB
-rw-r--r--
arya_addmagazines_02-01-15.php
38.12
KB
-rw-r--r--
arya_addmagazinetitle_09-10-14...
44.28
KB
-rw-r--r--
arya_addmember_29-05-14.php
37.84
KB
-rw-r--r--
arya_addmembertype_04-08-14.ph...
22.95
KB
-rw-r--r--
arya_addmobileaudio_05-12-14.p...
23.51
KB
-rw-r--r--
arya_addmobileaudio_06-01-16.p...
9.1
KB
-rw-r--r--
arya_addmobileaudio_08-01-16.p...
8.69
KB
-rw-r--r--
arya_addmobileimage_05-12-14.p...
20.91
KB
-rw-r--r--
arya_addnews_arvind-18-01-19.p...
61.42
KB
-rw-r--r--
arya_addobituary_18-10-14.php
27.42
KB
-rw-r--r--
arya_addphotogallery_28-03-14....
29.04
KB
-rw-r--r--
arya_addportalhomeslidebanner_...
11.62
KB
-rw-r--r--
arya_addportalsection_04-08-14...
22.76
KB
-rw-r--r--
arya_addportaltab_18-04-14.php
24.93
KB
-rw-r--r--
arya_addprimaryrecord_28-03-14...
47.92
KB
-rw-r--r--
arya_addproduct_28-03-14.php
20.39
KB
-rw-r--r--
arya_addradioairing_04-08-14.p...
18.93
KB
-rw-r--r--
arya_addscndtestquestions_12-1...
24.82
KB
-rw-r--r--
arya_addscndtimeline_17-12-14....
24.27
KB
-rw-r--r--
arya_addsecndryfestival_20-02-...
20.89
KB
-rw-r--r--
arya_addsecondaryactivity_18-0...
15.66
KB
-rw-r--r--
arya_addservices_28-03-14.php
17.99
KB
-rw-r--r--
arya_addstreamingbanner_28-03-...
20.97
KB
-rw-r--r--
arya_addtest_28-05-14.php
15.62
KB
-rw-r--r--
arya_addtestlevel_28-05-14.php
22.6
KB
-rw-r--r--
arya_addtestquestions_27-08-14...
45.74
KB
-rw-r--r--
arya_addtimeline_16-12-14.php
16.6
KB
-rw-r--r--
arya_addtimeline_17-12-14.php
16.92
KB
-rw-r--r--
arya_addtimeline_29-12-14.php
14.26
KB
-rw-r--r--
arya_addvacancy_27-05-14.php
34.54
KB
-rw-r--r--
arya_addvideoalbum_28-03-14.ph...
23.91
KB
-rw-r--r--
arya_addvideogallery_28-03-14....
21.82
KB
-rw-r--r--
arya_addwallpaper_28-03-14.php
9.19
KB
-rw-r--r--
arya_addwebsite_28-03-14.php
18.06
KB
-rw-r--r--
arya_adminlogin_18-03-15.php
7.26
KB
-rw-r--r--
arya_articleautoauthor_05-06-1...
342
B
-rw-r--r--
arya_articlependinglist_22-09-...
21.08
KB
-rw-r--r--
arya_autologout_15-03-14.php
1.94
KB
-rw-r--r--
arya_changepasswordpopup_05-05...
5.53
KB
-rw-r--r--
arya_ckeditor2_14-10-14.php
1.64
KB
-rw-r--r--
arya_ckeditor3_14-10-14.php
1.64
KB
-rw-r--r--
arya_downloadallfile_31-03-14....
2.06
KB
-rw-r--r--
arya_downloadfile_20-12-14.php
1.21
KB
-rw-r--r--
arya_downloadpendinglist_03-03...
24.68
KB
-rw-r--r--
arya_editactivities_28-03-14.p...
23.07
KB
-rw-r--r--
arya_editadminpages_14-08-14.p...
17.92
KB
-rw-r--r--
arya_editadmissionnotification...
40.28
KB
-rw-r--r--
arya_editadvertisement_04-08-1...
29.7
KB
-rw-r--r--
arya_editarticle_11-01-16.php
38.44
KB
-rw-r--r--
arya_editarticle_25-11-15.php
38.41
KB
-rw-r--r--
arya_editarticle_27-10-14.php
38.39
KB
-rw-r--r--
arya_editaryasamajtab_28-03-14...
21.9
KB
-rw-r--r--
arya_editaudioalbum_28-03-14.p...
28.46
KB
-rw-r--r--
arya_editauthor_04-11-14.php
24.92
KB
-rw-r--r--
arya_editdiscategory_28-03-14....
16.11
KB
-rw-r--r--
arya_editdiscover_04-08-14.php
34.54
KB
-rw-r--r--
arya_editelectionappointment_1...
20.12
KB
-rw-r--r--
arya_editelectionappointment_1...
20.06
KB
-rw-r--r--
arya_editevents_19-11-14.php
64.12
KB
-rw-r--r--
arya_editeventtype_28-03-14.ph...
20.59
KB
-rw-r--r--
arya_editfestival_28-03-14.php
38.51
KB
-rw-r--r--
arya_editfiledownload_20-12-14...
22.21
KB
-rw-r--r--
arya_editimportantplaces_18-09...
43.96
KB
-rw-r--r--
arya_editinstitutetype_04-08-1...
23.15
KB
-rw-r--r--
arya_editinstitution_01-10-15....
71.83
KB
-rw-r--r--
arya_editinstitution_02-10-15....
73.92
KB
-rw-r--r--
arya_editinstitution_09-10-14....
55.89
KB
-rw-r--r--
arya_editinstitution_29-09-15....
55.8
KB
-rw-r--r--
arya_editlanguage_04-08-14.php
16.45
KB
-rw-r--r--
arya_editmagazines_08-11-14.ph...
54.04
KB
-rw-r--r--
arya_editmagazinetitle_09-10-1...
53.82
KB
-rw-r--r--
arya_editmember_28-03-14.php
47.21
KB
-rw-r--r--
arya_editmembertype_04-08-14.p...
9.27
KB
-rw-r--r--
arya_editmlevelcategory_04-08-...
9.71
KB
-rw-r--r--
arya_editmobileaudio_06-01-16....
8.9
KB
-rw-r--r--
arya_editmobileaudio_08-01-16....
8.5
KB
-rw-r--r--
arya_editmobileaudio_11-12-14....
8.9
KB
-rw-r--r--
arya_editmobileimage_11-12-14....
9.32
KB
-rw-r--r--
arya_editmpowercategory_04-08-...
10.36
KB
-rw-r--r--
arya_editnews_05-12-14.php
70.37
KB
-rw-r--r--
arya_editnews_13-10-15.php
70.37
KB
-rw-r--r--
arya_editobituary_18_10-14.php
31.32
KB
-rw-r--r--
arya_editphotogallery_28-03-14...
22.85
KB
-rw-r--r--
arya_editportalhomeslidebanner...
13.23
KB
-rw-r--r--
arya_editportaltab_16-04-14.ph...
14.91
KB
-rw-r--r--
arya_editportaltab_17-04-14.ph...
15.18
KB
-rw-r--r--
arya_editprimaryrecord_28-03-1...
68.73
KB
-rw-r--r--
arya_editproduct_28-03-14.php
24.67
KB
-rw-r--r--
arya_editquestioncategory_04-0...
4.83
KB
-rw-r--r--
arya_editradioairing_04-08-14....
23.88
KB
-rw-r--r--
arya_editscndtestquestions_27-...
19.24
KB
-rw-r--r--
arya_editscndtimeline_17-12-14...
19.98
KB
-rw-r--r--
arya_editsecndryfestival_20-02...
15.32
KB
-rw-r--r--
arya_editsecondaryactivity_18-...
13.04
KB
-rw-r--r--
arya_editsecondaryservice_18-0...
13.08
KB
-rw-r--r--
arya_editservices_28-03-14.php
27.4
KB
-rw-r--r--
arya_editstreamingbanner_28-03...
24.27
KB
-rw-r--r--
arya_edittestquestions_27-08-1...
36.17
KB
-rw-r--r--
arya_edittestquestions_28-03-1...
34.6
KB
-rw-r--r--
arya_edittimeline_29-12-14.php
16.88
KB
-rw-r--r--
arya_editvacancy_27-05-14.php
44.08
KB
-rw-r--r--
arya_editvideoalbum_28-03-14.p...
29.72
KB
-rw-r--r--
arya_editvideogallery_28-03-14...
26.26
KB
-rw-r--r--
arya_editwallpaper_28-03-14.ph...
10.34
KB
-rw-r--r--
arya_editwebsite_28-03-14.php
22.98
KB
-rw-r--r--
arya_forgotpwd_06-05-14.php
5.37
KB
-rw-r--r--
arya_ftpfile_02-01-15.php
1.44
KB
-rw-r--r--
arya_header_29-10-14.php
7.48
KB
-rw-r--r--
arya_home_24-12-15.php
640
B
-rw-r--r--
arya_insertpamphlet_21-09-15.p...
15.51
KB
-rw-r--r--
arya_insertpamphlet_25-01-16.p...
15.51
KB
-rw-r--r--
arya_insertpamphlet_28-03-14.p...
16.01
KB
-rw-r--r--
arya_instoffpendinglist_26-05-...
19.27
KB
-rw-r--r--
arya_instpendinglist_01-10-15....
17.35
KB
-rw-r--r--
arya_instpendinglist_28-09-15....
16.42
KB
-rw-r--r--
arya_instphotoupload_18-12-14....
14.98
KB
-rw-r--r--
arya_mailinsquickupload_28-11-...
9.64
KB
-rw-r--r--
arya_memberautodelete_21-06-14...
4.96
KB
-rw-r--r--
arya_menu_14-03-16.php
13.82
KB
-rw-r--r--
arya_mgzndownload_20-12-14.php
2.06
KB
-rw-r--r--
arya_mlevelcategory_04-08-14.p...
23.69
KB
-rw-r--r--
arya_mngactivities_19-06-14.ph...
26.23
KB
-rw-r--r--
arya_mngadmin_18-06-14.php
23.63
KB
-rw-r--r--
arya_mngadminpages_19-06-14.ph...
18.29
KB
-rw-r--r--
arya_mngadmissionnotification_...
20.56
KB
-rw-r--r--
arya_mngadvertisement_19-06-14...
24.17
KB
-rw-r--r--
arya_mngarticle_03-11-14.php
80.54
KB
-rw-r--r--
arya_mngarticle_16_Dec_15.php
80.66
KB
-rw-r--r--
arya_mngauthor_13-09-14.php
22.95
KB
-rw-r--r--
arya_mngblocksequence_15-10-14...
11.64
KB
-rw-r--r--
arya_mngcity_19-06-14.php
22.76
KB
-rw-r--r--
arya_mngcountry_19-06-14.php
19.4
KB
-rw-r--r--
arya_mngcurrentadminlogin_15-0...
4.32
KB
-rw-r--r--
arya_mngdiscover_19-06-14.php
31.28
KB
-rw-r--r--
arya_mngdynamicpages_21-06-14....
18.32
KB
-rw-r--r--
arya_mngelectionappointment_11...
26.85
KB
-rw-r--r--
arya_mngelectionappointment_12...
26.84
KB
-rw-r--r--
arya_mngelectionappointment_16...
27.22
KB
-rw-r--r--
arya_mngengvariable_25-03-14.p...
20.87
KB
-rw-r--r--
arya_mngevents_19-06-14.php
43.6
KB
-rw-r--r--
arya_mngfestival_19-06-14.php
30.69
KB
-rw-r--r--
arya_mngfiledownload_12-03-15....
31.33
KB
-rw-r--r--
arya_mngfiledownload_24-09-15....
31.39
KB
-rw-r--r--
arya_mngimportantplaces_19-06-...
35.95
KB
-rw-r--r--
arya_mnginstitution_09-10-14.p...
107.28
KB
-rw-r--r--
arya_mnginstitution_29-09-15.p...
107.21
KB
-rw-r--r--
arya_mnginstmgzadmin_17-06-14....
38.8
KB
-rw-r--r--
arya_mngmagazines_08-11-14.php
25.66
KB
-rw-r--r--
arya_mngmagazinetitle_09-10-14...
51.98
KB
-rw-r--r--
arya_mngmember_03-10-15.php
76.76
KB
-rw-r--r--
arya_mngmember_09-02-16.php
77.33
KB
-rw-r--r--
arya_mngmember_16_dec_15.php
77.04
KB
-rw-r--r--
arya_mngmember_17-10-14.php
76.08
KB
-rw-r--r--
arya_mngmobileaudio_11-06-15.p...
17.53
KB
-rw-r--r--
arya_mngnews_27-11-14.php
52.54
KB
-rw-r--r--
arya_mngobituary_15-10-14.php
23.06
KB
-rw-r--r--
arya_mngperson_19-06-14.php
51.31
KB
-rw-r--r--
arya_mngpollquestions_19-06-14...
33.89
KB
-rw-r--r--
arya_mngportalhomeslidebanner_...
22.52
KB
-rw-r--r--
arya_mngproduct_19-06-14.php
19.32
KB
-rw-r--r--
arya_mngquickuploads_16-12-14....
28.25
KB
-rw-r--r--
arya_mngradioairing_19-06-14.p...
17.72
KB
-rw-r--r--
arya_mngreporter_19-06-14.php
39.48
KB
-rw-r--r--
arya_mngservices_19-06-14.php
25.44
KB
-rw-r--r--
arya_mngstate_19-06-14.php
20.19
KB
-rw-r--r--
arya_mngstreaming_19-06-14.php
21.1
KB
-rw-r--r--
arya_mngstreamingbanner_19-06-...
20.88
KB
-rw-r--r--
arya_mngtestquestions_04-12-14...
33.56
KB
-rw-r--r--
arya_mngtimeline_26-12-14.php
35.04
KB
-rw-r--r--
arya_mngvacancy_19-06-14.php
25.94
KB
-rw-r--r--
arya_mngvacancy_29-04-14.php
26.58
KB
-rw-r--r--
arya_mngvedmantra_19-06-14.php
25.09
KB
-rw-r--r--
arya_mngwallpaper_19-06-14.php
13.99
KB
-rw-r--r--
arya_mngwebsite_19-06-2014.php
19.61
KB
-rw-r--r--
arya_mobileaudiopending_11-12-...
14.4
KB
-rw-r--r--
arya_mpowercategory_04-08-14.p...
26.06
KB
-rw-r--r--
arya_newsphotoupload_31-01-15....
16.3
KB
-rw-r--r--
arya_obituaryphotos_28-03-14.p...
15.62
KB
-rw-r--r--
arya_otherlangvarriable_25-04-...
12.02
KB
-rw-r--r--
arya_pendingtabs_18-12-14.php
5.19
KB
-rw-r--r--
arya_pendingtabs_29-09-15.php
5.26
KB
-rw-r--r--
arya_persnphotoupload_28-03-14...
16.76
KB
-rw-r--r--
arya_placephotoupload_28-03-14...
16.99
KB
-rw-r--r--
arya_pushnotification_23-09-14...
6.45
KB
-rw-r--r--
arya_quickautodelete_14-05-14....
1.39
KB
-rw-r--r--
arya_quickupldpendinglist_19-1...
36.03
KB
-rw-r--r--
arya_reportpendinglist_13-05-1...
53.47
KB
-rw-r--r--
arya_searchvariablename_15-03-...
352
B
-rw-r--r--
arya_sendquickuploadmail_29-10...
4.41
KB
-rw-r--r--
arya_timelinependinglist_17-12...
28.17
KB
-rw-r--r--
arya_uploadtakeatour_28-05-14....
38.87
KB
-rw-r--r--
arya_viewadminLaPower_arvind-1...
9.24
KB
-rw-r--r--
arya_viewadminactivity_27-03-1...
9.14
KB
-rw-r--r--
arya_viewadminactivity_arvind-...
9.15
KB
-rw-r--r--
arya_viewadminhistory_arvind-1...
7.21
KB
-rw-r--r--
arya_viewadminpower_arvind-14-...
12.76
KB
-rw-r--r--
arya_viewadminprofile_arvind-1...
5.43
KB
-rw-r--r--
arya_viewnewsphotos_28-11-14.p...
7.77
KB
-rw-r--r--
arya_viewobituarymessage_15-10...
6.17
KB
-rw-r--r--
arya_viewobituaryphoto_14-03-1...
7.08
KB
-rw-r--r--
arya_viewpendingquickupload_02...
18.1
KB
-rw-r--r--
arya_viewpendingreport_09-04-1...
17.43
KB
-rw-r--r--
arya_viewquickuploads_02-10-14...
17.91
KB
-rw-r--r--
arya_viewreport_09-04-14.php
17.43
KB
-rw-r--r--
arya_wallpaper_24-02-14.php
570
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : arya_mngfiledownload_12-03-15.php
<?php if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { date_default_timezone_set('Asia/Kolkata'); } //$lbl_filename="File Name"; //$lbl_url="URL"; //$lbl_download="Download"; //$lbl_uploaddate="Upload Date"; include('arya_AdminInclude.php'); //created by vaishali //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over //This is used for admin rights wise display field Start Added By Vaishali 22/01/2013 $admusrid=$_SESSION["adminuserid"]; $dbusercatid=getFieldValue('admcat_id','arya_adminuser','admuser_id="'.$admusrid.'"'); $rightsid=mysql_query('SELECT admsecright_pageid FROM arya_adminsectionrights WHERE admcat_id IN('.$dbusercatid.') AND admuser_id="'.$admusrid.'"'); while($rightfetch=mysql_fetch_array($rightsid)) { $admcatrightsid[]=$rightfetch['admsecright_pageid']; } foreach($admcatrightsid as $key) { $qry="select * from arya_adminpage where page_sectionid='".$key."'"; $q=mysql_query($qry); while($fetch=mysql_fetch_array($q)) { $pagename=$fetch['page_filename']; $path = $_SERVER['REQUEST_URI']; $headername = basename($path); $url_parts = parse_url($headername); $constructed_url = $url_parts['scheme'] . '' . $url_parts['hostname'] . $url_parts['path']; if($constructed_url==$pagename) { $newrightsarray=getFieldValueArray('admsecright_approve,admsecright_edit,admsecright_delete,admsecright_sdelete','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); $rightapprove=$newrightsarray[0]; $rightedit=$newrightsarray[1]; $rightdelete=$newrightsarray[2]; $superdelete=$newrightsarray[3]; } } } if(isset($_POST['submitdate']))//sequence update start { foreach($_POST['check_date'] as $fstcatid=>$postsundatenm) { $qryUpdSequence = "UPDATE arya_festival SET fstvl_sundate='".$postsundatenm."' WHERE fstvl_id=".$fstcatid; $qUpdSequence = mysql_query($qryUpdSequence); } $fstdatename=getFieldValue('fstvl_title','arya_festival','fstvl_id="'.$fstcatid.'"'); getadminactivity('title_mngfestival',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$fstdatename,$curntdate,$curnttime); $msg=$msgUpdateRecord; } // content start $pagesecid=getFieldValue('page_sectionid','arya_adminpage','page_filename="'.$constructed_url.'"'); $logindate=date('Y-m-d h:i:s'); if($_GET['del']) //this is used for delete website { $supdeldwncattitle=getFieldValue("fdwn_title","arya_filedownload","fdwn_id='".$_GET['del']."'"); getadminactivity('title_mngfiledownload',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$supdeldwncattitle,$logindate,$logindate); $filename=getFieldValue('fdwn_file','arya_filedownload','fdwn_id='.$_GET["del"]); $ext=substr(strtolower($filename),strpos($filename,'.')+1); if($ext=='jpg' || $ext=='jpeg' || $ext=='JPEG' || $ext=='JPG' || $ext=='png' || $ext=='bmp' || $ext=='PNG' || $ext=='BMP' || $ext=='swf' || $ext=='SWF') { unlink('PortalDownloadFile/thumb/'.getFieldValue('fdwn_file','arya_filedownload','fdwn_id="'.$_GET["del"].'"')); } unlink('PortalDownloadFile/'.getFieldValue('fdwn_file','arya_filedownload','fdwn_id='.$_GET["del"])); $delete = mysql_query("DELETE FROM arya_filedownload WHERE fdwn_id=".$_GET['del'].""); if($delete) { $msg=$msgDeleteRecord; } } if($_GET['del1']) //this is used for delete website { $deldwncattitle=getFieldValue("fdwn_title","arya_filedownload","fdwn_id='".$_GET['del1']."'"); getadminactivity('title_mngfiledownload',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$deldwncattitle,$logindate,$logindate); $delete = mysql_query("UPDATE arya_filedownload SET fdwn_delstatus='Yes' WHERE fdwn_id=".$_GET['del1'].""); if($delete) { $msg=$msgDeleteRecord; } } if($_POST["downldid"]!="")//put enable yes no code by Nitesh date:=24-01-14 { $update_query="UPDATE arya_filedownload SET fdwn_visible ='".$_POST["visibleval"]."' where fdwn_id='".$_POST["downldid"]."'"; $res_query=mysql_query($update_query); $fdwnviscurntdate=date('Y-m-d'); $fdwnviscurnttime= date('h:i:s'); $fdwnvissecid=$_GET['uvpgsecid']; $fdwnvistitle=getFieldValue("fdwn_title","arya_filedownload","fdwn_id='".$_POST["downldid"]."'"); $fdwnenable=getFieldValue("fdwn_visible","arya_filedownload","fdwn_id='".$_POST["downldid"]."'"); $fdwnvisfile=getFieldValue("fdwn_file","arya_filedownload","fdwn_id='".$_POST["downldid"]."'"); $ext=substr(strtolower($fdwnvisfile),strpos($fdwnvisfile,'.')+1); $a=explode(".", $fdwnvisfile); $imgfrstnm=$a[0]."_n.".$ext; $imgvisyes=str_replace("_n","",$a[0].".".$ext); if($fdwnenable=="Yes") { $FilePath = "../aryaadmin/PortalDownloadFile/"; $thumbnail = "../aryaadmin/PortalDownloadFile/thumb/"; $target =$FilePath.$fdwnvisfile; $newName = $FilePath.$imgvisyes; $thumbtarget=$thumbnail.$fdwnvisfile; $thumbNewnm=$thumbnail.$imgvisyes; $renameResult = rename($target, $newName); $thumbResult=rename($thumbtarget, $thumbNewnm); $update_query="UPDATE arya_filedownload SET fdwn_file ='".$imgvisyes."' where fdwn_id='".$_POST["downldid"]."'"; $abcdefgg=mysql_query($update_query); } else if($fdwnenable=="No") { $FilePath = "../aryaadmin/PortalDownloadFile/"; $thumbnail = "../aryaadmin/PortalDownloadFile/thumb/"; $target =$FilePath.$fdwnvisfile; $newName = $FilePath.$imgfrstnm; $thumbtarget=$thumbnail.$fdwnvisfile; $thumbNewnm=$thumbnail.$imgfrstnm; $renameResult = rename($target, $newName); $thumbResult=rename($thumbtarget, $thumbNewnm); $update_query="UPDATE arya_filedownload SET fdwn_file ='".$imgfrstnm."' where fdwn_id='".$_POST["downldid"]."'"; $abcdefgg=mysql_query($update_query); } if($res_query) { $renameResult = rename($target, $newName); getadminactivity('title_mngfiledownload',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$fdwnvistitle,$fdwnviscurntdate,$fdwnviscurnttime); } } if($_POST['page']=="" && $_GET["del"]=="" && $_GET["clnm"]=="") { unset($_SESSION['cmbdwncat1']); } //this is use for come from edit form display select page start if($_POST['page'] != "") { $_SESSION["pagesesid"]=$_POST['page']; } else if($_GET["msg"] != '' || $_GET["del"] > 0) { $_POST['page']=$_SESSION["pagesesid"]; } else { unset($_SESSION["pagesesid"]); } //this is use for come from edit form display select page end if($_POST['cmbdwncat'] != "") { $dcatid =$_POST['cmbdwncat']; $_SESSION['cmbdwncat1']=$dcatid; } if($_GET['dwnid'] > 0) { $dcatid = $_GET['dwnid']; $_SESSION['cmbdwncat1']=$dcatid; } if($_GET['msg']=="upd") { $msg=$msgUpdateRecord; } $columnname = ""; if ($_GET['clnm']) { $columnname = $_GET['clnm']; } else { $columnname ="fdwn_uploaddate "; } // Get the value of either ascending or descending $order = ""; if ($_GET['order']) { $order = $_GET['order']; } else { $order ="ASC"; } if ($columnname == "") {$columnname = "proposalno"; } // Make the default order sorting if ($order == "") { $order = "ASC"; } elseif ($order == "ASC") { $order = "DESC";} elseif ($order == "DESC") { $order = "ASC";} if($order=='ASC') { $style='class="asecnding"'; $ascdescicon='images/up.png'; } if($order=='DESC') { $style='class="descending"'; $ascdescicon='images/down.png'; } if($_GET['clnm']=='fdwncat_title') { $fdwncat_title='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_file') { $fdwn_file='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_title') { $fdwn_title='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_visible') { $fdwn_visible='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_dwnfilecnt') { $fdwn_totaldwnld='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_uploaddate') { $fdwn_uploaddate='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['clnm']=='fdwn_showhome') { $fdwn_showhome='<img src='.$ascdescicon.' '.$style.' />'; } else { $fdwn_uploaddate='<img src='.$ascdescicon.' '.$style.' />'; } if($_POST['page'] !="") { $_SESSION["lngvarpagesesid"]=$_POST['page']; } else if($_GET["msg"] !="") { $_POST['page']=$_SESSION["lngvarpagesesid"]; } else { unset($_SESSION["lngvarpagesesid"]); } ?> <script language="javascript"> function updateenable(downldid,visibleval) { document.frmdownload.downldid.value=downldid; document.frmdownload.visibleval.value=visibleval; document.frmdownload.submit(); } </script> <form action="arya_mngfiledownload.php" method="post" name="frmdownload" id="frmdownload"> <input type="hidden" name="downldid" id="downldid" value="" /> <input type="hidden" name="visibleval" id="visibleval" value="" /> <input type="hidden" name="page" id="page" value="<?php echo $_POST["page"]; ?>" /> </form> <form action="" method="post" name="frmpaging" id="frmpaging" > <input type="hidden" name="page" value="" /> </form> <form method="post" action="arya_mngfiledownload.php" name="frmwebsite" id="frmwebsite" enctype="multipart/form-data"> <table summary="" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" colspan="2" height="85"> <h2 class="bigheader"><?php echo $title_mngfiledownload; ?></h2></td> </tr> <?php echo SuccessMessage($msg);?> <tr> <td align="right" width="45%"><?php echo $lbl_dwnfilecategory; ?> : </td> <td> <select name="cmbdwncat" id="cmbdwncat" class="selbox"> <option value="0"><?php echo $lbl_dwnfilecategory; ?></option> <?php echo getFileDownloadcat($_SESSION['cmbdwncat1']); ?> </select> </td> </tr> <tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td> </td><td height="5"> <input type="submit" name="btnsearch" id="btnsearch" value="Search"/> </td> </tr> <tr><td height="5"></td></tr> <tr><td align="center" colspan="2"> <table summary="" border="1" align="center" width="90%" cellpadding="0" cellspacing="0"> <tr align="center" class="tblborder"> <td width="12%"><a href="arya_mngfiledownload.php?clnm=fdwncat_title&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_dwnfilecategory; ?><?php echo $fdwncat_title; ?></a></td> <td width="16%"><a href="arya_mngfiledownload.php?clnm=fdwn_file&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_filename; ?><?php echo $fdwn_file; ?></a></td> <td width="12%"><a href="arya_mngfiledownload.php?clnm=fdwn_title&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_dwntitle; ?><?php echo $fdwn_title; ?></a></td> <td width="5%"><?php echo "Filesize"; ?></td> <td width="8%"><a href="arya_mngfiledownload.php?clnm=fdwn_uploaddate&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_uplddateandtime;?><?php echo $fdwn_uploaddate;?></a></td> <td width="5%"><?php echo $lbl_uploader;?></td> <td width="5%"><a href="arya_mngfiledownload.php?clnm=fdwn_visible&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_enbldownload; ?><?php echo $fdwn_visible; ?></a></td> <td width="5%"><a href="arya_mngfiledownload.php?clnm=fdwn_showhome&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo "Show on portal"; ?><?php echo $fdwn_showhome; ?></a></td> <td width="5%"><a href="arya_mngfiledownload.php?clnm=fdwn_dwnfilecnt&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_totaldownloads;?><?php echo $fdwn_totaldwnld; ?></a></td> <td width="5%"><?php echo $lbl_edit; ?></td> <td width="5%"><?php echo $lbl_delete; ?></td> <td width="5%"><?php echo $lbl_superdelete; ?></td> </tr> <?php unset($_SESSION["dwncatid"]); if($dbusercatid=="3") { if($_SESSION['cmbdwncat1'] > 0) { if($columnname=="fdwncat_title") { $qrySeldownload="select * from arya_filedownload,arya_filedownloadcategory WHERE arya_filedownload.fdwncat_id=arya_filedownloadcategory.fdwncat_id AND arya_filedownloadcategory.fdwncat_id='".$_SESSION['cmbdwncat1']."' ORDER BY $columnname $order"; } else { $qrySeldownload="select * from arya_filedownload where fdwncat_id='".$_SESSION['cmbdwncat1']."' ORDER BY $columnname $order"; } $_SESSION['dwncatid']=$_SESSION['cmbdwncat1']; } else { if($columnname=="fdwncat_title") { $qrySeldownload="select * from arya_filedownload,arya_filedownloadcategory WHERE arya_filedownload.fdwncat_id=arya_filedownloadcategory.fdwncat_id ORDER BY $columnname $order"; } else { $qrySeldownload="select * from arya_filedownload ORDER BY $columnname $order"; } } } else { if($_SESSION['cmbdwncat1'] > 0) { if($columnname=="fdwncat_title") { $qrySeldownload="select * from arya_filedownload,arya_filedownloadcategory WHERE arya_filedownload.fdwncat_id=arya_filedownloadcategory.fdwncat_id AND arya_filedownloadcategory.fdwncat_id='".$_SESSION['cmbdwncat1']."' ORDER BY $columnname $order"; } else { $qrySeldownload="select * from arya_filedownload where fdwncat_id='".$_SESSION['cmbdwncat1']."' ORDER BY $columnname $order"; } $_SESSION['dwncatid']=$_SESSION['cmbdwncat1']; } else if($columnname=="fdwncat_title") { $qrySeldownload="select * from arya_filedownload,arya_filedownloadcategory WHERE arya_filedownload.fdwncat_id=arya_filedownloadcategory.fdwncat_id AND arya_filedownload.fdwn_delstatus='No' ORDER BY $columnname $order"; } else { if($columnname=="fdwncat_title") { $qrySeldownload="select * from arya_filedownload,arya_filedownloadcategory WHERE arya_filedownload.fdwncat_id=arya_filedownloadcategory.fdwncat_id ORDER BY $columnname $order"; } else { $qrySeldownload="select * from arya_filedownload where fdwn_delstatus='No' ORDER BY $columnname $order"; } } } $qSeldownload = mysql_query($qrySeldownload); $numrows=mysql_num_rows($qSeldownload); if($numrows > 0) { $page=$_POST['page']; $limit=$mngfiledownloadlimit; $script_name="arya_mngfiledownload.php"; $pager = getPagerData($numrows, $limit, $page); $numpages=$pager->numPages; $paging=display_paginglist($page,$numrows,$limit,$script_name,$pagequery_vars); $qSelVAlbum11=mysql_query($qrySeldownload." limit $eu, $limit ") or GoToErrorPage(); while($DownloadFetch=mysql_fetch_array($qSelVAlbum11)) { $dwnID=$DownloadFetch['fdwn_id']; $dbuserid=$DownloadFetch['user_id']; $delstatus=$DownloadFetch['fdwn_delstatus']; $fdwn_dwnfilecnt=$DownloadFetch['fdwn_dwnfilecnt']; $dwncatid=$DownloadFetch["fdwncat_id"]; $dwnfilename=$DownloadFetch["fdwn_file"]; $extension=substr(strrchr($dwnfilename,'.'),1); /*$dwnfileurl=$DownloadFetch["fdwn_url"];*/ $dwnupdate=date("d-M-Y H:m:s",strtotime($DownloadFetch["fdwn_uploaddate"])); //$dwnupdtime=date("H:i:s A",strtotime($DownloadFetch["fdwn_uploadtime"])); $dwncattitle=getFieldValue("fdwncat_title","arya_filedownloadcategory","fdwncat_id='".$dwncatid."'"); $uplodname=getFieldValue("user_name","arya_adminuser","admuser_id='".$dbuserid."'"); //$dwnimg = $DownloadFetch['fdwn_icon']; $dwnName=stripslashes($DownloadFetch['fdwn_title']); $visible=$DownloadFetch['fdwn_visible']; $vshowhome=$DownloadFetch['fdwn_showhome']; //echo "<br/>----".$vshowhome=getFieldValue("fdwn_showhome","arya_filedownload","fdwn_id='".$dwnID."'"); //$imagename =str_replace(" ","_",$quickfils); $newext=str_replace("./","",$DownloadFetch['fdwn_url']); //$ext=substr(strtolower($newext),strpos($newext,'.')+1); $url = $newext; $ext = substr(strrchr($url, '.'), 1); $pamphletname=str_replace("./","",$dwnfilename); $pamphimage = preg_replace('/SM_/', '', $pamphletname, 1); $filename = $pamphimage; //$filemb=round($size/1024,2); //$filesize=$filemb." KB"; if($conditionvar=='1') { $imagepath=$pathvar.$dwnfilename; $newimagepath=str_replace("media","photo",$imagepath); } else { $imagepath=$pathvar.$dwnfilename; $newimagepath=str_replace("media","photo",$imagepath); } if($conditionvar=='1') { $ch = curl_init($newimagepath); curl_setopt($ch, CURLOPT_NOBODY, true); curl_exec($ch); $retcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); // $retcode > 400 -> not found, $retcode = 200, found. curl_close($ch); } if($conditionvar=='2') { $retcode=file_exists($newimagepath); if($retcode==1) { $retcode=200; } } // if($retcode=='200') // { if($conditionvar=='1') { include('arya_ftpfile.php'); $size = ftp_size($srvconn_id, $filename); } else { $size=filesize($newimagepaths); } // } // else // { // $size=filesize("images/quickuploadfiles/$imagename"); // } $var1=$size/1024/1024; $fetchallFilezise1=$allFilezise1+$var1; $fetchFilesizenufor = number_format($fetchallFilezise1, 3, '.', ''); $newsize=$fetchFilesizenufor; $filepath="PortalDownloadFile/".$dwnfilename; $nvsize=filesize($filepath); $nvfilemb=round($nvsize/1048576,3); $filesize=$nvfilemb." MB"; $url = $imagename; $imagestr = substr(strrchr($url, '/'), 1); ?> <?php if($delstatus=='No') { ?> <tr align="center"><?php } else {?> <tr align="center" bgcolor="#CCCCCC" ><?php } ?> <link href="../jplayer_skin/blue.monday/jplayer.blue.monday.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../js/jquery.jplayer.min.js"></script> <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ $("#jp_container_<?php echo $dwnID; ?>").hide(); $("#stop<?php echo $dwnID; ?>").hide(); $('.flclk').click(function(){ var id=$(this).attr('id'); var ab=id.substring(4); var c=<?php echo $dwnID; ?>; if(ab==c) { $("#flip"+ab).ready(function(){ $("#jquery_jplayer_"+ab).jPlayer("play"); $("#jp_container_"+ab).slideToggle("slow"); $("#flip"+ab).hide(); $("#stop"+ab).show(); $("#stop"+ab).click(function(){ $("#jquery_jplayer_"+ab).jPlayer("stop"); $("#flip"+ab).show(); $("#stop"+ab).hide(); }); }); } else { //var stpid="stop"+ab; //var dbstpid="stop<?php //echo $dwnID; ?>"; $("#jquery_jplayer_<?php echo $dwnID; ?>").jPlayer("stop"); $("#jp_container_<?php echo $dwnID; ?>").hide(); $("#flip<?php echo $dwnID; ?>").show(); $("#stop<?php echo $dwnID; ?>").hide(); } }); $("#jquery_jplayer_<?php echo $dwnID; ?>").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { m4a: "<?php echo $filepath; ?>", //oga:"http://www.jplayer.org/audio/ogg/Miaow-08-Stirring-of-a-fool.ogg" }); }, play: function() { // To avoid multiple jPlayers playing together. $(this).jPlayer("pauseOthers"); }, swfPath: "js", supplied: "m4a, oga", cssSelectorAncestor: "#jp_container_<?php echo $dwnID; ?>", wmode: "window", globalVolume: true, smoothPlayBar: true, keyEnabled: true }); }); //]]> </script> <td><?php echo $dwncattitle; ?></td> <td><?php echo $dwnfilename; if($extension=="3GP" || $extension=="3gp" || $extension=="MP3" || $extension=="mp3" || $extension=="M4A" || $extension=="m4p" || $extension=="AU" || $extension=="au") { ?> <div id="flip<?php echo $dwnID; ?>" class="flclk" style="cursor:pointer;"><img src="../images/Playdwn.png" alt="" style="padding-bottom:3px;"/></div> <div id="stop<?php echo $dwnID; ?>" class="flclk" style="cursor:pointer;"><img src="../images/Pausedwn%20.png" alt="" style="padding-bottom:3px;"/></div> <div id="jquery_jplayer_<?php echo $dwnID; ?>" class="jp-jplayer"></div> <div id="jp_container_<?php echo $dwnID; ?>" class="jp-audio"> <div class="jp-type-single" style="text-align:left;"> <div class="jp-gui jp-interface"> <ul class="jp-controls"> <li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li> <li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li> <li><a href="javascript:;" class="jp-stop" tabindex="1"></a></li> <li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li> <li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li> </ul> <div class="jp-progress"> <div class="jp-seek-bar"> <div class="jp-play-bar"></div> </div> </div> <div class="jp-volume-bar"> <div class="jp-volume-bar-value"></div> </div> <div class="jp-time-holder"> <div class="jp-current-time"></div> <div class="jp-duration"></div> </div> </div> </div> </div> <?php } ?> </td> <td> <?php if($visible=="Yes"){?><a href="arya_downloadfile.php?file=PortalDownloadFile/<?php echo $dwnfilename;?>&filedwnid=<?php echo $dwnID; ?>&filetitle=<?php echo $dwnName; ?>"><?php echo $dwnName;?></a><?php }else{ ?><?php echo $dwnName;?><?php } ?> </td> <td><?php echo $filesize; ?></td> <!--<td><?//php echo $dwnfileurl; ?></td>--> <td><?php echo $dwnupdate."<br>"; echo $dwnupdtime;?></td> <td><?php echo $uplodname;?></td> <td> <?php if($visible=='Yes'){ if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/right.png" title="Click the button then update visible" alt="" onClick="updateenable(<?php echo $dwnID;?>,'No');" style="cursor:pointer;" /> <?php } else if ($rightapprove=='All') { ?> <img src="images/right.png" title="Click the button then update visible" alt="" onClick="updateenable(<?php echo $dwnID;?>,'No');" style="cursor:pointer;" /> <?php } else { ?> <img src="images/right_d.png" alt=""/> <?php } ?> <?php } else if($visible=='No') { if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/wrong.png" title="Click the button then update visible" alt="" onClick="updateenable(<?php echo $dwnID;?>,'Yes');" style="cursor:pointer;" /> <?php } else if($rightapprove=='All') {?> <img src="images/wrong.png" title="Click the button then update visible" alt="" onClick="updateenable(<?php echo $dwnID;?>,'Yes');" style="cursor:pointer;"/> <?php } else { ?> <img src="images/wrong_d.png" alt=""/> <?php } ?> <?php }?></td> <td> <div id="FetchAjaxDataEnable[<?php echo $dwnID;?>]"> <?php if($vshowhome=='Yes') { if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/greendot.png" title="Click the button then update showhome" alt="" onClick="return UpdateEnableDisableVal('dwnshme','No',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else if($rightapprove=='All') { ?> <img src="images/greendot.png" title="Click the button then update showhome" alt="" onClick="return UpdateEnableDisableVal('dwnshme','No',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/greendot_d.png" alt=""/> <?php } ?> <?php } else if($vshowhome=='No') { if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/reddot.png" title="Click the button then update showhome" alt="" onClick="return UpdateEnableDisableVal('dwnshme','Yes',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else if($rightapprove=='All') { ?> <img src="images/reddot.png" title="Click the button then update showhome" alt="" onClick="return UpdateEnableDisableVal('dwnshme','Yes',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/reddot_d.png" alt=""/> <?php } } ?> </div> </td> <td><?php echo $fdwn_dwnfilecnt;?></td> <td> <?php if($dbuserid==$admusrid && $rightedit=='Self') { ?> <a href="arya_editfiledownload.php?dwnID=<?php echo $dwnID;?>&scid=<?php echo $pagesecid;?>"><img src="./images/edit.gif" border="0" alt="" title="Click here to edit this record"/></a> <?php } else if ($rightedit=='All') { ?> <a href="arya_editfiledownload.php?dwnID=<?php echo $dwnID;?>&scid=<?php echo $pagesecid;?>"><img src="./images/edit.gif" border="0" alt="" title="Click here to edit this record"/></a> <?php } else {?> <img src="images/edit_disable.gif" border="0" alt="" title="Click here to edit this record" /> <?php } ?> </td> <td align='center'> <?php if($delstatus == "No" && $dbusercatid!="3") { if($dbuserid==$admusrid && $rightdelete=='Self') { ?> <a href="arya_mngfiledownload.php?del1=<?php echo $dwnID;?>" onClick="return confirm('Are you want to sure delete this <?php echo $dwnName;?> Type?');"><img src="./images/delete.gif" border="0" alt="" title="Click here to delete this record"/></a> <?php } else if($rightdelete=='All') { ?> <a href="arya_mngfiledownload.php?del1=<?php echo $dwnID;?>" onClick="return confirm('Are you want to sure delete this <?php echo $dwnName;?> Type?');"><img src="./images/delete.gif" border="0" alt="" title="Click here to delete this record"/></a> <?php } else { ?> <img src="images/delete_disable.gif" border="0" alt="" title="Click here to delete this record" /> <?php } } else if($dbusercatid=="3") { ?> <div id="FetchAjaxDataundo[<?php echo $dwnID;?>]"> <?php if($delstatus=='Yes' ) { if($actUid==$_SESSION["adminuserid"] && $rightdelete=='Self') { ?> <img src="images/undo.jpg" title="Click the button then update undo record" alt="" onClick="return UpdateUndoDeleted('filedownloadundo','No',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else if($rightdelete=='All') { ?> <img src="images/undo.jpg" title="Click the button then update undo record" alt="" onClick="return UpdateUndoDeleted('filedownloadundo','No',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/undo_disable.jpg" border="0" alt="" /> <?php } } else if($delstatus=='No') { if($actUid==$_SESSION["adminuserid"] && $rightdelete=='Self') { ?> <img src="images/delete.gif" title="Click the button then delete record" alt="" onClick="return UpdateUndoDeleted('filedownloadundo','Yes',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else if ($rightdelete=='All') { ?> <img src="images/delete.gif" title="Click the button then delete record" alt="" onClick="return UpdateUndoDeleted('filedownloadundo','Yes',<?php echo $dwnID;?>,<?php echo $pagesecid;?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/delete_disable.gif" border="0" alt="" /> <?php } } ?> </div> <?php } ?> </td> <td align='center'> <?php if($dbuserid==$admusrid && $superdelete=='Self') { ?> <a href="arya_mngfiledownload.php?del=<?php echo $dwnID;?>" onClick="return confirm('are you sure you want to delete this <?php echo $dwnName;?>? this record will be removed from server permanently you can not get that record back.');"><img src="./images/super_delete.png" border="0" alt="" title="Click here to delete this record"/></a> <?php } else if($superdelete=='All') { ?> <a href="arya_mngfiledownload.php?del=<?php echo $dwnID;?>" onClick="return confirm('are you sure you want to delete this <?php echo $dwnName;?>? this record will be removed from server permanently you can not get that record back.');"><img src="./images/super_delete.png" border="0" alt="" title="Click here to delete this record"/></a> <?php } else { ?> <img src="images/super_delete_disable.png" border="0" alt="" title="Click here to delete this record" /> <?php } ?> </td> </tr> <?php } ?> <?php if($paging!="") {?> <tr> <td class="pagination" align="center" colspan="12"><!--pagination end--> <?php echo "<b>".$paging."</b>";?> Go To Page <select name="cmbgtpge" id="cmbgtpge" onchange="return OnPageNumSub(this.value);"> <?php echo GotoPageNumber($numpages,$_SESSION["lngvarpagesesid"]);?> </select> </td><!--pagination end--> <?php }// if($paging!="") } else { echo "<tr><td align='center' colspan='10'><span class='redMsg'>".$msgNoRecordFound."</td></tr>"; } ?> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close