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.139
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_editnews.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 vaishali //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over // content start unset($_SESSION['mngevetid']); unset($_SESSION['mngnewsphoto']); $logindate=date('Y-m-d h:i:s'); $editId = $_GET['eidnew']; $pagesecid=$_GET['scid']; $cntsnid=$_SESSION['type']; $stsnid=$_SESSION['sdate']; $etenid=$_SESSION['edate']; $cmborg=$_SESSION['cmborg']; if($_GET['pending']=='1') { $_SESSION['pedingid']=$_GET['pending']; } if($cmborg !=""){$orgval='oid='.$cmborg.'&';} else {$orgval="";} if($cntsnid !=""){$cntval='cid='.$cntsnid.'&';} else {$cntval="";} if($stsnid!=""){$sidval='sid='.$stsnid.'&';} else {$sidval="";} if($etenid!=""){$eidval='eid='.$etenid.'&';} else {$eidval="";} if($cntsnid !="" || $stsnid !="" || $etenid !="" ){$msgval='&msg=update';} else {$msgval='msg=update';} $qrySelNews="SELECT * FROM arya_news WHERE news_id='".$editId."'"; $qSelNews=mysql_query($qrySelNews); $qFetchSelNews=mysql_fetch_array($qSelNews); $fetchnewsid = $qFetchSelNews['news_id']; if($_GET['ins']!="") { $fetchorgid = $_GET['ins']; $insnewstid=$_GET["ins"]; } else { $fetchorgid=$qFetchSelNews['inst_id']; $insnewstid=$fetchorgid; } if($_GET['evid']!="") { $eventarray=getFieldValueArray('lang_id,event_smddate,event_periodenddate,event_address,cnt_id,state_id,city_id,event_title,inst_id,event_image,event_titlehindi,event_titleother,event_singlemultiday,event_shorttext,event_shorttexthindi,event_shorttextother,event_level','arya_event','event_id="'.$_GET['evid'].'"'); unset($_SESSION["lmtlvlses"]); $lnid=$eventarray[0]; $startdate=$eventarray[1]; $enddate=$eventarray[2]; $address=$eventarray[3]; $cntid=$eventarray[4]; $stateid=$eventarray[5]; $cityid=$eventarray[6]; $eventtitle=$eventarray[7]; $instid=$eventarray[8]; $fethceventimg=$eventarray[9]; $eventtitlehindi=$eventarray[10]; $eventtitleother=$eventarray[11]; $eventsinglemulti=$eventarray[12]; $neweventshorttext=$eventarray[13]; $neweventshorttexthindi=$eventarray[14]; $eventshorttextother=$eventarray[15]; //this is use for limit of Photos uploaded start $eventlevel=$eventarray[16]; if($eventlevel > 0) { $_SESSION["lmtlvlses"]=$eventlevel; } else { $_SESSION["lmtlvlses"]=$_SESSION["lmtlvlses"]; } //this is use for limit of Photos uploaded end $eventshorttext=substr($neweventshorttext,0,499); $eventshorttexthindi=substr($neweventshorttexthindi,0,449); if($fethceventimg=="") { $catid=getFieldValue("ecat_id",'arya_event','event_id="'.$_GET['evid'].'"'); $typeicon=getFieldValue('ecat_icon','arya_ecategory','ecat_id="'.$catid.'"'); $neweventimg=$typeicon; } else { $neweventimg=$fethceventimg; } $eventimg=str_replace("./","",$neweventimg); $instname=getFieldValue('inst_name','arya_institution','inst_id="'.$instid.'"'); $cntname=getFieldValue('cnt_name','arya_country','cnt_id="'.$cntid.'"'); $statename=getFieldValue('state_name','arya_state','state_id="'.$stateid.'"'); $cityname=getFieldValue('city_name','arya_city','city_id="'.$cityid.'"'); if($startdate>0) { $startdatenew= date("d-M-Y",strtotime($startdate));} if($enddate>0){ if($startdate!=$enddate) { $endnewdate=date("d-M-Y",strtotime($enddate));} } $evnewscheck=''; $topcheck=''; if($_GET['lngid']=="") { $newstypeyes="checked='checked';"; } else { $newstypeno="checked='checked';"; } $fetcheventid = $_GET['evid']; $fetchnewstitle=$eventtitle; $fetchnewshindi=$eventtitlehindi; $fetchnewsother=$eventtitleother; $fetchnewstext = $eventshorttext; $fetchnewstexthindi = $eventshorttexthindi; $fetchnewstextother = $eventshorttextother; // if($startdatenew!="") // { // $fetchnewstext=$startdatenew; // } // if($endnewdate!="") // { // if($startdatenew=="") // { // $fetchnewstext.=$endnewdate; // } // else // { // $fetchnewstext.=" To ".$endnewdate; // } // } // // $fetchnewstext.="\n".$cityname." ".$statename." ".$cntname."\n".$instname; // if($startdatenew!="") // { // $fetchnewstexthindi=$startdatenew; // } // if($endnewdate!="") // { // if($startdatenew=="") // { // $fetchnewstexthindi.=$endnewdate; // } // else // { // $fetchnewstexthindi.=" To ".$endnewdate; // } // } // $fetchnewstexthindi.="\n".$cityname." ".$statename." ".$cntname."\n".$instname; $fetchevplace = $cityname; $fetchecntnewid = $cntid; $fetchstateid = $stateid; $esdate=$startdatenew; $eedate=$endnewdate; if($address!="") { $eventnplace=$address; } if($cityname!="") { if($address=="") { $eventnplace=$cityname; } else { $eventnplace.=" ,".$cityname; } } if($statename!="") { if($cityname=="") { $eventnplace.=$statename; } else { $eventnplace.=" ,".$statename; } } if($cntname!="") { if($statename=="") { $eventnplace.=$cntname; } else { $eventnplace.=" ,".$cntname; } } // $eventnplace=$address." ,".$cityname." ,".$statename.",".$cntname; if($_GET['lngid'] > 0) {$lid=$_GET['lngid']; } else {$lid=$lnid;} $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lid.'"'); $editeventid=$_GET["eidnew"]; } else { $fetchlanid = $qFetchSelNews['lang_id']; $fetcheventid = $qFetchSelNews['event_id']; $eventsinglemulti=getFieldValue('event_singlemultiday','arya_event','event_id="'.$fetcheventid.'"'); $eventlevel=getFieldValue('event_level','arya_event','event_id="'.$fetcheventid.'"'); //this is use for limit of Photos uploaded start if($eventlevel > 0) { $_SESSION["lmtlvlses"]=$eventlevel; } else { $_SESSION["lmtlvlses"]=$_SESSION["lmtlvlses"]; } //this is use for limit of Photos uploaded end $editeventid=$_GET["eidnew"]; $str = stripslashes($qFetchSelNews['news_title']); $fetchnewstitle = str_replace(array('\'', '"'), '', $str); //remove single and double quotes from title $fetchnewshindi=stripslashes($qFetchSelNews['news_titlehindi']); $fetchnewsother=stripslashes($qFetchSelNews['news_titleother']); $fetchnewstext = stripslashes($qFetchSelNews['news_shorttext']); $fetchnewstexthindi = stripslashes($qFetchSelNews['news_shorttexthindi']); $fetchnewstextother = stripslashes($qFetchSelNews['news_shorttextother']); if($_GET['lngid'] > 0) {$lid=$_GET['lngid']; } else {$lid=$fetchlanid;} $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lid.'"'); $fetchecntnewid = $qFetchSelNews['cnt_id']; $fetchstateid = $qFetchSelNews['state_id']; $fetchnewstype = $qFetchSelNews['news_type']; $esdate=date("d-M-Y",strtotime(getFieldValue('event_smddate','arya_event','event_id="'.$fetcheventid.'"'))); $eedate=date("d-M-Y",strtotime(getFieldValue('event_periodenddate','arya_event','event_id="'.$fetcheventid.'"'))); $address=getFieldValue('event_address','arya_event','event_id="'.$fetcheventid.'"'); $cntid=getFieldValue('cnt_id','arya_event','event_id="'.$fetcheventid.'"'); $stid=getFieldValue('state_id','arya_event','event_id="'.$fetcheventid.'"'); $ctid=getFieldValue('city_id','arya_event','event_id="'.$fetcheventid.'"'); $cntname=getFieldValue('cnt_name','arya_country','cnt_id="'.$cntid.'"'); $statename=getFieldValue('state_name','arya_state','state_id="'.$stid.'"'); $cityname=getFieldValue('city_name','arya_city','city_id="'.$ctid.'"'); if($address!="") { $eventnplace.=$address; } if($cityname!="") { if($address=="") { $eventnplace.=$cityname; } else { $eventnplace.=" ,".$cityname; } } if($statename!="") { if($cityname=="") { $eventnplace.=" ,".$statename; } else { $eventnplace.=" ,".$statename; } } if($cntname!="") { if($statename=="") { $eventnplace.=$cntname; } else { $eventnplace.=" ,".$cntname; } } //$eventnplace=$qFetchSelNews["news_eventplace"]; $fetchevplace = $qFetchSelNews['news_place']; $fetchnewevdate = $qFetchSelNews['news_date']; $enddatenews = $qFetchSelNews['news_expiredate']; list($c_year1,$c_month1,$c_day1) = split('-',$enddatenews); $evnewscheck=''; $topcheck=''; if($_GET['lngid']!="") { $newstypeno='checked="checked"'; } else if($fetchnewstype == 'Yes') { $newstypeyes='checked="checked"'; } else { $newstypeno='checked="checked"'; } } $fetchlink1title = stripslashes($qFetchSelNews['news_link1title']); $newfetchlink1link = stripslashes($qFetchSelNews['news_link1link']); $advresult = substr($newfetchlink1link, 0, 7); $advresults = substr($newfetchlink1link, 0, 8); if($advresult=="http://") { $fetchlink1link=str_replace("http://","",$newfetchlink1link); } else if($advresults=="https://") { $fetchlink1link=str_replace("https://","",$newfetchlink1link); } $fetchlink2title = stripslashes($qFetchSelNews['news_link2title']); $newfetchlink2link = stripslashes($qFetchSelNews['news_link2link']); $advresult = substr($newfetchlink2link, 0, 7); $advresults = substr($newfetchlink2link, 0, 8); if($advresult=="http://") { $fetchlink2link=str_replace("http://","",$newfetchlink2link); } else if($advresults=="https://") { $fetchlink2link=str_replace("https://","",$newfetchlink2link); } $fetchlink3title = stripslashes($qFetchSelNews['news_link3title']); $newfetchlink3link = stripslashes($qFetchSelNews['news_link3link']); $advresult = substr($newfetchlink3link, 0, 7); $advresults = substr($newfetchlink3link, 0, 8); if($advresult=="http://") { $fetchlink3link=str_replace("http://","",$newfetchlink3link); } else if($advresults=="https://") { $fetchlink3link=str_replace("https://","",$newfetchlink3link); } $fetchrelinst = stripslashes($qFetchSelNews['news_relatedinst']); $fck_content = stripslashes($qFetchSelNews['news_longtext']); $eventimgnews = $qFetchSelNews['news_image']; $imagename=str_replace("./","",$eventimgnews); if($imagename=="") { $typeicon=getFieldValue("event_image",'arya_event','event_id="'.$fetcheventid.'"'); if($typeicon=="") { $catid=getFieldValue("ecat_id",'arya_event','event_id="'.$fetcheventid.'"'); $typeicon=getFieldValue('ecat_icon','arya_ecategory','ecat_id="'.$catid.'"'); } $typeimage=$typeicon; } else { $typeimage=$imagename; } $newfetchalbumurl = $qFetchSelNews['news_albumurl']; $advresult = substr($newfetchalbumurl, 0, 7); $advresults = substr($newfetchalbumurl, 0, 8); if($advresult=="http://") { $fetchalbumurl=str_replace("http://","",$newfetchalbumurl); } else if($advresults=="https://") { $fetchalbumurl=str_replace("https://","",$newfetchalbumurl); } $newfetchvideourl = $qFetchSelNews['news_videourl']; $advresult = substr($newfetchvideourl, 0, 7); $advresults = substr($newfetchvideourl, 0, 8); if($advresult=="http://") { $fetchvideourl=str_replace("http://","",$newfetchvideourl); } else if($advresults=="https://") { $fetchvideourl=str_replace("https://","",$newfetchvideourl); } $newfetchnewswebsite = $qFetchSelNews['news_websites']; $advresult = substr($newfetchnewswebsite, 0, 7); $advresults = substr($newfetchnewswebsite, 0, 8); if($advresult=="http://") { $fetchnewswebsite=str_replace("http://","",$newfetchnewswebsite); } else if($advresults=="https://") { $fetchnewswebsite=str_replace("https://","",$newfetchnewswebsite); } $fetchnewsdate = $qFetchSelNews['news_date']; list($c_year,$c_month,$c_day) = split('-',$fetchnewsdate); //$nvsquence = $qFetchSelNews['news_sequence']; $fetchnewsshowhome=$qFetchSelNews["news_shownewshome"]; $portalhome=$qFetchSelNews["news_showportalhome"]; $place1=$qFetchSelNews["news_place"]; $advt_approve=$qFetchSelNews["news_approve"]; $fetchnewsfeatured=$qFetchSelNews["news_featured"]; if($advt_approve == 'Yes') { $approveyes='checked="checked"'; } else { $approveno='checked="checked"'; } if($fetchnewsshowhome == 'Yes') { $shownewsyes='checked="checked"'; } else { $shownewsno='checked="checked"'; } if($portalhome == 'Yes') { $portalyes='checked="checked"'; } else { $portalno='checked="checked"'; } if($fetchnewsfeatured == 'Yes') { $newsyes='checked="checked"'; } else { $newsno='checked="checked"'; } //This is used for admin rights wise display field Start Added By Navneet 29/01/2013 $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_addnews.php') { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$usersessid.'" AND admcat_id="'.$dbusercatid.'"'); } } } //This is used for admin rights wise display field End Added By Navneet 29/01/2013 if($editeventid>0) { $_SESSION['editeventid']=$editeventid; } else { $_SESSION['editeventid']=$_SESSION['editeventid']; } //Start redirect search id in manage moduel code $msgval='msg=update'; //End redirect search id in manage moduel code $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); if(isset($_POST["btn_news"])) { $chknewstype=$_POST["type"]; $_SESSION['newstype']=$_POST["type"]; unset($_SESSION['nocheck']); unset($_SESSION['yescheck']); if($_POST["type"]=='Yes') { $_SESSION['yescheck']='checked="checked"'; } if($_POST["type"]=='No') { $_SESSION['nocheck']='checked="checked"'; } if($chknewstype == "Yes") { $languageid=$_POST['eventlngid']; if($_SESSION['getnewsinstid']>0) { $postinst=$_SESSION['getnewsinstid']; } else { $postinst=$fetchorgid; } $_SESSION['cmbinst']=$_POST['cmbinst']; } if($chknewstype == "No") { $fetchlanguage=explode(",",$_POST["cmblanguage"]); $languagename=$fetchlanguage[0]; $languageid=$fetchlanguage[1]; $_SESSION['instlngid']=$languageid; if($_SESSION['instlngid'] > 0) { //$_SESSION['nlnid']; $sellngid='sellng='.$_SESSION['instlngid'].'&'; } else { $sellngid=''; } if($_POST['newrowID']>0) { $postinst=$_POST['newrowID']; } else { $postinst=$fetchorgid; } $_SESSION['txtrelainst']=$_POST["txtrelainst"]; } $aduid=getFieldValue("admuser_id","arya_adminuser","user_name='".$_SESSION["uname"]."'"); $postnewstitle = addslashes($_POST['txtnewstitle']); $_SESSION['txtnewstitle']=$postnewstitle; $txthindititle = addslashes($_POST['txthindititle']); $_SESSION['txthindititle']=$txthindititle; $othertxttitle = addslashes($_POST['othertxttitle']); $_SESSION['othertxttitle']=$othertxttitle; $txtshorttexttitle=addslashes($_POST["txtshorttexttitle"]); $_SESSION['txtshorttexttitle']=$txtshorttexttitle; $txthindishorttext=addslashes($_POST["txthindishorttext"]); $_SESSION['txthindishorttext']=$txthindishorttext; $othertxtshorttext=addslashes($_POST["othertxtshorttext"]); $_SESSION['othertxtshorttext']=$othertxtshorttext; $txtlink1title = addslashes($_POST['txtlink1title']); $_SESSION['txtlink1title']=$txtlink1title; $txtlink1link = addslashes($_POST['txtlink1link']); $_SESSION['txtlink1link']=$txtlink1link; $txtlink2title = addslashes($_POST['txtlink2title']); $_SESSION['txtlink2title']=$txtlink2title; $txtlink2link = addslashes($_POST['txtlink2link']); $_SESSION['txtlink2link']=$txtlink2link; $txtlink3title = addslashes($_POST['txtlink3title']); $_SESSION['txtlink3title']=$txtlink3title; $txtlink3link = addslashes($_POST['txtlink3link']); $_SESSION['txtlink3link']=$txtlink3link; $newsstateid = $_POST['cmbstate']; $_SESSION["cmbstate"]=$newsstateid; $newscityid = $_POST['cmbcity']; $postevent=$_POST['cmbevent']; $_SESSION['cmbevent']=$postevent; $newstext = trim(addslashes($_POST['FckContent'])); $_SESSION['FckContent']=$newstext; $postdate=$_POST['year']."-".$_POST['month']."-".$_POST['day']; $postdate1=$_POST['year1']."-".$_POST['month1']."-".$_POST['day1']; $_SESSION['year1']=$_POST['year1']; $_SESSION['month1']=$_POST['month1']; $_SESSION['day1']=$_POST['day1']; $posteventcountry = $_POST["cmbnvCoun"]; $_SESSION["cmbnvCoun"]=$posteventcountry; $photoalbumurl = addslashes($_POST['photoalbumurl']); $_SESSION['photoalbumurl']=$photoalbumurl; $videoalbumurl = addslashes($_POST['videoalbumurl']); $_SESSION['videoalbumurl']=$videoalbumurl; $tophome=$_POST["chktophome"]; $postplace=$_POST['place']; $seleventdate=$_POST['videoyear']."-".$_POST['videomonth']."-".$_POST['videoday']; $_SESSION['videoyear']=$_POST['videoyear']; $_SESSION['videomonth']=$_POST['videomonth']; $_SESSION['videoday']=$_POST['videoday']; $websites = $_POST['website']; $_SESSION['website']=$websites; $newsplace=$_POST["eventpalce"]; $_SESSION["eventpalce"]=$newsplace; $posttxtapprove=$_POST["txtapprove"]; unset($_SESSION['yesnewshome']); unset($_SESSION['nonewshome']); if($_POST["shownewshome"]=='Yes') { $_SESSION['yesnewshome']='checked="checked"'; } if($_POST["shownewshome"]=='No') { $_SESSION['nonewshome']='checked="checked"'; } unset($_SESSION['yesportalhome']); unset($_SESSION['noportalhome']); if($_POST["chkshowhome"]=='Yes') { $_SESSION['yesportalhome']='checked="checked"'; } if($_POST["chkshowhome"]=='No') { $_SESSION['noportalhome']='checked="checked"'; } if($rightapprove == 'Self' || $rightapprove == 'All') { //$postsequence=$_POST["txtsequence"]; $showhome=$_POST["chkshowhome"]; $newsshownewshome=$_POST["shownewshome"]; }else { //$postsequence=$nvsquence; $showhome=$fetchnewsshowhome; $newsshownewshome=$portalhome; } $chknewstype=$_POST["type"]; if($_POST['txtvisible']=="Yes") { $var_visible="Yes"; } else { $var_visible="No"; } if($photoalbumurl!="") { $advresult = substr($photoalbumurl, 0, 7); $advresults = substr($photoalbumurl, 0, 8); if($advresult=="http://") { $postcheckalbumurl=$photoalbumurl; } else if($advresults=="https://") { $postcheckalbumurl=$photoalbumurl; } else { $postcheckalbumurl="http://".$photoalbumurl; } } if($videoalbumurl!="") { $link2result = substr($videoalbumurl, 0, 7); $link2advresults = substr($videoalbumurl, 0, 8); if($link2result=="http://") { $link2check=$videoalbumurl; } else if($link2advresults=="https://") { $link2check=$videoalbumurl; } else { $link2check="http://".$videoalbumurl; } } if($websites!="") { $res3link = substr($websites, 0, 7); $res3checklink = substr($websites, 0, 8); if($res3link=="http://") { $chekc3link=$websites; } else if($res3checklink=="https://") { $chekc3link=$websites; } else { $chekc3link="http://".$websites; } } if($txtlink1link!="") { $titlelink1 = substr($txtlink1link, 0, 7); $newtitlelink = substr($txtlink1link, 0, 8); if($titlelink1=="http://") { $linktitlelink1=$txtlink1link; } else if($newtitlelink=="https://") { $linktitlelink1=$txtlink1link; } else { $linktitlelink1="http://".$txtlink1link; } } if($txtlink2link!="") { $titlelink2 = substr($txtlink2link, 0, 7); $newtitlelink2 = substr($txtlink2link, 0, 8); if($titlelink2=="http://") { $linktitlelink2=$txtlink2link; } else if($newtitlelink2=="https://") { $linktitlelink2=$txtlink2link; } else { $linktitlelink2="http://".$txtlink2link; } } if($txtlink3link!="") { $titlelink3 = substr($txtlink3link, 0, 7); $newtitlelink3 = substr($txtlink3link, 0, 8); if($titlelink3=="http://") { $linktitlelink3=$txtlink3link; } else if($newtitlelink3=="https://") { $linktitlelink3=$txtlink3link; } else { $linktitlelink3="http://".$txtlink3link; } } if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if($chknewstype=='Yes') { if($postinst <= 0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empinst'); } else if($_POST['cmbevent'] <=0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empevent'); } } if($postnewstitle=="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=engempname'); } else if($languageid==2 && $txthindititle="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=hndempname'); } else if($languageid>2 && $othertxttitle="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=otrempname'); } else if($txtshorttexttitle=="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=shrtempenm'); } else if($languageid==2 && $txthindishorttext=="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=shrtemphnm'); } else if($languageid>2 && $othertxtshorttext=="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=shrtemponm'); } else if($_POST['videoday']<=0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empvideoday'); } else if($_POST['videomonth']<=0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empvideomonth'); } else if($_POST['videoyear']<=0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empvideoyear'); } else if($newsplace=="") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empnewsplace'); } else if($posteventcountry<=0) { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=empcnt'); } } if( $postnewstitle!="") { if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if(find_scripttags($postnewstitle)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=engnmerr'); } else if(find_scripttags($txthindititle)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=hndnmerr'); } else if(find_scripttags($othertxttitle)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=otrnmerr'); } else if(find_scripttags($txtshorttexttitle)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=senmerr'); } else if(find_scripttags($txthindishorttext)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=shnnmerr'); } else if(find_scripttags($othertxtshorttext)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=sotnmerr'); } // if($chknewstype=='Yes') // { // if(CheckWebUrl($postcheckalbumurl)=="Yes" || find_specialchar($photoalbumurl)=="Yes" || find_scripttags($photoalbumurl)=="Yes") // { // RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=photourlerr'); // } // else if(CheckWebUrl($link2check)=="Yes" || find_specialchar($videoalbumurl)=="Yes" || find_scripttags($videoalbumurl)=="Yes") // { // RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=videourlerr'); // } // else if(CheckWebUrl($chekc3link)=="Yes" || find_specialchar($websites)=="Yes" || find_scripttags($websites)=="Yes") // { // RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=weberr'); // } // // } if(find_scripttags($newsplace)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=placeerr'); } if($chknewstype=='No') { if(find_scripttags($txtlink1title)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=title1err'); } /*else if(CheckWebUrl($linktitlelink1)=="Yes" || find_specialchar($txtlink1link)=="Yes" || find_scripttags($txtlink1link)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=link1err'); }*/ else if(find_scripttags($txtlink2title)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=title2err'); } // else if(CheckWebUrl($linktitlelink2)=="Yes" || find_specialchar($txtlink2link)=="Yes" || find_scripttags($txtlink2link)=="Yes") // { // RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=link2err'); // } else if(find_scripttags($txtlink3title)=="Yes") { RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=title3err'); } // else if(CheckWebUrl($linktitlelink3)=="Yes" || find_specialchar($txtlink3link)=="Yes" || find_scripttags($txtlink3link)=="Yes") // { // RedirecPage('arya_editnews.php?'.$sellngid.'eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid'].'&msg=link2err'); // } } } $valueName = getFieldValue('news_title','arya_news','news_title="'.$postnewstitle.'" AND news_id!="'.$editId.'" '); $newsqryUpdate="Update arya_news set `lang_id`='".$languageid."', `news_title`='".$postnewstitle."', `news_titlehindi`='".$_SESSION['txthindititle']."', `news_titleother`='".$_SESSION['othertxttitle']."', `news_shorttext`='".$txtshorttexttitle."', `news_shorttexthindi`='".$txthindishorttext."', `news_shorttextother`='".$othertxtshorttext."',`news_longtext`='".$newstext."', `news_type`='".$chknewstype."', `inst_id`='".$postinst."', `event_id`='".$postevent."', `news_eventstartdate`='".$startdate."', `news_eventenddate`='".$enddate."', `news_eventplace`='".$postplace."', `news_albumurl`='".$postcheckalbumurl."', `news_videourl`='".$link2check."', `news_websites`='".$chekc3link."', `news_link1title`='".$txtlink1title."', `news_link1link`='".$linktitlelink1."', `news_link2title`='".$txtlink2title."', `news_link2link`='".$linktitlelink2."', `news_link3title`='".$txtlink3title."', `news_link3link`='".$linktitlelink3."', `news_date`='".$seleventdate."', `news_place`='".$newsplace."', `cnt_id`='".$posteventcountry."', `state_id`='".$newsstateid."', `news_approve`='".$advt_approve."',`news_expiredate`='".$postdate1."', `news_shownewshome`='".$newsshownewshome."', `news_showportalhome`='".$showhome."', `login_status`='0' where news_id='".$editId."'"; $newsUpdate = mysql_query($newsqryUpdate); if($newsUpdate) { getadminactivity('title_editnews',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$postnewstitle,$curntdate,$curnttime); if($_FILES['txtimage']['name'] != "") { $smallimage=getFieldValue('news_image','arya_news','news_id='.$editId); $image=str_replace("./","",$smallimage); $bigimage=str_replace('SM','BG',$image); $mainimage=str_replace('SM_','',$image); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($image); unlink($bigimage); unlink($mainphotimage); } /*else { $image=str_replace("./","media/",$smallimage); $bigimage=str_replace('SM','BG',$image); unlink($image); unlink($bigimage); }*/ if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconnect_id ,$bigimage); ftp_delete($srvconn_id ,$mainimage); //echo "<Br>---".unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage); } $ImageSource = $_FILES['txtimage']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtimage']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['txtimage']['name']); $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 = "200"; $Thumheight = ""; $bigThumwidth = "400"; $bigThumheight = ""; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($ImageSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); if($UploadImg== "true") { $qryUpdateAdvert = "UPDATE arya_news SET news_image='".$ThumbtoPath."' WHERE news_id='".$editId."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') /*else { $smallimage=getFieldValue('news_image','arya_news','news_id='.$editId); $image=str_replace("./","media/",$smallimage); $bigimage=str_replace('SM','BG',$image); unlink($image); unlink($bigimage); $year=date('Y'); $month=date('m'); $mediaPath="media/"; $mediayearpath="media/".$year."/"; $mediamonthpath="media/".$year."/".$month."/"; $Thumwidth = "200"; $Thumheight = ""; $bigThumwidth = "400"; $bigThumheight = ""; 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, "https://".$_SERVER['HTTP_HOST']."/uploads/media/".$year."/".$month."/".$SmallFileName, FTP_BINARY); $bigupload = ftp_put($srvconnect_id, $bigdestination_file, "https://".$_SERVER['HTTP_HOST']."/uploads/media/".$year."/".$month."/".$BigFileName, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qryUpdArticleImage="UPDATE arya_news SET news_image='".$smalldest_file."' WHERE news_id='".$editId."'"; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } } } else if($eventimgnews=="") { $qryUpdateAdvert = "UPDATE arya_news SET news_image='' WHERE news_id='".$editId."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } if($_SESSION['pedingid']=='1') { //echo "<script language=JavaScript>location.href='arya_unapppendinglist.php?".$msgval."'; RedirecPage('arya_unapppendinglist.php?'.$msgval); } else { //echo "<script language=JavaScript>location.href='arya_mngnews.php?".$cntval.$sidval.$eidval.$msgval."'; RedirecPage('arya_mngnews.php?'.$orgval.$cntval.$sidval.$eidval.$msgval); } } else { $msg=$msgNotUpdate; } } else { $msg=$msgFillFormField; } } $classinst='class="selbox"'; $classevent='class="selbox"'; $classengname='class="txtbox"'; $classhndname='class="txtbox"'; $classotrname='class="txtbox"'; $classshortename='class="txtbox"'; $classshorthname='class="txtbox"'; $classshortoname='class="txtbox"'; $classphotourl='class="txtbox"'; $classvideourl='class="txtbox"'; $classwebsite='class="txtbox"'; $classvideoday='class="brthdate"'; $classvideomonth='class="brthdate"'; $classvideoyear='class="brthdate"'; $classplace='class="txtbox"'; $classcnt='class="selbox"'; $classtitle1='class="txtbox"'; $classlink1='class="txtbox"'; $classtitle2='class="txtbox"'; $classlink2='class="txtbox"'; $classtitle3='class="txtbox"'; $classlink3='class="txtbox"'; if($_GET['msg']=="empinst") { $emtttle="Please"." ".$lbl_selinstitution; $msg=$emtttle; $fetchorgid=""; $classinst='class="errtxtengbord"'; } else if($_GET['msg']=="empevent") { $emtttle="Please"." ".$sel_evtttl; $msg=$emtttle; $fetcheventid=""; $classevent='class="errtxtengbord"'; } else if($_GET['msg']=="engempname") { $emtttle=$lbl_errmenmsg." ".$lbl_headline." English"; $msg=$emtttle; $fetchnewstitle=""; $classengname='class="errtxtengbord"'; } else if($_GET['msg']=="engnmerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_headline." English"; $msg=$emtttle; $fetchnewstitle=""; $classengname='class="errtxtengbord"'; } else if($_GET['msg']=="hndempname") { $emtttle=$lbl_errmenmsg." ".$lbl_headline." Hindi"; $msg=$emtttle; $fetchnewshindi=""; $classhndname='class="errtxtengbord"'; } else if($_GET['msg']=="hndnmerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_headline." Hindi"; $msg=$emtttle; $fetchnewshindi=""; $classhndname='class="errtxtengbord"'; } else if($_GET['msg']=="otrempname") { $emtttle=$lbl_errmenmsg." ".$lbl_headline." Other"; $msg=$emtttle; $fetchnewsother=""; $classotrname='class="errtxtengbord"'; } else if($_GET['msg']=="otrnmerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_headline." Other"; $msg=$emtttle; $fetchnewsother=""; $classotrname='class="errtxtengbord"'; } else if($_GET['msg']=="shrtempenm") { $emtttle=$lbl_errmenmsg." ".$shortreport; $msg=$emtttle; $fetchnewstext=""; $classshortename='class="errtxtengbord"'; } else if($_GET['msg']=="senmerr") { $emtttle=$lbl_errvalidmsg." ".$shortreport; $msg=$emtttle; $fetchnewstext=""; $classshortename='class="errtxtengbord"'; } else if($_GET['msg']=="shrtemphnm") { $emtttle=$lbl_errmenmsg." ".$shortreporthindi; $msg=$emtttle; $fetchnewstexthindi=""; $classshorthname='class="errtxtengbord"'; } else if($_GET['msg']=="shnnmerr") { $emtttle=$lbl_errvalidmsg." ".$shortreporthindi; $msg=$emtttle; $fetchnewstexthindi=""; $classshorthname='class="errtxtengbord"'; } else if($_GET['msg']=="shrtemponm") { $emtttle=$lbl_errmenmsg." ".$shortreportother; $msg=$emtttle; $fetchnewstextother=""; $classshortoname='class="errtxtengbord"'; } else if($_GET['msg']=="sotnmerr") { $emtttle=$lbl_errvalidmsg." ".$shortreportother; $msg=$emtttle; $fetchnewstextother=""; $classshortoname='class="errtxtengbord"'; } else if($_GET['msg']=="photourlerr") { $emtttle=$lbl_errvalidmsg." Photo Album URL"; $msg=$emtttle; $fetchalbumurl=""; $classphotourl='class="errtxtengbord"'; } else if($_GET['msg']=="videourlerr") { $emtttle=$lbl_errvalidmsg." Video Album URL"; $msg=$emtttle; $fetchvideourl=""; $classvideourl='class="errtxtengbord"'; } else if($_GET['msg']=="weberr") { $emtttle=$lbl_errvalidmsg." Online Link"; $msg=$emtttle; $fetchnewswebsite=""; $classwebsite='class="errtxtengbord"'; } else if($_GET['msg']=="empvideoday") { $emtttle="Please Select News Day"; $msg=$emtttle; $classvideoday='class="errbrthdate"'; } else if($_GET['msg']=="empvideomonth") { $emtttle="Please Select News Month"; $msg=$emtttle; $classvideomonth='class="errbrthdate"'; } else if($_GET['msg']=="empvideoyear") { $emtttle="Please Select News Year"; $msg=$emtttle; $classvideoyear='class="errbrthdate"'; } else if($_GET['msg']=="empnewsplace") { $emtttle=$lbl_errmenmsg." ".$lbl_newsplace; $msg=$emtttle; $fetchevplace=""; $classplace='class="errtxtengbord"'; } else if($_GET['msg']=="placeerr") { $emtttle=$lbl_errvalidmsg." ".$lbl_newsplace; $msg=$emtttle; $fetchevplace=""; $classplace='class="errtxtengbord"'; } else if($_GET['msg']=="empcnt") { $emtttle="Please Select Country"; $msg=$emtttle; $fetchecntnewid=""; $classcnt='class="errtxtengbord"'; } else if($_GET['msg']=="title1err") { $emtttle=$lbl_errvalidmsg." ".$lbl_linktitle1; $msg=$emtttle; $fetchlink1title=""; $classtitle1='class="errtxtengbord"'; } else if($_GET['msg']=="link1err") { $emtttle=$lbl_errvalidmsg." ".$lbl_url1; $msg=$emtttle; $fetchlink1link=""; $classlink1='class="errtxtengbord"'; } else if($_GET['msg']=="title2err") { $emtttle=$lbl_errvalidmsg." ".$lbl_linktitle2; $msg=$emtttle; $fetchlink2title=""; $classtitle2='class="errtxtengbord"'; } else if($_GET['msg']=="link2err") { $emtttle=$lbl_errvalidmsg." ".$lbl_url2; $msg=$emtttle; $fetchlink2link=""; $classlink2='class="errtxtengbord"'; } else if($_GET['msg']=="title3err") { $emtttle=$lbl_errvalidmsg." ".$lbl_linktitle3; $msg=$emtttle; $fetchlink3title=""; $classtitle3='class="errtxtengbord"'; } else if($_GET['msg']=="link3err") { $emtttle=$lbl_errvalidmsg." ".$lbl_url3; $msg=$emtttle; $fetchlink3link=""; $classlink3='class="errtxtengbord"'; } else { unset($_SESSION['cmbinst']); unset($_SESSION['cmbevent']); unset($_SESSION['txtnewstitle']); unset($_SESSION['txthindititle']); unset($_SESSION['othertxttitle']); unset($_SESSION['txtshorttexttitle']); unset($_SESSION['txthindishorttext']); unset($_SESSION['othertxtshorttext']); unset($_SESSION['photoalbumurl']); unset($_SESSION['videoalbumurl']); unset($_SESSION['website']); unset($_SESSION['videoyear']); unset($_SESSION['videomonth']); unset($_SESSION['videoday']); unset($_SESSION['newstype']); unset($_SESSION['yescheck']); unset($_SESSION['nocheck']); unset($_SESSION['txtlink1title']); unset($_SESSION['txtlink1link']); unset($_SESSION['txtlink2title']); unset($_SESSION['txtlink2link']); unset($_SESSION['txtlink3title']); unset($_SESSION['txtlink3link']); unset($_SESSION['year1']); unset($_SESSION['month1']); unset($_SESSION['day1']); unset($_SESSION['yesnewshome']); unset($_SESSION['nonewshome']); unset($_SESSION['yesportalhome']); unset($_SESSION['noportalhome']); unset($_SESSION["cmbnvCoun"]); unset($_SESSION["cmbstate"]); unset($_SESSION['FckContent']); unset($_SESSION['txtrelainst']); unset($_SESSION['instlngid']); unset($_SESSION["eventpalce"]); $classinst='class="selbox"'; $classevent='class="selbox"'; $classengname='class="txtbox"'; $classhndname='class="txtbox"'; $classotrname='class="txtbox"'; $classshortename='class="txtbox"'; $classshorthname='class="txtbox"'; $classshortoname='class="txtbox"'; $classphotourl='class="txtbox"'; $classvideourl='class="txtbox"'; $classwebsite='class="txtbox"'; $classvideoday='class="brthdate"'; $classvideomonth='class="brthdate"'; $classvideoyear='class="brthdate"'; $classplace='class="txtbox"'; $classcnt='class="selbox"'; $classtitle1='class="txtbox"'; $classlink1='class="txtbox"'; $classtitle2='class="txtbox"'; $classlink2='class="txtbox"'; $classtitle3='class="txtbox"'; $classlink3='class="txtbox"'; } if($_SESSION['yesnewshome']!="" || $_SESSION['nonewshome']!="") { $shownewsyes=""; $shownewsno=""; } if($_SESSION['yesportalhome']!="" || $_SESSION['noportalhome']!="") { $portalyes=""; $portalno=""; } if($_SESSION['yescheck']!="" || $_SESSION['nocheck']!="") { $newstypeyes=""; $newstypeno=""; } $btntype='type="reset"'; if($_GET['msg']=="empinst" || $_GET['msg']=="empevent" || $_GET['msg']=="engempname" || $_GET['msg']=="engnmerr" || $_GET['msg']=="hndempname" || $_GET['msg']=="hndnmerr" || $_GET['msg']=="otrempname" || $_GET['msg']=="otrnmerr" || $_GET['msg']=="shrtempenm" || $_GET['msg']=="senmerr" || $_GET['msg']=="shrtemphnm" || $_GET['msg']=="shnnmerr" || $_GET['msg']=="shrtemponm" || $_GET['msg']=="sotnmerr" || $_GET['msg']=="photourlerr" || $_GET['msg']=="videourlerr" || $_GET['msg']=="weberr" || $_GET['msg']=="empvideoday" || $_GET['msg']=="empvideomonth" || $_GET['msg']=="empvideoyear" || $_GET['msg']=="empnewsplace" || $_GET['msg']=="placeerr" || $_GET['msg']=="empcnt" || $_GET['msg']=="title1err" || $_GET['msg']=="link1err" || $_GET['msg']=="title2err" || $_GET['msg']=="link2err" || $_GET['msg']=="title3err" || $_GET['msg']=="link3err") { $btntype='type="submit"'; if(isset($_POST['btn_reset'])) { RedirecPage('arya_editnews.php?eidnew='.$_GET['eidnew'].'&scid='.$_GET['scid']); } } if($_SESSION['newstype']!="") { $fetchnewstype=""; } $cityid=getFieldValue("city_id","arya_institution","inst_id=".$fetchorgid.""); $citynm=getFieldValue("city_name","arya_city","city_id=".$cityid.""); $instname=getFieldValue("inst_name","arya_institution","inst_id=".$fetchorgid.""); if($cityid>0) { $newinstname=$instname." (".$citynm.")"; } else { $newinstname=$instname; } if($_GET['ins']>0) { $_SESSION['getnewsinstid']=$_GET['ins']; } else { $_SESSION['getnewsinstid']=$_SESSION['getnewsinstid']; } ?> <script language="JavaScript"> function ChangeLang(evid,inid,eidnew) { window.location.href ="arya_editnews.php?eidnew="+eidnew+"&evid="+evid+"&ins="+inid; } function ChangeLangnews(lngid,evid,inid,id,scid) { var str=(lngid); var ne=str.split(","); newLng= ne[1].replace(/^\s*/, "").replace(/\s*$/, ""); if(newLng>0) { window.location.href ="arya_editnews.php?eidnew="+id+"&evid="+evid+"&ins="+inid+"&lngid="+newLng+"&scid="+scid; } } </script> <script language="javascript"> $(document).ready(function(){ $("#txtrelainst").autocomplete("arya_searchinsttitle.php", { width: 350, selectFirst: false, autoFill: true, mustMatch:true, max: 120, formatItem: function(data, i, n, value) { return value.split("|")[0]; } }); $("#txtrelainst").result(function(event, data, formatted) { //var hidden = $("#rowID"); var hidden = $("#newrowID"); hidden.val(data[1]); var b=$("#newrowID").val(); }); //return false; $("#cmbinst").autocomplete("arya_searchinsttitle.php", { width: 350, selectFirst: false, autoFill: true, mustMatch:true, max: 120, formatItem: function(data, i, n, value) { return value.split("|")[0]; } }); $("#cmbinst").result(function(event, data, formatted) { //var hidden = $("#rowID"); var hidden = $("#rowID"); hidden.val(data[1]); var b=$("#rowID").val(); if(b>0) { var xmlhttp=false; try { xmlhttp = new ActiveXObject('Msxml2.XMLHTTP'); } catch (e) { try { xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); } catch (E) { xmlhttp = false; } } if (!xmlhttp && typeof XMLHttpRequest!='undefined') { xmlhttp = new XMLHttpRequest(); } var file ="common/arya_fnd_event_ajax.php?instid="+b; //window.open(file); xmlhttp.open('GET', file, true); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { var myContent; myContent=xmlhttp.responseText; document.getElementById('fetcheventdata').innerHTML=myContent; } } xmlhttp.send(null) //Nullify the XMLHttpRequest return; } }); return false; }); </script> <form name="frmnews" id="frmnews" method="POST" enctype="multipart/form-data" action="" onsubmit="return blankNews();"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85"> <h2 class="bigheader"><?php echo $title_editnews; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr align="center"> <td> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_newstype;?> : </td><td align="left" colspan="3"><input type="radio" name="type" value="Yes" <?php if($_SESSION['yescheck']!=""){ echo $_SESSION['yescheck'];} else{ echo $newstypeyes; }?> id="type_0" />Event News <input type="radio" name="type" id="type_1" value="No" <?php if($_SESSION['nocheck']!=""){ echo $_SESSION['nocheck'];} else{ echo $newstypeno; } ?> />Other News</td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="6"> <div id="Individual_box"> <table align="center" width="100%" border="0"> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_selinstitution; ?> : </td> <td> <!--<select name="cmbinst" id="cmbinst" <?php //echo $classinst; ?> onchange="return findselevent(this.value,'<?php //echo $_GET['eidnew']?>');" > <option value="0"><?php //echo $lbl_selinstitution; ?></option> <?php //if($_SESSION['cmbinst']>0){ echo getNewsInstitution($_SESSION['cmbinst']); }else{ echo getNewsInstitution($fetchorgid); } ?> </select>--> <input type="text" name="cmbinst" id="cmbinst" class="txtbox" value="<?php echo $newinstname; ?>" /> <input type="hidden" id="rowID" name="rowID" value="" /> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$sel_evtttl; ?> : </td> <td><div id="fetcheventdata"> <select name="cmbevent" id="cmbevent" <?php echo $classevent; ?> onchange="ChangeLang(this.value,'<?php echo $insnewstid; ?>',<?php echo $_SESSION['editeventid']; ?>)"> <option value="0"><?php echo $sel_evtttl; ?></option> <?php if($_SESSION['cmbevent']>0){ echo getEventComming($_SESSION['cmbevent'],$_SESSION['cmbinst']); }else{ echo getEventComming($fetcheventid,$fetchorgid); } ?></div> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="44%" colspan="3"></td> <td > <?php if($esdate > 0 ) { echo $lbl_startdate." : "."<font color= 'grey'>".$esdate."</font> ";}if($eedate > 0){ echo"<br/>".$lbl_enddate." : "."<font color= 'grey'>".$eedate."</font><br/>"; } if($eventnplace) { echo $lbl_place." : "."<font color= 'grey'>".$eventnplace."</font>"; echo "<input type='hidden' name='place' value='".$eventnplace."'>"; } ?> </td> </tr></table> </div> </td> </tr> <tr> <td colspan="6"> <div id="eventlan"> <table align="center" width="100%" border="0"> <tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $locallanguage; ?> : </td> <td align="left" colspan="3"> <select name="eventlngid" id="eventlngid" class="selbox" disabled="true" > <?php echo GetAllLanguage($lid);?> <input type="hidden" name="eventlngid" id="eventlngid" value="<?php echo $lid; ?>" /> </select> </td> </tr> </table> </div> </td> </tr> <tr> <td colspan="6"> <div id="toplan"> <table align="center" width="100%" border="0"> <tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $locallanguage; ?> : </td> <td align="left" colspan="3"> <select name="cmblanguage" id="cmblanguage" class="selbox" onChange="ChangeLangnews(this.value,'<?php echo $_GET['evid'];?>','<?php echo $instid;?>','<?php echo $editId; ?>','<?php echo $pagesecid; ?>');" > <?php echo GetAllLanguage($lid);?> </select> </td> </tr> </table> </div> </td> </tr> <tr><td height="5" colspan="5"></td></tr> <tr align="right"> <td align="right" ><?php echo $sign." ".$lbl_headline." English";?> : </td> <td align="left"> <input type="text" name="txtnewstitle" id="txtnewstitle" <?php echo $classengname; ?> value="<?php if($_SESSION['txtnewstitle']!=""){ echo $_SESSION['txtnewstitle']; }else{ echo $fetchnewstitle; } ?>" maxlength="85" /> </td> <td align="right"><?php if($lid=="2") { echo $sign." "; } echo $lbl_headline." Hindi";?> : </td> <td align="left" width="17%"><input type="text" name="txthindititle" id="txthindititle" onFocus="changeLanguage('txthindititle', 'devanagari')" <?php echo $classhndname; ?> value="<?php if($_SESSION['txthindititle']!=""){ echo $_SESSION['txthindititle']; }else{ echo $fetchnewshindi; } ?>" onKeyPress="return imposeMaxLength(this, 85);" maxlength="300"/> </td> <?php if($lid=='1' || $lid == "2") { ?> <td align="right" width="10%"> </td> <td align="left"> </td> <?php } else {?> <td align="right" width="10%"> <?php echo $sign." ".$lbl_headline." Other";?> : </td> <td align="left"> <input type="text" name="othertxttitle" id="othertxttitle" onFocus="changeLanguage('othertxttitle', '<?php echo $lngname; ?>')" <?php echo $classotrname; ?> value="<?php if($_SESSION['othertxttitle']!=""){ echo $_SESSION['othertxttitle']; }else{ echo $fetchnewsother; } ?>" maxlength="300"/> </td><?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $sign." ".$shortreport;?> : </td> <td align="left" > <textarea rows="3" cols="10" name="txtshorttexttitle" id="txtshorttexttitle" <?php echo $classshortename; ?> onkeypress="return imposeMaxLength(this,500);" ><?php if($_SESSION['txtshorttexttitle']!=""){ echo $_SESSION['txtshorttexttitle']; }else{ echo $fetchnewstext; } ?></textarea></td> <td align="right"><?php echo $shortreporthindi;?> : </td> <td align="left" ><textarea rows="3" cols="10" name="txthindishorttext" id="txthindishorttext" onFocus="changeLanguage('txthindishorttext', 'devanagari')" <?php echo $classshorthname; ?> onKeyPress="return imposeMaxLength(this, 450);"><?php if($_SESSION['txthindishorttext']!=""){ echo $_SESSION['txthindishorttext']; }else { echo $fetchnewstexthindi; } ?></textarea></td> <?php if($lid!='1' && $lid!="2" ) { ?> <td align="right"><?php echo $sign." ".$shortreportother;?> : </td> <td align="left"><textarea rows="3" cols="10" name="othertxtshorttext" id="othertxtshorttext" <?php echo $classshortoname; ?>><?php if($_SESSION['othertxtshorttext']!=""){ echo $_SESSION['othertxtshorttext'];}else{ echo $fetchnewstextother; } ?></textarea> </td><?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr><td align="right" width="45%" colspan="3"></td><td align="left" colspan="6" class="redMsg">Preferable image width 400px height 165px.</td></tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_frnimage; ?> : </td> <td > <input type="file" name="txtimage" id="txtimage" value=""/> </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><!--<img src="images/eventphoto/thumb/<?php echo $eventimg; ?>" width="80" alt="" title="" />--> <?php if($_GET['evid']>0) { if($eventimgnews!="") { ?><img src="<?php echo $pathvar.$typeimage; ?>" width="80" alt="" title="" /> <?php }else{ if($eventimg!="") { if($eventimg=='logo.png'){ ?> <img src="images/logo.png" width="80" alt="" title="" /><input type="hidden" name="hidimg" value="<?php echo $eventimg; ?>" /> <?php }else{ ?> <img src="<?php echo $pathvar.$eventimg; ?>" width="80" alt="" title="" /><input type="hidden" name="hidimg" value="<?php echo $eventimg; ?>" /> <?php } } else { ?> <input type="hidden" name="hidimg" /> <?php } } } else { if($typeimage=='logo.png') { ?> <img src="images/logo.png" width="80" alt="" title="" /><input type="hidden" name="hidimg" value="<?php echo $eventimgnews; ?>" /> <?php }else{ ?> <img src="<?php echo $pathvar.$typeimage; ?>" width="80" alt="" title="" /><input type="hidden" name="hidimg" value="<?php echo $eventimgnews; ?>" /> <?php } } ?> </td> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_detailrep; ?> : </td> <td align="left" colspan="3"> <?php if($_SESSION["FckContent"]!="") { $longtxt1=$_SESSION["FckContent"]; } else { $longtxt1=$fck_content; } include_once("arya_ckeditor.php"); /*include_once("FCK/fckeditor.php"); $oFCKeditor = new FCKeditor('FckContent'); $oFCKeditor->BasePath = "FCK/" ; if($_SESSION["FckContent"]!="") { $oFCKeditor->Value= $_SESSION["FckContent"]; } else { $oFCKeditor->Value= $fck_content; } $oFCKeditor->Width = 650; $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 "Photo Album"; ?> : </td> <?php $qrySelevemtprg="SELECT * FROM arya_newsphoto WHERE news_id='".$editId."' ORDER BY newsphoto_sequence asc "; $qSelportal=mysql_query($qrySelevemtprg); $numrows=mysql_num_rows($qSelportal); ?> <td align="left" colspan="3"><b> <?php echo $numrows; ?> <?php echo "Photos"; ?></b> <?php if($numrows > 0) { ?> <a href="arya_viewnewsphotos.php?newsid=<?php echo $editId; ?>&name=<?php echo '0'; ?>" class="iframe6" style="text-decoration:none;"><input type="button" name="submit_news" id="submit_news" value="<?php echo $lbl_AddPhotos; ?>" class="submit_form skipThese"></a> <?php }else { ?> <a href="arya_newsphotoupload.php?newsid=<?php echo $editId; ?>&name=<?php echo '0'; ?>" class="iframe6" style="text-decoration:none;"><input type="button" name="submit_news" id="submit_news" value="<?php echo $lbl_AddPhotos; ?>" class="submit_form skipThese"></a> <?php } ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="6"> <div id="Individual"> <table align="center" width="100%" border="0"> <!-- <tr> <td align="right" width="45%" colspan="3"><?php// echo "Photo Album URL"; ?> : </td> <td align="left" colspan="3"><input type="text" name="photoalbumurl" id="photoalbumurl" <?php //echo $classphotourl; ?> value="<?php //if($_SESSION['photoalbumurl']!=""){ echo $_SESSION['photoalbumurl']; }else{ echo $fetchalbumurl; } ?>" maxlength="300"/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="44%" colspan="3"><?php// echo "Video Album URL"; ?> : </td> <td align="left" colspan="3"><input type="text" name="videoalbumurl" id="videoalbumurl" <?php //echo $classvideourl; ?> value="<?php// if($_SESSION['videoalbumurl']!=""){ echo $_SESSION['videoalbumurl']; }else { echo $fetchvideourl; } ?>" maxlength="300"/> </td> </tr> <tr><td height="5" colspan="6"></td></tr>--> <tr> <td align="right" width="45%" colspan="3"><?php echo "Online Link"; ?> : </td> <td align="left" colspan="3"><input type="text" name="website" id="website" <?php echo $classwebsite; ?> value="<?php if($_SESSION['website']!=""){ echo $_SESSION['website'];}else{ echo $fetchnewswebsite; } ?>" maxlength="300"/></td> </tr> <tr><td colspan="6" height="5"></td></tr> <tr> </tr></table></div></td></tr> <div id="Company"> </div> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_newsdate; ?> : </td> <td align="left" colspan="3"> <?php if($enddate>0) { list($e_year,$e_month,$e_day) = split('-',$enddate); } else if($enddate=="" && $fetchnewevdate =="") { list($e_year,$e_month,$e_day) = split('-',date('Y-m-d')); } else { list($e_year,$e_month,$e_day) = split('-',$fetchnewevdate); } //$fetchdate1 = explode('-',date('Y-m-d', $enddate)); //$e_day=$fetchdate1[2]; //$e_month=$fetchdate1[1]; //$e_year=$fetchdate1[0]; if($_SESSION['videoday']!="" || $_SESSION['videomonth']!="" || $_SESSION['videoyear']!="") { echo '<select id="videoday" name="videoday" '.$classvideoday.'>'.GetDay(date($_SESSION['videoday'])).'</select>'; echo '<select id="videomonth" name="videomonth" '.$classvideomonth.'>'.GetMonth(date($_SESSION['videomonth'])).'</select>'; echo '<select id="videoyear" name="videoyear" '.$classvideoyear.'>'.GetYear(date($_SESSION['videoyear'])).'</select>'; } else { echo '<select id="videoday" name="videoday">'.GetDay($e_day).'</select>'; echo '<select id="videomonth" name="videomonth">'.GetMonth($e_month).'</select>'; echo '<select id="videoyear" name="videoyear">'.GetnYear($e_year).'</select>'; } ?> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." ".$lbl_newsplace;?> : </td> <td align="left" colspan="3"> <div id="placename"> <input type="text" name="eventpalce" id="eventpalce" <?php echo $classplace; ?> value="<?php if($_SESSION['eventpalce']!=""){ echo $_SESSION['eventpalce'];}else{ echo $fetchevplace; } ?>"/> </div> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $sign." "."Country";?> : </td> <td align="left" colspan="3"> <div id="countryname"> <select name="cmbnvCoun" id="cmbnvCoun" <?php echo $classcnt; ?> onchange="findselectstate(this.value),findselstateinst(this.value);"> <option value="0"><?php echo $lbl_selectcountry;?></option> <?php if($_SESSION['cmbnvCoun']>0){ echo Getcountry($_SESSION['cmbnvCoun']); }else{ echo Getcountry($fetchecntnewid); } ?> </select> </div> </td> </tr> <tr><td colspan="6" height="5"></td></tr> <tr> <td colspan="6"> <div id="Company_box"> <table align="center" width="100%" border="0"> <tr> <td align="right" width="44" colspan="3"><?php echo $lbl_selectstate;?> : </td> <td align="left" colspan="3" ><div id="FetchAjaxDatastate"> <select name="cmbstate" id="cmbstate" class="selbox" > <option value="0"><?php echo $lbl_selectstate;?></option> <?php if($_SESSION['cmbstate']>0){ echo Getstate($_SESSION['cmbstate'],$_SESSION['cmbnvCoun']); }else{ echo Getstate($fetchstateid,$fetchecntnewid); } ?> </select> </div></td> </tr> <tr><td colspan="6" height="5"></td></tr> <tr> <td align="right" width="44%" colspan="3"><?php echo $lbl_realinst;?> : </td> <td align="left" colspan="3"> <!--<div id="FetchAjaxDataInstitute">--> <!--<select id="txtrelainst" name="txtrelainst" class="selbox" > <option value="0"><?php// echo $lbl_selinstitution;?></option> <?php //if($_SESSION['txtrelainst']>0){ echo getNewsInstitution($_SESSION['txtrelainst']); }else{ echo getNewsInstitution($fetchorgid,$fetchstateid,$fetchecntnewid); } ?> </select>--> <!--</div>--> <input type="text" name="txtrelainst" id="txtrelainst" class="txtbox" value="<?php echo $newinstname; ?>" /> <input type="hidden" id="newrowID" name="newrowID" value="" /> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="6"> <table align="center" border="0" width="100%"><tr> <td align="right" width="30%"><?php echo /*$sign." ".*/$lbl_linktitle1;?> : </td> <td><input type="text" name="txtlink1title" id="txtlink1title" <?php echo $classtitle1; ?> value="<?php if($_SESSION['txtlink1title']!=""){ echo $_SESSION['txtlink1title']; }else{ echo $fetchlink1title; } ?>" maxlength="200"/></td> <td align="right"><?php echo /*$sign." ".*/$lbl_url1;?> : </td> <td align="left" width="45%"><input type="text" name="txtlink1link" id="txtlink1link" <?php echo $classlink1; ?> value="<?php if($_SESSION['txtlink1link']!=""){ echo $_SESSION['txtlink1link']; }else{ echo $fetchlink1link; } ?>" maxlength="300"/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="30%"><?php echo $lbl_linktitle2;?> : </td> <td align="left"><input type="text" name="txtlink2title" id="txtlink2title" <?php echo $classtitle2; ?> value="<?php if($_SESSION['txtlink2title']!=""){ echo $_SESSION['txtlink2title'];}else{ echo $fetchlink2title; } ?>" maxlength="200"/></td> <td align="right"><?php echo $lbl_url2;?> : </td> <td align="left"><input type="text" name="txtlink2link" id="txtlink2link" <?php echo $classlink2; ?> value="<?php if($_SESSION['txtlink2link']!=""){ echo $_SESSION['txtlink2link'];}else{ echo $fetchlink2link; } ?>" maxlength="300"/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $lbl_linktitle3;?> : </td> <td align="left"><input type="text" name="txtlink3title" id="txtlink3title" <?php echo $classtitle3; ?> value="<?php if($_SESSION['txtlink3title']!=""){ echo $_SESSION['txtlink3title'];}else{ echo $fetchlink3title; } ?>" maxlength="200"/></td> <td align="right"><?php echo $lbl_url3;?> : </td> <td align="left"><input type="text" name="txtlink3link" id="txtlink3link" <?php echo $classlink3; ?> value="<?php if($_SESSION['txtlink3link']!=""){ echo $_SESSION['txtlink3link'];}else{ echo $fetchlink3link; } ?>" maxlength="300"/></td> </tr> </table> </td> </tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_expdate; ?> : </td> <td align="left" colspan="3"> <?php /* if($enddate>0) { $curdate = $enddate; } else if($enddate=="" && $enddatenews =="") { $curdate = date("Y-m-d"); } else { $curdate = $enddatenews; } */ //$date = strtotime(date("Y-m-d", strtotime($curdate)). " +60 day"); $fetchdate = explode('-',date('Y-m-d', strtotime($enddatenews))); $newday=$fetchdate[2]; $newmonth=$fetchdate[1]; $newyear=$fetchdate[0]; if($_SESSION['day1']=="" || $_SESSION['month1']=="" || $_SESSION['year1']=="") { echo '<select id="day1" name="day1">'.GetDay($newday).'</select>'; echo '<select id="month1" name="month1">'.GetMonth($newmonth).'</select>'; echo '<select id="year1" name="year1">'.GetnYear($newyear).'</select>'; } else { echo '<select id="day1" name="day1">'.GetDay($_SESSION['day1']).'</select>'; echo '<select id="month1" name="month1">'.GetMonth($_SESSION['month1']).'</select>'; echo '<select id="year1" name="year1">'.GetnYear($_SESSION['year1']).'</select>'; } ?></td> </tr> <tr><td height="5" colspan="6"></td></tr> <!--<tr> <td align="right" width="45%" colspan="3"><?php// echo $lbl_sequence ; ?> : </td> <td align="left"><input type="text" name="txtsequence" id="txtsequence" size="2" maxlength="2" value="<?php// echo $nvsquence; ?>" onkeypress="return checkInt(event)"/> </td> <r> --> </table></div></td></tr> <tr> <tr><td height="5" colspan="6"></td></tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr> <td align="right" width="45%" colspan="3"><?php echo "Show on News Home";?> : </td> <td align="left" colspan="3"><input type="radio" name="shownewshome" id="shownewshome" value="Yes" <?php if($_SESSION['yesnewshome']!=""){ echo $_SESSION['yesnewshome'];}else{ echo $shownewsyes;} ?> />Yes <input type="radio" name="shownewshome" id="shownewshome" value="No" <?php if($_SESSION['nonewshome']!=""){ echo $_SESSION['nonewshome'];}else{ echo $shownewsno;} ?> />No </td> </tr> <tr><td colspan="6" height="5"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_showonhome;?> : </td> <td align="left" colspan="3"><input type="radio" name="chkshowhome" id="chkshowhome" value="Yes" <?php if($_SESSION['yesportalhome']!=""){ echo $_SESSION['yesportalhome'];}else{ echo $portalyes;} ?> />Yes <input type="radio" name="chkshowhome" id="chkshowhome" value="No" <?php if($_SESSION['noportalhome']!=""){ echo $_SESSION['noportalhome'];}else{ echo $portalno; }?> />No </td> </tr> <?php } ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="3"></td> <td colspan="3" align="left"> <input type="submit" name="btn_news" id="btn_news" value="<?php echo $btn_update; ?>" class="button" /> <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> <script language="javascript" type="text/javascript"> pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("txthindititle", document.getElementById('txthindititle'),'english'); pph.convertToIndicIME("txthindishorttext", document.getElementById('txthindishorttext'),'english'); pph.convertToIndicIME("txtlink1title",document.getElementById('txtlink1title'),'Devanagari'); pph.convertToIndicIME("txtlink2title",document.getElementById('txtlink2title'),'Devanagari'); pph.convertToIndicIME("txtlink3title",document.getElementById('txtlink3title'),'Devanagari'); <?php if($lngname=='Hindi') { ?> pph.convertToIndicIME("othertxttitle",document.getElementById('othertxttitle'),'Devanagari'); pph.convertToIndicIME("othertxtshorttext", document.getElementById('othertxtshorttext'),'Devanagari'); pph.convertToIndicIME("txtlink1title",document.getElementById('txtlink1title'),'Devanagari'); pph.convertToIndicIME("txtlink2title",document.getElementById('txtlink2title'),'Devanagari'); pph.convertToIndicIME("txtlink3title",document.getElementById('txtlink3title'),'Devanagari'); <?php } else { ?> pph.convertToIndicIME("othertxttitle", document.getElementById('othertxttitle'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("othertxtshorttext", document.getElementById('othertxtshorttext'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("txtlink1title", document.getElementById('txtlink1title'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("txtlink2title", document.getElementById('txtlink2title'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("txtlink3title", document.getElementById('txtlink3title'),'<?php echo $lngname; ?>'); <?php } ?> </script> </table> </td> </tr> </table> </form> <script type="text/javascript"> $(document).ready(function(){ $("input[name$='type']").click(function(){ var value = $(this).val(); if(value=='Yes') { $("#Individual_box").show(); $("#Company_box").hide(); $("#Individual").show(); $("#Company").hide(); $("#eventlan").show(); $("#toplan").hide(); } else if(value=='No') { $("#Company_box").show(); $("#Individual_box").hide(); $("#Company").show(); $("#Individual").hide(); $("#toplan").show(); $("#eventlan").hide(); } }); <?php if($_GET['lngid']!="") { ?> $("#Company_box").show(); $("#Individual_box").hide(); $("#Company").show(); $("#Individual").hide(); $("#toplan").show(); $("#eventlan").hide(); <?php } else if($_GET['evid']!=""){ ?> $("#Individual_box").show(); $("#Company_box").hide(); $("#Individual").show(); $("#Company").hide(); $("#eventlan").show(); $("#toplan").hide(); <?php } else if($fetchnewstype=="Yes" || $_SESSION['newstype']=='Yes'){?> $("#Individual_box").show(); $("#Company_box").hide(); $("#Individual").show(); $("#Company").hide(); $("#eventlan").show(); $("#toplan").hide(); <?php }else if($_SESSION['newstype']=='No') { ?> $("#Individual_box").hide(); $("#Company_box").show(); $("#Individual").hide(); $("#Company").show(); $("#eventlan").hide(); $("#toplan").show(); <?php } else { ?> $("#Individual_box").hide(); $("#Company_box").show(); $("#Individual").hide(); $("#Company").show(); $("#eventlan").hide(); $("#toplan").show(); <?php }?> }); </script> <!--<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>--> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close