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_edittestquestions.php
<?php include('arya_AdminInclude.php'); // created by dharmishtha //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over // content start $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_addtestquestions.php") { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$usersessid.'" AND admcat_id="'.$dbusercatid.'"'); } } } $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); $pagesecid=getFieldValue('page_sectionid','arya_adminpage','page_filename="'.$constructed_url.'"'); $editId=$_GET["testid"]; $pagesecid=$_GET['scid']; $selserv="SELECT * FROM arya_testquestions WHERE tque_id='".$editId."'"; $qryserv=mysql_query($selserv); $fetchserv=mysql_fetch_array($qryserv); $tque_id = $fetchserv['tque_id']; $nvmaxranseq = $fetchserv['tque_randid']; $lang_id = $fetchserv['lang_id']; $qcat_id = $fetchserv['qcat_id']; $level_id = $fetchserv['tl_id']; $tque_question= stripslashes($fetchserv['tque_question']); $tque_photo= stripslashes($fetchserv['tque_photo']); $srvc_showhome = $fetchserv['tque_showhome']; $srvc_visible = $fetchserv['tque_visible']; $currectans = $fetchserv['tque_currectans']; //$inscurans=$qFetchpq['tque_currectans']; $exparray=explode(',' ,$currectans); //print_r($exparray); foreach($exparray as $key=>$val) { if($val == "tquephoto_text5" || $val == "tquephoto_photo5") { $anschecked1='checked="checked"'; } } foreach($exparray as $key=>$val) { for($a=1; $a<9; $a++) { if($a > 5) { if($val == "tquephoto_text$a" || $val == "tquephoto_photo$a") { $mulexparray[]=$val; } } } } //print_r($mulexparray); $sinormulti=$fetchserv['tque_seltype']; //use for get number of values and images// //use for get number of values and images start if($sinormulti == 'No') { for($i=1;$i<9;$i++) { $textval[]=getFieldValue('tquephoto_text'.$i.'','arya_testquestionsphoto','tque_id="'.$editId.'"'); $imageval[]=getFieldValue('tquephoto_photo'.$i.'','arya_testquestionsphoto','tque_id="'.$editId.'"'); } foreach($textval as $val) { if($val !='') { $textval1[]=$val; } } foreach($imageval as $val) { if($val !='') { $imageval1[]=$val; } } } else { for($i=1;$i<5;$i++) { $singtextval[]=getFieldValue('tquephoto_text'.$i.'','arya_testquestionsphoto','tque_id="'.$editId.'"'); $singimageval[]=getFieldValue('tquephoto_photo'.$i.'','arya_testquestionsphoto','tque_id="'.$editId.'"'); } foreach($singtextval as $val) { if($val !='') { $textval1[]=$val; } } foreach($singimageval as $val) { if($val !='') { $imageval1[]=$val; } } } $count=count($textval1); if($count <= 4) { $count=4; $mcount=5; } else { $mcount=$count; } $imgcount=count($imageval1); if($imgcount<=4) { $imgcount=4; $mimgcount=5; } else { $mimgcount=$imgcount; } //use for get number of values and images end if($srvc_showhome == 'Pending') { $shwhomepan='checked="checked"'; } else if($srvc_showhome == 'Approve') { $shwhomeapp='checked="checked"'; } else { $shwhomerej='checked="checked"'; } if($srvc_visible == 'Yes') { $visibleYes='checked="checked"'; } else { $visibleNo='checked="checked"'; } if(($count >= 4 && $imgcount ==0) || ($count == 0 && $imgcount >=4)) { $tstseltype="Yes"; } else { $tstseltype=$fetchserv['tque_seltype']; } if($tstseltype=='Yes') { $tstseltypeyes='checked="checked"'; $tstseltypeval="Single"; } else if($tstseltype=='No') { $tstseltypeno='checked="checked"'; $tstseltypeval="Multiple"; } $tstseloptn=$fetchserv['tque_seloption']; if($tstseloptn=='Yes') { $tstseloptnyes='checked="checked"'; $tstseloptnval="Text"; } else if($tstseloptn=='No') { $tstseloptnno='checked="checked"'; $tstseloptnval="Photos"; } if($tstseloptn=='Yes' && $tstseltype=='Yes') { $divsingletext='style="display:inline;"'; $divmultext='style="display:none;"'; $divtextcheck='style="display:inline;"'; $divphotocheck='style="display:none;"'; $divoptncheck='style="display:none;"'; $divoptncheckno='style="display:none;"'; } else if($tstseloptn=='Yes' && $tstseltype=='No') { $divsingletext='style="display:none;"'; $divmultext='style="display:inline;"'; $divtextcheck='style="display:inline;"'; $divphotocheck='style="display:none;"'; $divoptncheck='style="display:inline;"'; $divoptncheckno='style="display:none;"'; } else if($tstseloptn=='No' && $tstseltype=='No') { $divsinglephoto='style="display:none;"'; $divmulphoto='style="display:inline;"'; $divtextcheck='style="display:none;"'; $divphotocheck='style="display:inline;"'; $divoptncheck='style="display:none;"'; $divoptncheckno='style="display:inline;"'; } else if($tstseloptn=='No' && $tstseltype=='Yes') { $divsinglephoto='style="display:inline;"'; $divmulphoto='style="display:none;"'; $divtextcheck='style="display:none;"'; $divphotocheck='style="display:inline;"'; $divoptncheck='style="display:none;"'; $divoptncheckno='style="display:none;"'; } $orgrgnzid=$_SESSION['cmblang']; if($orgrgnzid > 0) {$orgval='lngid='.$orgrgnzid;}else{$orgval="";} if($orgrgnzid > 0 || $cntsnid > 0 || $cmbnwsid>0){$msgval='&msg=upd';}else{$msgval='msg=upd';} $testid=$_SESSION['admntestlevel']; $qctid=$_SESSION['quescat']; $langid=$_SESSION['cmblang']; $qnm=$_SESSION["autosearch"]; $qranid=$_SESSION["questionid"]; //use for search start if($qnm != '') {$pqnm='qnm='.$qnm;}else{$pqnm="";} if($qranid > 0) {$pqranid='qranid='.$qranid;}else{$pqranid="";} if($testid > 0){$ptestid='testid='.$testid;}else{$ptestid="";} if($qctid > 0){$pqctid='&qctid='.$qctid;}else{$pqctid="";} if($langid > 0){$plangid='&langid='.$langid;}else{$plangid="";} if(($testid > 0 || $qctid > 0 || $langid > 0) || ($qnm != '' || $qranid > 0)){$msgval1='&msg=upd';}else{$msgval1='msg=upd';} //use for search end if($testid > 0) {$orgval='lngid='.$orgrgnzid;}else{$orgval="";} if($orgrgnzid > 0 || $cntsnid > 0 || $cmbnwsid>0){$msgval='&msg=upd';}else{$msgval='msg=upd';} if(isset($_POST["submitquestions"]))//insert record start { $postqlevel=$_POST["cmbtestlevel"]; $postqcategory=$_POST["cmbquescat"]; $postquestion=$_POST["txtquestion"]; $postsingal=$_POST["rdosingal"]; $postmulti=$_POST["rdomuticheck"]; if($postsingal == 'Yes') { $selvalue=$postsingal; } else { $selvalue=$postmulti; } $posttextoptn=$_POST["textoption"]; $postphotooptn=$_POST["photooption"]; if($posttextoptn == 'Yes') { $seloptvalue=$posttextoptn; } else { $seloptvalue=$postphotooptn; } $visible=$_POST["txtvisible"]; if($visible=='') { $visible='No'; } $postshowhome=$_POST["txtapprove"]; if($postshowhome=='') { $showhome=$srvc_showhome; } else { $showhome=$_POST["txtapprove"]; } $qryupdtshw="Update arya_testquestions set tque_showhome='".$showhome."' where newtque_id='".$editId."'"; $qupdtshw=mysql_query($qryupdtshw); $qryInsTestQuestions="Update arya_testquestions set tl_id='".$postqlevel."',qcat_id='".$postqcategory."',tque_question='".$postquestion."',tque_seltype='".$selvalue."',tque_seloption='".$seloptvalue."',tque_showhome='".$showhome."',tque_visible='".$visible."' where tque_id='".$editId."'"; $qInsTestQuestions=mysql_query($qryInsTestQuestions); if($qInsTestQuestions) { if($_FILES['quesphoto']['name'] != "") { $PhotoSource = $_FILES['quesphoto']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['quesphoto']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['quesphoto']['name']); $BigFileName = $imagenumber."_BG_".str_replace(" ","_",$_FILES['quesphoto']['name']); $smallimage=getFieldValue('tque_photo','arya_testquestions','tque_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($mainphotimage); unlink($mainimage); unlink($bigimage); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$mainphotimage); ftp_delete($srvconn_id ,$mainimage); ftp_delete($srvconn_id ,$bigimage); } $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 = "122"; $Thumheight = "100"; $bigThumwidth="200"; $filePath=$photomonthpath.$FileName; $d=copy($PhotoSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($PhotoSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($PhotoSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); if($UploadImg== "true") { $qryUpdateAdvert = "UPDATE arya_testquestions SET tque_photo='".$ThumbtoPath."' WHERE tque_id='".$editId."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') if($conditionvar=='1') { ob_start(); $myFile = $_FILES['quesphoto']; $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $srvfile, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $srvfile, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $smalldest_file ='./'.$svryear.'/'.$SmallFileName; $qryUpdArticleImage="UPDATE arya_testquestions SET tque_photo='".$smalldest_file."' WHERE tque_id='".$editId."'"; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } }//if($_FILES['quesphoto']['name'] != "") $tempclear = "UPDATE arya_testquestions SET tque_currectans='' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; $tempclear1 = mysql_query($tempclear); $v=1; if($seloptvalue=='Yes') //select type single OR Multi and select option Text start { for($i=1;$i<9;$i++) { $n=$i-5; if($i<5) { if($postsingal=='Yes') { $qryUpdatetext = "UPDATE arya_testquestionsphoto SET tquephoto_text$i='".$_POST["txttextbox".$i]."'WHERE tque_id='".$editId."'"; } else { $qryUpdatetext = "UPDATE arya_testquestionsphoto SET tquephoto_text$i='".$_POST["txtmultextbox".$i]."'WHERE tque_id='".$editId."'"; } } else { if($postsingal=='Yes') { $qryUpdatetext = "UPDATE arya_testquestionsphoto SET tquephoto_text$i='' WHERE tque_id='".$editId."'"; } else { $qryUpdatetext = "UPDATE arya_testquestionsphoto SET tquephoto_text$i='".$_POST["txtcans"][$n]."'WHERE tque_id='".$editId."'"; } } $qUpdatetext = mysql_query($qryUpdatetext); if($postsingal=='Yes') { if($_POST["cmbtxtans".$i]!='') { $qryUpdatetext1 = "UPDATE arya_testquestions SET tque_currectans='tquephoto_text$i' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; $qUpdatetext1 = mysql_query($qryUpdatetext1); } } else { if($_POST["cmbmultxtans".$i]!='' || $_POST["cmbtxtans".$i]!='') { $curans=getFieldValue('tque_currectans','arya_testquestions','tque_id='.$editId.''); if($v==1) { $qryUpdatetext1 = "UPDATE arya_testquestions SET tque_currectans='tquephoto_text$i' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; } else { $qryUpdatetext1 = "UPDATE arya_testquestions SET tque_currectans='".$curans.",tquephoto_text$i' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; } $qUpdatetext1 = mysql_query($qryUpdatetext1); $v++; } } } }//select type single OR Multi and select option Text end if($seloptvalue=='No') //select type Single and select option Photo Start { for($i=1;$i<9;$i++) // use for insert currect answer start { if($postsingal=='Yes') { if($_POST["cmbphotoans".$i] != '') { $ansarr[]=$_POST["cmbphotoans".$i]; } } else { if($i < 5) { if($_POST["cmbphotomulans".$i] != '') { $ansarr[]=$_POST["cmbphotomulans".$i]; } } else { if($_POST["cmbphotoans".$i] != '') { $ansarr[]=$_POST["cmbphotoans".$i]; } } } } $qryUpdatetext1="UPDATE arya_testquestions SET tque_currectans='"; $v=1; foreach($ansarr as $key=>$value) { if($value != '') { if($v==1) { $qryUpdatetext1.=$value; } else { $qryUpdatetext1.=','.$value; } } $v++; } $qryUpdatetext1.="' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; //echo $qryUpdatetext1;exit; $qUpdatetext1 = mysql_query($qryUpdatetext1); /*foreach($ansarr as $key=>$val) { $v=$key+1; if($val!='') { $qryUpdatetext1 = "UPDATE arya_testquestions SET tque_currectans='tquephoto_photo$v' WHERE tque_id='".$editId."' OR newtque_id='".$editId."'"; $qUpdatetext1 = mysql_query($qryUpdatetext1); } } // use for insert currect answer end*/ for($i=1;$i<5;$i++) { $postphoto="txtphoto".$i; $mulpostphoto="txtmulphoto".$i; $mulPhotoname = $_FILES[$postphoto]['name']; $divmulPhotoname = $_FILES[$mulpostphoto]['name']; if($mulPhotoname != "" || $divmulPhotoname !="") { $number = rand(); $multiimagenumber=strtoupper(base_convert($number, 10, 36)); if($mulPhotoname != "") { $mulPhotoSource = $_FILES['txtphoto'.$i]['tmp_name']; $FileName = $multiimagenumber."_".str_replace(" ","_",$mulPhotoname); $SmallFileName = $multiimagenumber."_SM_".str_replace(" ","_",$mulPhotoname); $BigFileName = $multiimagenumber."_BG_".str_replace(" ","_",$mulPhotoname); } else { $mulPhotoSource = $_FILES['txtmulphoto'.$i]['tmp_name']; $FileName = $multiimagenumber."_".str_replace(" ","_",$divmulPhotoname); $SmallFileName = $multiimagenumber."_SM_".str_replace(" ","_",$divmulPhotoname); $BigFileName = $multiimagenumber."_BG_".str_replace(" ","_",$divmulPhotoname); } /*$FileName = $multiimagenumber."_".str_replace(" ","_",$mulPhotoname); $SmallFileName = $multiimagenumber."_SM_".str_replace(" ","_",$mulPhotoname); $BigFileName = $multiimagenumber."_BG_".str_replace(" ","_",$mulPhotoname);*/ $smallimage=getFieldValue('tquephoto_photo'.$i.'','arya_testquestionsphoto','tque_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($mainphotimage); unlink($mainimage); unlink($bigimage); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$mainphotimage); ftp_delete($srvconn_id ,$mainimage); ftp_delete($srvconn_id ,$bigimage); } $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 = "122"; $Thumheight = "100"; $bigThumwidth="200"; $filePath=$photomonthpath.$FileName; $d=copy($mulPhotoSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($mulPhotoSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($mulPhotoSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); if($UploadImg== "true") { $qryUpdateAdvert = "UPDATE arya_testquestionsphoto SET tquephoto_photo$i='".$ThumbtoPath."' WHERE tque_id='".$editId."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') if($conditionvar=='1') { ob_start(); if($_FILES["txtphoto".$i] != "") { $myFile = $_FILES["txtphoto".$i]; } else { $myFile = $_FILES["txtmulphoto".$i]; } $srvfile = $myFile['tmp_name']; include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $srvfile, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $srvfile, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $qryUpdArticleImage="UPDATE arya_testquestionsphoto SET tquephoto_photo$i='".$smalldestination_file."' WHERE tque_id='".$editId."'"; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } }//if($_FILES['quesphoto']['name'] != "") }//for($i=1;$i<5;$i++) }//if($postphotooptn!='') //select type Single and select option Photo End if($selvalue=='No' && $seloptvalue=='No') //select type Multiple and select option Photo Start { $i=5; foreach($_FILES['imagefile']['tmp_name'] as $key => $tmp_name ) { $file_name = $_FILES['imagefile']['name'][$key]; $file_tmp =$_FILES['imagefile']['tmp_name'][$key]; $ImageSource = $file_tmp; if($file_name != "") { $number = rand(); $multiimagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $multiimagenumber."_".str_replace(" ","_",$file_name); $SmallFileName = $multiimagenumber."_SM_".str_replace(" ","_",$file_name); $BigFileName = $multiimagenumber."_BG_".str_replace(" ","_",$file_name); $smallimage=getFieldValue('tquephoto_photo'.$i.'','arya_testquestionsphoto','tque_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($mainphotimage); unlink($mainimage); unlink($bigimage); } if($conditionvar=='1') { include('arya_ftpfile.php'); ftp_delete($srvconnect_id ,$mainphotimage); ftp_delete($srvconn_id ,$mainimage); ftp_delete($srvconn_id ,$bigimage); } $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 = "122"; $Thumheight = "100"; $bigThumwidth="200"; $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_testquestionsphoto SET tquephoto_photo$i='".$ThumbtoPath."' WHERE tque_id='".$editId."'"; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') if($conditionvar=='1') { ob_start(); include('arya_ftpfile.php'); $destination_file =$destDirsrv.'/'.$FileName; $smalldestination_file =$destDirsrv.'/'.$SmallFileName; $srvupload = ftp_put($srvconn_id, $destination_file, $file_tmp, FTP_BINARY); $srvthumbupload = ftp_put($srvconnect_id, $smalldestination_file, $file_tmp, FTP_BINARY); ftp_close($srvconn_id); ftp_close($srvconnect_id); $qryUpdArticleImage="UPDATE arya_testquestionsphoto SET tquephoto_photo$i='".$smalldestination_file."' WHERE tque_id='".$editId."'"; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } }//if($_FILES['quesphoto']['name'] != "") $i++; }//foreach($_FILES['imagefile']['tmp_name'] as $key => $tmp_name ) }//if($postphotooptn!='') //select type Multiple and select option Photo End } getadminactivity('title_edittestquestion',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$postquestion,$curntdate,$curnttime); if($_GET['panding']=='1') { RedirecPage('arya_pendingtestquestion.php?'.$orgval.$msgval); } else { RedirecPage('arya_mngtestquestions.php?'.$pqnm.$pqranid.$ptestid.$pqctid.$plangid.$msgval1); } } if($nvmaxranseq == "" || $nvmaxranseq == "0"){$nvmaxranseq=$nvmaxranseq+1;} else {$nvmaxranseq=$nvmaxranseq;} $page123 = $_SERVER['PHP_SELF']; ?> <!--use for delete image start--> <script type="text/javascript"> $(function() { $(".delimgbutton").click(function(){ var element = $(this); var del_id = element.attr("id"); var info = 'id=' + del_id; if(confirm("Are you sure you want to delete this Record?")) { $.ajax({ type: "GET", url: "deletetestimage.php", data: info, success: function() { location.reload(); } }); } return false; }); }); </script> <!--use for delete image end--> <script language="JavaScript" type="text/javascript"> /*function unchecksingalbtn()//Click on radio than uncheck checkbox function { if(document.frmtestquestions.textoption.checked==true && document.frmtestquestions.rdosingal.checked==true) { document.getElementById('singleshow').style.display='inline'; document.getElementById('multishow').style.display='none'; document.frmtestquestions.rdomuticheck.checked = false; document.getElementById('selmultiphotooption').style.display='none'; document.getElementById('selmultitextoption').style.display='none'; } if(document.frmtestquestions.photooption.checked==true && document.frmtestquestions.rdosingal.checked==true) { document.getElementById('singleshowphoto').style.display='inline'; document.getElementById('multishowphoto').style.display='none'; document.frmtestquestions.rdomuticheck.checked = false; document.getElementById('selmultiphotooption').style.display='none'; document.getElementById('selmultitextoption').style.display='none'; } for(var i=1; i<9; i++) { $('#txtmultextbox'+i).val(''); $('#txtmulphoto'+i).val(''); $('input[name="txtcans[]"]').val(''); $('input[name="imagefile[]"]').val(''); } $(':checkbox').each(function() { this.checked = false; }); } function untickmultiboxbtn()//Click on checkbox than uncheck radio function { if(document.frmtestquestions.textoption.checked==true && document.frmtestquestions.rdomuticheck.checked==true) { document.getElementById('singleshow').style.display='none'; document.getElementById('multishow').style.display='inline'; document.frmtestquestions.rdosingal.checked = false; document.getElementById('selmultitextoption').style.display='inline'; } if(document.frmtestquestions.photooption.checked==true && document.frmtestquestions.rdomuticheck.checked==true) { document.getElementById('singleshowphoto').style.display='none'; document.getElementById('multishowphoto').style.display='inline'; document.frmtestquestions.rdosingal.checked = false; document.getElementById('selmultiphotooption').style.display='inline'; } for(var i=1; i<9; i++) { document.getElementById('cmbtxtans'+i).checked = false; document.getElementById('cmbphotoans'+i).checked = false; $('#txttextbox'+i).val(''); $('#txtphoto'+i).val(''); } } function uncheckradiotext()//Click on radio than uncheck checkbox function { if((document.frmtestquestions.textoption.checked)==true) { document.frmtestquestions.photooption.checked = false; document.getElementById('selphotooption').style.display = 'none'; document.getElementById('seltextoption').style.display = 'inline'; if(document.frmtestquestions.rdomuticheck.checked==true) { document.getElementById('singleshow').style.display='none'; document.getElementById('multishow').style.display='inline'; document.getElementById('selmultiphotooption').style.display = 'none'; document.getElementById('selmultitextoption').style.display = 'inline'; } else { document.getElementById('singleshow').style.display='inline'; document.getElementById('multishow').style.display='none'; document.getElementById('selmultiphotooption').style.display = 'none'; document.getElementById('selmultitextoption').style.display = 'none'; } } for(var i=1; i<5; i++) { $('#txtphoto'+i).val(''); $('#txtmulphoto'+i).val(''); $('input[name="imagefile[]"]').val(''); } $(':checkbox').each(function() { this.checked = false; }); } function untickcheckboxphoto()//Click on checkbox than uncheck radio function { if((document.frmtestquestions.photooption.checked)==true) { document.frmtestquestions.textoption.checked = false; document.getElementById('selphotooption').style.display = 'inline'; document.getElementById('seltextoption').style.display = 'none'; if(document.frmtestquestions.rdomuticheck.checked==true) { document.getElementById('singleshowphoto').style.display='none'; document.getElementById('multishowphoto').style.display='inline'; document.getElementById('selmultiphotooption').style.display = 'inline'; document.getElementById('selmultitextoption').style.display = 'none'; } else { document.getElementById('singleshowphoto').style.display='inline'; document.getElementById('multishowphoto').style.display='none'; document.getElementById('selmultiphotooption').style.display = 'none'; document.getElementById('selmultitextoption').style.display = 'none'; } } for(var i=1; i<5; i++) { $('#txttextbox'+i).val(''); $('#txtmultextbox'+i).val(''); $('input[name="txtcans[]"]').val(''); } $(':checkbox').each(function() { this.checked = false; }); } function blankTestQuestion(val)// This function use for Test Question Module { if(document.frmtestquestions.cmbtestlevel.value==0) { alert("Please Select Test Level."); document.frmtestquestions.cmbtestlevel.focus(); return false; } if(document.frmtestquestions.cmbquescat.value==0) { alert("Please Select Question Category."); document.frmtestquestions.cmbquescat.focus(); return false; } if(document.frmtestquestions.txtquestion.value=="") { alert("Please Enter Question."); document.frmtestquestions.txtquestion.focus(); return false; } else if(check_scriptTag(document.frmtestquestions.txtquestion.value)==false) { alert("Please Enter Valid Question."); document.frmtestquestions.txtquestion.focus(); return false; } if(document.getElementById('rdosingal').checked==true) { if(val == 'add') { for(var i=1;i<3;i++) { if(document.getElementById('textoption').checked==true) { if(document.getElementById('txttextbox'+i).value=='') { alert("Please Enter Option"+i+" Answer."); var mytext = document.getElementById('txttextbox'+i); mytext.focus(); return false; } } else if(document.getElementById('textoption').checked==false) { if(document.getElementById('txtphoto'+i).value=='') { alert("Please Select Photo"+i+" Answer."); var mytext = document.getElementById('txtphoto'+i); mytext.focus(); return false; } } } //for(var i=1;i<3;i++) } //if(val == 'add') } //if(document.getElementById('rdosingal').checked==true) else { if(val == 'add') { for(var i=1;i<4;i++) { if(document.getElementById('textoption').checked==true) { if(document.getElementById('txtmultextbox'+i).value=='') { alert("Please Enter Option"+i+" Answer."); var mytext = document.getElementById('txtmultextbox'+i); mytext.focus(); return false; } } else if(document.getElementById('textoption').checked==false) { if(document.getElementById('txtmulphoto'+i).value=='') { alert("Please Select Photo"+i+" Answer."); var mytext = document.getElementById('txtmulphoto'+i); mytext.focus(); return false; } } } //for(var i=1;i<4;i++) } //if(val == 'add') } //else if(document.getElementById('textoption').checked==true) { if((document.getElementById('cmbtxtans1').checked==false && document.getElementById('cmbmultxtans1').checked==false) && (document.getElementById('cmbtxtans2').checked==false && document.getElementById('cmbmultxtans2').checked==false) && (document.getElementById('cmbtxtans3').checked==false && document.getElementById('cmbmultxtans3').checked==false) && (document.getElementById('cmbtxtans4').checked==false && document.getElementById('cmbmultxtans4').checked==false) && document.getElementById('cmbtxtans5').checked==false && document.getElementById('cmbtxtans6').checked==false && document.getElementById('cmbtxtans7').checked==false && document.getElementById('cmbtxtans8').checked==false) { alert("Please Select Currect Answer."); return false; } } //if(document.getElementById('textoption').checked==true) if(document.getElementById('textoption').checked==false) { if((document.getElementById('cmbphotoans1').checked==false && document.getElementById('cmbphotomulans1').checked==false) && (document.getElementById('cmbphotoans2').checked==false && document.getElementById('cmbphotomulans2').checked==false) && (document.getElementById('cmbphotoans3').checked==false && document.getElementById('cmbphotomulans3').checked==false) && (document.getElementById('cmbphotoans4').checked==false && document.getElementById('cmbphotomulans4').checked==false) && document.getElementById('cmbphotoans5').checked==false && document.getElementById('cmbphotoans6').checked==false && document.getElementById('cmbphotoans7').checked==false && document.getElementById('cmbphotoans8').checked==false) { alert("Please Select Currect Answer."); return false; } } //if(document.getElementById('textoption').checked==false) if(document.getElementById('textoption').checked==true) { var j=5; for(var p=1;p<=8;p++) { var t=p-1; if(p<5) { if(document.getElementById('cmbtxtans'+p).checked==true || document.getElementById('cmbmultxtans'+p).checked==true) { var textval=document.getElementById('txttextbox'+p).value; var textmulval=document.getElementById('txtmultextbox'+p).value; if(textval=="" && textmulval=="") { alert("Please Select Currect Answer."); return false; } } //if(document.getElementById('cmbtxtans'+p).checked==true || document.getElementById('cmbmultxtans'+p).checked==true) for(var v=1;v<=4;v++) { var o=v-1; if(v!=p) { if(document.getElementById('txttextbox'+v).value!='') { if(document.getElementById('txttextbox'+v).value == document.getElementById('txttextbox'+p).value) { alert("Please Don't Insert Duplicate Answer."); return false; } } if(document.getElementById('txtmultextbox'+v).value!='') { if(document.getElementById('txtmultextbox'+v).value == document.getElementById('txtmultextbox'+p).value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//if(v!=p) if(t!=o) { if(document.frmtestquestions["txtcans[]"][t].value != '') { if(document.frmtestquestions["txtcans[]"][t].value == document.frmtestquestions["txtcans[]"][o].value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//if(t!=o) if(document.getElementById('txtmultextbox'+p).value!='') { if(document.getElementById('txtmultextbox'+p).value == document.frmtestquestions["txtcans[]"][o].value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//for(var v=1;v<=4;v++) }//if(p<5) if(p>=5) { var n=p-5; if(document.getElementById('cmbtxtans'+p).checked==true) { var textval = document.frmtestquestions["txtcans[]"][n].value; if(textval=="") { alert("Please Select Currect Answer."); return false; } }//if(document.getElementById('cmbtxtans'+p).checked==true) } //if(p>=5) } //for(var p=1;p<9;p++) } //if(document.getElementById('textoption').checked==true) if(document.getElementById('textoption').checked==false) { if(val == 'add') { var j=5; for(var i=1;i<9;i++) { var t=i-1; if(i<5) { if(document.getElementById('cmbphotoans'+i).checked==true || document.getElementById('cmbphotomulans'+i).checked==true) { var textval=document.getElementById('txtphoto'+i).value; var textmulval=document.getElementById('txtmulphoto'+i).value; if(textval=="" && textmulval=="") { alert("Please Select Currect Answer."); return false; } } for(var v=1;v<=4;v++) { var o=v-1; if(v!=i) { if(document.getElementById('txtphoto'+v).value!='') { if(document.getElementById('txtphoto'+v).value == document.getElementById('txtphoto'+i).value) { alert("Please Don't Insert Duplicate Answer."); return false; } } if(document.getElementById('txtmulphoto'+v).value!='') { if(document.getElementById('txtmulphoto'+v).value == document.getElementById('txtmulphoto'+i).value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//if(v!=p) if(t!=o) { if(document.frmtestquestions["imagefile[]"][t].value != '') { if(document.frmtestquestions["imagefile[]"][t].value == document.frmtestquestions["imagefile[]"][o].value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//if(t!=o) if(document.getElementById('txtmulphoto'+i).value!='') { if(document.getElementById('txtmulphoto'+i).value == document.frmtestquestions["imagefile[]"][o].value) { alert("Please Don't Insert Duplicate Answer."); return false; } } }//for(var v=1;v<=4;v++) } //if(i<5) if(i>=5) { if(document.getElementById('cmbphotoans'+i).checked==true) { j=i-j; var textval = document.frmtestquestions["imagefile[]"][j].value; if(textval=="") { alert("Please Select Currect Answer."); return false; } } } //if(i>=5) } //for(var i=1;i<9;i++) } //if(val == 'add') } //if(document.getElementById('textoption').checked==false) } //function blankTestQuestion(val) This function use for Test Question Module*/ </script> <style> .txtbox1{ width: 375px; border: solid 1px #CCCCCC; vertical-align: middle; padding: 3px; /*-moz-border-radius: 5px; /*border-radius: 5px;*/ margin: 0 5px 0 0; } </style> <form name="frmtestquestions" id="frmtestquestions" method="POST" action="" onsubmit="return blankTestQuestion();" enctype="multipart/form-data"> <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" height="85"> <h2 class="bigheader"><?php echo $title_edittestquestion; ?></h2> </td> </tr> <?php echo SuccessMessage($msg);?> <tr> <td> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="45%" align="right">Question No. : </td> <td> <?php echo $nvmaxranseq; ?> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td width="45%" align="right"><?php echo $sign." ".$lbl_selectlanguage;?> : </td> <td> <select name="cmblang" id="cmblang" class="selbox" disabled="true"> <option value="1">English</option> </select> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td width="45%" align="right"><?php echo $sign." ".$lbl_seltestlevel;?> : </td> <td> <select name="cmbtestlevel" id="cmbtestlevel" class="selbox"> <option value="0"><?php echo $lbl_seltestlevel;?></option> <?php echo getTestLevel($level_id); ?> </select> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $sign." ".$lbl_selectquestioncat; ?> : </td> <td> <select name="cmbquescat" id="cmbquescat" class="selbox"> <option value="0"><?php echo $lbl_selectquestioncat?></option> <?php echo getQuestioncat($qcat_id); ?> </select> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $sign." ".$lbl_question;?> : </td> <td> <textarea name="txtquestion" id="txtquestion" rows="3" cols="50"><?php echo $tque_question; ?></textarea> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $lbl_photo; ?> : </td> <td> <table width="100%" border="0" align="center"> <tr> <input type="file" name="quesphoto" id="quesphoto" value="" /> <img src="<?php echo $pathvar.$tque_photo; ?>" width="50" alt="" title="" /> <?php if($tque_photo != '') { ?> <a href="#" class="delimgbutton" id= "<?php echo $editId; ?>"><img src="./images/delete.gif" border="0" alt="" width="20" title="click here to delete this image" /></a> <?php } ?> </td> </tr> </table> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $lbl_seloption; ?> : </td> <td> <input type="radio" id="textoption" name="textoption" value="Yes"<?php echo $tstseloptnyes;?> onclick="uncheckradiotext();"><?php echo $lbl_text; ?> <input type="radio" id="photooption" name="photooption" value="No"<?php echo $tstseloptnno;?> onclick="untickcheckboxphoto();"><?php echo $lbl_photo; ?> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $lbl_seltype; ?> : </td> <td> <input type="radio" id="rdosingal" name="rdosingal" value="Yes"<?php echo $tstseltypeyes;?> onclick="unchecksingalbtn();"><?php echo $lbl_single; ?> <input type="radio" id="rdomuticheck" name="rdomuticheck" value="No"<?php echo $tstseltypeno;?> onclick="untickmultiboxbtn();"><?php echo $lbl_multiple; ?> </td> </tr> <tr> <td colspan="2"> <div id="seltextoption" <?php echo $divtextcheck; ?>> <div id="singleshow" <?php echo $divsingletext; ?>> <table width="100%" border="0" align="center"> <?php $j=0; for($i=1;$i<=4;$i++) { if($currectans == "tquephoto_text$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } ?> <tr><td colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $lbl_option; ?><?php echo $i;?> : </td> <td> <input type="text" id="txttextbox<?php echo $i; ?>" name="txttextbox<?php echo $i; ?>" value="<?php echo $singtextval[$j]; ?>" class="txtbox1" /> <input type="radio" id="cmbtxtans<?php echo $i; ?>" name="cmbtxtans<?php echo $i; ?>" value="<?php echo "tquephoto_text$i";?>" <?php echo $anschecked; ?> onclick="return radiotextsel(1,<?php echo $i; ?>);" /> </td> </tr> <?php $j++; } ?> </table> </div> <div id="multishow" <?php echo $divmultext; ?>> <table width="100%" border="0" align="center"> <?php $j=0; $d=0; for($i=1;$i<=4;$i++) { $subssss = substr($exparray[$d],14); if($exparray[$d] == "tquephoto_text$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } if($i != $subssss) { $d=$d-1; } ?> <tr><td colspan="2"></td></tr> <tr> <td align="right" width="45%"><?php echo $lbl_option; ?><?php echo $i;?> : </td> <td> <input type="text" id="txtmultextbox<?php echo $i; ?>" name="txtmultextbox<?php echo $i; ?>" value="<?php echo $textval[$j]; ?>" class="txtbox1" /> <input type="checkbox" id="cmbmultxtans<?php echo $i; ?>" name="cmbmultxtans<?php echo $i; ?>" value="<?php echo "tquephoto_text$i";?>" <?php echo $anschecked; ?> /> </td> </tr> <?php $j++; $d++; } ?> </table> </div> </div> </td> </tr> <tr> <td colspan="2"> <div id="selphotooption" <?php echo $divphotocheck; ?> > <div id="singleshowphoto" <?php echo $divsinglephoto; ?> > <table width="100%" border="0" align="center"> <?php $j=0; for($i=1;$i<=4;$i++) { if($currectans == "tquephoto_photo$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } ?> <tr><td colspan="2"></td></tr> <tr> <td> <table width="100%" border="0" align="center"> <tr> <td width="45%" align="right"><?php echo $lbl_photo."$i"; ?> :</td> <td align="left"> <input type="file" name="txtphoto<?php echo $i; ?>" id="txtphoto<?php echo $i; ?>" value="" /> <img src="<?php echo $pathvar.$singimageval[$j]; ?>" width="50" alt="" title="" /> <input type="radio" id="cmbphotoans<?php echo $i; ?>" name="cmbphotoans<?php echo $i; ?>" value="<?php echo "tquephoto_photo$i";?>" <?php echo $anschecked; ?> onclick="return radiotextsel(2,<?php echo $i; ?>);" /> </td> </tr> </table> </td> </tr> <?php $j++; } ?> </table> </div> <div id="multishowphoto" <?php echo $divmulphoto; ?> > <table width="100%" border="0" align="center"> <?php $j=0; $d=0; for($i=1;$i<=4;$i++) { $subssss = substr($exparray[$d],15); if($exparray[$d] == "tquephoto_photo$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } if($i != $subssss) { $d=$d-1; } ?> <tr><td colspan="2"></td></tr> <tr> <td> <table width="100%" border="0" align="center"> <tr> <td width="45%" align="right"><?php echo $lbl_photo."$i"; ?> :</td> <td align="left"> <input type="file" name="txtmulphoto<?php echo $i; ?>" id="txtmulphoto<?php echo $i; ?>" value="" /> <img src="<?php echo $pathvar.$imageval[$j]; ?>" width="50" alt="" title="" /> <input type="checkbox" id="cmbphotomulans<?php echo $i; ?>" name="cmbphotomulans<?php echo $i; ?>" value="<?php echo "tquephoto_photo$i";?>" <?php echo $anschecked; ?> /> </td> </tr> </table> </td> </tr> <?php $j++; $d++; } ?> </table> </div> </div> </td> </tr> <tr> <td colspan="2"> <div id="selmultitextoption" <?php echo $divoptncheck; ?>> <table width="100%" border="0" align="center"> <tr> <td align="right" width="45%"><?php echo "Option5";?> : </td> <td> <input type="text" class="txtbox1" name="txtcans[]" id="txtcans[]" <?php echo $classc1optn; ?> maxlength="200" value="<?php echo $textval[4]; ?>"/> <?php /*if($exparray[4] == "tquephoto_text5") { $anschecked='checked="checked"'; } else { $anschecked=''; }*/ ?> <input type="checkbox" id="cmbtxtans5" name="cmbtxtans5" value="<?php echo "tquephoto_text5";?>" <?php echo $anschecked1; ?> /> <?php $j=1;?> <a href="javascript:addFileInputTstQues(<?php echo $j;?>,1);"><img src="images/plus.png" height="13" width="13" border="0" /></a> </td> </tr> <input type="hidden" name="no_of_i" id="no_of_i" value="<?php echo $mcount; ?>"> <tr><td colspan=3> <?php $l=5; $d=0; for($i=6;$i<9;$i++) { $subssss = substr($mulexparray[$d],14); if($mulexparray[$d] == "tquephoto_text$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } if($i != $subssss) { $d=$d-1; } $j=0; $k=$i; ?> <?php if($textval[$l]=="") { ?> <div class="divDisplayHide" id="txtcans_<?php echo $i;?>" > <?php } else { ?> <div id="txtcans_<?php echo $i;?>"><?php } ?> <table width="100%" border="0" align="center"> <tr> <td width="45%" align="right" class="title"><?php echo "Option".$k; ?> :</td> <td align="left"> <input type="text" name="txtcans[]" id="txtcans[]" value="<?php echo $textval[$l]; ?>" class="txtbox1" maxlength="200"/> <input type="checkbox" id="cmbtxtans<?php echo $i; ?>" name="cmbtxtans<?php echo $i; ?>" value="<?php echo "tquephoto_text$i";?>" <?php echo $anschecked; ?> /> <a href="javascript:hide_TextImagebox(<?php echo $j;?>,1);"><img src="images/minus.png" height="13" width="13" border="0" /></a></td> </tr> </table> </div> <?php $l++; $k++; $d++; } ?> </td> </tr> </table> </div> <tr> <td colspan="2"> <div id="selmultiphotooption" <?php echo $divoptncheckno; ?>> <table width="100%" border="0" align="center"> <tr> <td> <table width="100%" border="0" align="center"> <tr> <td width="45%" align="right"><?php echo $lbl_photo."5"; ?> :</td> <td align="left"> <input type="file" name="imagefile[]" id="imagefile[]" value="" /> <?php $j=1;?> <img src="<?php echo $pathvar.$imageval[4]; ?>" width="50" alt="" title="" /> <?php /*if($exparray[4] == "tquephoto_photo5") { $anschecked='checked="checked"'; } else { $anschecked=''; }*/ ?> <input type="checkbox" id="cmbphotoans5" name="cmbphotoans5" value="<?php echo "tquephoto_photo5";?>" <?php echo $anschecked1; ?> /> <a href="javascript:addFileInputTstQues(<?php echo $j;?>,2);"><img src="images/plus.png" height="13" width="13" border="0" /></a></td> </tr> </table> </td> </tr> <input type="hidden" name="no_of_k" id="no_of_k" value="<?php echo $mimgcount; ?>"> <tr><td colspan=3> <?php $l=5; $d=0; for($i=6;$i<9;$i++) { $subssss = substr($mulexparray[$d],15); if($mulexparray[$d] == "tquephoto_photo$i") { $anschecked='checked="checked"'; } else { $anschecked=''; } if($i != $subssss) { $d=$d-1; } $j=0; $k=$i; ?> <?php if($imageval[$l]=="") { ?> <div class="divDisplayHide" id="imagefile_<?php echo $i;?>" > <?php } else { ?> <div id="imagefile_<?php echo $i;?>"><?php } ?> <table width="100%" border="0" align="center"> <tr> <td width="45%" align="right"><?php echo $lbl_photo.$k; ?> :</td> <td align="left"> <input type="file" name="imagefile[]" id="imagefile[]" value="" /> <img src="<?php echo $pathvar.$imageval[$l]; ?>" width="50" alt="" title="" /> <input type="checkbox" id="cmbphotoans<?php echo $i; ?>" name="cmbphotoans<?php echo $i; ?>" value="<?php echo "tquephoto_photo$i";?>" <?php echo $anschecked; ?> /> <a href="javascript:hide_TextImagebox(<?php echo $j;?>,2);"><img src="images/minus.png" height="13" width="13" border="0" /></a></td> </tr> </table> </div> <?php $l++; $k++; $d++; } ?> </td> </tr> </table> </div> <tr><td height="5" colspan="2"></td></tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr> <td align="right"><?php echo "Approval";?> : </td> <td> <input type="radio" name="txtapprove" id="txtapprove" value="Approve" <?php echo $shwhomeapp; ?> />Approve <input type="radio" name="txtapprove" id="txtapprove" value="Pending" <?php echo $shwhomepan; ?>/>Pending <!--<input type="radio" name="txtapprove" id="txtapprove" value="Rejected" <?php //echo $shwhomerej; ?>/>Rejected--> </td> </tr> <tr><td height="5" colspan="2"></td></tr> <tr> <td align="right"><?php echo "Include in Mock Test";?> : </td> <td> <input type="radio" name="txtvisible" id="txtvisible" value="Yes"<?php echo $visibleYes; ?> />Yes <input type="radio" name="txtvisible" id="txtvisible" value="No"<?php echo $visibleNo; ?> />No</td> </tr> <tr><td colspan="2" height="5"></td></tr> <?php } ?> <tr> <td></td> <td align="left"> <input type="submit" name="submitquestions" id="submitquestions" value="<?php echo $btn_update; ?>" class="button" /> <input type="reset" name="reset" id="reset" value="<?php echo $btn_reset; ?>" class="button" /> <input type="button" name="btnBack" id="btnBack" value="<?php echo $btn_back; ?>" class="button" onclick="history.go(-1);" /> </td> </tr> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close