'level_test', 'question_text' => 'نام و نام خانوادگی :', 'question_type' => 'text', 'priority' => 1, 'score' => 0, 'correct_answer' => null, 'options' => null, 'user_info' => 'display_name' ], [ 'question_category' => 'level_test', 'question_text' => 'هدف از یادگیری انگلیسی :', 'question_type' => 'multiple_choice', 'priority' => 2, 'score' => 0, 'correct_answer' => null, 'options' => json_encode([ 'مهاجرت یا سفر خارجی', 'پیشرفت شغلی', 'پیشرفت تحصیلی', 'علاقه یا توسعه فردی', ]), 'user_info' => 'learning_goal' ], [ 'question_category' => 'level_test', 'question_text' => 'شهر زندگی :', 'question_type' => 'text', 'priority' => 3, 'score' => 0, 'correct_answer' => null, 'options' => null, 'user_info' => 'city' ], [ 'question_category' => 'level_test', 'question_text' => 'شماره تماس جهت دریافت پیامک نتیجه:', 'question_type' => 'text', 'priority' => 4, 'score' => 0, 'correct_answer' => null, 'options' => null, 'user_info' => 'phone' ], [ 'question_category' => 'level_test', 'question_text' => '1. They ____ dinner when I arrived.', 'question_type' => 'multiple_choice', 'priority' => 5, 'score' => 1, 'correct_answer' => 'B. were having', 'options' => json_encode([ 'A. have', 'B. were having', 'C. had', 'D. are having', ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => '2. She ____ like coffee.', 'question_type' => 'multiple_choice', 'priority' => 6, 'score' => 1, 'correct_answer' => "B. doesn't", 'options' => json_encode([ "A. don't", "B. doesn't", "C. didn't", "D. isn't", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => '3. We ____ in this city since 2010.', 'question_type' => 'multiple_choice', 'priority' => 7, 'score' => 1, 'correct_answer' => "B. have lived", 'options' => json_encode([ "A. live", "B. have lived", "C. lived", "D. are living", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "4. There ____ two cats in the garden.", 'question_type' => 'multiple_choice', 'priority' => 8, 'score' => 1, 'correct_answer' => "B. are", 'options' => json_encode([ "A. is", "B. are", "C. were", "D. have", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "5. He usually ____ his homework in the evening.", 'question_type' => 'multiple_choice', 'priority' => 9, 'score' => 1, 'correct_answer' => "A. does", 'options' => json_encode([ "A. does", "B. do", "C. is doing", "D. did", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "6. I have ____ my keys.", 'question_type' => 'multiple_choice', 'priority' => 10, 'score' => 1, 'correct_answer' => "B. lost", 'options' => json_encode([ "A. lose", "B. lost", "C. losing", "D. to lose", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "7. She ____ tennis on Sundays.", 'question_type' => 'multiple_choice', 'priority' => 11, 'score' => 1, 'correct_answer' => "A. plays", 'options' => json_encode([ "A. plays", "B. play", "C. is playing", "D. played", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "8. They suggested __ earlier to avoid traffic.", 'question_type' => 'multiple_choice', 'priority' => 12, 'score' => 1, 'correct_answer' => "A. leaving", 'options' => json_encode([ "A. leaving", "B. to leave", "C. left", "D. leave", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "9. By the time she arrived, we __ our meal.", 'question_type' => 'multiple_choice', 'priority' => 13, 'score' => 1, 'correct_answer' => "A. had finished", 'options' => json_encode([ "A. had finished", "B. have finished", "C. finished", "D. were finishing", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "10. He's looking forward to __ you next week.", 'question_type' => 'multiple_choice', 'priority' => 14, 'score' => 1, 'correct_answer' => "B. meeting", 'options' => json_encode([ "A. meet", "B. meeting", "C. met", "D. to meet", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "11. If I __ more money last year, I would have bought a car.", 'question_type' => 'multiple_choice', 'priority' => 15, 'score' => 1, 'correct_answer' => "A. had", 'options' => json_encode([ "A. had", "B. have", "C. would have", "D. will have", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "12. She complained __ the noise from the neighbours.", 'question_type' => 'multiple_choice', 'priority' => 16, 'score' => 1, 'correct_answer' => "A. about", 'options' => json_encode([ "A. about", "B. for", "C. on", "D. to", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "13. The new library at school __ next Monday.", 'question_type' => 'multiple_choice', 'priority' => 17, 'score' => 1, 'correct_answer' => "C. is opening", 'options' => json_encode([ "A. will open", "B. opens", "C. is opening", "D. has opened", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "14. He's the only person I know __ speak five languages.", 'question_type' => 'multiple_choice', 'priority' => 18, 'score' => 1, 'correct_answer' => "A. who can", 'options' => json_encode([ "A. who can", "B. whom can", "C. which can", "D. whose can", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "15. Hardly __ the meeting when the fire alarm went off.", 'question_type' => 'multiple_choice', 'priority' => 19, 'score' => 1, 'correct_answer' => "A. had we started", 'options' => json_encode([ "A. had we started", "B. we had started", "C. we started", "D. had started", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "16. It was Sarah __ solved the problem in record time.", 'question_type' => 'multiple_choice', 'priority' => 20, 'score' => 1, 'correct_answer' => "A. who", 'options' => json_encode([ "A. who", "B. which", "C. whom", "D. whose", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "17. The report needs __ before it's ready to be published.", 'question_type' => 'multiple_choice', 'priority' => 21, 'score' => 1, 'correct_answer' => "A. to be proofread", 'options' => json_encode([ "A. to be proofread", "B. proofread", "C. being proofread", "D. proofreaded", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "18. Despite __ very hard, he failed the exam.", 'question_type' => 'multiple_choice', 'priority' => 22, 'score' => 1, 'correct_answer' => "B. studying", 'options' => json_encode([ "A. he had studied", "B. studying", "C. to study", "D. study", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "19. She's capable of __ him convince the committee.", 'question_type' => 'multiple_choice', 'priority' => 23, 'score' => 1, 'correct_answer' => "A. getting", 'options' => json_encode([ "A. getting", "B. get", "C. got", "D. to get", ]), 'user_info' => null ], [ 'question_category' => 'level_test', 'question_text' => "20. The new policy aims __ workplace equality.", 'question_type' => 'multiple_choice', 'priority' => 24, 'score' => 1, 'correct_answer' => "B. to promote", 'options' => json_encode([ "A. promoting", "B. to promote", "C. promote", "D. promoted", ]), 'user_info' => null ] ]; // نمونه فصل‌ها (Sessions) و درس‌ها $sampleSessions = [ [ 'title' => 'معرفی خود و آشنایی', 'description' => 'یادگیری نحوه معرفی خود و آشنایی با دیگران در زبان انگلیسی', 'level' => 'A2', 'priority' => 1, 'is_active' => 1, 'lessons' => [ [ 'title' => 'معرفی کردن خودتان', 'priority' => 1, 'is_active' => 1, 'contents' => [ [ 'content_type' => 'text', 'content_data' => "درود! در این درس یاد می‌گیریم چطور خودمان را معرفی کنیم.\n\nعبارات مهم:\n- Hi, I'm... / Hello, my name is...\n- Nice to meet you\n- Where are you from?\n- I'm from...", 'priority' => 1 ], [ 'content_type' => 'text', 'content_data' => "مثال‌هایی از مکالمه:\n\nA: Hi, I'm Sarah. What's your name?\nB: Hello, I'm Ali. Nice to meet you.\nA: Nice to meet you too. Where are you from?\nB: I'm from Iran. How about you?\nA: I'm from Canada.", 'priority' => 2 ], [ 'content_type' => 'audio', 'content_data' => 'https://example.com/audio/introduction.mp3', 'priority' => 3 ] ], 'questions' => [ [ 'question_text' => "How do you introduce yourself in English?", 'question_type' => 'text', 'priority' => 1, 'score' => 5, 'correct_answer' => null, 'options' => null ], [ 'question_text' => "What is the correct response to 'Nice to meet you'?", 'question_type' => 'multiple_choice', 'priority' => 2, 'score' => 5, 'correct_answer' => "B. Nice to meet you too", 'options' => json_encode([ "A. Thank you", "B. Nice to meet you too", "C. You're welcome", "D. See you later" ]) ] ] ] ] ], [ 'title' => 'صحبت در مورد خانواده', 'description' => 'یادگیری نحوه صحبت در مورد اعضای خانواده', 'level' => 'A2', 'priority' => 2, 'is_active' => 1, 'lessons' => [ [ 'title' => 'اعضای خانواده', 'priority' => 1, 'is_active' => 1, 'contents' => [ [ 'content_type' => 'text', 'content_data' => "واژگان خانواده:\n\n- Father/Dad - پدر\n- Mother/Mom - مادر\n- Brother - برادر\n- Sister - خواهر\n- Son - پسر\n- Daughter - دختر", 'priority' => 1 ], [ 'content_type' => 'video', 'content_data' => 'https://example.com/video/family.mp4', 'priority' => 2 ] ], 'questions' => [ [ 'question_text' => "I have two _____ and one sister.", 'question_type' => 'multiple_choice', 'priority' => 1, 'score' => 5, 'correct_answer' => "A. brothers", 'options' => json_encode([ "A. brothers", "B. brother", "C. sisters", "D. parents" ]) ] ] ] ] ], [ 'title' => 'مکالمه در رستوران', 'description' => 'یادگیری سفارش غذا و مکالمه در رستوران', 'level' => 'B1', 'priority' => 1, 'is_active' => 1, 'lessons' => [ [ 'title' => 'سفارش غذا', 'priority' => 1, 'is_active' => 1, 'contents' => [ [ 'content_type' => 'text', 'content_data' => "عبارات کاربردی در رستوران:\n\n- I'd like to order...\n- Could I have the menu, please?\n- What do you recommend?\n- The check, please", 'priority' => 1 ] ], 'questions' => [ [ 'question_text' => "What would you say to ask for the bill?", 'question_type' => 'text', 'priority' => 1, 'score' => 5, 'correct_answer' => null, 'options' => null ] ] ] ] ] ]; // تنظیمات سیستم $sampleSettings = [ 'bot_name' => 'ربات آزمون سطح‌سنجی انگلیسی', 'welcome_message' => "🌟 به آزمون سطح‌سنجی زبان انگلیسی خوش آمدید! 🌟\n\n📝 در این آزمون شما با سوالات مختلفی روبرو خواهید شد که سطح زبان انگلیسی شما را ارزیابی می‌کند.\n\n🎯 انواع سوالات:\n• سوالات چهارگزینه‌ای\n• سوالات متنی\n• سوالات صوتی (ضبط صدا)\n\n⏱ زمان تقریبی: 10-15 دقیقه\n📊 در پایان سطح زبان شما مشخص خواهد شد\n\nآماده هستید؟ دکمه \"شروع آزمون\" را بزنید! 🚀", 'max_questions' => '25', 'upload_path' => 'user_uploads/', 'max_voice_duration' => '120', 'timezone' => 'Asia/Tehran', 'max_file_size' => '52428800', // 50MB 'start_exam_button' => '🚀 شروع آزمون', 'next_question' => '➡️ سوال بعدی', 'finish_exam' => '✅ پایان آزمون', 'voice_instruction' => '🎤 لطفاً پاسخ خود را به صورت صوتی ارسال کنید (حداکثر 2 دقیقه)', 'text_instruction' => '✍️ لطفاً پاسخ خود را به صورت متن وارد کنید', 'multiple_choice_instruction' => '👆 لطفاً یکی از گزینه‌ها را انتخاب کنید', 'exam_completed' => '🎉 آزمون شما با موفقیت تکمیل شد!', 'calculating_result' => '⏳ در حال محاسبه نتیجه...', 'error_occurred' => '❌ خطایی رخ داد. لطفاً دوباره تلاش کنید.', 'invalid_answer' => '❌ پاسخ نامعتبر! لطفاً دوباره تلاش کنید.', 'session_expired' => '⏰ جلسه شما منقضی شده است. لطفاً دوباره شروع کنید.', 'level_A2_description' => '✅ "{display_name}" عزیز ، سطح شما در این تعیین سطح ({level}) ارزیابی شد .\n\nبا توجه به اینکه هدف شما "{learning_goal}" میباشد ،با کمی تلاش و برنامه ریزی درست میتوانید در آکادمی پناهنده به سطح خوبی از مکالمه برسید\n\n\n❓ویس توضیح (سطح {level} یعنی چه سطحی )\n\n👇🏻👇🏻👇🏻👇🏻👇🏻', 'level_B1_description' => '✅ "{display_name}" عزیز ، سطح شما در این تعیین سطح ({level}) ارزیابی شد .\n\nبا توجه به اینکه هدف شما "{learning_goal}" میباشد ،با کمی تلاش و برنامه ریزی درست میتوانید در آکادمی پناهنده به سطح خوبی از مکالمه برسید\n\n\n❓ویس توضیح (سطح {level} یعنی چه سطحی )\n\n👇🏻👇🏻👇🏻👇🏻👇🏻', 'level_B2_description' => '✅ "{display_name}" عزیز ، سطح شما در این تعیین سطح ({level}) ارزیابی شد .\n\nبا توجه به اینکه هدف شما "{learning_goal}" میباشد ،با کمی تلاش و برنامه ریزی درست میتوانید در آکادمی پناهنده به سطح خوبی از مکالمه برسید\n\n\n❓ویس توضیح (سطح {level} یعنی چه سطحی )\n\n👇🏻👇🏻👇🏻👇🏻👇🏻', 'after_auth_message' => "پیغام :\n\n{display_name} عزیز شما با این شماره موبایل {telegram_phone} ، دسترسی های زیر را دارید :\n\nدسترسی دوره English Takeoff : ✅\nدسترسی تمرین های چند گزینه ای : ✅\nدسترسی به ویدیو های مرور با فیلم :❌\nدسترسی به مربی همراه : ❌\nدسترسی به کلاس خصوصی : ❌", 'start_sessions_message' => "پیغام :\n\n{display_name} عزیز ، دوره English Takeoff برای شما از امروز شروع شد\n\nهر روز یک فصل به شما دسترسی داده میشود\n\nمیتوانید فصل اول را شروع کنید.", 'menu_photo_caption' => "English Takeoff مینی دوره⭐️\n\n✅یادگیری مکالمه موقعیت های زندگی واقعی", 'has_no_access_message' => "{display_name} عزیز ، با این شماره تلگرام ({telegram_phone}) شما دسترسی به دوره 10x و قابلیت های آن را ندارید❌\n\n✅برای دسترسی لطفا دوره 10x را ثبت نام کنید", 'menu_photo_url' => 'https://yoozgroupbot.ir/quiz_4/bot_files/takeoff.jpg' ]; ?>