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 /
[ HOME SHELL ]
Name
Size
Permission
Action
Archive
[ DIR ]
drwxr-xr-x
FCK_avind
[ DIR ]
drwxr-xr-x
Garbagephoto
[ DIR ]
drwxr-xr-x
PortalDownloadFile
[ DIR ]
drwxrwxrwx
PortalHomeBanner
[ DIR ]
drwxrwxrwx
arya_login_backup
[ DIR ]
drwxr-xr-x
audio
[ DIR ]
drwxr-xr-x
ckeditor
[ DIR ]
drwxr-xr-x
common
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
datepicker
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
media
[ DIR ]
drwxrwxrwx
qufiles
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxrwxrwx
videos
[ DIR ]
drwxr-xr-x
.htaccess
79
B
-rw-r--r--
10-08-2020-AG-arya_adminconnec...
1.6
KB
-rw-r--r--
10-26-2020-AG-arya_obituarypho...
15.63
KB
-rw-r--r--
10-26-2020-Arvind-arya_newspho...
17.38
KB
-rw-r--r--
1460352095.zip
5.77
MB
-rw-r--r--
1460356677.zip
5.77
MB
-rw-r--r--
MemberExportData.xls
3.98
MB
-rw-r--r--
Thumbs.db
252.5
KB
-rw-r--r--
_Thumbs.db
38
KB
-rw-r--r--
adminlogin.php
3.6
KB
-rw-r--r--
adminpages.php
4.82
KB
-rw-r--r--
ajaxlogout.php
1.61
KB
-rw-r--r--
arya_ editadmpassword.php
5.63
KB
-rw-r--r--
arya_AdminInclude.php
1.21
KB
-rw-r--r--
arya_activitypendinglist.php
15.21
KB
-rw-r--r--
arya_addactivities.php
16.48
KB
-rw-r--r--
arya_addadmin.php
11.01
KB
-rw-r--r--
arya_addadminpages.php
13.58
KB
-rw-r--r--
arya_addadminuser.php
5.34
KB
-rw-r--r--
arya_addadminusercategory.php
3.5
KB
-rw-r--r--
arya_addadmissionnotification....
32.79
KB
-rw-r--r--
arya_addadvertisement.php
23.48
KB
-rw-r--r--
arya_addarticle.php
30.23
KB
-rw-r--r--
arya_addaryasamajtab.php
21.66
KB
-rw-r--r--
arya_addaudioalbum.php
23.29
KB
-rw-r--r--
arya_addaudiogallery.php
24.64
KB
-rw-r--r--
arya_addauthor.php
20.11
KB
-rw-r--r--
arya_addcategory.php
17.85
KB
-rw-r--r--
arya_addcity.php
9.59
KB
-rw-r--r--
arya_addcountry.php
11.54
KB
-rw-r--r--
arya_adddiscategory.php
27.55
KB
-rw-r--r--
arya_adddiscover.php
27.43
KB
-rw-r--r--
arya_adddownload.php
9.61
KB
-rw-r--r--
arya_adddynamicpages.php
14.51
KB
-rw-r--r--
arya_addelectionappointment.ph...
16.23
KB
-rw-r--r--
arya_addengvarriable.php
8.86
KB
-rw-r--r--
arya_addevents.php
51.09
KB
-rw-r--r--
arya_addeventtype.php
29.15
KB
-rw-r--r--
arya_addfestival.php
30.69
KB
-rw-r--r--
arya_addfestivaltype.php
29.14
KB
-rw-r--r--
arya_addfilecategory.php
25.15
KB
-rw-r--r--
arya_addfiledownload.php
12.06
KB
-rw-r--r--
arya_addimportantplaces.php
36.03
KB
-rw-r--r--
arya_addinstituteprofile.php
23.86
KB
-rw-r--r--
arya_addinstitutetype.php
32.36
KB
-rw-r--r--
arya_addinstitution.php
56.04
KB
-rw-r--r--
arya_addinstmgzadmin.php
10.35
KB
-rw-r--r--
arya_addinstwebpagerights.php
8.43
KB
-rw-r--r--
arya_addjobtype.php
3.32
KB
-rw-r--r--
arya_addlanguage.php
13.73
KB
-rw-r--r--
arya_addmagazines.php
38.7
KB
-rw-r--r--
arya_addmagazines_16-08-22-AG....
38.22
KB
-rw-r--r--
arya_addmagazinetitle.php
44.19
KB
-rw-r--r--
arya_addmember.php
37.87
KB
-rw-r--r--
arya_addmemberlevel.php
22.87
KB
-rw-r--r--
arya_addmemberlevelpower.php
12.65
KB
-rw-r--r--
arya_addmemberpower.php
11.64
KB
-rw-r--r--
arya_addmembertype.php
22.35
KB
-rw-r--r--
arya_addmessage.php
9.45
KB
-rw-r--r--
arya_addmgzwebpagerights.php
10.69
KB
-rw-r--r--
arya_addmobileaudio.php
8.73
KB
-rw-r--r--
arya_addmobileimage.php
8.52
KB
-rw-r--r--
arya_addnews.php
61.46
KB
-rw-r--r--
arya_addobituary.php
27.64
KB
-rw-r--r--
arya_addorganizationtype.php
7.76
KB
-rw-r--r--
arya_addphotogallery.php
28.28
KB
-rw-r--r--
arya_addpolllevel.php
3.88
KB
-rw-r--r--
arya_addpollquestions.php
20.65
KB
-rw-r--r--
arya_addpolltype.php
18.74
KB
-rw-r--r--
arya_addportalhomeslidebanner....
12.05
KB
-rw-r--r--
arya_addportalhomeslidebanner_...
11.99
KB
-rw-r--r--
arya_addportalsection.php
22.72
KB
-rw-r--r--
arya_addportalsectionautotitle...
344
B
-rw-r--r--
arya_addportaltab.php
24.97
KB
-rw-r--r--
arya_addpostcategory.php
21.22
KB
-rw-r--r--
arya_addprimaryartcategory.php
7.45
KB
-rw-r--r--
arya_addprimaryrecord.php
48.1
KB
-rw-r--r--
arya_addprmyquickupldtype.php
9
KB
-rw-r--r--
arya_addproduct.php
20.4
KB
-rw-r--r--
arya_addproductcategory.php
23.56
KB
-rw-r--r--
arya_addquestioncategory.php
8.01
KB
-rw-r--r--
arya_addradioairing.php
18.95
KB
-rw-r--r--
arya_addscndquecat.php
10.45
KB
-rw-r--r--
arya_addscndtestquestions.php
24.83
KB
-rw-r--r--
arya_addscndtimeline.php
23.8
KB
-rw-r--r--
arya_addsecndryfestival.php
21.37
KB
-rw-r--r--
arya_addsecndryquickupldtype.p...
12.59
KB
-rw-r--r--
arya_addsecndryrecord.php
40.47
KB
-rw-r--r--
arya_addsecondaryactivity.php
15.34
KB
-rw-r--r--
arya_addsecondaryartcategory.p...
13.87
KB
-rw-r--r--
arya_addsecondryservice.php
15.54
KB
-rw-r--r--
arya_addsecplace.php
32.95
KB
-rw-r--r--
arya_addsecpoll.php
27.67
KB
-rw-r--r--
arya_addservicecategory.php
22.64
KB
-rw-r--r--
arya_addservices.php
18.05
KB
-rw-r--r--
arya_addstate.php
9.28
KB
-rw-r--r--
arya_addstreaming.php
17.96
KB
-rw-r--r--
arya_addstreamingbanner.php
20.35
KB
-rw-r--r--
arya_addtest.php
16.24
KB
-rw-r--r--
arya_addtestlevel.php
24.06
KB
-rw-r--r--
arya_addtestquestions.php
40.75
KB
-rw-r--r--
arya_addtestquestionsold.php
15.59
KB
-rw-r--r--
arya_addtimeline.php
14.66
KB
-rw-r--r--
arya_addtopmenu.php
11.3
KB
-rw-r--r--
arya_addtvairing.php
12.3
KB
-rw-r--r--
arya_addurgentmessage.php
12.07
KB
-rw-r--r--
arya_addusertype.php
12.29
KB
-rw-r--r--
arya_addvacancy.php
34.57
KB
-rw-r--r--
arya_addvacancycategory.php
20.98
KB
-rw-r--r--
arya_addvariable.php
11.7
KB
-rw-r--r--
arya_addvedmantra.php
18.44
KB
-rw-r--r--
arya_addvideoalbum.php
23.92
KB
-rw-r--r--
arya_addvideogallery.php
21.82
KB
-rw-r--r--
arya_addwallpaper.php
9.25
KB
-rw-r--r--
arya_addwebcategory.php
23.44
KB
-rw-r--r--
arya_addwebsite.php
17.59
KB
-rw-r--r--
arya_addwelcomemessage.php
11.37
KB
-rw-r--r--
arya_adminconnection.php
1.94
KB
-rw-r--r--
arya_adminconnection_29-07-22....
1.62
KB
-rw-r--r--
arya_admindecidelist.php
31.44
KB
-rw-r--r--
arya_admindeletedreq.php
17.75
KB
-rw-r--r--
arya_adminlogin.php
7.26
KB
-rw-r--r--
arya_adminpendinglist.php
33.37
KB
-rw-r--r--
arya_admisnotifpendinglist.php
16
KB
-rw-r--r--
arya_advertisependinglist.php
23.25
KB
-rw-r--r--
arya_ajaxChangeLanguage.php
109
B
-rw-r--r--
arya_articleautoauthor.php
343
B
-rw-r--r--
arya_articleautotitle.php
338
B
-rw-r--r--
arya_articleautotitlepandingli...
365
B
-rw-r--r--
arya_articlependinglist.php
21.08
KB
-rw-r--r--
arya_authorpendinglist.php
13.03
KB
-rw-r--r--
arya_autologout.php
2.12
KB
-rw-r--r--
arya_brwsrcls.php
937
B
-rw-r--r--
arya_changepassword.php
5.91
KB
-rw-r--r--
arya_changepasswordpopup.php
5.58
KB
-rw-r--r--
arya_checkwebadd.php
1.7
KB
-rw-r--r--
arya_ckeditor.php
1.67
KB
-rw-r--r--
arya_ckeditor2.php
1.68
KB
-rw-r--r--
arya_ckeditor3.php
1.68
KB
-rw-r--r--
arya_createpassword.php
5.09
KB
-rw-r--r--
arya_deldownloadfile.php
716
B
-rw-r--r--
arya_discoverautoauthor.php
343
B
-rw-r--r--
arya_downloadallfile.php
1.77
KB
-rw-r--r--
arya_downloadfile.php
1.27
KB
-rw-r--r--
arya_downloadpendinglist.php
24.74
KB
-rw-r--r--
arya_downloadreportallfile.php
1.69
KB
-rw-r--r--
arya_duplicateadmmobile.php
435
B
-rw-r--r--
arya_duplicateemail.php
812
B
-rw-r--r--
arya_duplicateemailuser.php
480
B
-rw-r--r--
arya_duplicatemobile.php
814
B
-rw-r--r--
arya_editactivities.php
23.13
KB
-rw-r--r--
arya_editadmin.php
13.61
KB
-rw-r--r--
arya_editadminpages.php
17.56
KB
-rw-r--r--
arya_editadminuser.php
8.71
KB
-rw-r--r--
arya_editadminusercategory.php
4.82
KB
-rw-r--r--
arya_editadmissionnotification...
40.16
KB
-rw-r--r--
arya_editadmpassword.php
6.88
KB
-rw-r--r--
arya_editadmuserprofile.php
10.2
KB
-rw-r--r--
arya_editadvertisement.php
29.71
KB
-rw-r--r--
arya_editarticle.php
38.96
KB
-rw-r--r--
arya_editaryasamajtab.php
21.27
KB
-rw-r--r--
arya_editaudioalbum.php
27.71
KB
-rw-r--r--
arya_editaudiogallery.php
16.98
KB
-rw-r--r--
arya_editauthor.php
24.92
KB
-rw-r--r--
arya_editbanner.php
11.2
KB
-rw-r--r--
arya_editcategory.php
6.56
KB
-rw-r--r--
arya_editcity.php
11.77
KB
-rw-r--r--
arya_editcountry.php
14.97
KB
-rw-r--r--
arya_editdiscategory.php
15.72
KB
-rw-r--r--
arya_editdiscover.php
34.55
KB
-rw-r--r--
arya_editdownload.php
11.88
KB
-rw-r--r--
arya_editdownloadcategory.php
3.2
KB
-rw-r--r--
arya_editduplicateemail.php
1.18
KB
-rw-r--r--
arya_editdynamicpages.php
17.45
KB
-rw-r--r--
arya_editelectionappointment.p...
20.18
KB
-rw-r--r--
arya_editemailaddress.php
9.4
KB
-rw-r--r--
arya_editengvarriable.php
10.23
KB
-rw-r--r--
arya_editeventcategory.php
3.56
KB
-rw-r--r--
arya_editeventprogram.php
21.8
KB
-rw-r--r--
arya_editevents.php
64.17
KB
-rw-r--r--
arya_editeventtype.php
20.09
KB
-rw-r--r--
arya_editfestival.php
38.56
KB
-rw-r--r--
arya_editfestivaltype.php
18.39
KB
-rw-r--r--
arya_editfilecategory.php
14.23
KB
-rw-r--r--
arya_editfiledownload.php
22.12
KB
-rw-r--r--
arya_editimportantplaces.php
44.11
KB
-rw-r--r--
arya_editincreasingpwl.php
10.95
KB
-rw-r--r--
arya_editinstitutetype.php
22.51
KB
-rw-r--r--
arya_editinstitution.php
74.84
KB
-rw-r--r--
arya_editinstitution_new.php
54.78
KB
-rw-r--r--
arya_editjobtype.php
4.04
KB
-rw-r--r--
arya_editlanguage.php
16.37
KB
-rw-r--r--
arya_editmagazines.php
54.88
KB
-rw-r--r--
arya_editmagazines_10-017-2020...
54.82
KB
-rw-r--r--
arya_editmagazines_16-08-22_AG...
55.3
KB
-rw-r--r--
arya_editmagazinetitle.php
53.73
KB
-rw-r--r--
arya_editmember.php
46.02
KB
-rw-r--r--
arya_editmemberlevel.php
14.62
KB
-rw-r--r--
arya_editmembertype.php
8.96
KB
-rw-r--r--
arya_editmlevelcategory.php
9.36
KB
-rw-r--r--
arya_editmobileaudio.php
8.54
KB
-rw-r--r--
arya_editmobileimage.php
9.57
KB
-rw-r--r--
arya_editmpowercategory.php
10
KB
-rw-r--r--
arya_editnews.php
70.52
KB
-rw-r--r--
arya_editobituary.php
31.57
KB
-rw-r--r--
arya_editorganizationtype.php
4.49
KB
-rw-r--r--
arya_editphotogallery.php
22.19
KB
-rw-r--r--
arya_editpointingsystem.php
5.53
KB
-rw-r--r--
arya_editpollquestions.php
25.01
KB
-rw-r--r--
arya_editpolltype.php
7.2
KB
-rw-r--r--
arya_editportalhomeslidebanner...
12.72
KB
-rw-r--r--
arya_editportalhomeslidebanner...
12.66
KB
-rw-r--r--
arya_editportalsection.php
4.11
KB
-rw-r--r--
arya_editportaltab.php
13.65
KB
-rw-r--r--
arya_editpostcategory.php
9.21
KB
-rw-r--r--
arya_editprimaryartcategory.ph...
6.58
KB
-rw-r--r--
arya_editprimaryrecord.php
68.91
KB
-rw-r--r--
arya_editprmyquickupldtype.php
11.16
KB
-rw-r--r--
arya_editproduct.php
24.67
KB
-rw-r--r--
arya_editproductcategory.php
12.05
KB
-rw-r--r--
arya_editquestioncategory.php
4.79
KB
-rw-r--r--
arya_editradioairing.php
23.9
KB
-rw-r--r--
arya_editscndquecat.php
8.8
KB
-rw-r--r--
arya_editscndtestquestions.php
19.34
KB
-rw-r--r--
arya_editscndtimeline.php
20.4
KB
-rw-r--r--
arya_editsecndryfestival.php
16.27
KB
-rw-r--r--
arya_editsecndryquickupldtype....
12.57
KB
-rw-r--r--
arya_editsecndryrecord.php
42.31
KB
-rw-r--r--
arya_editsecondaryactivity.php
13.08
KB
-rw-r--r--
arya_editsecondaryartcategory....
9.85
KB
-rw-r--r--
arya_editsecondaryservice.php
13.12
KB
-rw-r--r--
arya_editsecplace.php
21.99
KB
-rw-r--r--
arya_editsecpoll.php
27.29
KB
-rw-r--r--
arya_editservicecategory.php
11.91
KB
-rw-r--r--
arya_editservices.php
27.46
KB
-rw-r--r--
arya_editstate.php
11.93
KB
-rw-r--r--
arya_editstreaming.php
22.41
KB
-rw-r--r--
arya_editstreamingbanner.php
23.55
KB
-rw-r--r--
arya_edittest.php
30.06
KB
-rw-r--r--
arya_edittestlevel.php
13.25
KB
-rw-r--r--
arya_edittestquestions.php
53.06
KB
-rw-r--r--
arya_edittimeline.php
17.1
KB
-rw-r--r--
arya_edittopmenu.php
12.61
KB
-rw-r--r--
arya_edittvairing.php
16.07
KB
-rw-r--r--
arya_editurgentmessage.php
14.53
KB
-rw-r--r--
arya_editusertype.php
16.07
KB
-rw-r--r--
arya_editvacancy.php
44.11
KB
-rw-r--r--
arya_editvacancycategory.php
7.87
KB
-rw-r--r--
arya_editvariable.php
13.6
KB
-rw-r--r--
arya_editvedmantra.php
24.26
KB
-rw-r--r--
arya_editvideoalbum.php
29.73
KB
-rw-r--r--
arya_editvideogallery.php
26.27
KB
-rw-r--r--
arya_editwallpaper.php
10.41
KB
-rw-r--r--
arya_editwebcategory.php
11.86
KB
-rw-r--r--
arya_editwebsite.php
22.33
KB
-rw-r--r--
arya_editwelcomemessage.php
13.28
KB
-rw-r--r--
arya_errorpage.php
634
B
-rw-r--r--
arya_eventpampletmsg.php
4.02
KB
-rw-r--r--
arya_eventpendlist.php
18.24
KB
-rw-r--r--
arya_eventprogram.php
24.36
KB
-rw-r--r--
arya_fck.php
1.65
KB
-rw-r--r--
arya_fck_old.php
1011
B
-rw-r--r--
arya_filedownload.php
800
B
-rw-r--r--
arya_footer.php
938
B
-rw-r--r--
arya_forgotpwd.php
5.55
KB
-rw-r--r--
arya_fstvlpendinglist.php
16.5
KB
-rw-r--r--
arya_fstvlwebaddcheck.php
1.03
KB
-rw-r--r--
arya_ftpfile.php
1.57
KB
-rw-r--r--
arya_getlang.php
687
B
-rw-r--r--
arya_getpwd.php
574
B
-rw-r--r--
arya_header.php
7.48
KB
-rw-r--r--
arya_hitsreport.php
6.45
KB
-rw-r--r--
arya_hitsreportmember.php
10.22
KB
-rw-r--r--
arya_home.php
1.12
KB
-rw-r--r--
arya_importcsv.php
542
B
-rw-r--r--
arya_importxls.php
3.62
KB
-rw-r--r--
arya_increasingpwl.php
22.81
KB
-rw-r--r--
arya_insertpamphlet.php
15.52
KB
-rw-r--r--
arya_insteditprofile.php
11.78
KB
-rw-r--r--
arya_instoffpendinglist.php
19.41
KB
-rw-r--r--
arya_instpendinglist.php
19.25
KB
-rw-r--r--
arya_instphotoupload.php
15.1
KB
-rw-r--r--
arya_junkdataremoveinhindifiel...
4.45
KB
-rw-r--r--
arya_linktotaldwn.php
600
B
-rw-r--r--
arya_logout.php
3.13
KB
-rw-r--r--
arya_magazinepublisher.php
360
B
-rw-r--r--
arya_mailinsquickupload.php
10.05
KB
-rw-r--r--
arya_mainpendinglist.php
5.2
KB
-rw-r--r--
arya_makedirectory.php
1.33
KB
-rw-r--r--
arya_managedynamicpages.php
4.75
KB
-rw-r--r--
arya_managehierarchyorganizati...
6.61
KB
-rw-r--r--
arya_managehighlightedaryafami...
7.7
KB
-rw-r--r--
arya_managehighlightedaryasama...
4.11
KB
-rw-r--r--
arya_managehomeslideshow.php
6.02
KB
-rw-r--r--
arya_memberautodelete.php
5.03
KB
-rw-r--r--
arya_menu.php
13.91
KB
-rw-r--r--
arya_menuold.php
3.04
KB
-rw-r--r--
arya_mgzndownload.php
2.2
KB
-rw-r--r--
arya_mgzndownload_AG-04-08-22....
2.08
KB
-rw-r--r--
arya_mgznissuependlist.php
18.74
KB
-rw-r--r--
arya_mgzntitlependlist.php
16.19
KB
-rw-r--r--
arya_mgznwebpublish.php
5.68
KB
-rw-r--r--
arya_mlevelcategory.php
23.02
KB
-rw-r--r--
arya_mngactivities.php
26.1
KB
-rw-r--r--
arya_mngadmin.php
24.37
KB
-rw-r--r--
arya_mngadmin_19-02-23_AG.php
24.37
KB
-rw-r--r--
arya_mngadminpages.php
18.85
KB
-rw-r--r--
arya_mngadminuser.php
6.41
KB
-rw-r--r--
arya_mngadminusercategory.php
3.21
KB
-rw-r--r--
arya_mngadmissionnotification....
21.24
KB
-rw-r--r--
arya_mngadvertisement.php
24.88
KB
-rw-r--r--
arya_mngadvertisement_06-08-22...
24.85
KB
-rw-r--r--
arya_mngarticle.php
80.7
KB
-rw-r--r--
arya_mngarticlecategory.php
20.05
KB
-rw-r--r--
arya_mngaryasamajtab.php
20
KB
-rw-r--r--
arya_mngaudioalbum.php
33.4
KB
-rw-r--r--
arya_mngaudiogallery.php
20.21
KB
-rw-r--r--
arya_mngauthor.php
22.95
KB
-rw-r--r--
arya_mngblocksequence.php
11.66
KB
-rw-r--r--
arya_mngcity.php
22.75
KB
-rw-r--r--
arya_mngcountry.php
19.51
KB
-rw-r--r--
arya_mngcurrentadminlogin.php
7.13
KB
-rw-r--r--
arya_mngdiscover.php
31.13
KB
-rw-r--r--
arya_mngdownload.php
16.25
KB
-rw-r--r--
arya_mngdownloadcategory.php
5.56
KB
-rw-r--r--
arya_mngdynamicpages.php
18.02
KB
-rw-r--r--
arya_mngdynamicpages_19-02-23_...
18.01
KB
-rw-r--r--
arya_mngelectionappointment.ph...
27.25
KB
-rw-r--r--
arya_mngengvariable.php
22.49
KB
-rw-r--r--
arya_mngeventcategory.php
4.06
KB
-rw-r--r--
arya_mngevents.php
43.16
KB
-rw-r--r--
arya_mngeventtype.php
4.05
KB
-rw-r--r--
arya_mngfestival.php
31.29
KB
-rw-r--r--
arya_mngfiledownload.php
31.51
KB
-rw-r--r--
arya_mngfiledownload_new.php
31.27
KB
-rw-r--r--
arya_mnghighlightedaryaorganiz...
5.56
KB
-rw-r--r--
arya_mnghighlightedaryasamaj.p...
5.69
KB
-rw-r--r--
arya_mngimportantplaces.php
36.55
KB
-rw-r--r--
arya_mnginstformlbl.php
11.43
KB
-rw-r--r--
arya_mnginstitution.php
107.27
KB
-rw-r--r--
arya_mnginstmgzadmin.php
37.89
KB
-rw-r--r--
arya_mngjobtype.php
4.28
KB
-rw-r--r--
arya_mnglanguage.php
17.78
KB
-rw-r--r--
arya_mngmagazines-new.php
13
KB
-rw-r--r--
arya_mngmagazines.php
25.77
KB
-rw-r--r--
arya_mngmagazines_16-08-22-AG....
25.67
KB
-rw-r--r--
arya_mngmagazinetitle.php
51.91
KB
-rw-r--r--
arya_mngmember.php
79.82
KB
-rw-r--r--
arya_mngmobileaudio.php
17.53
KB
-rw-r--r--
arya_mngmobileimage.php
17.45
KB
-rw-r--r--
arya_mngnews.php
52.62
KB
-rw-r--r--
arya_mngobituary.php
23.06
KB
-rw-r--r--
arya_mngorganizationtype.php
5.18
KB
-rw-r--r--
arya_mngpamplet.php
4.97
KB
-rw-r--r--
arya_mngperson.php
51.87
KB
-rw-r--r--
arya_mngphotogallery.php
21.38
KB
-rw-r--r--
arya_mngpollquestions.php
33.53
KB
-rw-r--r--
arya_mngportalhomeslide.php
7.37
KB
-rw-r--r--
arya_mngportalhomeslidebanner....
22.54
KB
-rw-r--r--
arya_mngproduct.php
19.43
KB
-rw-r--r--
arya_mngprogram.php
5.39
KB
-rw-r--r--
arya_mngquestioncategory.php
19.77
KB
-rw-r--r--
arya_mngquickuploads.php
29.35
KB
-rw-r--r--
arya_mngquickuploadtype.php
24.15
KB
-rw-r--r--
arya_mngradioairing.php
17.92
KB
-rw-r--r--
arya_mngregisteruser.php
9.83
KB
-rw-r--r--
arya_mngreporter.php
40.08
KB
-rw-r--r--
arya_mngservices.php
26.03
KB
-rw-r--r--
arya_mngstate.php
20.28
KB
-rw-r--r--
arya_mngstreaming.php
21.31
KB
-rw-r--r--
arya_mngstreamingbanner.php
21.5
KB
-rw-r--r--
arya_mngtest.php
17.86
KB
-rw-r--r--
arya_mngtestquestions.php
38.62
KB
-rw-r--r--
arya_mngtimeline.php
35.2
KB
-rw-r--r--
arya_mngtopmenu.php
14.35
KB
-rw-r--r--
arya_mngtvairing.php
8.06
KB
-rw-r--r--
arya_mngurgentmessage.php
18.12
KB
-rw-r--r--
arya_mngusertype.php
20.63
KB
-rw-r--r--
arya_mngvacancy.php
26.54
KB
-rw-r--r--
arya_mngvariable.php
15.79
KB
-rw-r--r--
arya_mngvedmantra.php
25.02
KB
-rw-r--r--
arya_mngvideoalbum.php
31.37
KB
-rw-r--r--
arya_mngvideogallery.php
20.01
KB
-rw-r--r--
arya_mngwallpaper.php
14.87
KB
-rw-r--r--
arya_mngwebsite.php
19.81
KB
-rw-r--r--
arya_mngwelcomemessage.php
17.41
KB
-rw-r--r--
arya_mobileaudiopending.php
12.82
KB
-rw-r--r--
arya_mobileimagepending.php
12.44
KB
-rw-r--r--
arya_mpowercategory.php
25.32
KB
-rw-r--r--
arya_newsphotoupload.php
17.62
KB
-rw-r--r--
arya_obituaryphotos.php
15.82
KB
-rw-r--r--
arya_otherlangvarriable.php
16.57
KB
-rw-r--r--
arya_pendinglistnumrows.php
1.36
KB
-rw-r--r--
arya_pendinglistprofile.php
4.25
KB
-rw-r--r--
arya_pendingobituary.php
13.68
KB
-rw-r--r--
arya_pendingtabs.php
5.74
KB
-rw-r--r--
arya_pendingtestquestion.php
18.11
KB
-rw-r--r--
arya_persnphotoupload.php
16.24
KB
-rw-r--r--
arya_personpendinglist.php
17.09
KB
-rw-r--r--
arya_placependinglist.php
16.16
KB
-rw-r--r--
arya_placephotoupload.php
17
KB
-rw-r--r--
arya_pointingsystem.php
11.56
KB
-rw-r--r--
arya_popupreporter.php
524
B
-rw-r--r--
arya_prsnchkwebadd.php
2.99
KB
-rw-r--r--
arya_pushnotification.php
6.22
KB
-rw-r--r--
arya_quickautodelete.php
1.86
KB
-rw-r--r--
arya_quickupldpendinglist.php
36.04
KB
-rw-r--r--
arya_radioaringorg.php
342
B
-rw-r--r--
arya_registeremailaddress.php
9.08
KB
-rw-r--r--
arya_reloadverificationcode.ph...
570
B
-rw-r--r--
arya_replaymessage.php
3.36
KB
-rw-r--r--
arya_report.php
13.91
KB
-rw-r--r--
arya_reportpendinglist.php
54.74
KB
-rw-r--r--
arya_rightsmsg.php
79
B
-rw-r--r--
arya_searchauthorname.php
342
B
-rw-r--r--
arya_searchcityname.php
335
B
-rw-r--r--
arya_searchclntvariable.php
592
B
-rw-r--r--
arya_searchfestival.php
463
B
-rw-r--r--
arya_searchinstitutionname.php
342
B
-rw-r--r--
arya_searchinsttitle.php
649
B
-rw-r--r--
arya_searchmemberemail.php
752
B
-rw-r--r--
arya_searchmembrnm.php
623
B
-rw-r--r--
arya_searchmgztitle.php
962
B
-rw-r--r--
arya_searchobituaryinstitution...
393
B
-rw-r--r--
arya_searchperson.php
653
B
-rw-r--r--
arya_searchplace.php
658
B
-rw-r--r--
arya_searchquestion.php
359
B
-rw-r--r--
arya_searchtmlninst.php
649
B
-rw-r--r--
arya_searchtmlnprsn.php
491
B
-rw-r--r--
arya_searchuser.php
1.57
KB
-rw-r--r--
arya_searchvariablename.php
442
B
-rw-r--r--
arya_sendquickuploadmail.php
4.52
KB
-rw-r--r--
arya_sendreporteremail.php
4.31
KB
-rw-r--r--
arya_servicependinglist.php
15.13
KB
-rw-r--r--
arya_sessioncheck.php
215
B
-rw-r--r--
arya_sessionexpire.php
1.04
KB
-rw-r--r--
arya_test.php
0
B
-rw-r--r--
arya_testmagazine.php
16.64
KB
-rw-r--r--
arya_timelinependinglist.php
26.88
KB
-rw-r--r--
arya_tmlnviewcount.php
271
B
-rw-r--r--
arya_tvairingorg.php
339
B
-rw-r--r--
arya_unappevents.php
11.63
KB
-rw-r--r--
arya_unappmagazineissue.php
13.32
KB
-rw-r--r--
arya_unappmagazinetitle.php
11.9
KB
-rw-r--r--
arya_unappnews.php
16.6
KB
-rw-r--r--
arya_unapppendinglist.php
16.7
KB
-rw-r--r--
arya_uploadtakeatour.php
39.11
KB
-rw-r--r--
arya_uploadtakeatour_Ag-06-08-...
39.05
KB
-rw-r--r--
arya_url.php
1.56
KB
-rw-r--r--
arya_vacanpendlist.php
14.44
KB
-rw-r--r--
arya_variablefilecreate.php
3.29
KB
-rw-r--r--
arya_verifymember.php
938
B
-rw-r--r--
arya_viewadminLaPower.php
9.47
KB
-rw-r--r--
arya_viewadminactivity.php
9.36
KB
-rw-r--r--
arya_viewadminhistory.php
7.41
KB
-rw-r--r--
arya_viewadminnamelevel.php
412
B
-rw-r--r--
arya_viewadminpower.php
12.76
KB
-rw-r--r--
arya_viewadminprofile.php
5.61
KB
-rw-r--r--
arya_viewadminsection.php
14.48
KB
-rw-r--r--
arya_vieweventpamphlet.php
6.8
KB
-rw-r--r--
arya_viewinstphotos.php
8.02
KB
-rw-r--r--
arya_viewmessage.php
7.04
KB
-rw-r--r--
arya_viewnewsphotos.php
7.91
KB
-rw-r--r--
arya_viewobituarymessage.php
5.84
KB
-rw-r--r--
arya_viewobituaryphoto.php
7.08
KB
-rw-r--r--
arya_viewpendingquickupload.ph...
19.01
KB
-rw-r--r--
arya_viewpendingreport.php
17.4
KB
-rw-r--r--
arya_viewplacephoto.php
9.4
KB
-rw-r--r--
arya_viewprsnphotos.php
9.11
KB
-rw-r--r--
arya_viewquickuploads.php
18.29
KB
-rw-r--r--
arya_viewreport.php
17.4
KB
-rw-r--r--
arya_viewtimeline.php
10.04
KB
-rw-r--r--
arya_wallpaper.php
577
B
-rw-r--r--
arya_wallpapereditobituary.php
581
B
-rw-r--r--
clock.php
1.16
KB
-rw-r--r--
colorbox.html
326
B
-rw-r--r--
common_login.php
326
B
-rw-r--r--
common_logout.php
247
B
-rw-r--r--
deletetestimage.php
836
B
-rw-r--r--
download.php
517
B
-rw-r--r--
duplicationcheck.php
1.42
KB
-rw-r--r--
gcm_table.sql
296
B
-rw-r--r--
imagetest.php
2.37
KB
-rw-r--r--
imagethumb.php
9.06
KB
-rw-r--r--
index.php
66
B
-rw-r--r--
insert.php
1.97
KB
-rw-r--r--
institution.php
10.74
KB
-rw-r--r--
institutionquery.php
136
B
-rw-r--r--
loginstatus.php
960
B
-rw-r--r--
mailget.php
5.53
KB
-rw-r--r--
phpinfo.php
23
B
-rw-r--r--
quick_upload.html
3.54
KB
-rw-r--r--
recordtest.php
5.98
KB
-rw-r--r--
register.php
1.85
KB
-rw-r--r--
state.php
41
B
-rw-r--r--
swfobject.js
24.97
KB
-rw-r--r--
test.php
1.6
KB
-rw-r--r--
testenglish.php
70
B
-rw-r--r--
testlogin.php
1.47
KB
-rw-r--r--
testsection.php
5.18
KB
-rw-r--r--
upload.php
835
B
-rw-r--r--
verification-code.php
1.43
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : arya_editprimaryrecord.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 09-aug-2013 //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); if($_SESSION['noapprove']=="" && $_SESSION['yesapprove']=="") { $_SESSION['yesapprove']='checked="checked"'; } if($_GET['pending']=='1') { $_SESSION['personpend']=$_GET['pending']; } $orgrgnzid=$_SESSION['cmbvacancat1']; $cntsnid=$_SESSION['cmbperson1']; $deadalive=$_SESSION['newdedlive']; $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_addprimaryrecord.php") { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$usersessid.'" AND admcat_id="'.$dbusercatid.'"'); } } } //Start redirect search id in manage moduel code if($orgrgnzid > 0 || $orgrgnzid==0) {$orgval='langid='.$orgrgnzid;}else{$orgval="";} if($cntsnid > 0){$cntval='&prsnid='.$cntsnid;}else{$cntval="";} if($deadalive!=""){$dalvie='&dedali='.$deadalive;}else{$dalvie="";} if($orgrgnzid > 0 || $cntsnid > 0 || $orgrgnzid ==0 || $deadalive==""){$msgval='&msg=upd';}else{$msgval='msg=upd';} $qryselperson="select * from arya_personrecord where prsn_id='".$_GET['prid']."'"; $qselperson=mysql_query($qryselperson); $fetchperson=mysql_fetch_array($qselperson); $name=$fetchperson['prsn_name']; $othername=$fetchperson['prsn_othername']; $profilephoto=$fetchperson['prsn_profilephoto']; $webaddress=$fetchperson['prsn_webadd']; if($_SERVER['HTTP_HOST']=="www.thearyasamaj.org" || $_SERVER['HTTP_HOST']=="thearyasamaj.org") { $_SERVER['HTTP_HOST']=="www.thearyasamaj.org"; $instwebadd = substr($webaddress, 21); $instwebadd=str_replace("_en","",$instwebadd); } if($_SERVER['HTTP_HOST']=="www.aryasamajdelhi.pb") { $instwebadd = substr($webaddress, 22); //echo "<br>==2".$instwebadd; $instwebadd=str_replace("_en","",$instwebadd); } $dislink=$fetchperson['prsn_dispagelink']; if($_SERVER['HTTP_HOST']=="www.thearyasamaj.org" || $_SERVER['HTTP_HOST']=="thearyasamaj.org") { $_SERVER['HTTP_HOST']=="www.thearyasamaj.org"; $newdislink = substr($dislink, 26); } if($_SERVER['HTTP_HOST']=="www.aryasamajdelhi.pb") { $newdislink = substr($dislink, 26); } if($fetchperson['prsn_birthdate']>0) { $prsnbdate=$fetchperson['prsn_birthdate']; $newprsnbdate=explode("-",$prsnbdate); $byear=$newprsnbdate[0]; $bmonth=$newprsnbdate[1]; $bday=$newprsnbdate[2]; } $prsn_indianmonth=$fetchperson['prsn_indianmonth']; $prsn_birthplace=$fetchperson['prsn_birthplace']; $prsn_deadalive=$fetchperson['prsn_deadalive']; if($fetchperson['prsn_deathdate']>0) { $prsn_deathdate=$fetchperson['prsn_deathdate']; $prsnddate=explode("-",$prsn_deathdate); $dyear=$prsnddate[0]; $dmonth=$prsnddate[1]; $dday=$prsnddate[2]; } $prsn_deathindianday=$fetchperson['prsn_deathindianday']; $prsn_deathplace=$fetchperson['prsn_deathplace']; $prsn_deathcause=$fetchperson['prsn_deathcause']; $prsn_place=$fetchperson['prsn_place']; $prsn_mobile=$fetchperson['prsn_mobile']; $prsn_phone=$fetchperson['prsn_phone']; $prsn_email=$fetchperson['prsn_email']; $prsn_maritalstatus=$fetchperson['prsn_maritalstatus']; $prsn_lateststatus=$fetchperson['prsn_lateststatus']; $prsn_fathername=$fetchperson['prsn_fathername']; $prsn_fatherphoto=$fetchperson['prsn_fatherphoto']; $prsn_mothername=$fetchperson['prsn_mothername']; $prsn_motherphoto=$fetchperson['prsn_motherphoto']; $prsn_spouse=$fetchperson['prsn_spouse']; $prsn_spousephoto=$fetchperson['prsn_spousephoto']; $longtxt1=$fetchperson['prsn_brief']; $sequence=$fetchperson['prsn_sequence']; $prsnvisible=$fetchperson['prsn_visible']; if($prsnvisible=='Approved') { $yesvisible='checked="checked"'; } if($prsnvisible=='Pending') { $novisible='checked="checked"'; } if($_SERVER['HTTP_HOST'] =='thearyasamaj.org') { $_SERVER['HTTP_HOST']='www.thearyasamaj.org'; } $a=getFieldValue('webadd_id','arya_webaddresses','prsn_id="'.$_GET['prid'].'"'); $pagesecid=getFieldValue('page_sectionid','arya_adminpage','page_filename="arya_addprimaryrecord.php"'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); if(isset($_POST['btnaddevent'])) { $name=$_POST['txtname']; $_SESSION['txtname']=$name; $othername=$_POST['txtothername']; $_SESSION['txtothername']=$othername; $postprsnwebadd=$_POST["webadd"]."_en"; $_SESSION['webadd']=$_POST["webadd"]; if($postprsnwebadd!="") { $prsnwebadd=$_SERVER['HTTP_HOST']."/".addslashes($postprsnwebadd); } else { $prsnwebadd=""; } $discoverlink=$_POST["discoverlink"]; $_SESSION['discoverlink']=$discoverlink; if($_POST["discoverlink"]!="") { $discvrlink="discover.thearyasamaj.org/".addslashes($_POST["discoverlink"]); } else { $discvrlink=""; } $birthdate=$_POST['birthyear']."-".$_POST['birthmonth']."-".$_POST['birthday']; $_SESSION['birthyear']=$_POST['birthyear']; $_SESSION['birthmonth']=$_POST['birthmonth']; $_SESSION['birthday']=$_POST['birthday']; if($_POST['indianmonth']!="") { $newindnmnth=$_POST['indianmonth']; $newstring = substr($newindnmnth, -2); if($newstring!='VS') { $indianmonth=$_POST['indianmonth']." VS"; } else { $indianmonth=$_POST['indianmonth']; } $_SESSION['indianmonth']=$indianmonth; } $birthplace=$_POST['birthplace']; $_SESSION['birthplace']=$birthplace; $deadalive=$_POST['deadlive']; $_SESSION['deadlive']=$deadalive; $deathdate=$_POST['deathyear']."-".$_POST['deathmonth']."-".$_POST['deathday']; $_SESSION['deathday']=$_POST['deathday']; $_SESSION['deathmonth']=$_POST['deathmonth']; $_SESSION['deathyear']=$_POST['deathyear']; if($_POST['deathindianmonth']!="") { $dethmonth=$_POST['deathindianmonth']; $deathstring = substr($dethmonth, -2); if($deathstring!='VS') { $deathindianmonth=$_POST['deathindianmonth']." VS"; } else { $deathindianmonth=$_POST['deathindianmonth']; } $_SESSION['deathindianmonth']=$deathindianmonth; } $deathplace=$_POST['deathplace']; $_SESSION['deathplace']=$deathplace; $causedeath=$_POST['causedeath']; $_SESSION['causedeath']=$causedeath; $place=$_POST['place']; $_SESSION['place']=$place; $mobile=$_POST['mobile']; $_SESSION['mobile']=$mobile; $phone=$_POST['phone']; $_SESSION['phone']=$phone; $email=$_POST['email']; $_SESSION['email']=$email; $maritalstatus=$_POST['maritalstatus']; $_SESSION['maritalstatus']=$maritalstatus; $lateststatus=$_POST['lateststatus']; $_SESSION['lateststatus']=$lateststatus; $father=$_POST['fathername']; $_SESSION['fathername']=$father; $mother=$_POST['mothername']; $_SESSION['mothername']=$mother; $briefinfo=$_POST['FckContent']; $_SESSION['briefinfo']=$briefinfo; $spouse=$_POST['spouse']; $_SESSION['spouse']=$spouse; if($rightapprove == 'Self' || $rightapprove == 'All') { $approve=$_POST['approve']; } else { $approve='Pending'; } unset($_SESSION['noapprove']); unset($_SESSION['yesapprove']); $usersessid=$_SESSION["adminuserid"]; $profFileName=$_FILES['profilephoto']['name']; $profTmpName=$_FILES['profilephoto']['tmp_name']; $fatherphoto=$_FILES['fatherphoto']['name']; $fatherTmpNm=$_FILES['fatherphoto']['tmp_name']; $motherphoto=$_FILES['motherphoto']['name']; $motherTmpNm=$_FILES['motherphoto']['tmp_name']; $spousephoto=$_FILES['spousephoto']['name']; $spouseTmpNm=$_FILES['spousephoto']['tmp_name']; $posthidgetid=$_POST['hidgetid']; //$filename ='../.htaccess'; $webaddress=addslashes($_POST['webadd']); $_SESSION['webadd']=addslashes($_POST['webadd']); $posthidtxtwebadd=addslashes($_POST['hidtxtwebadd']."_en"); $_SESSION['discoverlink']=addslashes($_POST['discoverlink']); $posthidtxtdislink=addslashes($_POST['hidtxtdislink']); //$discfilename ='../htalist.txt'; /*$discfilename ='../.htaccess'; $discvruleurl='RewriteRule ^'.$posthidtxtdislink.' /aryasamaj-discoverwebpage.php'; $lines =file($discfilename); foreach($lines as $line_num => $line) { $nvremovefirst=explode(" ",substr($line,13)); //echo "<br>--->".$nvremovefirst[0]; display the webaddress in htaccess if($_POST["discoverlink"]!=$posthidtxtdislink) { //echo "<Br>-->".$ruleurl; display perticular line in htaccess //read the entire string $str=implode("",file($discfilename)); $discfp=fopen($discfilename,'w'); //replace something in the file string - this is a VERY simple example $str=str_replace($discvruleurl,'',$str); //now, TOTALLY rewrite the file fwrite($discfp,$str,strlen($str)); } }*/ $dupname=getFieldValue("prsn_name","arya_personrecord","prsn_name='".$name."' AND prsn_id!='".$_GET['prid']."'"); $dupweb=getFieldValue("prsn_webadd","arya_personrecord","prsn_webadd='".$prsnwebadd."' AND prsn_id!='".$_GET['prid']."'"); $dupdiscvrweb=getFieldValue("prsn_dispagelink","arya_personrecord","prsn_dispagelink='".$discvrlink."' AND prsn_id!='".$_GET['prid']."'"); if($_POST['approve']=='Approved') { $_SESSION['yesapprove']='checked="checked"'; } if($_POST['approve']=='Pending') { $_SESSION['noapprove']='checked="checked"'; } /*if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if($name=="") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=empname'); } } if($name!="") { if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if(find_specialchar($name)=="Yes" || find_scripttags($name)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errname'); } else if(find_scripttags($othername)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errothername'); } else if(find_specialchar($webadd)=="Yes" || find_scripttags($webadd)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errwebadd'); } else if(find_specialchar($discoverlink)=="Yes" || find_scripttags($discoverlink)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errdislink'); } else if(find_specialchar($indianmonth)=="Yes" || find_scripttags($indianmonth)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errindmonth'); } else if(find_specialchar($birthplace)=="Yes" || find_scripttags($birthplace)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errbirplace'); } else if(find_specialchar($deathindianmonth)=="Yes" || find_scripttags($deathindianmonth)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errdeathindmonth'); } else if(find_specialchar($deathplace)=="Yes" || find_scripttags($deathplace)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errdeathplace'); } else if(find_specialchar($causedeath)=="Yes" || find_scripttags($causedeath)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errcausedeath'); } else if(find_specialchar($place)=="Yes" || find_scripttags($place)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errplace'); } else if(find_scripttags($mobile)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errmobile'); } else if(find_scripttags($phone)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errphone'); } else if($email!="") { if(find_scripttags($email)=="Yes" || ValidEmailCheck($email)==false) { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=erremail'); } } else if(find_specialchar($father)=="Yes" || find_scripttags($father)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errfather'); } else if(find_specialchar($mother)=="Yes" || find_scripttags($mother)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errmother'); } else if(find_scripttags($briefinfo)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errbrief'); } else if(find_specialchar($spouse)=="Yes" || find_scripttags($spouse)=="Yes") { RedirecPage('arya_editprimaryrecord.php?prsnid='.$posthidgetid.'&msg=errspouse'); } } }*/ /*if($postprsnwebadd!="" && $_POST["discoverlink"]!="") { if($postprsnwebadd==$_POST["discoverlink"]) { RedirecPage('arya_editprimaryrecord.php?prid='.$_GET['prid'].'&msg=dupcmp'); } }*/ if($postprsnwebadd!="") { //$dupdbwebaddfest=getFieldValue("webadd_name","arya_webaddresses","webadd_name LIKE '%$postprsnwebadd%' AND prsn_id!='".$posthidgetid."'"); $dupdbwebaddfest=getFieldValue("webadd_name","arya_webaddresses","webadd_name='".$_POST["webadd"].'_en'."' AND prsn_id!='".$posthidgetid."'"); //$dupdbwebaddfest=getFieldValue("webadd_name","arya_webaddresses","webadd_name='".$_POST["webadd"]." ' AND prsn_id!='".$posthidgetid."'"); $dupdbdiscvwebadd=getFieldValue("webadd_name","arya_webaddresses","webadd_name='".$_POST["discoverlink"]."' AND prsn_id!='".$posthidgetid."'"); } /*if($_SERVER['HTTP_HOST']=="www.thearyasamaj.org" || $_SERVER['HTTP_HOST']=="thearyasamaj.org") { $_SERVER['HTTP_HOST']=="www.thearyasamaj.org"; $prmrywebname=substr($dupdbwebadd, 21); $discvrwbnm=substr($dupdbdiscvwebadd, 26); } if($_SERVER['HTTP_HOST']=="www.aryasamajdelhi.pb") { $prmrywebname=substr($dupdbwebadd, 22); $discvrwbnm=substr($dupdbdiscvwebadd, 26); } */ /*if($dupname=="" && $dupweb=="" && $dupdiscvrweb=="") {*/ /*else if($dupdbdiscvwebadd!="") { RedirecPage('arya_editprimaryrecord.php?prid='.$_GET['prid'].'&scid='.$_GET['scid'].'&msg=dupdisad'); }*/ if($dupdbwebaddfest!="" ) { RedirecPage('arya_editprimaryrecord.php?prid='.$_GET['prid'].'&scid='.$_GET['scid'].'&msg=dupwbad'); //$msg=$msgDuplicateWebDis; } else { $filename ='../.htaccess'; $ruleurl='RewriteRule ^'.$posthidtxtwebadd.' /aryasamaj-personwebpage.php'; $lines =file($filename); foreach($lines as $line_num => $line) { $nvremovefirst=explode(" ",substr($line,13)); //echo "<br>--->".$nvremovefirst[0]; display the webaddress in htaccess if($_POST["webadd"]."_en"!=$posthidtxtwebadd) { //echo "<Br>-->".$ruleurl; display perticular line in htaccess //read the entire string $str=implode("",file($filename)); $fp=fopen($filename,'w'); //replace something in the file string - this is a VERY simple example $str=str_replace($ruleurl,'',$str); //now, TOTALLY rewrite the file fwrite($fp,$str,strlen($str)); } } $selWebaddrecord="SELECT * FROM arya_personrecord WHERE newprsn_id='".$_GET['prid']."'"; $resQrywebadd=mysql_query($selWebaddrecord); while($fetchweb=mysql_fetch_array($resQrywebadd)) { //$lang_id[]=$fetchweb["lang_id"]; $prsn_id=$fetchweb["prsn_id"]; $lang_id=$fetchweb["prsn_webadd"]; $Avdere=$fetchweb["lang_id"]; $dblangcode=getFieldValue('lang_code','arya_language','lang_id="'.$Avdere.'"'); $imagestr = substr(strrchr($lang_id, '/'), 1); $bcde=substr($imagestr, 0, -3); $abcd=str_replace($bcde,$_POST["webadd"],$lang_id); //echo "<br/>=====".$varblank = substr(strrchr($lang_id, '_'), 1); $filename ='../.htaccess'; $ruleurl1='RewriteRule ^'.$_POST['hidtxtwebadd'].'_'.$dblangcode.' /aryasamaj-personwebpage.php'; $lines =file($filename); foreach($lines as $line_num => $line) { if($_POST["webadd"]."_".$dblangcode!=$imagestr) { //echo "<Br>-->".$ruleurl1; //display perticular line in htaccess //read the entire string $str=implode("",file($filename)); $fp=fopen($filename,'w'); //replace something in the file string - this is a VERY simple example $str=str_replace($ruleurl1,'',$str); //now, TOTALLY rewrite the file fwrite($fp,$str,strlen($str)); } } } // if($prsnvisible=='Rejected') { $penrejcon=""; } else { $penrejcon=",prsn_visible='".$approve."'"; } $insqryprimary='update arya_personrecord set lang_id="1" ,prsn_name="'.$name.'" ,prsn_othername="'.$othername.'", prsn_webadd="'.$prsnwebadd.'", prsn_dispagelink="'.$discvrlink.'", prsn_birthdate="'.$birthdate.'", prsn_indianmonth="'.$indianmonth.'", prsn_birthplace="'.$birthplace.'", prsn_deadalive="'.$deadalive.'",prsn_deathdate="'.$deathdate.'", prsn_deathindianday="'.$deathindianmonth.'", prsn_deathplace="'.$deathplace.'", prsn_deathcause="'.$causedeath.'", prsn_place="'.$place.'", prsn_mobile="'.$mobile.'", prsn_phone="'.$phone.'", prsn_email="'.$email.'", prsn_maritalstatus="'.$maritalstatus.'",prsn_lateststatus="'.$lateststatus.'", prsn_fathername="'.$father.'", prsn_mothername="'.$mother.'", prsn_spouse="'.$spouse.'",prsn_brief="'.$briefinfo.'" '.$penrejcon.' where prsn_id="'.$_GET['prid'].'"'; $qryinstprmry=mysql_query($insqryprimary); if($qryinstprmry) { getadminactivity('lbl_editprimaryrecord',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$name,$curntdate,$curnttime); //$filename ='../htalist.txt'; $numar=getArrayFieldValue('webadd_id','arya_webaddresses','prsn_id="'.$_GET['prid'].'"'); if($prsnwebadd!="") { if($numar[0]!="") { $updtwebaddrss="UPDATE arya_webaddresses SET webadd_name='".$_POST["webadd"]."_en"."' WHERE webadd_id='".$numar[0]."'"; $qrywebaddrss=mysql_query($updtwebaddrss); } else { $dtime=time(); $curdate=date('Y-m-d'); $updtime=date('h:i:s A',$dtime); $webaddinstime=date('h:i A',$dtime); $updtdislink12="INSERT INTO arya_webaddresses (prsn_id,webadd_name,webadd_instdate,webadd_time) VALUES ('".$_GET['prid']."','".$_POST["webadd"]."_en"."','".$curdate."','".$webaddinstime."')"; } $qrydislink12=mysql_query($updtdislink12); } else { $delweblnkaddres = mysql_query("DELETE FROM arya_webaddresses WHERE webadd_id=".$numar[0].""); } /*if($discvrlink!="") { if($numar[1]!="") { $updtdislink="UPDATE arya_webaddresses SET webadd_name='".$_POST["discoverlink"]."' WHERE webadd_id='".$numar[1]."'"; } else { $dtime=time(); $curdate=date('Y-m-d'); $updtime=date('h:i:s A',$dtime); $webaddinstime=date('h:i A',$dtime); $updtdislink="INSERT INTO arya_webaddresses (prsn_id,webadd_name,webadd_instdate,webadd_time) VALUES ('".$_GET['prid']."','".$_POST["discoverlink"]."','".$curdate."','".$webaddinstime."')"; } $qrydislink=mysql_query($updtdislink); } else { $deldiscvrlink = mysql_query("DELETE FROM arya_webaddresses WHERE webadd_id=".$numar[1].""); }*/ //$filename ='../htalist.txt'; //$filename ='../htalist.txt'; $filename ='../.htaccess'; $ruleurl='RewriteRule ^'.$_POST["webadd"]."_en".' /aryasamaj-personwebpage.php'; $lines = file($filename); if($prsnwebadd!="") { //read the entire string // get the file contents, assuming the file to be readable (and exist) $contents = file_get_contents($filename); // escape special characters in the query $pattern = preg_quote($ruleurl, '/'); // finalise the regular expression, matching the whole line $pattern = "/^.*$pattern.*\$/m"; // search, and store all matching occurences in $matches if(preg_match_all($pattern, $contents, $matches)){ //echo "Found matches:\n"; //echo implode("\n", $matches[0]); } else{ $str=implode(" ",file($filename)); $fp=fopen($filename,'a+'); //replace something in the file string - this is a VERY simple example //$str=str_replace($mgztitlewebadd,$_POST["txtwebadd"],$str); $b=$ruleurl."\n"; //now, TOTALLY rewrite the file fwrite($fp,$b); fclose($fp); } } $selWebaddrecord="SELECT * FROM arya_personrecord WHERE newprsn_id='".$_GET['prid']."'"; $resQrywebadd=mysql_query($selWebaddrecord); while($fetchweb=mysql_fetch_array($resQrywebadd)) { //$lang_id[]=$fetchweb["lang_id"]; $lang_id=$fetchweb["prsn_webadd"]; $prsn_id=$fetchweb["prsn_id"]; $Avdere=$fetchweb["lang_id"]; $dblangcode=getFieldValue('lang_code','arya_language','lang_id="'.$Avdere.'"'); $imagestr = substr(strrchr($lang_id, '/'), 1); $bcde=substr($imagestr, 0, -3); $abcd=str_replace($bcde,$_POST["webadd"],$lang_id); $Webaddid=getFieldValue("webadd_id","arya_webaddresses","prsn_id=".$prsn_id.""); $filename ='../.htaccess'; $ruleurl='RewriteRule ^'.$_POST["webadd"].'_'.$dblangcode.' /aryasamaj-personwebpage.php'; $lines = file($filename); if($_POST["webadd"].'_'.$dblangcode!="") { //read the entire string // get the file contents, assuming the file to be readable (and exist) $contents = file_get_contents($filename); // escape special characters in the query $pattern = preg_quote($ruleurl, '/'); // finalise the regular expression, matching the whole line $pattern = "/^.*$pattern.*\$/m"; // search, and store all matching occurences in $matches if(preg_match_all($pattern, $contents, $matches)){ //echo "<br/>===="."Found matches:\n"; //echo implode("\n", $matches[0]); } else{ $str=implode(" ",file($filename)); $fp=fopen($filename,'a+'); //replace something in the file string - this is a VERY simple example //$str=str_replace("".$imagestr."",$_POST["webadd"].'_'.$dblangcode,$str); $b=$ruleurl."\n"; //now, TOTALLY rewrite the file fwrite($fp,$b); fclose($fp); } } $Secondarywebadd="UPDATE arya_personrecord SET prsn_webadd='".$_SERVER['HTTP_HOST']."/".$_POST["webadd"]."_".$dblangcode."' WHERE prsn_id='".$prsn_id."'"; $resSecondarywebadd=mysql_query($Secondarywebadd); if($Webaddid!="") { $webaddressqry="UPDATE arya_webaddresses SET webadd_name='".$_POST["webadd"]."_".$dblangcode."' WHERE prsn_id='".$prsn_id."'"; $reswebaddressqry=mysql_query($webaddressqry); } else { $dtime=time(); $curdate=date('Y-m-d'); $updtime=date('h:i:s A',$dtime); $inswebaddtab="INSERT INTO arya_webaddresses(prsn_id,webadd_name,webadd_instdate,webadd_time) VALUES('".$prsn_id."','".$_POST["webadd"]."_".$dblangcode."','".$curdate."','".$updtime."')"; $qryinswebaddtab=mysql_query($inswebaddtab); } } //$discfilename ='../htalist.txt'; /*$discfilename ='../.htaccess'; $discvruleurl='RewriteRule ^'.$_POST["discoverlink"].' /aryasamaj-discoverwebpage.php'; $lines = file($discfilename); if($discvrlink!="") { //read the entire string // get the file contents, assuming the file to be readable (and exist) $contents = file_get_contents($discfilename); // escape special characters in the query $pattern = preg_quote($discvruleurl, '/'); // finalise the regular expression, matching the whole line $pattern = "/^.*$pattern.*\$/m"; // search, and store all matching occurences in $matches if(preg_match_all($pattern, $contents, $matches)){ //echo "Found matches:\n"; //echo implode("\n", $matches[0]); } else{ $discstr=implode(" ",file($discfilename)); $discfp=fopen($discfilename,'a+'); //replace something in the file string - this is a VERY simple example //$str=str_replace($mgztitlewebadd,$_POST["txtwebadd"],$str); $discd=$discvruleurl."\n"; //now, TOTALLY rewrite the file fwrite($discfp,$discd); fclose($discfp); } }*/ if($_FILES['profilephoto']['name']!="") { $smallimage=getFieldValue('prsn_profilephoto','arya_personrecord','prsn_id='.$_GET['prid']); $image=str_replace("./","",$smallimage); $mainimage=str_replace('SM_','',$image); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($image); unlink($mainphotimage); } else { $image=str_replace("./","media/",$smallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); //echo "<Br>---".unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage); } $ImageSource = $_FILES['profilephoto']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['profilephoto']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['profilephoto']['name']); $profphext=substr(strtolower($_FILES['profilephoto']['name']),strpos($_FILES['profilephoto']['name'],'.')+1); if(strlen($profphext) > 4) { $profphext=substr(strtolower($profphext),strpos($profphext,'.')+1); } if($conditionvar=='2') { if($profphext=="jpg" || $profphext=="gif" || $profphext=="JPEG" || $profphext=="JPG" || $profphext=="GIF" || $profphext=="png" || $profphext=="PNG" || $profphext=="jpeg") { include('arya_makedirectory.php'); $Thumwidth = "250"; $Thumheight = "200"; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); if($UploadImg== "true") { $qryInsProfPhoto="UPDATE arya_personrecord SET prsn_profilephoto='".$ThumbtoPath."' WHERE prsn_id=".$_GET['prid']; $qInsProfPhoto=mysql_query($qryInsProfPhoto); } } } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } /*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($profphext=="jpg" || $profphext=="gif" || $profphext=="JPEG" || $profphext=="JPG" || $profphext=="GIF" || $profphext=="png" || $profphext=="PNG" || $profphext=="jpeg") { ob_start(); $myFile = $_FILES['profilephoto']; $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); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qryInsProfPhoto="UPDATE arya_personrecord SET prsn_profilephoto='".$smalldest_file."' WHERE prsn_id=".$_GET['prid']; $qInsProfPhoto=mysql_query($qryInsProfPhoto); } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } } if($_FILES['fatherphoto']['name']!="") { $smallimage=getFieldValue('prsn_fatherphoto','arya_personrecord','prsn_id='.$_GET['prid']); $image=str_replace("./","",$smallimage); $mainimage=str_replace('SM_','',$image); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($image); unlink($mainphotimage); } else { $image=str_replace("./","media/",$smallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); //echo "<Br>---".unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage); } $ImageSource = $_FILES['fatherphoto']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['fatherphoto']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['fatherphoto']['name']); $fathrphext=substr(strtolower($_FILES['fatherphoto']['name']),strpos($_FILES['fatherphoto']['name'],'.')+1); if(strlen($fathrphext) > 4) { $fathrphext=substr(strtolower($fathrphext),strpos($fathrphext,'.')+1); } if($conditionvar=='2') { if($fathrphext=="jpg" || $fathrphext=="gif" || $fathrphext=="JPEG" || $fathrphext=="JPG" || $fathrphext=="GIF" || $fathrphext=="png" || $fathrphext=="PNG" || $fathrphext=="jpeg") { include('arya_makedirectory.php'); $Thumwidth = "100"; $Thumheight = "122"; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); if($UploadImg== "true") { $qryFathrProfPhoto="UPDATE arya_personrecord SET prsn_fatherphoto='".$ThumbtoPath."' WHERE prsn_id=".$_GET['prid']; $qFathProfPhoto=mysql_query($qryFathrProfPhoto); } } } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } 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($fathrphext=="jpg" || $fathrphext=="gif" || $fathrphext=="JPEG" || $fathrphext=="JPG" || $fathrphext=="GIF" || $fathrphext=="png" || $fathrphext=="PNG" || $fathrphext=="jpeg") { ob_start(); $myFile = $_FILES['fatherphoto']; $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); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qryFathrProfPhoto="UPDATE arya_personrecord SET prsn_fatherphoto='".$smalldest_file."' WHERE prsn_id=".$_GET['prid']; $qFathProfPhoto=mysql_query($qryFathrProfPhoto); } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } } if($_FILES['motherphoto']['name']!="") { $smallimage=getFieldValue('prsn_motherphoto','arya_personrecord','prsn_id='.$_GET['prid']); $image=str_replace("./","",$smallimage); $mainimage=str_replace('SM_','',$image); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($image); unlink($mainphotimage); } else { $image=str_replace("./","media/",$smallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); //echo "<Br>---".unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage); } $ImageSource = $_FILES['motherphoto']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['motherphoto']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['motherphoto']['name']); $mothrphext=substr(strtolower($_FILES['motherphoto']['name']),strpos($_FILES['motherphoto']['name'],'.')+1); if(strlen($mothrphext) > 4) { $mothrphext=substr(strtolower($mothrphext),strpos($mothrphext,'.')+1); } if($conditionvar=='2') { if($mothrphext=="jpg" || $mothrphext=="gif" || $mothrphext=="JPEG" || $mothrphext=="JPG" || $mothrphext=="GIF" || $mothrphext=="png" || $mothrphext=="PNG" || $mothrphext=="jpeg") { include('arya_makedirectory.php'); $Thumwidth = "100"; $Thumheight = "122"; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); if($UploadImg== "true") { $qryMothrPhoto="UPDATE arya_personrecord SET prsn_motherphoto='".$ThumbtoPath."' WHERE prsn_id=".$_GET['prid']; $qMothrPhoto=mysql_query($qryMothrPhoto); } } } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } 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($mothrphext=="jpg" || $mothrphext=="gif" || $mothrphext=="JPEG" || $mothrphext=="JPG" || $mothrphext=="GIF" || $mothrphext=="png" || $mothrphext=="PNG" || $mothrphext=="jpeg") { ob_start(); $myFile = $_FILES['motherphoto']; $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); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qryMothrPhoto="UPDATE arya_personrecord SET prsn_motherphoto='".$smalldest_file."' WHERE prsn_id=".$_GET['prid']; $qMothrPhoto=mysql_query($qryMothrPhoto); } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } } if($_FILES['spousephoto']['name']!="") { $smallimage=getFieldValue('prsn_spousephoto','arya_personrecord','prsn_id='.$_GET['prid']); $image=str_replace("./","",$smallimage); $mainimage=str_replace('SM_','',$image); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($image); unlink($mainphotimage); } else { $image=str_replace("./","media/",$smallimage); unlink($image); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconn_id ,$mainimage); //echo "<Br>---".unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage); } $ImageSource = $_FILES['spousephoto']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['spousephoto']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['spousephoto']['name']); $spouseext=substr(strtolower($_FILES['spousephoto']['name']),strpos($_FILES['spousephoto']['name'],'.')+1); if(strlen($spouseext) > 4) { $spouseext=substr(strtolower($spouseext),strpos($spouseext,'.')+1); } if($conditionvar=='2') { if($spouseext=="jpg" || $spouseext=="gif" || $spouseext=="JPEG" || $spouseext=="JPG" || $spouseext=="GIF" || $spouseext=="png" || $spouseext=="PNG" || $spouseext=="jpeg") { include('arya_makedirectory.php'); $Thumwidth = "100"; $Thumheight = "122"; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); if($UploadImg== "true") { $qrySpusePhoto="UPDATE arya_personrecord SET prsn_spousephoto='".$ThumbtoPath."' WHERE prsn_id=".$_GET['prid']; $qSpusePhoto=mysql_query($qrySpusePhoto); } } } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } 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($spouseext=="jpg" || $spouseext=="gif" || $spouseext=="JPEG" || $spouseext=="JPG" || $spouseext=="GIF" || $spouseext=="png" || $spouseext=="PNG" || $spouseext=="jpeg") { ob_start(); $myFile = $_FILES['spousephoto']; $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); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qrySpusePhoto="UPDATE arya_personrecord SET prsn_spousephoto='".$smalldest_file."' WHERE prsn_id=".$_GET['prid']; $qSpusePhoto=mysql_query($qrySpusePhoto); } else { $msg.="Upload only jpg,png,gif image.<br/>"; } } } if($_SESSION['personpend']=='1') { RedirecPage('arya_personpendinglist.php?'.$msgval); } else { RedirecPage('arya_mngperson.php?'.$orgval.$cntval.$dalvie.$msgval); } } } } $classname='class="txtbox"'; $classotrname='class="txtbox"'; $classwebadd='class="txtbox"'; $classdislink='class="txtbox"'; $classbirthplace='class="txtbox"'; $classindianmonth='class="txtbox"'; $classdeathmonth='class="txtbox"'; $classdeathplace='class="txtbox"'; $classcausedeath='class="txtbox"'; $clasplace='class="txtbox"'; $classmobile='class="txtbox"'; $classphone='class="txtbox"'; $classemail='class="txtbox"'; $classfather='class="txtbox"'; $classmother='class="txtbox"'; $classbrief='class="txtbox"'; $classspouse='class="txtbox"'; if($_GET['msg']=="empname") { $emtttle=$lbl_errmenmsg." ".$lbl_name; $msg=$emtttle; $classname='class="errtxtengbord"'; } else if($_GET['msg']=='errname') { $emtttle=$lbl_errvalidmsg." ".$lbl_name; $msg=$emtttle; $classname='class="errtxtengbord"'; } else if($_GET['msg']=='errothername') { $emtttle=$lbl_errvalidmsg." ".$lbl_othername; $msg=$emtttle; $classotrname='class="errtxtengbord"'; } else if($_GET['msg']=='errwebadd') { $emtttle=$lbl_errvalidmsg." ".$lbl_webpageadd; $msg=$emtttle; $classwebadd='class="errtxtengbord"'; } else if($_GET['msg']=='errdislink') { $emtttle=$lbl_errvalidmsg." ".$lbl_dispagelink; $msg=$emtttle; $classdislink='class="errtxtengbord"'; } else if($_GET['msg']=='errindmonth') { $emtttle=$lbl_errvalidmsg; $msg=$emtttle; $classindianmonth='class="errtxtengbord"'; } else if($_GET['msg']=='errbirplace') { $emtttle=$lbl_errvalidmsg." ".$lbl_birthplace; $msg=$emtttle; $classbirthplace='class="errtxtengbord"'; } else if($_GET['msg']=='errdeathindmonth') { $emtttle=$lbl_errvalidmsg; $msg=$emtttle; $classdeathmonth='class="errtxtengbord"'; } else if($_GET['msg']=='errdeathplace') { $emtttle=$lbl_errvalidmsg." ".$lbl_birthplace; $msg=$emtttle; $classdeathplace='class="errtxtengbord"'; } else if($_GET['msg']=='errcausedeath') { $emtttle=$lbl_errvalidmsg." "."Cause of Death"; $msg=$emtttle; $classcausedeath='class="errtxtengbord"'; } else if($_GET['msg']=='errplace') { $emtttle=$lbl_errvalidmsg." "."Place"; $msg=$emtttle; $clasplace='class="errtxtengbord"'; } else if($_GET['msg']=='errmobile') { $emtttle=$lbl_errvalidmsg." "."Mobile"; $msg=$emtttle; $classmobile='class="errtxtengbord"'; } else if($_GET['msg']=='errphone') { $emtttle=$lbl_errvalidmsg." "."Phone"; $msg=$emtttle; $classphone='class="errtxtengbord"'; } else if($_GET['msg']=='erremail') { $emtttle=$lbl_errvalidmsg." "."Email"; $msg=$emtttle; $classemail='class="errtxtengbord"'; } else if($_GET['msg']=='errfather') { $emtttle=$lbl_errvalidmsg." "."Father"; $msg=$emtttle; $classfather='class="errtxtengbord"'; } else if($_GET['msg']=='errmother') { $emtttle=$lbl_errvalidmsg." "."Mother"; $msg=$emtttle; $classmother='class="errtxtengbord"'; } else if($_GET['msg']=='errbrief') { $emtttle=$lbl_errvalidmsg." "."Brief Information"; $msg=$emtttle; $classbrief='class="errtxtengbord"'; } else if($_GET['msg']=='errspouse') { $emtttle=$lbl_errvalidmsg." "."Spouse"; $msg=$emtttle; $classspouse='class="errtxtengbord"'; } else if($_GET['msg']=='dupwbad') { $msg=$lbl_dupwebadd; $classwebadd='class="errtxtengbord"'; } else if($_GET['msg']=='dupdisad') { $msg=$lbl_dupdiscvrlnk; $classdislink='class="errtxtengbord"'; } else if($_GET['msg']=='dupcmp') { $msg=$msgSimilarWebAdd; } else { unset($_SESSION['txtname']); unset($_SESSION['txtothername']); unset($_SESSION['webadd']); unset($_SESSION['discoverlink']); unset($_SESSION['birthyear']); unset($_SESSION['birthmonth']); unset($_SESSION['birthday']); unset($_SESSION['indianmonth']); unset($_SESSION['birthplace']); unset($_SESSION['deadlive']); unset($_SESSION['deathday']); unset($_SESSION['deathmonth']); unset($_SESSION['deathyear']); unset($_SESSION['deathindianmonth']); unset($_SESSION['deathplace']); unset($_SESSION['causedeath']); unset($_SESSION['place']); unset($_SESSION['mobile']); unset($_SESSION['phone']); unset($_SESSION['email']); unset($_SESSION['maritalstatus']); unset($_SESSION['lateststatus']); unset($_SESSION['fathername']); unset($_SESSION['mothername']); unset($_SESSION['briefinfo']); unset($_SESSION['spouse']); unset($_SESSION['noapprove']); unset($_SESSION['yesapprove']); // // /*$classname='class="txtbox"'; // $classotrname='class="txtbox"'; // $classwebadd='class="txtbox"'; // $classdislink='class="txtbox"'; // $classbirthplace='class="txtbox"'; // $classindianmonth='class="txtbox"'; // $classdeathmonth='class="txtbox"'; // $classdeathplace='class="txtbox"'; // $classcausedeath='class="txtbox"'; // $clasplace='class="txtbox"'; // $classmobile='class="txtbox"'; // $classphone='class="txtbox"'; // $classemail='class="txtbox"'; // $classfather='class="txtbox"'; // $classmother='class="txtbox"'; // $classbrief='class="txtbox"'; // $classspouse='class="txtbox"';*/ } if($_SESSION['yesapprove']=="" && $_SESSION['noapprove']=="") { $_SESSION['yesapprove']="checked='true'"; } $btntype='type="reset"'; if($_GET['msg']=="empname" || $_GET['msg']=='errname' || $_GET['msg']=='errothername' || $_GET['msg']=='errwebadd' || $_GET['msg']=='errdislink' || $_GET['msg']=='errindmonth' || $_GET['msg']=='errbirplace' || $_GET['msg']=='errdeathindmonth' || $_GET['msg']=='errdeathplace' || $_GET['msg']=='errcausedeath' || $_GET['msg']=='errplace' || $_GET['msg']=='errmobile' || $_GET['msg']=='errphone' || $_GET['msg']=='erremail' || $_GET['msg']=='errfather' || $_GET['msg']=='errmother' || $_GET['msg']=='errbrief' || $_GET['msg']=='errspouse' || $_GET['msg']=='dupwbad' || $_GET['msg']=='dupdisad' || $_GET['msg']=='dupcmp') { $btntype='type="submit"'; if(isset($_POST['btn_reset'])) { RedirecPage('arya_editprimaryrecord.php?prid='.$_GET['prid']); } } ?> <script type="text/javascript"> $(document).ready(function(){ //newly added $("#webadd").blur(function(){ var frmwebadd = $("#webadd").val(); // assuming this is a input text fields var hidweb=$("#hidweb").val(); var webadd=frmwebadd+hidweb; var hidgetid= $("#hidgetid").val(); if(webadd.length>0) { $.ajax({ type: 'POST', data: 'webadd='+webadd+'&prid='+hidgetid, url: 'arya_prsnchkwebadd.php', success: function(data){ if(data==0) { $("#errclass").html(""); } else { $("#errclass").html("<font color='Red'>This Web Address is not available</font>"); document.frmprimary.webadd.focus(); return false; } //alert("ok"); //alert("call suc") } /*,error: function(){ //console.log(data); alert('There was an error in call'); }*/ }); return false; } else { $("#errclass").html(""); } }); $("#discoverlink").blur(function(){ var discoverlink = $("#discoverlink").val(); // assuming this is a input text fields var hidgetid= $("#hidgetid").val(); if(discoverlink.length>0) { $.ajax({ type: 'POST', data: 'discoverlink='+discoverlink+'&prid='+hidgetid, url: 'arya_prsnchkwebadd.php', success: function(data){ if(data==0) { $("#errdislnk").html(""); } else { $("#errdislnk").html("<font color='Red'>This Discover Page Link is not available</font>"); document.frmprimary.discoverlink.focus(); return false; } //alert("ok"); //alert("call suc") } /*,error: function(){ //console.log(data); alert('There was an error in call'); }*/ }); return false; } else { $("#errdislnk").html(""); } }); $("#profilephoto").change(function () { var profsize = 204800; //var prfiSize =this.files[0]; var prfiSize =($("#profilephoto")[0].files[0].size); //var prfiSize =($("#profilephoto")[0].files[0].size); if (prfiSize > profsize) { alert("Please Upload Only Less-Than 200 Kb Image."); document.frmprimary.profilephoto.focus(); } }); $("#fatherphoto").change(function () { var fathrsize = 204800; //var fatiSize =this.files[0]; var father =($("#fatherphoto")[0].files[0].size); //var fatiSize = ($("#fatherphoto")[0].files[0].fathrsize); if (father > fathrsize) { alert("Please Upload Only Less-Than 200 Kb Image."); document.frmprimary.fatherphoto.focus(); } }); $("#motherphoto").change(function () { var mthrsize = 204800; //var mothSize = this.files[0]; var mother =($("#motherphoto")[0].files[0].size); if (mother > mthrsize) { alert("Please Upload Only Less-Than 200 Kb Image."); document.frmprimary.motherphoto.focus(); } }); $("#spousephoto").change(function () { var spusesize = 204800; //var SpuSize = this.files[0]; var spouse =($("#spousephoto")[0].files[0].size); if (spouse > spusesize) { alert("Please Upload Only Less-Than 200 Kb Image."); document.frmprimary.spousephoto.focus(); } }); }); </script> <form method="post" action="" name="frmprimary" id="frmprimary" enctype="multipart/form-data" onSubmit="return blankPrimary();"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85" colspan="6"> <h2 class="bigheader"><?php echo $lbl_editprimaryrecord; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr> <td align="center"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td align="right" width="45%" ><?php echo $sign." ".$lbl_language; ?> : </td> <td> <select name="cmblang" id="cmblang" class="selbox" disabled="true"> <option value="1">English</option> </select> <input type="hidden" id="hidgetid" name="hidgetid" value="<?php echo $_GET['prid'];?>" /> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $sign." ".$lbl_name; ?> : </td> <td> <input type="text" name="txtname" value="<?php if($_SESSION['txtname']!=""){ echo $_SESSION['txtname']; }else{ echo $name; } ?>" id="txtname" <?php echo $classname; ?> maxlength="100" /> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_othernms; ?> : </td> <td> <textarea name="txtothername" maxlength="255" id="txtothername" <?php echo $classotrname; ?>><?php if($_SESSION['txtothername']!=""){ echo $_SESSION['txtothername']; }else{ echo $othername; } ?></textarea> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="center"></td> <td><font color="Red">Preferable Width 200px and Height 250px</font></td> </tr> <tr> <td align="right" width="45%"><?php echo $lbl_profilephoto;?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="file" name="profilephoto" id="profilephoto" value=""/></td><td> </td> <td><img src="<?php echo $pathvar.$profilephoto; ?>" width="50" alt="" title="" /></td> </tr> </table> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_webpageadd; ?> : </td> <td> www.thearyasamaj.org/<input type="text" name="webadd" value="<?php if($_SESSION['webadd']!=""){ echo $_SESSION['webadd']; }else { echo $instwebadd; } ?>" onKeyPress="return isAlphawebadd(event)" onpaste="return false;" id="webadd" maxlength="30" <?php echo $classwebadd; ?>/><input type="text" name="hidweb" id="hidweb" value="_en" disabled="true" size="1" /> <input type="hidden" name="hidtxtwebadd" id="hidtxtwebadd" class="txtbox" maxlength="30" value="<?php if($_SESSION['webadd']!=""){ echo $_SESSION['webadd']; }else { echo $instwebadd; } ?>" /> <td width="25%"><span id="errclass" style="display:inline;"></span></td> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_dispagelink; ?> : </td> <td> discover.thearyasamaj.org/<input type="text" name="discoverlink" value="<?php if($_SESSION['discoverlink']!="") { echo $_SESSION['discoverlink']; }else{ echo $newdislink; } ?>" onKeyPress="return isAlphawebadd(event)" onpaste="return false;" id="discoverlink" maxlength="30" <?php echo $classdislink; ?> /> <input type="hidden" name="hidtxtdislink" id="hidtxtdislink" class="txtbox" maxlength="30" value="<?php if($_SESSION['discoverlink']!=""){ echo $_SESSION['discoverlink']; }else { echo $newdislink; } ?>" /> <td width="25%"><span id="errdislnk" style="display:inline;"></span></td> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_dateofbirth; ?> : </td> <td> <?php if($_SESSION['birthyear']>0 || $_SESSION['birthmonth']>0 || $_SESSION['birthday']>0) { echo '<select id="birthday" name="birthday" class="brthdate" >'.GetDay($_SESSION['birthday']).'</select>'; echo '<select id="birthmonth" name="birthmonth" class="brthdate" >'.GetMonth($_SESSION['birthmonth']).'</select>'; echo '<select id="birthyear" name="birthyear" class="brthdate" >'.GetpribirthYear($_SESSION['birthyear']).'</select>'; } else { echo '<select id="birthday" name="birthday" class="brthdate" >'.GetDay($bday).'</select>'; echo '<select id="birthmonth" name="birthmonth" class="brthdate" >'.GetMonth($bmonth).'</select>'; echo '<select id="birthyear" name="birthyear" class="brthdate" >'.GetpribirthYear($byear).'</select>'; } ?> <input type="text" name="indianmonth" value="<?php if($_SESSION['indianmonth']!=""){ echo $_SESSION['indianmonth'];}else{ echo $prsn_indianmonth; } ?>" id="indianmonth" <?php echo $classindianmonth; ?>/> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_birthplace; ?> : </td> <td> <input type="text" name="birthplace" maxlength="100" value="<?php if($_SESSION['birthplace']!=""){ echo $_SESSION['birthplace']; }else{ echo $prsn_birthplace; } ?>" id="birthplace" <?php echo $classbirthplace; ?>/> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_deadalive; ?> : </td> <td> <select name="deadlive" id="deadlive" class="selbox" onchange="findfieldusingdeadalive(this.value);"><option value="">Select Dead or Alive</option><?php if($_SESSION['deadlive']!=""){ echo getdeadalive($_SESSION['deadlive']); }else{ echo getdeadalive($prsn_deadalive); } ?></select> </td> </tr> </table> </td> </tr> <tr> <td align="center" width="100%"> <table align="center" cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td height="5" align="center"></td></tr> <tr> <td align="center" width="100%"> <?php if($_SESSION['deadlive']=='Dead' || $prsn_deadalive=='Dead'){ ?> <div id="dead" style="display:inline;"> <?php }else{ ?> <div id="dead" style="display:none;"><?php } ?> <table cellpadding="0" cellspacing="0" width="100%" > <tr> <td align="right" width="45%"><?php echo $lbl_dateofdeath; ?> : </td> <td align="left"> <?php if($_SESSION['deathyear']>0 || $_SESSION['deathmonth']>0 || $_SESSION['deathday']>0) { echo '<select id="deathday" name="deathday" class="brthdate" >'.GetDay($_SESSION['deathday']).'</select>'; echo '<select id="deathmonth" name="deathmonth" class="brthdate" >'.GetMonth($_SESSION['deathmonth']).'</select>'; echo '<select id="deathyear" name="deathyear" class="brthdate" >'.GetpribirthYear($_SESSION['deathyear']).'</select>'; } else { echo '<select id="deathday" name="deathday" class="brthdate" >'.GetDay($dday).'</select>'; echo '<select id="deathmonth" name="deathmonth" class="brthdate" >'.GetMonth($dmonth).'</select>'; echo '<select id="deathyear" name="deathyear" class="brthdate" >'.GetpribirthYear($dyear).'</select>'; } ?> <input type="text" name="deathindianmonth" id="deathindianmonth" value="<?php if($_SESSION['deathindianmonth']!=""){ echo $_SESSION['deathindianmonth']; }else{ echo $prsn_deathindianday; } ?>" <?php echo $classdeathmonth; ?> /></td> </tr> <tr><td height="5" colspan="3" ></td></tr> <tr> <td align="right"><?php echo "Place of Death"; ?> : </td> <td align="left" colspan="2"> <input type="text" name="deathplace" maxlength="100" id="deathplace" value="<?php if($_SESSION['deathplace']!=""){ echo $_SESSION['deathplace']; }else{ echo $prsn_deathplace; } ?>" <?php echo $classdeathplace; ?> /> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right"><?php echo "Cause of Death"; ?> : </td> <td align="left" colspan="2"> <input type="text" name="causedeath" maxlength="150" id="causedeath" value="<?php if($_SESSION['causedeath']!=""){ echo $_SESSION['causedeath']; }else{ echo $prsn_deathcause; } ?>" <?php echo $classcausedeath; ?> /> </td> </tr> </table> </div> </td> </tr> <tr> <td align="center" width="100%"> <?php if($_SESSION['deadlive']=='Alive' || $prsn_deadalive=='Alive'){ ?> <div id="alive" style="display:inline;"> <?php }else{ ?> <div id="alive" style="display:none;"> <?php } ?> <table cellspacing="0" cellpadding="0" width="100%" > <tr> <td align="right" width="45%"><?php echo "Place"; ?> : </td> <td align="left" colspan="2"> <input type="text" name="place" maxlength="100" id="place" value="<?php if($_SESSION['place']!=""){ echo $_SESSION['place']; }else{ echo $prsn_place; } ?>" <?php echo $clasplace; ?> /> </td> </tr> <tr><td height="5" colspan="3" ></td></tr> <tr> <td align="right"><?php echo "Mobile"; ?> : </td> <td align="left" colspan="2"> <input type="text" maxlength="100" name="mobile" id="mobile" value="<?php if($_SESSION['mobile']!=""){ echo $_SESSION['mobile']; }else{ echo $prsn_mobile; } ?>" <?php echo $classmobile; ?> /> </td> </tr> <tr><td height="5" colspan="3"></td></tr> <tr> <td align="right" ><?php echo "Phone"; ?> : </td> <td align="left" colspan="2"> <input type="text" name="phone" id="phone" maxlength="100" value="<?php if($_SESSION['phone']!=""){ echo $_SESSION['phone']; }else{ echo $prsn_phone; } ?>" <?php echo $classphone; ?> /> </td> </tr> <tr><td height="5" colspan="3" ></td></tr> <tr> <td align="right" ><?php echo "Email"; ?> : </td> <td align="left" colspan="2"> <input type="text" name="email" id="email" value="<?php if($_SESSION['email']!=""){ echo $_SESSION['email']; }else{ echo $prsn_email; } ?>" <?php echo $classemail; ?> /> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <tr> <td colspan="0" align="center"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo "Marital Status"; ?> : </td> <td> <select name="maritalstatus" id="maritalstatus" class="selbox" onchange="findfieldusingmaritalstatus(this.value);"><option value="">Marital Status</option><?php if($_SESSION['maritalstatus']!=""){ echo getmaritalstatus($_SESSION['maritalstatus']); }else{ echo getmaritalstatus($prsn_maritalstatus); } ?></select> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo "Latest Status"; ?> : </td> <td> <select name="lateststatus" id="lateststatus" class="selbox" onchange="findfieldusingdeadalive(this.value);"><option value="">Latest Status</option><?php if($_SESSION['lateststatus']!=""){ echo getlateststatus($_SESSION['lateststatus']); }else { echo getlateststatus($prsn_lateststatus); } ?></select> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%"><?php echo "Father";?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="text" name="fathername" maxlength="100" id="fathername" value="<?php if($_SESSION['fathername']!=""){ echo $_SESSION['fathername']; } else{ echo $prsn_fathername; } ?>" <?php echo $classfather; ?> /></td><td> </td> <td><input type="file" name="fatherphoto" id="fatherphoto" size="10" /></td> <td> <img src='<?php echo $pathvar.$prsn_fatherphoto; ?>' width="50" /></td> </tr> </table> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%"><?php echo "Mother";?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="text" name="mothername" maxlength="100" id="mothername" value="<?php if($_SESSION['mothername']!=""){ echo $_SESSION['mothername']; }else{ echo $prsn_mothername; } ?>" <?php echo $classmother; ?> /></td><td> </td> <td><input type="file" name="motherphoto" id="motherphoto" size="10" /></td> <td> <img src='<?php echo $pathvar.$prsn_motherphoto; ?>' width="50" /></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td align="center" colspan="0"> <?php if($prsn_maritalstatus=='2' || $prsn_maritalstatus=='3' || $_SESSION['maritalstatus']=='2' || $_SESSION['maritalstatus']=='3') { ?> <div id="newspid" style="display:inline;"> <?php }else{ ?> <div id="newspid" style="display:none;"><?php } ?> <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr><td height="5"></td></tr> <tr> <td align="right" width="45%" ><?php echo "Spouse";?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><?php echo $space; ?><input type="text" maxlength="100" name="spouse" id="spouse" value="<?php if($_SESSION['spouse']!=""){ echo $_SESSION['spouse']; }else { echo $prsn_spouse; } ?>" <?php echo $classspouse; ?> /></td><td> </td> <td><input type="file" name="spousephoto" id="spousephoto" size="10" /></td> <td><img src='<?php echo $pathvar.$prsn_spousephoto; ?>' width="50" /></td> </tr> </table> </td> </tr> </table></div> </td> </tr> <tr> <td align="center" colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo "Brief Information"; ?> : </td> <td> <!-- <textarea name="briefinfo" id="briefinfo" <?php// echo $classbrief; ?> cols="26" rows="5" ><?php //if($_SESSION['briefinfo']!=""){ echo $_SESSION['briefinfo']; }else{ echo $longtxt1; } ?></textarea>--> <?php include_once("arya_ckeditor.php"); /*include_once("FCK/fckeditor.php"); $oFCKeditor = new FCKeditor('FckContent'); $oFCKeditor->BasePath = "FCK/" ; $oFCKeditor->Value = $longtxt1; $oFCKeditor->Width = 550; $oFCKeditor->Height= 300; $oFCKeditor->Create() ; */ ?> </td> </tr> <tr><td height="5" ></td></tr> <tr> <td align="right" width="45%" ><?php echo $lbl_sequence; ?> : </td> <td><input type="text" value="<?php echo $sequence; ?>" size="3" disabled="true" /> </td> </tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr><td height="5" ></td></tr> <tr> <?php if($prsnvisible!='Rejected') {?> <td align="right" width="45%" ><?php echo "Publish"; ?> : </td> <td><input type="radio" name="approve" id="approve" value="Approved" <?php if($_SESSION['yesapprove']!=""){ echo $_SESSION['yesapprove']; } else{ echo $yesvisible; } ?>>Yes <input type="radio" name="approve" id="approve" value="Pending" <?php if($_SESSION['noapprove']!=""){ echo $_SESSION['noapprove']; }else{ echo $novisible; } ?>>No </td> <?php } ?> </tr><?php } ?> <tr><td height="10" ></td></tr> <tr> <td align="center" width="45%" colspan="2"> <input type="submit" name="btnaddevent" id="btnaddevent" value="<?php echo $btn_update; ?>" /> <input <?php echo $btntype; ?> 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 // footer start include("arya_footer.php"); // footer over ?>
Close