[‘name’=>’Volunteer Applications’,’singular_name’=>’Volunteer Application’],’public’=>false,’show_ui’=>true,’show_in_menu’=>true,’supports’=>[‘title’],’capability_type’=>’post’,’capabilities’=>[‘create_posts’=>’do_not_allow’],’map_meta_cap’=>true]);}
function storage(){ $base=WP_CONTENT_DIR.’/pda-private-volunteer-files’; if(!is_dir($base)) wp_mkdir_p($base); if(is_dir($base)){@file_put_contents($base.’/.htaccess’,”Deny from all\nRequire all denied\n”); @file_put_contents($base.’/index.php’,’[‘title’=>’স্বেচ্ছাসেবী আবেদন ফরম’,’to’=>’বরাবর: নির্বাহী পরিচালক, গণ উন্নয়ন সংস্থা (পিডিএ)’,’subject’=>’বিষয়: স্বেচ্ছাসেবী হিসেবে আবেদনের প্রার্থনা’,’name’=>’পূর্ণ নাম’,’father’=>’পিতার নাম’,’mother’=>’মাতার নাম’,’dob’=>’জন্মতারিখ’,’gender’=>’লিঙ্গ’,’male’=>’পুরুষ’,’female’=>’নারী’,’other’=>’অন্যান্য’,’phone’=>’মোবাইল নম্বর’,’email’=>’ইমেইল’,’present’=>’বর্তমান ঠিকানা’,’permanent’=>’স্থায়ী ঠিকানা’,’education’=>’শিক্ষাগত যোগ্যতা’,’skills’=>’দক্ষতা’,’experience’=>’পূর্ববর্তী স্বেচ্ছাসেবী অভিজ্ঞতা’,’interest’=>’আগ্রহের কাজের ক্ষেত্র’,’availability’=>’সময় দেওয়ার সুযোগ’,’photo’=>’ছবি (JPG/PNG, সর্বোচ্চ ২ MB)’,’cv’=>’জীবনবৃত্তান্ত (PDF, সর্বোচ্চ ৫ MB)’,’consent’=>’আমি নিশ্চিত করছি যে প্রদত্ত তথ্য সঠিক এবং আবেদন মূল্যায়নের জন্য পিডিএ আমার তথ্য সংরক্ষণ ও ব্যবহার করতে পারবে।’,’submit’=>’আবেদন জমা দিন’,’success’=>’আপনার আবেদন সফলভাবে জমা হয়েছে।’,’error’=>’আবেদন জমা দেওয়া যায়নি। তথ্য ও ফাইল যাচাই করে আবার চেষ্টা করুন।’], ‘en’=>[‘title’=>’Volunteer Application Form’,’to’=>’To: Executive Director, Gana Unnayan Sangstha (PDA)’,’subject’=>’Subject: Prayer for Volunteer’,’name’=>’Full Name’,’father’=>”Father’s Name”,’mother’=>”Mother’s Name”,’dob’=>’Date of Birth’,’gender’=>’Gender’,’male’=>’Male’,’female’=>’Female’,’other’=>’Other’,’phone’=>’Mobile Number’,’email’=>’Email Address’,’present’=>’Present Address’,’permanent’=>’Permanent Address’,’education’=>’Educational Qualification’,’skills’=>’Skills’,’experience’=>’Previous Volunteer Experience’,’interest’=>’Areas of Interest’,’availability’=>’Availability’,’photo’=>’Photo (JPG/PNG, max 2 MB)’,’cv’=>’Curriculum Vitae (PDF, max 5 MB)’,’consent’=>’I confirm the information is accurate and consent to PDA storing and using it to review my application.’,’submit’=>’Submit Application’,’success’=>’Your application has been submitted successfully.’,’error’=>’Submission failed. Please check the fields and files and try again.’]][$lang];
$url=remove_query_arg([‘pda_status’,’pda_lang’]); $status=isset($_GET[‘pda_status’])?sanitize_key($_GET[‘pda_status’]):”;
ob_start(); ?>
‘;}
foreach([‘photo’,’cv’] as $k){$link=wp_nonce_url(add_query_arg([‘action’=>’pda_volunteer_file’,’post_id’=>$post->ID,’file’=>$k],admin_url(‘admin-post.php’)),’pda_file_’.$post->ID.’_’.$k);echo ‘