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_editvacancy_27-05-14.php
<?php if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { date_default_timezone_set('Asia/Kolkata'); } include('arya_AdminInclude.php'); //created by navneet //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over if($_GET['pending']=='1') { $_SESSION['vancpen']=$_GET['pending']; } //This is used for admin rights wise display field Start Added By Vaishali 22/01/2013 $admusrid=$_SESSION["adminuserid"]; $dbusercatid=getFieldValue('admcat_id','arya_adminsectionrights','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); if($pagename== "arya_addvacancy.php" ) { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); } } } //This is used for admin rights wise display field Start Added By Vaishali 22/01/2013 // content start $editId = $_GET['vacid']; $pagesecid=$_GET['scid']; $orgsid = $_SESSION['orgid']; $vaccatsid=$_SESSION['cmbVacCat1']; $postsid = $_SESSION['postid']; $cntsnid = $_SESSION['cntsnid']; $stsnid = $_SESSION['stsnid']; $ctsid = $_SESSION['ctsnid']; $insttypelogid=$_GET['typins']; $instorid=$_GET['instid']; $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); if($orgsid > 0){$orgval='oid='.$orgsid;}else{$orgval="";} if($vaccatsid > 0){$vaccatval='&vcid='.$vaccatsid;}else{$vaccatval="";} if($postsid > 0){$postval='&pcid='.$postsid;}else{$postval="";} if($cntsnid > 0){$cntval='&cnid='.$cntsnid;}else{$cntval="";} if($stsnid > 0){$sidval='&sid='.$stsnid;}else{$sidval="";} if($ctsid > 0){$cidval='&cid='.$ctsid;}else{$cidval="";} if($orgsid > 0 || $vaccatsid > 0 || $postsid > 0 || $cntsnid > 0 || $stsnid > 0 || $ctsid > 0){$msgval='&msg=update';}else{$msgval='msg=update';} $selequery="select * from arya_vacancy where vnc_id='".$editId ."'"; $resquery = mysql_query($selequery); $fetchval=mysql_fetch_array($resquery); $vacId = $fetchval['vnc_id']; $insttypeId = $fetchval['insttype_id']; $orgId = $fetchval['inst_id']; $vncengtitle = stripslashes($fetchval['vnc_postengtitle']); $vnchndtitle = stripslashes($fetchval['vnc_posthndtitle']); $vncothrtitle = stripslashes($fetchval['vnc_postothrtitle']); $vncbrifinfoeng = stripslashes($fetchval['vnc_brifinfoeng']); $vncbrifinfohnd = stripslashes($fetchval['vnc_brifinfohnd']); $vncbrifinfoothr = stripslashes($fetchval['vnc_brifinfoothr']); $vncelgibiltyeng = stripslashes($fetchval['vnc_elgibiltyeng']); $vncelgibiltyhnd = stripslashes($fetchval['vnc_elgibiltyhnd']); $vncelgibiltyothr = stripslashes($fetchval['vnc_elgibiltyothr']); $vaccatId = $fetchval['vnccat_id']; $image = $fetchval['vnc_image']; $impimgname=str_replace("./","",$image); $ext=substr(strtolower($impimgname),strpos($impimgname,'.')+1); $postId = $fetchval['postcat_id']; $jobtypeId = $fetchval['jtype_id']; $countryId = $fetchval['cnt_id']; $stateId = $fetchval['state_id']; $cityId = $fetchval['city_id']; $qualification = stripslashes($fetchval['vnc_qualification']); $noofvac = $fetchval['vnc_novac']; $experience = stripslashes($fetchval['vnc_experience']); $emailid = stripslashes($fetchval['vnc_email']); $conno = stripslashes($fetchval['vnc_conno']); $salary = stripslashes($fetchval['salary']); $address = stripslashes($fetchval['vnc_vncadd']); $conper = stripslashes($fetchval['vnc_conper']); $lngsel11=$fetchval['lang_id']; $str = $fetchval['lang_id']; $languageid = explode(",", $str); $fetchvacdate = $fetchval['vnc_startdate']; list($c_year,$c_month,$c_day) = split('-',$fetchvacdate); $fetchvacdate1 = $fetchval['vnc_enddate']; list($c_year1,$c_month1,$c_day1) = split('-',$fetchvacdate1); $fck_content = stripslashes($fetchval['vnc_longtext']); $vrsequence = $fetchval['vnc_sequence']; $vnc_approval = $fetchval['vnc_approval']; $vacshowhome = $fetchval['vnc_showhome']; $vacvisible = $fetchval['vnc_visible']; if($vacvisible=='Yes') { $VCheck='checked="checked"'; } else { $VCheckno='checked="checked"'; } if($vacshowhome=='Yes') { $SCheck='checked="checked"'; } else { $SCheckno='checked="checked"'; } $instarray=getFieldValueArray('lang_id,cnt_id,state_id,inst_name,inst_namehindi,inst_nameother,city_id,inst_address,inst_pincode','arya_institution','inst_id="'.$_SESSION['instorid'].'"'); $instlangid=$instarray[0]; $instcntid=$instarray[1]; $inststateid=$instarray[2]; $instname=$instarray[3]; $instnamehindi=$instarray[4]; $instnameother=$instarray[5]; $instcityid=$instarray[6]; if($_GET['sellng']!="") { $lngsel=$_GET['sellng']; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } else if($instlangid!="") { $lngsel=$instlangid; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } /*else { if($_GET['sellng']=="" || $instlangid=="") { echo "db<br>--".$lngsel=$str; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } }*/ if($_GET['sellng']=="" || $instlangid=="") { $lngsel=$str; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } unset($_SESSION['instorid']); unset($_SESSION['insttypelogoid']); unset($_SESSION['nmvcnminst']); if($_GET['typins']>0) { $_SESSION['insttypelogoid']=$insttypelogid; } else if($_GET['typins']==0) { $_SESSION['insttypelogoid']="0"; } else { $_SESSION['insttypelogoid']=$insttypeId; } if($_GET['instid']>0) { $_SESSION['instorid']=$instorid; $getDbVcnInstName=getFieldValue('inst_name','arya_institution','inst_id="'.$_GET['instid'].'"'); $_SESSION['nmvcnminst']=$getDbVcnInstName; } else { $_SESSION['instorid']=$orgId; $getDbVcnInstName=getFieldValue('inst_name','arya_institution','inst_id="'.$orgId.'"'); $_SESSION['nmvcnminst']=$getDbVcnInstName; } $typeinstid=getFieldValue('inst_id','arya_institution','insttype_id="'.$_GET['typins'].'"'); if(isset($_POST["btnupdate"])) { $postvacancyid=$_POST["hidid"]; $postorgid=$_POST["cmborg"]; $_SESSION["cmborg"]=$postorgid; $postvaccat=$_POST["cmbVacCat"]; $_SESSION["cmbVacCat"]=$postvaccat; $postpostcat=$_POST["cmbPostCat"]; $_SESSION["cmbPostCat"]=$postpostcat; $postjobtype=$_POST["cmbJobType"]; $_SESSION["cmbJobType"]=$postjobtype; $postcountryid = $_POST["cmbCountry"]; $_SESSION["cmbCountry"]=$postcountryid; $poststateid = $_POST["cmbstate"]; $_SESSION["cmbstate"]=$poststateid; $postcityid = $_POST["cmbcity"]; $_SESSION["cmbcity"]=$postcityid; $insttype=$_POST["cmbInstType"]; $_SESSION["cmbInstType"]=$insttype; $postengtitle=addslashes($_POST["txtpostengtitle"]); $_SESSION["txtpostengtitle"]=$postengtitle; $posthndtitle=addslashes($_POST["txtposthndtitle"]); $_SESSION["txtposthndtitle"]=$posthndtitle; $postothrtitle=addslashes($_POST["txtpostothrtitle"]); $_SESSION["txtpostothrtitle"]=$postothrtitle; $postshrttxteng=addslashes($_POST["txtshrttxteng"]); $_SESSION["txtshrttxteng"]=$postshrttxteng; $postshrttxthnd=addslashes($_POST["txtshrttxthnd"]); $_SESSION["txtshrttxthnd"]=$postshrttxthnd; $postshrttxtothr=addslashes($_POST["txtshrttxtothr"]); $_SESSION["txtshrttxtothr"]=$postshrttxtothr; $postelgbltyeng=addslashes($_POST["txtelgbltyeng"]); $_SESSION["txtelgbltyeng"]=$postelgbltyeng; $postelgbltyhnd=addslashes($_POST["txtelgbltyhnd"]); $_SESSION["txtelgbltyhnd"]=$postelgbltyhnd; $postelgbltyothr=addslashes($_POST["txtelgbltyothr"]); $_SESSION["txtelgbltyothr"]=$postelgbltyothr; $postqualification = addslashes($_POST["txtqualification"]); $_SESSION["txtqualification"]=$postqualification; $postnoofvac = addslashes($_POST["txtnovac"]); $_SESSION["txtnovac"]=$postnoofvac; $postexper=addslashes($_POST["txtexperience"]); $_SESSION["txtexperience"]=$postexper; $postemail=addslashes($_POST["txtemail"]); $_SESSION["txtemail"]=$postemail; $postcono=addslashes($_POST["txtconno"]); $_SESSION["txtconno"]=$postcono; $postsalary=addslashes($_POST["txtsalary"]); $_SESSION["txtsalary"]=$postsalary; $postshorttext=addslashes($_POST["txtadd"]); $_SESSION["txtadd"]=$postshorttext; $postconper=addslashes($_POST["txtconper"]); $_SESSION["txtconper"]=$postconper; $lang = $_POST["cmblanguage"]; $_SESSION["cmblanguage"]=$lang; $language = explode(',',$lang); $lng1=$language[1]; $_SESSION["language"]=$lng1; $postenddate=$_POST['year']."-".$_POST['month']."-".$_POST['day']; $_SESSION['year']=$_POST['year']; $_SESSION['month']=$_POST['month']; $_SESSION['day']=$_POST['day']; $_SESSION['hidtypeins']=$_POST['hidtypeins']; $_SESSION['hidinsid']=$_POST['hidinsid']; $longtext=addslashes($_POST["FckContent"]); $_SESSION["FckContent"]=$longtext; if($rightapprove == 'Self' || $rightapprove == 'All') { $postsequence=$_POST["txtsequence"]; $posttxtshowhome=$_POST["txtshowhome"]; $vacvisible=$_POST["txtvisible"]; } else { $postsequence=$vrsequence; $posttxtshowhome=$vacshowhome; $vacvisible="No"; } unset($_SESSION['txtshwhmyes']); unset($_SESSION['txtshwhmno']); if($_POST["txtshowhome"]=='Yes') { $_SESSION['txtshwhmyes']="checked='true'"; } else if($_POST["txtshowhome"]=='No') { $_SESSION['txtshwhmno']="checked='true'"; } unset($_SESSION['txtvblyes']); unset($_SESSION['txtvblno']); if($_POST["txtvisible"]=='Yes') { $_SESSION['txtvblyes']="checked='true'"; } else if($_POST["txtvisible"]=='No') { $_SESSION['txtvblno']="checked='true'"; } if($_POST["txtsequence"]!="") { $_SESSION['txtseqsession']=$_POST["txtsequence"]; } if($_SESSION["language"] > 0) { //$_SESSION['nlnid']; $sellngid='sellng='.$_SESSION["language"].'&'; } else { $sellngid=''; } if($_SESSION['hidinsid']>0) { /*$instorid=$_SESSION['hidinsid']; $_SESSION['hidinsid']=$instorid;*/ $selinstid='instid='.$_SESSION['hidinsid'].'&'; } else if($_SESSION["cmborg"]>0) { $selinstid='instid='.$_SESSION["cmborg"].'&'; } else if($_SESSION['instorid']>0) { $selinstid='instid='.$_SESSION['instorid'].'&'; } else { $selinstid=''; } if($_SESSION['hidtypeins']>0) { $selintypeid='typins='.$_SESSION['hidtypeins'].'&'; } else if($_SESSION["cmbInstType"]>0) { $selintypeid='typins='.$_SESSION["cmbInstType"].'&'; } else { $selintypeid=''; } $_SESSION["yer"]=$_POST["year"]; $_SESSION["mnth"]=$_POST["month"]; $b= strlen($_POST['month']); $c= strlen($_POST["day"]); $d= strlen($_POST['month1']); $e= strlen($_POST["day1"]); if($b=='1') { $month='0'.$_POST['month']; } else { $month=$_POST['month']; } if($c=='1') { $day='0'.$_POST['day']; } else { $day=$_POST['day']; } if($d=='1') { $month1='0'.$_POST['month1']; } else { $month1=$_POST['month1']; } if($e=='1') { $day1='0'.$_POST['day1']; } else { $day1=$_POST['day1']; } $startdate=$_POST['year']."-".$month."-".$day; $enddate=$_POST['year1']."-".$month1."-".$day1; /*if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if($lang=="") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=emplngid'); } if($postorgid==0) { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=emporgid'); } if($postvaccat==0) { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=empvaccat'); } if($postengtitle=="") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=empengttle'); } if(find_blankfield($postengtitle)=="Yes" || find_scripttags($postengtitle)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=engttle'); } else if($lng1==2 && $posthndtitle=="") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=emphndttle'); } else if(find_scripttags($posthndtitle)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=hndttle'); } else if($lng1>2 && $postothrtitle=="") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=empothrttle'); } else if(find_scripttags($postothrtitle)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=othrttle'); } else if(find_scripttags($postshrttxteng)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=shrtxteng'); } else if(find_scripttags($postshrttxthnd)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=shrtxthnd'); } else if(find_scripttags($postshrttxtothr)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=shrtxtothr'); } else if(find_scripttags($postelgbltyeng)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=elgbltyeng'); } if($lng1==2 && $postelgbltyhnd=="") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=empelghnd'); } else if(find_scripttags($postelgbltyhnd)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=elgbltyhnd'); } else if(find_scripttags($postelgbltyothr)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=elgbltyothr'); } else if(ValidEmailCheck($postemail)==false) { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=pstemail'); } else if(is_digits($postcono)=="Yes" || find_scripttags($postcono)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=pstcono'); } else if(find_scripttags($postsalary)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=pstsal'); } else if(find_scripttags($postconper)=="Yes") { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=pstcnpr'); } else if($_POST['day']=='0' || $_POST['month']=='0' || $_POST['year']=='0000') { RedirecPage('arya_editvacancy.php?'.$selinstid.''.$selintypeid.''.$sellngid.'&vacid='.$editId.'&scid='.$pagesecid.'&msg=empdateerr'); } }*/ if($postengtitle!="") { /*$duplicate = getFieldValue('vnc_qualification','arya_vacancy','vnc_qualification="'.$postqualification.'" AND vnc_id!="'.$postvacancyid.'"'); if($duplicate == "") {*/ $dtime=time(); $updtime=date('h:i:s A',$dtime); $qryUpdate="Update arya_vacancy set inst_id='".$postorgid."',insttype_id='".$insttype."',vnc_postengtitle='".$postengtitle."',vnc_posthndtitle='".$posthndtitle."',vnc_postothrtitle='".$postothrtitle."',vnc_brifinfoeng='".$postshrttxteng."',vnc_brifinfohnd='".$postshrttxthnd."',vnc_brifinfoothr='".$postshrttxtothr."',vnc_elgibiltyeng='".$postelgbltyeng."',vnc_elgibiltyhnd='".$postelgbltyhnd."',vnc_elgibiltyothr='".$postshrttxtothr."',vnccat_id='".$postvaccat."',vnc_email='".$postemail."',vnc_conno='".$postcono."',salary='".$postsalary."',vnc_conper='".$postconper."',lang_id='".$lng1."',vnc_enddate='".$postenddate."',vnc_showhome='".$posttxtshowhome."',vnc_visible='".$vacvisible."',vnc_time='".$updtime."' where vnc_id='".$editId."'"; $qUpdate = mysql_query($qryUpdate); if($qUpdate) { getadminactivity('title_editvacancy',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$postengtitle,$curntdate,$curnttime);//activity profile query if($_FILES['txtimage']['name'] != "") { $smallimage=getFieldValue('vnc_image','arya_vacancy','vnc_id="'.$editId.'"'); $mainimage=str_replace('SM_','',$smallimage); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($smallimage); unlink($mainphotimage); } else { $filesmallimage=getFieldValue('vnc_image','arya_vacancy','vnc_id="'.$editId.'"'); $image=str_replace("./","media/",$filesmallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); } $ImageSource = $_FILES['txtimage']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtimage']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['txtimage']['name']); $ext=substr(strtolower($FileName),strpos($FileName,'.')+1); if(strlen($ext) > 4) { $ext=substr(strtolower($ext),strpos($ext,'.')+1); } if($conditionvar=='2') { /*if($_FILES['txtimage']['size'] < (1024000)) //if files is less than 1mb {*/ if($ext=="jpg" || $ext=="gif" || $ext=="JPEG" || $ext=="bmp" || $ext=="JPG" || $ext=="jpg" || $ext=="GIF" || $ext=="png" || $ext=="PNG" || $ext=="BMP" ||$ext=="jpeg" || $ext=="PDF" || $ext=="pdf" || $ext=="rar" || $ext=="RAR" || $ext=="zip" || $ext=="ZIP" || $ext=="rar.gz" || $ext=="zip.gz" || $ext=="DOC" || $ext=="doc" || $ext=="TXT" || $ext=="txt") { include('arya_makedirectory.php'); $Thumwidth = "150"; $Thumheight = ""; $bigThumwidth = "400"; $bigThumheight = ""; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($ImageSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); if($UploadImg== "true") { $qryUpdImpPlaces="UPDATE arya_vacancy SET vnc_image='".$ThumbtoPath."' WHERE vnc_id=".$editId; $qUpdImpPlaces=mysql_query($qryUpdImpPlaces); } } }//extention condition over else { $msg.="Upload only jpg,png,gif image.<br/>"; } /*} else { $msg="Please Upload image less than 1MB"; }*/ }//if($conditionvar=='2') /*else { $year=date('Y'); $month=date('m'); $mediaPath="media/"; $mediayearpath="media/".$year."/"; $mediamonthpath="media/".$year."/".$month."/"; $Thumwidth = "100"; $Thumheight = "122"; 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($_FILES['txtimage']['size'] < (1024)) //if files is less than 1mb {*/ if($ext=="jpg" || $ext=="gif" || $ext=="JPEG" || $ext=="bmp" || $ext=="JPG" || $ext=="jpg" || $ext=="GIF" || $ext=="png" || $ext=="PNG" || $ext=="BMP" ||$ext=="jpeg" || $ext=="PDF" || $ext=="pdf" || $ext=="rar" || $ext=="RAR" || $ext=="zip" || $ext=="ZIP" || $ext=="rar.gz" || $ext=="zip.gz" || $ext=="DOC" || $ext=="doc" || $ext=="TXT" || $ext=="txt") { ob_start(); $myFile = $_FILES['txtimage']; $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); $qryUpdImpPlaces="UPDATE arya_vacancy SET vnc_image='".$smalldestination_file."' WHERE vnc_id=".$editId; $qUpdImpPlaces=mysql_query($qryUpdImpPlaces); } else { $msg.="Upload only jpg,png,gif image.<br/>"; } /*} else { $msg="Please Upload image less than 1MB"; }*/ } } if($_SESSION['vancpen']=='1') { RedirecPage('arya_vacanpendlist.php'); } else { //echo "<script language=JavaScript>location.href='arya_mngvacancy.php?".$orgval.$vaccatval.$postval.$cntval.$sidval.$cidval.$msgval."' RedirecPage('arya_mngvacancy.php?'.$orgval.$vaccatval.$postval.$cntval.$sidval.$cidval.$msgval.''); } } else { $msg=$msgNotUpdate; } /*} else { $msg="$msgDuplicatRecord"; }*/ } else { $msg=$msgFillFormField; } } if($_GET['msg']=="err") // php validation error message { $msg="Please Enter Valid Input"; } $btntype='type="reset"'; if($_GET['msg']=="empinstyp" || $_GET['msg']=="emporgid" || $_GET['msg']=="emplngid" || $_GET['msg']=="empvaccat" || $_GET['msg']=="empengttle" || $_GET['msg']=="emphndttle" || $_GET['msg']=="empothrttle" || $_GET['msg']=="empelghnd" || $_GET['msg']=="engttle" || $_GET['msg']=="hndttle" || $_GET['msg']=="othrttle" || $_GET['msg']=="shrtxteng" || $_GET['msg']=="shrtxthnd" || $_GET['msg']=="shrtxtothr" || $_GET['msg']=="elgbltyeng" || $_GET['msg']=="elgbltyhnd" || $_GET['msg']=="elgbltyothr" || $_GET['msg']=="pstemail" || $_GET['msg']=="pstcono" || $_GET['msg']=="pstsal" || $_GET['msg']=="pstcnpr" || $_GET['msg']=="empdateerr") { $btntype='type="submit"'; if(isset($_POST['btnreset'])) { RedirecPage('arya_editvacancy.php?vacid='.$editId.'&scid='.$pagesecid.''); } } $classempinstyp='class="txtbox"'; $classemporgid='class="txtbox"'; $classemplngid='class="txtbox"'; $classempvaccat='class="txtbox"'; $classengttle='class="txtbox"'; $classenshrt='class="txtbox"'; $classelgben='class="txtbox"'; $classhndttle='class="txtbox"'; $classhrthnd='class="txtbox"'; $classhrtothr='class="txtbox"'; $classempothrttle='class="txtbox"'; $classselghnd='class="txtbox"'; $classelgoth='class="txtbox"'; $classhndtitle='class="txtbox"'; $classsothrttle='class="txtbox"'; $classpstemail='class="txtbox"'; $classpstcono='class="txtbox"'; $classpstsal='class="txtbox"'; $classpstcnpr='class="txtbox"'; if($_GET['msg']=="empinstyp") { $msg = "Please"." ".$lbl_selectinsttype; $classempinstyp='class="errtxtengbord" '; } else if($_GET['msg']=="emporgid") { $msg= "Please"." ".$lbl_selinstitution; $classemporgid='class="errtxtengbord"'; } else if($_GET['msg']=="emplngid") { $msg="Please"." ".$lbl_selectlanguage; $classemplngid='class="errtxtengbord" '; } else if($_GET['msg']=="empvaccat") { $msg="Please"." ".$sel_vaccat; $classempvaccat='class="errtxtengbord"'; } else if($_GET['msg']=="empengttle") { $msg=$lbl_errmenmsg." ".$lbl_postengtitle; $vncengtitle=""; $classengttle='class="errtxtengbord"'; } else if($_GET['msg']=="emphndttle") { $msg=$lbl_errmenmsg." ".$lbl_posthndtitle; $vnchndtitle=""; $classhndttle='class="errtxtengbord"'; } else if($_GET['msg']=="empothrttle") { $msg=$lbl_errmenmsg." ".$lbl_postothrtitle; $vncothrtitle=""; $classempothrttle='class="errtxtengbord"'; } else if($_GET['msg']=="empelghnd") { $msg=$lbl_errmenmsg." ".$lbl_elgblthnd; $vncelgibiltyhnd=""; $classselghnd='class="errtxtengbord"'; } else if($_GET['msg']=="engttle") { $msg=$lbl_errvalidmsg." ".$lbl_postengtitle; $classengttle='class="errtxtengbord"'; } else if($_GET['msg']=="hndttle") { $msg=$lbl_errvalidmsg." ".$lbl_posthndtitle; $classhndttle='class="errtxtengbord"'; } else if($_GET['msg']=="othrttle") { $msg=$lbl_errvalidmsg." ".$lbl_postothrtitle; $classempothrttle='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxteng") { $msg=$lbl_errvalidmsg." ".$lbl_shorttexteng; $classenshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxthnd") { $msg=$lbl_errvalidmsg." ".$lbl_shorttexthindi; $classhrthnd='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxtothr") { $msg=$lbl_errvalidmsg." ".$lbl_shorttextother; $classhrtothr='class="errtxtengbord"'; } else if($_GET['msg']=="elgbltyeng") { $msg=$lbl_errvalidmsg." ".$lbl_elgblteng; $classelgben='class="errtxtengbord"'; } else if($_GET['msg']=="elgbltyhnd") { $msg=$lbl_errvalidmsg." ".$lbl_elgblthnd; $classselghnd='class="errtxtengbord"'; } else if($_GET['msg']=="elgbltyothr") { $msg=$lbl_errvalidmsg." ".$lbl_elgbltothr; $classelgoth='class="errtxtengbord"'; } else if($_GET['msg']=="pstemail") { $msg=$lbl_errmenmsg." ".$lbl_email; $classpstemail='class="errtxtengbord"'; } else if($_GET['msg']=="pstcono") { $msg=$lbl_errmenmsg." ".$lbl_conno; $classpstcono='class="errtxtengbord"'; } else if($_GET['msg']=="pstsal") { $msg=$lbl_errmenmsg." ".$lbl_renumperqst; $classpstsal='class="errtxtengbord"'; } else if($_GET['msg']=="pstcnpr") { $msg=$lbl_errmenmsg." ".$lbl_conper; $classpstcnpr='class="errtxtengbord"'; } else if($_GET['msg']=="empdateerr") { $msg=$lbl_errmenmsg." ".$lbl_expdate; $classexpdate='class="errbrthdate"'; } else { unset($_SESSION["cmborg"]); unset($_SESSION["cmbVacCat"]); unset($_SESSION["cmbPostCat"]); unset($_SESSION["txtnovac"]); unset($_SESSION["txtemail"]); unset($_SESSION["txtconno"]); unset($_SESSION["txtsalary"]); unset($_SESSION["txtconper"]); unset($_SESSION['year']); unset($_SESSION['month']); unset($_SESSION['day']); unset($_SESSION['txtvblyes']); unset($_SESSION['txtvblno']); unset($_SESSION['txtshwhmyes']); unset($_SESSION['txtshwhmno']); unset($_SESSION["txtpostengtitle"]); unset($_SESSION["txtposthndtitle"]); unset($_SESSION["txtpostothrtitle"]); unset($_SESSION["txtshrttxteng"]); unset($_SESSION["txtshrttxthnd"]); unset($_SESSION["txtshrttxtothr"]); unset($_SESSION["txtelgbltyeng"]); unset($_SESSION["txtelgbltyhnd"]); unset($_SESSION["txtelgbltyothr"]); unset($_SESSION["cmblanguage"]); unset($_SESSION["cmbInstType"]); } ?> <script language="javascript" type="text/javascript"> function ChangeInstDetail(typins,vacid,scid)//this function is used to to submit form in magazine issue { window.location.href ="arya_editvacancy.php?typins="+typins+"&vacid="+vacid+"&scid="+scid; } function ChangeInstFullDetl(inv,inid,vacid,scid)//this function is used to to submit form in magazine issue { window.location.href ="arya_editvacancy.php?instid="+inv+"&typins="+inid+"&vacid="+vacid+"&scid="+scid; } function ChangeInstaddress(inv,vacid,scid) { window.location.href ="arya_editvacancy.php?instid="+inv+"&vacid="+vacid+"&scid="+scid; } </script> <script type="text/javascript" language="javascript"> $(document).ready(function() { $("#txtimage").change(function () { var size = 1024000; var iSize = ($("#txtimage")[0].files[0].size); if (iSize > size) { alert("Please Upload Only Less-Than 1024 Kb Image."); this.value=''; document.frmvacancy.txtimage.focus(); } }); $("#cmbengvar").autocomplete("arya_searchinsttitle.php", { selectFirst: true }); $("#cmbengvar").result(function(event, data, formatted) { //var hidden = $("#rowID"); var hidden = $("#rowID"); hidden.val(data[1]); var b=$("#rowID").val(); location.href ="arya_editvacancy.php?instid="+b+"&vacid="+<?php echo $editId;?>+"&scid="+<?php echo $pagesecid;?>; //window.location.href ="arya_addvacancy.php?instid="+data[1]; }); }); //image size validation end </script> <form name="frmvacancy" id="frmvacancy" method="POST" action="" enctype="multipart/form-data" onsubmit="return blankvacancy();"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85"> <h2 class="bigheader"><?php echo $title_editvacancy; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr> <tr> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="5" colspan="6"></td></tr> <tr> <td> <input type="hidden" name="rowID" id="rowID" value="" /> <input type="hidden" name="hidtypeins" id="hidtypeins" value="<?php echo $_SESSION['insttypelogoid'];?>"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_selinstitution;?> : </td> <td> <input type="hidden" name="hideditid" id="hideditid" value="<?php echo $editId;?>" /> <input type="text" name="cmbengvar" id="cmbengvar" class="txtbox" value="<?php echo $_SESSION['nmvcnminst'];?>"/> <input type="hidden" name="cmborg" id="cmborg" value="<?php echo $_SESSION['instorid'];?>"/> <input type="hidden" name="hidinsid" id="hidinsid" value="<?php echo $_SESSION['instorid'];?>"/> </td> </tr> <?php ?> <tr><td height="5" colspan="6"></td></tr> <td align="right" width="45%" colspan="3"> </td> <td align="left" colspan="3"> <?php if($_SESSION['instorid']>0) { $instarray=getFieldValueArray('lang_id,cnt_id,state_id,inst_name,inst_namehindi,inst_nameother,city_id,inst_address,inst_pincode','arya_institution','inst_id="'.$_SESSION['instorid'].'"'); $instlangid=$instarray[0]; $instcntid=$instarray[1]; $inststateid=$instarray[2]; $instname=$instarray[3]; $instnamehindi=$instarray[4]; $instnameother=$instarray[5]; $instcityid=$instarray[6]; $instaddress=$instarray[7]; $instpincode=$instarray[8]; $instcityname=getFieldValue('city_name','arya_city','city_id="'.$instcityid.'"'); $inststatename=getFieldValue('state_name','arya_state','state_id="'.$inststateid.'"'); $instcountryname=getFieldValue('cnt_name','arya_country','cnt_id="'.$instcntid.'"'); echo $instaddress."<br>"; echo $instcityname.","; echo $inststatename.","; echo $instcountryname.","; echo $instpincode; } else { $instarray12=getFieldValueArray('lang_id,cnt_id,state_id,inst_name,inst_namehindi,inst_nameother,city_id,inst_address,inst_pincode','arya_institution','inst_id="'.$orgId.'"'); $instlangid=$instarray12[0]; $instcntid12=$instarray12[1]; $inststateid12=$instarray12[2]; $instname=$instarray12[3]; $instnamehindi=$instarray12[4]; $instnameother=$instarray12[5]; $instcityid12=$instarray12[6]; $instaddress=$instarray12[7]; $instpincode=$instarray12[8]; $instcityname=getFieldValue('city_name','arya_city','city_id="'.$instcityid12.'"'); $inststatename=getFieldValue('state_name','arya_state','state_id="'.$inststateid12.'"'); $instcountryname=getFieldValue('cnt_name','arya_country','cnt_id="'.$instcntid12.'"'); echo $instaddress."<br>"; echo $instcityname.","; echo $inststatename.","; echo $instcountryname.","; echo $instpincode; } ?> </td> <?php ?> <tr><td height="5" colspan="6"></td></tr> <td align="right" width="45%" colspan="3"> <?php echo $sign." ". $lbl_selectlanguage; ?> : </td> <td align="left" colspan="3"> <select name="cmblanguage" id="cmblanguage" class="selbox" onchange="return ChangeSelectLanguage(this.value,'editvacn','','<?php echo $_SESSION['instorid'];?>','<?php echo $pagesecid;?>','<?php echo $_SESSION['insttypelogoid'];?>','<?php echo $editId;?>');" <?php echo $classemplngid;?>> <option value="0"><?php echo $lbl_selectlanguage; ?></option> <?php echo GetAllLanguage($lngsel);?> </select> <input type="hidden" name="hidlngid" id="hidlngid" value="<?php echo $lngsel;?>"/> </td> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$sel_vaccat;?> : </td> <td> <select name="cmbVacCat" id="cmbVacCat" onchange="return findselectpost(this.value);" <?php echo $classempvaccat;?>> <option value="0"><?php echo $sel_vaccat;?></option> <?php if($_SESSION["cmbVacCat"]>0) { echo getVacancyCategory($_SESSION["cmbVacCat"]); } else { echo getVacancyCategory($vaccatId); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td width="20%" align="right"><?php echo $sign." ".$lbl_postengtitle;?> : </td> <td><input type="text" name="txtpostengtitle" id="txtpostengtitle" value="<?php if($_SESSION['txtpostengtitle']!=""){echo $_SESSION['txtpostengtitle'];}else{echo $vncengtitle;} ?>" maxlength="200" <?php echo $classengttle;?>/> <td align="right" width="9%"><?php if($lngname=="Hindi") { echo $sign." "; } echo $lbl_posthndtitle;?> : </td> <td align="left" width="9%"> <input type="text" name="txtposthndtitle" id="txtposthndtitle" onfocus="changeLanguage('hindimagazinetitle', 'devanagari')" value="<?php if($_SESSION['txtposthndtitle']!=""){echo $_SESSION['txtposthndtitle'];}else{echo $vnchndtitle;}?>" maxlength="300" <?php echo $classhndttle;?>/> </td> <?php if($lngname=='English' || $lngname == "Hindi") { ?> <td align="right" width="8%"> </td> <td align="left"> </td> <?php } else { ?> <td align="right"><?php echo $sign." ".$lbl_postothrtitle;?> : </td> <td align="left"><input type="text" name="txtpostothrtitle" id="txtpostothrtitle" value="<?php if($_SESSION['txtpostothrtitle']!=""){echo $_SESSION['txtpostothrtitle'];}else{echo $vncothrtitle;}?>" maxlength="300" <?php echo $classempothrttle;?>/></td> <?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr align="right"> <td width="15%" align="right"><?php echo $lbl_shorttexteng;?> : </td> <td align="left" width="18%"><textarea rows="3" cols="10" name="txtshrttxteng" id="txtshrttxteng" <?php echo $classenshrt;?>><?php if($_SESSION["txtshrttxteng"]!=""){echo $_SESSION["txtshrttxteng"];}else {echo $vncbrifinfoeng;}?></textarea> <td align="right"><?php if($lngname=="Hindi") { echo " "; } echo $lbl_shorttexthindi;?> : </td> <td align="left" width="10%"> <textarea rows="3" cols="10" name="txtshrttxthnd" id="txtshrttxthnd" <?php echo $classhrthnd;?>><?php if($_SESSION['txtshrttxthnd']!=""){echo $_SESSION['txtshrttxthnd'];}else{echo $vncbrifinfohnd;}?></textarea> </td> <?php if($lngname=='English' || $lngname == "Hindi") { ?> <td align="right" width="8%"> </td> <td align="left"> </td> <?php } else { ?> <td align="right" ><?php echo $lbl_shorttextother;?> : </td> <td align="left"><textarea rows="3" cols="10" name="txtshrttxtothr" id="txtshrttxtothr" <?php echo $classhrtothr;?>><?php if($_SESSION['txtshrttxtothr']!=""){echo $_SESSION['txtshrttxtothr'];}else{echo $vncbrifinfoothr;}?></textarea></td> <?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr align="right"> <td width="20%" align="right"><?php echo $lbl_englishtitle;?> : </td> <td align="left" width="16%"><textarea rows="3" cols="10" name="txtelgbltyeng" id="txtelgbltyeng" <?php echo $classelgben;?>/><?php if($_SESSION['txtelgbltyeng']!=""){echo $_SESSION['txtelgbltyeng'];}else{echo $vncelgibiltyeng;} ?></textarea> <td align="right"><?php if($lngname=="Hindi") { echo " "; } echo $lbl_hindititle;?> : </td> <td align="left" width="10%"> <textarea rows="3" cols="10" name="txtelgbltyhnd" id="txtelgbltyhnd" onfocus="changeLanguage('txtelgbltyhnd', 'devanagari')" <?php echo $classselghnd;?>/><?php if($_SESSION['txtelgbltyhnd']!=""){echo $_SESSION['txtelgbltyhnd'];}else{echo $vncelgibiltyhnd;}?></textarea> </td> <?php if($lngname=='English' || $lngname == "Hindi") { ?> <td align="right" width="23%"> </td> <td align="left" width="15%"> </td> <?php } else { ?> <td align="right"><?php echo $lbl_othertitle;?> : </td> <td align="left"><textarea rows="3" cols="10" name="txtelgbltyothr" id="txtelgbltyothr" <?php echo $classelgoth;?>/><?php if($_SESSION['txtelgbltyothr']!=""){echo $_SESSION['txtelgbltyothr'];}else{echo $vncelgibiltyothr;} ?></textarea></td> <?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_renumperqst;?> : </td> <td> <input type="text" name="txtsalary" id="txtsalary" value="<?php if($_SESSION['txtsalary']!=""){echo $_SESSION['txtsalary'];}else{echo $salary;}?>" <?php echo $classpstsal;?> maxlength="100"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $lbl_conper;?> : </td> <td><input type="text" name="txtconper" id="txtconper" maxlength="50" value="<?php if($_SESSION["txtconper"]!=""){echo $_SESSION["txtconper"];}else{echo $conper;}?>" <?php echo $classpstcnpr;?>/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $lbl_conno;?> : </td> <td><input type="text" name="txtconno" id="txtconno" value="<?php if($_SESSION["txtconno"]!=""){echo $_SESSION["txtconno"];}else{echo $conno;}?>" <?php echo $classpstcono;?> maxlength="50" onkeypress="return checkInt(event);"/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $lbl_email;?> : </td> <td><input type="text" name="txtemail" id="txtemail" maxlength="50" value="<?php if($_SESSION["txtemail"]!=""){echo $_SESSION["txtemail"]; }else{echo $emailid;}?>" <?php echo $classpstemail;?>/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $lbl_image;?> : </td> <td><input type="file" name="txtimage" id="txtimage" maxlength="200" value=""/></td> <td> <?php if($ext=="jpg" || $ext=="gif" || $ext=="JPEG" || $ext=="bmp" || $ext=="JPG" || $ext=="jpg" || $ext=="GIF" || $ext=="png" || $ext=="PNG" || $ext=="BMP" ||$ext=="jpeg") { ?> <img src="<?php echo $pathvar.$impimgname; ?>" width="80" alt="" title="" /> <?php } else if($ext=="PDF" || $ext=="pdf" || $ext=="rar" || $ext=="RAR" || $ext=="zip" || $ext=="ZIP" || $ext=="rar.gz" || $ext=="zip.gz" || $ext=="DOC" || $ext=="doc" || $ext=="TXT" || $ext=="txt") { echo substr($image,20); } ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $lbl_expdate; ?> : </td> <td> <?php if($_SESSION['day']!="" || $_SESSION['month']!="" || $_SESSION['year']!="") { echo '<select id="day" name="day" '.$classexpdate.'>'.GetDay($_SESSION['day']).'</select>'; echo '<select id="month" name="month" '.$classexpdate.'>'.GetMonth($_SESSION['month']).'</select>'; echo '<select id="year" name="year" '.$classexpdate.'>'.GetYear($_SESSION['year']).'</select>'; } else { echo '<select id="day" name="day" '.$classexpdate.'>'.GetDay($c_day1).'</select>'; echo '<select id="month" name="month" '.$classexpdate.'>'.GetMonth($c_month1).'</select>'; echo '<select id="year" name="year" '.$classexpdate.'>'.GetYear($c_year1).'</select>'; } ?> </td> </tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_showhome; ?> : </td> <td> <input type="radio" name="txtshowhome" id="txtshowhome" value="Yes" <?php if($_SESSION['txtshwhmyes']!="") { echo $_SESSION['txtshwhmyes']; } else { if($_SESSION['txtshwhmno']=="") { echo $SCheck; } }?> />Yes <input type="radio" name="txtshowhome" id="txtshowhome" value="No" <?php if($_SESSION['txtshwhmno']!="") { echo $_SESSION['txtshwhmno']; } else { if($_SESSION['txtshwhmyes']=="") { echo $SCheckno; } }?>/>No </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_shwvachome; ?> : </td> <td> <input type="radio" name="txtvisible" id="txtvisible" value="Yes" <?php if($_SESSION['txtvblyes']!="") { echo $_SESSION['txtvblyes']; } else { if($_SESSION['txtvblno']=="") { echo $VCheck; } }?>/>Yes <input type="radio" name="txtvisible" id="txtvisible" value="No" <?php if($_SESSION['txtvblno']!="") { echo $_SESSION['txtvblno']; } else { if($_SESSION['txtvblno']=="") { echo $VCheckno; } }?>/>No </td> </tr> <?php } ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"></td> <td> <input type="submit" id="btnupdate" name="btnupdate" value="<?php echo $btn_update; ?>" class="button" /> <input <?php echo $btntype;?> name="btnreset" id="btnreset" value="<?php echo $btn_reset;?>" class="button" /> <input type="button" name="btnBack" value="<?php echo $btn_back; ?>" class="button" onclick="history.go(-1);"/> </td> </tr> </table> </td> </tr> </table> </form> <script language="javascript" type="text/javascript"> pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("txtposthndtitle", document.getElementById('txtposthndtitle'),'devanagari'); pph.convertToIndicIME("txtshrttxthnd", document.getElementById('txtshrttxthnd'),'devanagari'); pph.convertToIndicIME("txtelgbltyhnd", document.getElementById('txtelgbltyhnd'),'devanagari'); <?php if($lngname!="English" || $lngname!="Hindi"){ ?> pph.convertToIndicIME("txtpostothrtitle", document.getElementById('txtpostothrtitle'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("txtshrttxtothr", document.getElementById('txtshrttxtothr'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("txtelgbltyothr", document.getElementById('txtelgbltyothr'),'<?php echo $lngname; ?>'); <?php } ?> </script> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close