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.158
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_editmagazines_10-017-2020-AG.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 $admusrid=$_SESSION["adminuserid"]; $msgid=$_GET["lid"]; $pagesecid=$_GET['scid']; if($_GET['pending']=='1') { $_SESSION['mgznpend']=$_GET['pending']; } $dbusercatid=getFieldValue('admcat_id','arya_adminsectionrights','admuser_id="'.$admusrid.'"'); $rightsid=mysql_query('SELECT admsecright_pageid FROM arya_adminsectionrights WHERE admcat_id IN('.$dbusercatid.') AND admuser_id="'.$admusrid.'"'); while($rightfetch=mysql_fetch_array($rightsid)) { $admcatrightsid[]=$rightfetch['admsecright_pageid']; } foreach($admcatrightsid as $key) { $qry="select * from arya_adminpage where page_sectionid='".$key."'"; $q=mysql_query($qry); while($fetch=mysql_fetch_array($q)) { $pagename=$fetch['page_filename']; //$path = $_SERVER['REQUEST_URI']; //$headername = basename($path); if($pagename== "arya_addmagazines.php" ) { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); } } } $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); $mid=$_SESSION['mgid']; $cmbnwstypid=$_SESSION['nwsid']; if($mid > 0){$aval='&mgnid='.$mid;}else{$aval="";} if($cmbnwstypid > 0){$cmbnwstypval='pendid='.$cmbnwstypid;}else{$cmbnwstypval="";} if($mid > 0){$msgval='&msg=upd';}else{$msgval='msg=upd';} $qryLMagazine="SELECT * FROM arya_latestmagazines WHERE lmgzn_id='".$msgid."'"; $qLMagazine=mysql_query($qryLMagazine); $qFetchLMagazine=mysql_fetch_array($qLMagazine); $id=$qFetchLMagazine["lmgzn_id"]; $mgznid=$qFetchLMagazine["mgzn_id"]; $magazinetitle=stripslashes($qFetchLMagazine["lmgzn_name"]); $magazinehindititle=stripslashes($qFetchLMagazine["lmgzn_namehindi"]); $magazineothertitle=stripslashes($qFetchLMagazine["lmgzn_nameother"]); $magazinetitlelngid=stripslashes($qFetchLMagazine["lmgzn_namelngid"]); $langname=getFieldValue("lang_name","arya_language","lang_id='".$magazinetitlelngid."'"); $magazineisuperiod=stripslashes($qFetchLMagazine["lmgzn_issueperiod"]); $magazineisuperiodhindi=stripslashes($qFetchLMagazine["lmgzn_issueperiodhindi"]); $magazineisuperiodother=stripslashes($qFetchLMagazine["lmgzn_issueperiodother"]); $mgzissueperiodlngid=stripslashes($qFetchLMagazine["lmgzn_issueperiodlngid"]); $isuperiodlangname=getFieldValue("lang_name","arya_language","lang_id='".$mgzissueperiodlngid."'"); $Nvfetchstdate=$qFetchLMagazine['lmgzn_issue_pub_date']; $fetchstdate = date("Y-m-d",strtotime($Nvfetchstdate)); $_SESSION['fetchstdate']=$fetchstdate; list($c_year,$c_month,$c_day) = split('-',$fetchstdate); $fetchtime=$qFetchLMagazine['lmgzn_issue_pub_time']; $issuesdate = $qFetchLMagazine['lmgzn_issueperiod_sdate']; list($s_year,$s_month,$s_day) = split('-',$issuesdate); $issueedate = $qFetchLMagazine['lmgzn_issueperiod_edate']; list($e_year,$e_month,$e_day) = split('-',$issueedate); $magazineimg=stripslashes($qFetchLMagazine["lmgzn_image"]); $mgzimgname=str_replace("./","",$magazineimg); $magazinefilelink=$qFetchLMagazine['lmgzn_fileorlink']; $lmgzn_approve=$qFetchLMagazine['lmgzn_approve']; $magazinefile=stripslashes($qFetchLMagazine["lmgzn_files"]); $newpath=str_replace("./","",$magazinefile); if($conditionvar=='2') { $size=filesize($newpath); } if($conditionvar=='1') { $srvconnmgz_id = ftp_connect($srvhost) or die("<span style='color:#FF0000'><h2>Couldn't connect to $srvhost</h2></span>"); $login_resultmgz=ftp_login($srvconnmgz_id, $srvusermgz, $srvmgzpass) or die("<span style='color:#FF0000'><h2>You do not have access to this ftp server!</h2></span>"); $size = ftp_size($srvconnmgz_id, $newpath); } $filemb=round($size/1048576,2); $filesize=$filemb." MB"; $year=date('Y'); $month=date('m'); if($conditionvar=='2') { $newmgzfile=str_replace("uploads/magazine/".$year."/".$month."/","",$magazinefile); } if($conditionvar=='1') { $newmgzfile=str_replace("./".$year."/".$month."/","",$magazinefile); } $langid=$qFetchLMagazine["id"]; /*$magazinesequence = $qFetchLMagazine['lmgzn_sequence'];*/ $magazinevisible=$qFetchLMagazine["lmgzn_visible"]; $newfetlink=$qFetchLMagazine["lmgzn_link"]; $advresult = substr($newfetlink, 0, 7); $advresults = substr($newfetlink, 0, 8); if($advresult=="http://") { $link=str_replace("http://","",$newfetlink); } else if($advresults=="https://") { $link=str_replace("https://","",$newfetlink); } else { $link=$newfetlink; } $magazinedownload=$qFetchLMagazine["lmgzn_downloadornot"]; $fetchedition=$qFetchLMagazine['lmgzn_edition']; if($fetchedition == 'Yes') { $Approveyes='checked="checked"'; } else { $Approveno='checked="checked"'; } if($magazinefilelink == 'file') { $fileselected='checked="checked"'; } else if($magazinefilelink == 'link') { $linkselected='checked="checked"'; } if($magazinevisible == 'Yes') { $visibleyes='checked="checked"'; } else { $visibleno='checked="checked"'; } if($magazinedownload == 'Yes') { $downloadyes='checked="checked"'; } else { $downloadno='checked="checked"'; } $curnttime=date("H:i:s"); if(isset($_POST["btnupdate"]))//update start { $magazinid=explode("-",$_POST["cmbmagazine"]); $magazinetitle=$magazinid[0]; $_SESSION['cmbmagazine']=$magazinetitle; $issueperiodeng=getFieldValue('mgzn_title','arya_magazines','mgzn_id="'.$magazinetitle.'"'); $txttitle=addslashes($_POST["txttitle"]); $_SESSION['txttitle']=$txttitle; $txthindititle=addslashes($_POST["txthindititle"]); $_SESSION['txthindititle']=$txthindititle; $txtothertitle=addslashes($_POST["othertxttitle"]); $_SESSION['othertxttitle']=$txtothertitle; $edition=$_POST['txtapprove']; unset($_SESSION['special']); unset($_SESSION['normal']); if($_POST['txtapprove']=='Yes') { $_SESSION['special']='checked="checked"'; } if($_POST['txtapprove']=='No') { $_SESSION['normal']='checked="checked"'; } $issueperiod=explode(",",$_POST["cmbisuperiod"]); $isuperiodlngnm=$issueperiod[0]; $issueperiodid=$issueperiod[1]; if($fetchstdate!=$postdate) { $posttime=$curnttime; } else { $posttime=$fetchtime; } $postdate=$_POST['year']."-".$_POST['month']."-".$_POST['day']." ".$posttime; $_SESSION['year']=$_POST['year']; $_SESSION['month']=$_POST['month']; $_SESSION['day']=$_POST['day']; if($_POST["endday"]=="") { $issuepriodsdate=$_POST["endyear"]."-".$_POST["endmonth"]."-"."00"; } if($_POST["endmonth"]=="") { $issuepriodsdate=$_POST["endyear"]."-"."00"."-"."00"; } if($_POST["endyear"]!="" && $_POST["endmonth"]!="" && $_POST["endday"]!="") { $issuepriodsdate=$_POST["endyear"]."-".$_POST["endmonth"]."-".$_POST["endday"]; } if($_POST["endfreqday"]=="") { $issueperiodedate=$_POST["endfreqyear"]."-".$_POST["endfreqmonth"]."-"."00"; } if($_POST["endfreqmonth"]=="") { $issueperiodedate=$_POST["endfreqyear"]."-"."00"."-"."00"; } if($_POST["endfreqyear"]!="" && $_POST["endfreqmonth"]!="" && $_POST["endfreqday"]!="") { $issueperiodedate=$_POST["endfreqyear"]."-".$_POST["endfreqmonth"]."-".$_POST["endfreqday"]; } //$issueperiodedate=$_POST["endfreqyear"]."-".$_POST["endfreqmonth"]."-".$_POST["endfreqday"]; $language=explode(",",$_POST["cmblng"]); $lngname=$language[0]; $lngid=$language[1]; $language=$_POST["drpLanguage"]; $langid=getFieldValue("lang_id","arya_language","language='".$language."'"); $txtshowhome=$_POST["txtshowhome"]; $txtshowportal=$_POST["txtshowportal"]; /*$sequence=$_POST["txtsequence"]; */ $chkopenwind=$_POST["chkopenwind"]; if($rightapprove == 'Self' || $rightapprove == 'All') { $txtvisible=$_POST["txtvisible"]; $postqryselfall="lmgzn_visible='".$txtvisible."'"; } else { $postqryselfall="lmgzn_visible='".$magazinevisible."'"; } $txtlink=$_POST["txtlink"]; $_SESSION['txtlink']=$txtlink; $txtdownload=$_POST["txtdownload"]; $txtlinkfile=$_POST['txtlinkfile']; unset($_SESSION['txtlinkfile']); if($_POST['txtlinkfile']=='Link') { $_SESSION['txtlinkfile']='checked="checked"'; } $txtfile=$_POST['txtfile']; unset($_SESSION['txtfile']); if($_POST['txtfile']=='File') { $_SESSION['txtfile']='checked="checked"'; } if($txtfile) { $filelink='file'; } if($txtlinkfile) { $filelink='link'; } unset($_SESSION['yesdownload']); unset($_SESSION['nodownload']); if($_POST["txtdownload"]=='Yes') { $_SESSION['yesdownload']='checked="checked"'; } if($_POST["txtdownload"]=='No') { $_SESSION['nodownload']='checked="checked"'; } unset($_SESSION['yesvisible']); unset($_SESSION['novisible']); if($_POST["txtvisible"]=='Yes') { $_SESSION['yesvisible']='checked="checked"'; } if($_POST["txtvisible"]=='No') { $_SESSION['novisible']='checked="checked"'; } if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { /*if($magazinetitle<=0) { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=empmgznid'); } else if($_POST['day']<=0) { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=emppday'); } else if($_POST['month']<=0) { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=emppmonth'); } else if($_POST['year']<=0) { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=emppyear'); }*/ } if($txtlink!="") { $advresult = substr($txtlink, 0, 7); $advresults = substr($txtlink, 0, 8); if($advresult=="http://") { $lnkcheck=$txtlink; } else if($advresults=="https://") { $lnkcheck=$txtlink; } else { $lnkcheck="http://".$txtlink; } } if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { /*if(find_specialchar($txttitle)=="Yes" || find_scripttags($txttitle)=="Yes") { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=errengname'); } else if(find_scripttags($txthindititle)=="Yes") { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=errhndname'); } else if(find_scripttags($txtothertitle)=="Yes") { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=errotrname'); } else if(CheckWebUrl($lnkcheck)=="Yes" || find_specialchar($txtlink)=="Yes" || find_scripttags($txtlink)=="Yes") { if($lnkcheck!="" && $txtlink!="") { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=errlink'); } }*/ } /*$dupmagazine=getFieldValue("lmgzn_name","arya_latestmagazines","lmgzn_name='".$txttitle."' AND lmgzn_id!='".$msgid."'"); if($dupmagazine!="") { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid'].'&msg=dupmsg'); }*/ $qUpdLMagazine="UPDATE arya_latestmagazines SET mgzn_id='".$magazinetitle."',lmgzn_name ='".$txttitle."',lmgzn_namehindi ='".$txthindititle."',lmgzn_nameother ='".$txtothertitle."',lmgzn_namelngid ='".$lngid."',lmgzn_issueperiodlngid='".$issueperiodid."',lmgzn_approve='".$lmgzn_approve."',lmgzn_issue_pub_date='".$postdate."',lmgzn_issue_pub_time='".$posttime."',".$postqryselfall.", lmgzn_downloadornot='".$txtdownload."',"; if($txtlink!="") { $qUpdLMagazine .="lmgzn_link='".$lnkcheck."',"; } $qUpdLMagazine .="lmgzn_fileorlink='".$filelink."',lmgzn_issueperiod_sdate='".$issuepriodsdate."',lmgzn_issueperiod_edate='".$issueperiodedate."',lmgzn_edition='".$edition."' WHERE lmgzn_id='".$msgid."'"; $qUpdLMagazine=mysql_query($qUpdLMagazine); if($qUpdLMagazine) { getadminactivity('title_editnewmagazines',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$issueperiodeng,$curntdate,$curnttime); if($_FILES['txtdocfile']['name'] != "") { $mgzunlinkfile=getFieldValue('lmgzn_files','arya_latestmagazines','lmgzn_id='.$msgid); if($conditionvar=='2') { unlink($mgzunlinkfile); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvmgzconn_id ,$mgzunlinkfile); } $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtdocfile']['name']); $expdoc=strtoupper(substr($_FILES['txtdocfile']['name'],strlen($_FILES['txtdocfile']['name'])-4)); if($expdoc==".pdf" || $expdoc==".PDF") { if($conditionvar=='2') { include('arya_makedirectory.php'); $mgzfilePath=$magazinepathmonth.$FileName; copy($_FILES['txtdocfile']['tmp_name'],$mgzfilePath); $size=$_FILES['txtdocfile']['size']; $updatefile = "update arya_latestmagazines set lmgzn_files='".$mgzfilePath."' where lmgzn_id=".$msgid; $quvres = mysql_query($updatefile); } if($conditionvar=='1') { ob_start(); $myFile = $_FILES['txtdocfile']; $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $srvupload = ftp_put($srvmgzconn_id, $destination_file, $srvfile, FTP_BINARY); ftp_close($srvmgzconn_id); $updatefile = "update arya_latestmagazines set lmgzn_files='".$destination_file."' where lmgzn_id=".$msgid; $quvres=mysql_query($updatefile); } } else { $msg.="Upload only PDF.<br/>"; } } else { $updatefile = "update arya_latestmagazines set lmgzn_files='".$magazinefile."' where lmgzn_id =".$msgid.""; $quvres = mysql_query($updatefile); } // Magazine Main Image Code Start if($_FILES['txtimage']['name'] != "") { $smallimage=getFieldValue('lmgzn_image','arya_latestmagazines','lmgzn_id='.$msgid); $bigimage=str_replace('SM','BG',$smallimage); $mainimage=str_replace('SM_','',$smallimage); $mainphotimage=str_replace('media','photo',$mainimage); if($conditionvar=='2') { unlink($smallimage); unlink($bigimage); unlink($mainphotimage); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$smallimage); ftp_delete($srvconnect_id ,$bigimage); ftp_delete($srvconn_id ,$mainimage); } $ImageSource = $_FILES['txtimage']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtimage']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['txtimage']['name']); $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 = "100"; $Thumheight = "122"; $bigThumwidth = "112"; $bigThumheight = "148"; $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_latestmagazines SET lmgzn_image='".$ThumbtoPath."' WHERE lmgzn_id='".$msgid."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') /*else { $smallimage=getFieldValue('lmgzn_image','arya_latestmagazines','lmgzn_id='.$msgid); $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 = "100"; $Thumheight = "122"; $bigThumwidth = "112"; $bigThumheight = "148"; 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') { ob_start(); $myFile = $_FILES['txtimage']; $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $bigdestination_file =$destDirsrv.'/'.$BigFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $srvfile, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $srvfile, FTP_BINARY); $srvbigthumbupload = ftp_put($srvconnect_id, $bigdestination_file, $srvfile, FTP_BINARY); $smupload = ftp_put($srvconnect_id, $smalldestination_file, "http://".$_SERVER['HTTP_HOST']."/aryaadmin/media/".$year."/".$month."/".$SmallFileName, FTP_BINARY); $bigupload = ftp_put($srvconnect_id,$bigdestination_file, "http://".$_SERVER['HTTP_HOST']."/aryaadmin/media/".$year."/".$month."/".$BigFileName,FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $qryUpdArticleImage="UPDATE arya_latestmagazines SET lmgzn_image='".$smalldestination_file."' WHERE lmgzn_id='".$msgid."'"; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } } /*if($_FILES["txtdocfile"]["name"]!="") { $filetmpname=$_FILES["txtdocfile"]["tmp_name"]; $filename=$msgid."_".str_replace(" ","_",$_FILES["txtdocfile"]["name"]); $update_file_name="update arya_latestmagazines set lmgzn_files='".$filename."' where lmgzn_id =".$msgid.""; $res=mysql_query($update_file_name); } else { $updatefile = "update arya_latestmagazines set lmgzn_files='".$magazinefile."' where lmgzn_id =".$msgid.""; $quvres = mysql_query($updatefile); }*/ /*if($txtlink!="") { $updatefile = "update arya_latestmagazines set lmgzn_files='' where lmgzn_id =".$msgid.""; $quvres = mysql_query($updatefile); }*/ if($_SESSION['mgznpend']=='1') { // echo "<script language=JavaScript>location.href='arya_mgznissuependlist.php?".$msgval."'; RedirecPage('arya_mgznissuependlist.php?'.$msgval); } else { //echo "<script language=JavaScript>location.href='arya_mngmagazines.php?".$aval.$msgval."'; RedirecPage('arya_mngmagazines.php?'.$aval.$msgval); } } else { $msg=$msgNotUpdate; } }//update end $classmgzntitle='class="selbox"'; $classepday='class="brthdate"'; $classepmonth='class="brthdate"'; $classepyear='class="brthdate"'; $classengname='class="txtbox"'; $classhndname='class="txtbox"'; $classotrname='class="txtbox"'; $classlink='class="txtbox"'; if($_GET['msg']=="empmgznid") { $emtttle="Please"." ".$lbl_selectmagazinetitle; $msg=$emtttle; $mgznid=""; $classmgzntitle='class="errtxtengbord"'; } else if($_GET['msg']=="emppday") { $emtttle="Please"." Select Issue Publish Day"; $msg=$emtttle; $c_day=""; $classepday='class="errbrthdate"'; } else if($_GET['msg']=="emppmonth") { $emtttle="Please"." Select Issue Publish Month"; $msg=$emtttle; $c_month=""; $classepmonth='class="errbrthdate"'; } else if($_GET['msg']=="emppyear") { $emtttle="Please"." Select Issue Publish Year"; $msg=$emtttle; $c_year=""; $classepyear='class="errbrthdate"'; } else if($_GET['msg']=="errengname") { $emtttle=$lbl_errvalidmsg." ".$lbl_magazinespecialtitle; $msg=$emtttle; $magazinetitle=""; $classengname='class="errtxtengbord"'; } else if($_GET['msg']=="errhndname") { $emtttle=$lbl_errvalidmsg." ".$lbl_hindiname; $msg=$emtttle; $magazinehindititle=""; $classhndname='class="errtxtengbord"'; } else if($_GET['msg']=="errotrname") { $emtttle=$lbl_errvalidmsg." ".$lbl_othername; $msg=$emtttle; $magazineothertitle=""; $classotrname='class="errtxtengbord"'; } else if($_GET['msg']=="errlink") { $emtttle=$lbl_errvalidmsg." ".$lbl_link; $msg=$emtttle; $link=""; $classlink='class="errtxtengbord"'; } /*else if($_GET['msg']=='dupmsg') { $msg=$msgDuplicatRecord; }*/ else { unset($_SESSION['cmbmagazine']); unset($_SESSION['year']); unset($_SESSION['month']); unset($_SESSION['day']); unset($_SESSION['special']); unset($_SESSION['normal']); unset($_SESSION['txttitle']); unset($_SESSION['txthindititle']); unset($_SESSION['othertxttitle']); unset($_SESSION['txtfile']); unset($_SESSION['txtlinkfile']); unset($_SESSION['txtlink']); unset($_SESSION['yesdownload']); unset($_SESSION['nodownload']); unset($_SESSION['yesvisible']); unset($_SESSION['novisible']); $classmgzntitle='class="selbox"'; $classepday='class="brthdate"'; $classepmonth='class="brthdate"'; $classepyear='class="brthdate"'; $classengname='class="txtbox"'; $classhndname='class="txtbox"'; $classotrname='class="txtbox"'; $classlink='class="txtbox"'; } ?> <form action="arya_editmagazines.php?lid=<?php echo $msgid;?>&scid=<?php echo $pagesecid;?>" method="post" name="frmissue" id="frmissue" > <input type="hidden" name="instid" id="instid" value="" /> </form> <?php if($_POST['instid']!="") { $mgznid=explode("-",$_POST['instid']); $magazinid=$mgznid[0]; $langid=$mgznid[1]; } else { $magazinid=$mgznid; $langid=getFieldValue('lang_id','arya_magazines','mgzn_id="'.$mgznid.'"'); } $_SESSION['nlnid']=$langid; if($_SESSION['nlnid'] > 0) { $lngid=getFieldValue('lang_id','arya_language','lang_id="'.$_SESSION['nlnid'].'"'); } else { $lngid=getFieldValue('lang_id','arya_magazines','mgzn_id="'.$mgznid.'"'); } $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngid.'"'); if($_GET['mgzn'] > 0) { $mgzid=getFieldValue('mgzn_id','arya_magazines','mgzn_id="'.$_GET['mgzn'].'"'); } else { $mgzid=getFieldValue('mgzn_id','arya_magazines','mgzn_id="'.$mgznid.'"'); } if($_GET['msg']=="err") // php validation error message { $msg="Please Enter Valid Input"; } if($_POST['instid']!="") { //$mgzarray=getFieldValueArray('max(lmgzn_issue_pub_date),lmgzn_image','arya_latestmagazines','mgzn_id="'.$_POST['instid'].'"'); $uploaderdate=getFieldValue('max(lmgzn_uploaddate)','arya_latestmagazines','mgzn_id="'.$_POST['instid'].'"'); $mgzissuedate=getFieldValue('max(lmgzn_issue_pub_date)','arya_latestmagazines','mgzn_id="'.$_POST['instid'].'"'); $issueimage=getFieldValue('lmgzn_image','arya_latestmagazines','mgzn_id="'.$_POST['instid'].'" AND lmgzn_uploaddate="'.$uploaderdate.'"'); //$mgzissuedate=$mgzarray[0]; //$issueimage=$mgzarray[1]; $newimgmgz=str_replace("./","",$issueimage); if($conditionvar=='2') { $retcode=file_exists($pathvar.$newimgmgz); if($retcode==1) { $retcode=200; } } if($conditionvar=='1') { $ch = curl_init($pathvar.$newimgmgz); curl_setopt($ch, CURLOPT_NOBODY, true); curl_exec($ch); $retcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); // $retcode > 400 -> not found, $retcode = 200, found. curl_close($ch); } if($mgzissuedate!="") { $issuedate=date('d M Y',strtotime($mgzissuedate)); } } else { //$mgzarray=getFieldValueArray('max(lmgzn_issue_pub_date),lmgzn_image','arya_latestmagazines','mgzn_id="'.$mgznid.'"' ); $uploaderdate=getFieldValue('max(lmgzn_uploaddate)','arya_latestmagazines','mgzn_id="'.$mgznid.'"'); $mgzissuedate=getFieldValue('max(lmgzn_issue_pub_date)','arya_latestmagazines','mgzn_id="'.$mgznid.'"'); $issueimage=getFieldValue('lmgzn_image','arya_latestmagazines','mgzn_id="'.$mgznid.'" AND lmgzn_uploaddate="'.$uploaderdate.'"'); //$mgzissuedate=$mgzarray[0]; //$issueimage=$mgzarray[1]; $newimgmgz=str_replace("./","",$issueimage); if($conditionvar=='2') { $retcode=file_exists($pathvar.$newimgmgz); if($retcode==1) { $retcode=200; } } if($conditionvar=='1') { $ch = curl_init($pathvar.$newimgmgz); curl_setopt($ch, CURLOPT_NOBODY, true); curl_exec($ch); $retcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); // $retcode > 400 -> not found, $retcode = 200, found. curl_close($ch); } if($mgzissuedate!="") { $issuedate=date('d M Y',strtotime($mgzissuedate)); } } if($_POST['instid']!="") { $instarray=getFieldValueArray('lang_id,mgzn_frequency','arya_magazines','mgzn_id="'.$_POST['instid'].'"'); $instlangid=$instarray[0]; $mgzfreqcy=$instarray[1]; if($mgzfreqcy=="") { $mgzfreqcy='0'; } } else { $instarray=getFieldValueArray('lang_id,mgzn_frequency','arya_magazines','mgzn_id="'.$mgznid.'"'); $instlangid=$instarray[0]; $mgzfreqcy=$instarray[1]; if($mgzfreqcy=="") { $mgzfreqcy='0'; } } if($_SESSION['normal']!="" || $_SESSION['special']!="") { $Approveno=""; $Approveyes=""; } if($_SESSION['txtfile']!="" ) { $fileselected=""; $linkselected=""; } if($_SESSION['txtlinkfile']!="") { $fileselected=""; $linkselected=""; } if($_SESSION['yesdownload']!="" || $_SESSION['nodownload']!="") { $downloadyes=""; $downloadno=""; } if($_SESSION['yesvisible']!="" || $_SESSION['novisible']!="") { $visibleyes=""; $visibleno=""; } $btntype='type="reset"'; if($_GET['msg']=="empmgznid" || $_GET['msg']=="emppday" || $_GET['msg']=="emppmonth" || $_GET['msg']=="emppyear" || $_GET['msg']=="errengname" || $_GET['msg']=="errhndname" || $_GET['msg']=="errotrname" || $_GET['msg']=="errlink" || $_GET['msg']=='dupmsg') { $btntype='type="submit"'; if(isset($_POST['btn_reset'])) { RedirecPage('arya_editmagazines.php?lid='.$_GET['lid'].'&scid='.$_GET['scid']); } } if($_SESSION['txtfile']!='' || $_SESSION['txtlinkfile']!='') { $magazinefilelink=""; } ?> <script type="text/javascript" language="javascript"> $(document).ready(function(){ <?php unset($_SESSION['fday']); unset($_SESSION['fmonth']); unset($_SESSION['fyear']); ?> }); // function ChangeMgzTitleLanguage(magazinid,id) // { // var str=(magazinid); // var ne=str.split("-"); // mgznid= ne[0].replace(/^\s*/, "").replace(/\s*$/, ""); // nvlngid= ne[1].replace(/^\s*/, "").replace(/\s*$/, ""); // location.href ="arya_editmagazines.php?lid="+id+"&mgzn="+mgznid+"&lng="+nvlngid; // // var file = window.location.href ="arya_editmagazinetitle.php?svid="+id+"&sellng="+newLng; // } //image size validation start $(document).ready(function() { $("#txtimage").change(function () { var size = 51200; var iSize = ($("#txtimage")[0].files[0].size); if (iSize > size) { alert("Please Upload Only Less-Than 50 Kb Image."); this.value=''; document.frmlatestmagazines.txtimage.focus(); } }); }); //image size validation end </script> <form name="frmlatestmagazines" id="frmlatestmagazines" method="post" action="" enctype="multipart/form-data" onsubmit="return blankLMagazin();"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr><td align="center" height="85"><h2 class="bigheader"><?php echo $title_editnewmagazines; ?></h2></td></tr> <?php echo SuccessMessage($msg);?> <tr> <td> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="3" colspan="2"></td></tr> <tr> <td align="right" width="15%"><?php echo $sign." ".$lbl_selectmagazinetitle; ?> : </td> <td colspan="2"> <select name="cmbmagazine" id="cmbmagazine" <?php echo $classmgzntitle; ?> onchange="return ChangeInstDetail(this.value);"> <option value="0"><?php echo $lbl_selectmagazinetitle;?></option> <?php if($_SESSION['cmbmagazine']>0){ echo getMagazineTitle($_SESSION['cmbmagazine']); }else{ echo getMagazineTitle($magazinid); } ?> </select> </td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr><td align="right" width="25%"><?php echo $lbl_LastIssueUploaded; ?> : </td><td> <?php if($issueimage!="") { ?> <img src="<?php echo $pathvar.$newimgmgz;?>" align="top" height="122" width="100"> <?php } else { ?> <img src="images/imagesnot.jpeg" alt="" title="" height="122" width="100" /> <?php } ?> <?php if($issuedate!="") { echo $issuedate; } else { } ?> </td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr><td align="right" width="25%"><?php echo $lbl_magFrequency; ?> : </td><td> <select name="cmbfreqcy" id="cmbfreqcy" class="selbox" onchange="return ChangeSelectLanguage(this.value,'add');" disabled="true"> <option value="0"> <?php echo $lbl_magFrequency; ?></option> <?php echo getIFrequency($mgzfreqcy);?> </select></td></tr> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right" ><?php echo $sign." ".$lbl_publishdate; ?> : </td> <td colspan="2"><?php if($_SESSION['day']=="" || $_SESSION['month'] || $_SESSION['year']) { echo '<select id="day" name="day" onchange="return findfreqdate(this.value,0,0,'.$mgzfreqcy.');" '.$classepday.'>'.GetDay(date($c_day)).'</select>'; echo '<select id="month" name="month" onchange = "return findfreqdate(0,this.value,0,'.$mgzfreqcy.');" '.$classepmonth.' >'.GetMonth(date($c_month)).'</select>'; echo '<select id="year" name="year" onchange = "return findfreqdate(0,0,this.value,'.$mgzfreqcy.')" '.$classepyear.'>'.GetYear(date($c_year)).'</select>'; } else { echo '<select id="day" name="day" onchange="return findfreqdate(this.value,0,0,'.$mgzfreqcy.');" '.$classepday.'>'.GetDay(date($_SESSION['day'])).'</select>'; echo '<select id="month" name="month" onchange = "return findfreqdate(0,this.value,0,'.$mgzfreqcy.');" '.$classepmonth.'>'.GetMonth(date($_SESSION['month'])).'</select>'; echo '<select id="year" name="year" onchange = "return findfreqdate(0,0,this.value,'.$mgzfreqcy.')" '.$classepyear.'>'.GetYear(date($_SESSION['year'])).'</select>'; } ?></td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr><td align="right" width="25%"> <?php echo $sign." ".$lbl_magIssuePeriod; ?> : </td><td width="29%"> <?php if($_POST['instid']==""){ ?> <div id="fetchfreqdaytest"> <?php if($mgzfreqcy <= 3) { ?> <div id = "fetchday" style="float:left;"> <?php echo '<select id="endday" name="endday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(this.value,0,0,'.$mgzfreqcy.');">'.GetDay(date($s_day)).'</select>' ; ?> </div> <?php } if($mgzfreqcy <= 7) { ?> <div id = "fetchfreqmonth1" style="float:left;"> <?php echo '<select id="endmonth" name="endmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(0,this.value,0,'.$mgzfreqcy.');">'.GetMonth(date($s_month)).'</select>'; ?> </div> <?php } ?> <div id = "fetchfreqyear1" style="float:left;"> <?php echo '<select id="endyear" name="endyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(0,0,this.value,'.$mgzfreqcy.')">'.GetYear(date($s_year)).'</select>'; ?> <?php if($mgzfreqcy > 1) { ?> <b>To</b> <?php } ?> </div> <?php if($mgzfreqcy > 1) { ?> <?php if($mgzfreqcy <= 3) { if($mgzfreqcy=='2') { if(date($e_day)>=26) { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($e_day)).'</select>' ; ?> </div> <?php } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($e_day)).'</select>' ; ?> </div> <?php }//else } else if($mgzfreqcy=='3') { if(date($e_day)>=18) { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($e_day)).'</select>' ; ?> </div> <?php } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($e_day)).'</select>' ; ?> </div> <?php }//else } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($e_day)).'</select>' ; ?> </div> <?php } } if($mgzfreqcy <= 7) { if($mgzfreqcy=='5') { if(date($e_month)>=12) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } } else if($mgzfreqcy=='6') { if(date($e_month)>=11) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } } else if($mgzfreqcy=='7') { if(date($e_month)>=8) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } } else if(date($e_day)>=18 && $mgzfreqcy=='3' || date($e_day)>=26 && $mgzfreqcy=='2') { if(date($e_month)>=12) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($e_month)).'</select>'; ?> </div> <?php } } if(date($e_month) > 12 || date($e_month)>=11 || date($e_month)>=8) { ?> <div id = "fetchfreqyear" style="float:left;"> <?php echo '<select id="endfreqyear" name="endfreqyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetYear(date($e_year)).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqyear" style="float:left;"> <?php echo '<select id="endfreqyear" name="endfreqyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetYear(date($e_year)).'</select>'; ?> </div> <?php } ?> <div class="clr"></div> </div> <?php } ?> </div><?php } else { ?> <div id="fetchfreqdaytest"> <?php if($mgzfreqcy <= 3) { ?> <div id = "fetchday" style="float:left;"> <?php echo '<select id="endday" name="endday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(this.value,0,0,'.$mgzfreqcy.');">'.GetDay(date($c_day)).'</select>' ; ?> </div> <?php } if($mgzfreqcy <= 7) { ?> <div id = "fetchfreqmonth1" style="float:left;"> <?php echo '<select id="endmonth" name="endmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(0,this.value,0,'.$mgzfreqcy.');">'.GetMonth(date($c_month)).'</select>'; ?> </div> <?php } ?> <div id = "fetchfreqyear1" style="float:left;"> <?php echo '<select id="endyear" name="endyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" onchange = "return findfreqdate(0,0,this.value,'.$mgzfreqcy.')">'.GetYear(date($c_year)).'</select>'; ?> <?php if($mgzfreqcy > 1) { ?> <b>To</b> <?php } ?> </div> <?php if($mgzfreqcy > 1) { ?> <?php if($mgzfreqcy <= 3) { if($mgzfreqcy=='2') { if(date($c_day)>=26) { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($c_day)+6-31).'</select>' ; ?> </div> <?php } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($c_day)+6).'</select>' ; ?> </div> <?php }//else } else if($mgzfreqcy=='3') { if(date($c_day)>=18) { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($c_day)+14-31).'</select>' ; ?> </div> <?php } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($c_day)+14).'</select>' ; ?> </div> <?php }//else } else { ?> <div id = "fetchfreqday" style="float:left;"> <?php echo '<select id="endfreqday" name="endfreqday" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese" >'.GetDay(date($c_day)).'</select>' ; ?></div> <?php } } if($mgzfreqcy <= 7) { if($mgzfreqcy=='5') { if(date($c_month)>=12) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+1-12).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+1).'</select>'; ?> </div> <?php } } else if($mgzfreqcy=='6') { if(date($c_month)>=11) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+2-12).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+2).'</select>'; ?> </div> <?php } } else if($mgzfreqcy=='7') { if(date($c_month)>=8) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+5-12).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+5).'</select>'; ?> </div> <?php } } else if(date($c_day)>=18 && $mgzfreqcy=='3' || date($c_day)>=26 && $mgzfreqcy=='2') { if(date($c_month)>=12) { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+1-12).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)+1).'</select>'; ?> </div> <?php } } else { ?> <div id = "fetchfreqmonth" style="float:left;"> <?php echo '<select id="endfreqmonth" name="endfreqmonth" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetMonth(date($c_month)).'</select>'; ?> </div> <?php } } //if(date('m') > 12 || date('m')>=11 || date('m')>=8) if(date($c_day) >= 26 && date($c_month)=='12' && $mgzfreqcy=='2' || date($c_day) >= 18 && date($c_month)=='12' && $mgzfreqcy=='3' || date($c_month)>='12' && $mgzfreqcy=='5' || date($c_month)>='11' && $mgzfreqcy=='6' || date($c_month)>=8 && $mgzfreqcy=='7') { ?> <div id = "fetchfreqyear" style="float:left;"> <?php echo '<select id="endfreqyear" name="endfreqyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetYear(date($c_year)+1).'</select>'; ?> </div> <?php } else { ?> <div id = "fetchfreqyear" style="float:left;"> <?php echo '<select id="endfreqyear" name="endfreqyear" style="width:60px; margin:0 3px 0 0; padding-top:3px;" class="skipThese">'.GetYear(date($c_year)).'</select>'; ?> </div> <?php } ?> <div class="clr"></div> </div> <?php } ?> </div> <?php } ?></TD></tr> <div class="clr"></div> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right" ><?php echo $lbl_SpecialEdition; ?> : </td> <td colspan="2"> <input type="radio" name="txtapprove" id="txtapprove" value="No"<?php if($_SESSION['normal']!=""){ echo $_SESSION['normal']; }else{ echo $Approveno;} ?> onclick="return getnormal(this.value);" />Normal <input type="radio" name="txtapprove" id="txtapprove" value="Yes"<?php if($_SESSION['special']!=""){ echo $_SESSION['special'];}else{ echo $Approveyes; } ?> onclick="return getspecial(this.value);" />Special</td> </tr> <tr> <td colspan="2"> <?php if($_SESSION['special']!='') { $style='style="display:inline"'; } elseif($fetchedition=='Yes') { $style='style="display:inline"'; } else { $style='style="display:none"'; } ?> <table border="0" align="center" width="100%" cellspacing="4" id="newtab" <?php echo $style; ?>> <tr> <?php if($lngname!='English' && $lngname!="Hindi" ) { $nvwidth="width='19%'"; } else { $nvwidth="width='32%'"; } ?> <td align="right" <?php echo $nvwidth;?>><?php echo $lbl_magazinespecialtitle;?> : </td> <td align="left"><input type="text" name="txttitle" id="txttitle" <?php echo $classengname; ?> maxlength="200" value="<?php if($_SESSION['txttitle']!=""){ echo $_SESSION['txttitle'];}else{ echo $magazinetitle;} ?>"/></td> <td align="right" width="22%"><?php echo $lbl_hindiname;?> : </td> <td align="left"><input type="text" id="txthindititle" name="txthindititle" onfocus="changeLanguage('txthindititle', 'devanagari')" <?php echo $classhndname; ?> maxlength="300" value="<?php if($_SESSION['txthindititle']!=""){ echo $_SESSION['txthindititle'];}else{ echo $magazinehindititle; } ?>"/></td> <?php if($lngname!='English' && $lngname!="Hindi" ) { ?> <td align="right"><?php echo $lbl_othername;?> : </td> <td align="left"><input type="text" name="othertxttitle" id="othertxttitle" <?php echo $classotrname; ?> maxlength="300" value="<?php if($_SESSION['othertxttitle']!=""){ echo $_SESSION['othertxttitle'];}else{ echo $magazineothertitle;} ?>"/> </td> <?php } ?> </tr> </table> </td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right"></td> <td class="redMsg">Please Upload Only Less-Than 50 Kb Image.</td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right" ><?php echo $sign." ".$lbl_image;?> : </td> <td colspan="2"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><input type="file" name="txtimage" id="txtimage" value="<?php echo $magazineimg; ?>" /></td> <?php if($magazineimg!="") { ?> <td><img src="<?php echo $pathvar.$mgzimgname; ?>" width="80" alt="" title="" /></td> <?php } ?> </tr> </table> </td> </tr> <tr><td colspan="2" height="10"></td></tr> <tr> <td align="right" ><?php echo $lbl_FileLink; ?> : </td> <td colspan="2"> <input type="radio" name="txtfile" id="txtfile" value="File" <?php if($_SESSION['txtfile']!=""){ echo $_SESSION['txtfile']; } else{ echo $fileselected; } ?> onclick="return getfile();"/>File <input type="radio" name="txtlinkfile" id="txtlinkfile" value="Link" <?php if($_SESSION['txtlinkfile']!=""){ echo $_SESSION['txtlinkfile']; }else{ echo $linkselected; } ?> onclick="return getlink();" />Link</td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right"><?php echo $lbl_docfile;?> : </td> <td colspan="2" valign="top"><div style="float: left;padding-top: 4px;"><input type="hidden" name="docfile" value="<?php echo $magazinefile;?>"> <?php if($magazinefilelink=="link" || $_SESSION['txtlinkfile']!=""){ ?> <input type="file" name="txtdocfile" id="txtdocfile" disabled="true" /><?php } else { ?><input type="file" name="txtdocfile" id="txtdocfile" value="<?php echo $magazinefile;?>" /><?php } ?></div><div style="float: left;"><a href="arya_mgzndownload.php?mgzfile=<?php echo $filepathvar.$newpath; ?>&latestmgzid=<?php echo $id; ?>" target="_blank"><?php echo $newmgzfile;?></a><br /><?php echo $filesize; ?></div></td> </tr> <tr><td height="10" colspan="2"></td></tr> <tr> <td align="right"><?php echo $lbl_link;?> : </td> <td colspan="2"><?php if($magazinefilelink=="file" || $_SESSION['txtfile']!=""){ ?><input type="text" name="txtlink" id="txtlink" <?php echo $classlink; ?> disabled="true"/> <?php } else{ ?><input type="text" name="txtlink" id="txtlink" <?php echo $classlink; ?> value="<?php if($_SESSION['txtlink']!=""){ echo $_SESSION['txtlink'];}else{ echo $link; } ?>" maxlength="300"/><?php }?><?php echo $link; ?></td> </tr> <tr><td colspan="2" height="10"></td></tr> <tr> <td align="right" >Download File : </td> <td colspan="2"> <input type="radio" name="txtdownload" id="txtdownload" value="Yes" <?php if($_SESSION['yesdownload']!=""){ echo $_SESSION['yesdownload']; }else { echo $downloadyes; } ?> />Yes <input type="radio" name="txtdownload" id="txtdownload" value="No" <?php if($_SESSION['nodownload']!=""){ echo $_SESSION['nodownload']; }else{ echo $downloadno; } ?> />No </td> </tr> <tr><td colspan="2" height="10"></td></tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr> <td align="right" ><?php echo $lbl_visible;?> : </td> <td colspan="2"> <input type="radio" name="txtvisible" id="txtvisible" value="Yes" <?php if($_SESSION['yesvisible']!=""){ echo $_SESSION['yesvisible'];}else{ echo $visibleyes; } ?> />Yes <input type="radio" name="txtvisible" id="txtvisible" value="No" <?php if($_SESSION['novisible']!=""){ echo $_SESSION['novisible']; }else{ echo $visibleno; } ?> />No</td> </tr> <?php } ?> <tr><td colspan="2" height="10"></td></tr> <tr><td></td> <td colspan="2" align="left"> <input type="submit" name="btnupdate" id="btnupdate" 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="btnBack" id="btnBack" value="<?php echo $btn_back; ?>" class="button" onclick="history.back(-1);" /></td> </tr> <script language="javascript" type="text/javascript"> pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("txthindititle", document.getElementById('txthindititle'),'english'); <?php if($lngname=="Hindi") { ?> pph.convertToIndicIME("othertxttitle", document.getElementById('othertxttitle'),'devanagari'); <?php } else { ?> pph.convertToIndicIME("othertxttitle", document.getElementById('othertxttitle'),'<?php echo $lngname; ?>'); <?php } ?> </script> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close