๐Ÿš€ Hostinger Optimized
๐Ÿ–ฅ๏ธ Server: LiteSpeed
๐Ÿ’ป System: Linux s20058.bom1.stableserver.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
๐Ÿ‘ค User: skhata (1324)
๐Ÿ˜ PHP: 8.4.20
๐Ÿšซ Disabled: โœจ NONE

๐Ÿ’ป Terminal

๐Ÿ“ /home/skhata/chandrasons.com/public
$

๐Ÿ“„ schema.sql

๐Ÿ“ Path: /home/skhata/excellenteducation.com.np/database/schema.sql
๐Ÿ“Š Size: 41.64 KB
๐Ÿ”’ Perm: 0644
๐Ÿ“ MIME: text/plain
-- ============================================================================
-- Excellent Education & Counselling Services Pvt. Ltd. - CMS Database Schema
-- Engine: MySQL 8.0+ / MariaDB 10.4+
-- ============================================================================

CREATE DATABASE IF NOT EXISTS excellent_education CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE excellent_education;

-- ----------------------------------------------------------------------------
-- USERS (admin panel accounts)
-- ----------------------------------------------------------------------------
CREATE TABLE users (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(120) NOT NULL,
  username VARCHAR(60) NOT NULL UNIQUE,
  email VARCHAR(150) NOT NULL UNIQUE,
  password_hash VARCHAR(255) NOT NULL,
  role ENUM('admin','editor','counsellor') NOT NULL DEFAULT 'editor',
  avatar VARCHAR(255) DEFAULT NULL,
  status ENUM('active','inactive') NOT NULL DEFAULT 'active',
  last_login DATETIME DEFAULT NULL,
  created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB;

-- Default admin: username "admin", password "Admin@123" (CHANGE IMMEDIATELY AFTER FIRST LOGIN)
-- Hash generated with PHP password_hash('Admin@123', PASSWORD_BCRYPT)
INSERT INTO users (name, username, email, password_hash, role) VALUES
('Site Administrator', 'admin', 'admin@excellenteducation.edu.np', '$2b$10$nlojJ8lBtl9U0ws9XxhWMuAgS4OOUkw0IrQ5kS3.6ahwz9u0tx6XS', 'admin');

-- ----------------------------------------------------------------------------
-- SETTINGS (single-row general site settings)
-- ----------------------------------------------------------------------------
CREATE TABLE settings (
  id INT PRIMARY KEY DEFAULT 1,
  site_name VARCHAR(150) NOT NULL DEFAULT 'Excellent Education & Counselling Services Pvt. Ltd.',
  tagline VARCHAR(150) DEFAULT 'Pride in Excellence',
  address VARCHAR(255) DEFAULT 'Putalisadak, Kathmandu, Nepal',
  phone VARCHAR(50) DEFAULT '+977 980-0000000',
  whatsapp_number VARCHAR(50) DEFAULT '9779800000000',
  email VARCHAR(150) DEFAULT 'info@excellenteducation.edu.np',
  facebook_url VARCHAR(255) DEFAULT '#',
  instagram_url VARCHAR(255) DEFAULT '#',
  youtube_url VARCHAR(255) DEFAULT '#',
  linkedin_url VARCHAR(255) DEFAULT '#',
  google_map_embed TEXT,
  logo_full VARCHAR(255) DEFAULT 'assets/img/logo-full.png',
  logo_icon VARCHAR(255) DEFAULT 'assets/img/logo-icon.png',
  favicon VARCHAR(255) DEFAULT 'assets/img/logo-icon.png',
  footer_text VARCHAR(255) DEFAULT 'Pride in Excellence — your trusted partner for study abroad, test preparation, and visa counselling.',
  copyright_text VARCHAR(255) DEFAULT '© 2026 Excellent Education & Counselling Services Pvt. Ltd. All Rights Reserved.',
  meta_title VARCHAR(160) DEFAULT 'Excellent Education & Counselling Services Pvt. Ltd. | Pride in Excellence',
  meta_description VARCHAR(300) DEFAULT 'Excellent Education & Counselling Services - your trusted partner for study abroad, test preparation, and visa counselling.',
  meta_keywords VARCHAR(300) DEFAULT 'study abroad, IELTS, visa counselling, Nepal, education consultancy',
  og_image VARCHAR(255) DEFAULT 'assets/img/logo-full.png',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB;

INSERT INTO settings (id) VALUES (1);

CREATE TABLE branch_offices (
  id INT AUTO_INCREMENT PRIMARY KEY,
  label VARCHAR(100) NOT NULL,
  address VARCHAR(255) NOT NULL,
  sort_order INT DEFAULT 0
) ENGINE=InnoDB;

INSERT INTO branch_offices (label, address, sort_order) VALUES
('Kathmandu (HQ)', 'Putalisadak, Kathmandu, Nepal', 1),
('Pokhara', 'Lakeside, Pokhara, Nepal', 2),
('Chitwan', 'Bharatpur-10, Chitwan, Nepal', 3);

-- ----------------------------------------------------------------------------
-- HOMEPAGE: HERO SLIDERS
-- ----------------------------------------------------------------------------
CREATE TABLE sliders (
  id INT AUTO_INCREMENT PRIMARY KEY,
  badge_text VARCHAR(150),
  title VARCHAR(255) NOT NULL,
  subtitle VARCHAR(400),
  image VARCHAR(255) NOT NULL,
  button_text VARCHAR(60),
  button_link VARCHAR(255),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active',
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB;

INSERT INTO sliders (badge_text, title, subtitle, image, button_text, button_link, sort_order) VALUES
('#1 Trusted Education Consultancy', 'Your Journey to Global Education Starts Here', 'Expert counselling for study abroad, test preparation, and visa processing โ€” guided every step of the way.', 'https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1600', 'Book Free Counselling', 'contact.php', 1),
('Test Preparation Excellence', 'IELTS ยท PTE ยท SAT ยท GRE & GMAT', 'Score higher with expert instructors, mock tests, and personalised study plans.', 'https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1600', 'View Programs', 'test-preparation.php', 2),
('High Visa Success Rate', 'Documentation & Visa Made Simple', 'End-to-end support from application to visa approval โ€” hassle-free and transparent.', 'https://images.unsplash.com/photo-1523580494863-6f3031224c94?q=80&w=1600', 'Get Started', 'contact.php', 3);

-- ----------------------------------------------------------------------------
-- HOMEPAGE: WHY CHOOSE US (features)
-- ----------------------------------------------------------------------------
CREATE TABLE features (
  id INT AUTO_INCREMENT PRIMARY KEY,
  icon VARCHAR(60) DEFAULT 'fa-solid fa-star',
  color ENUM('red','green','gold') DEFAULT 'red',
  title VARCHAR(150) NOT NULL,
  description VARCHAR(300),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO features (icon, color, title, description, sort_order) VALUES
('fa-solid fa-user-graduate', 'red', 'Expert Counsellors', 'Certified counsellors with years of study-abroad placement experience.', 1),
('fa-solid fa-globe', 'green', 'Global University Ties', 'Direct partnerships with top universities across 20+ countries.', 2),
('fa-solid fa-passport', 'gold', 'High Visa Success', 'Meticulous documentation support with an industry-leading success rate.', 3),
('fa-solid fa-book-open-reader', 'red', 'Proven Test Prep', 'IELTS, PTE, SAT, GRE & GMAT classes with top score guarantees.', 4);

-- ----------------------------------------------------------------------------
-- HOMEPAGE: SERVICES
-- ----------------------------------------------------------------------------
CREATE TABLE services (
  id INT AUTO_INCREMENT PRIMARY KEY,
  icon VARCHAR(60) DEFAULT 'fa-solid fa-star',
  title VARCHAR(150) NOT NULL,
  description VARCHAR(300),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO services (icon, title, description, sort_order) VALUES
('fa-solid fa-comments', 'Career Counselling', 'Personalised guidance to choose the right course, country, and university.', 1),
('fa-solid fa-headset', 'Test Preparation', 'Structured IELTS, PTE, TOEFL, SAT, GRE and GMAT classes.', 2),
('fa-solid fa-file-lines', 'Documentation Guidance', 'Complete support preparing SOPs, LORs, and application files.', 3),
('fa-solid fa-plane-departure', 'Visa Processing', 'End-to-end visa filing and interview preparation.', 4),
('fa-solid fa-university', 'University Selection', 'Matching your profile to the best-fit universities worldwide.', 5),
('fa-solid fa-hands-holding-circle', 'Visa Counselling', 'Pre- and post-visa guidance, including mock interviews.', 6);

-- ----------------------------------------------------------------------------
-- ABOUT PAGE CONTENT (single row) + Chairman message
-- ----------------------------------------------------------------------------
CREATE TABLE about_content (
  id INT PRIMARY KEY DEFAULT 1,
  banner_title VARCHAR(150) DEFAULT 'Pride in Excellence Since Day One',
  banner_subtitle VARCHAR(300) DEFAULT 'Learn about our mission, our team, and what makes Excellent Education & Counselling Services different.',
  company_profile_title VARCHAR(200) DEFAULT 'Guiding Students Toward Global Success',
  company_profile_body TEXT,
  company_profile_image VARCHAR(255) DEFAULT 'https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=900',
  mission TEXT,
  vision TEXT,
  chairman_name VARCHAR(150) DEFAULT 'Posan Prasad Lamichhane',
  chairman_title VARCHAR(100) DEFAULT 'Chairman',
  chairman_photo VARCHAR(255) DEFAULT 'https://images.unsplash.com/photo-1560250097-0b93528c311a?q=80&w=600',
  chairman_message LONGTEXT,
  seo_title VARCHAR(160) DEFAULT 'About Us | Excellent Education & Counselling Services',
  seo_description VARCHAR(300) DEFAULT 'Learn about Excellent Education & Counselling Services - our mission, vision, team and story.',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB;

INSERT INTO about_content (
  company_profile_body, mission, vision, chairman_message
) VALUES (
  'Excellent Education & Counselling Services Pvt. Ltd. has helped thousands of students achieve their dream of studying abroad. From career counselling to visa approval, we walk alongside every student on their journey.\n\nOur team of certified counsellors, test preparation instructors, and visa specialists work together to deliver a seamless, transparent experience.',
  'To make quality global education accessible through honest, expert guidance.',
  'To be Nepal''s most trusted name in international education consultancy.',
  'Dear Students, Parents, and Esteemed Partners,\n\nIt is my great pleasure to welcome you to Excellent Education and Counseling Services Pvt. Ltd., Putalisadak, Kathmandu.\n\nAt Excellent Education and Counseling Services, we believe that education is the most valuable investment in an individual''s future. Every student possesses unique talents, aspirations, and the potential to achieve remarkable success. Our mission is to guide students toward the educational opportunities that best align with their goals, empowering them to become confident global citizens and future leaders.\n\nPursuing international education is a life-changing journey that requires informed decisions, professional guidance, and unwavering support. We are committed to delivering ethical, transparent, and personalized counseling services that place the interests of our students first. From career counseling and university selection to admission processing, visa assistance, and pre-departure support, our experienced team stands beside every student at each step of the journey.\n\nAt Excellent Education and Counseling Services Pvt. Ltd., excellence, integrity, and professionalism are the foundations of everything we do. We continuously strive to build strong partnerships with leading educational institutions around the world, ensuring our students have access to quality education and outstanding opportunities for academic and professional growth.\n\nThe success of our students is our greatest achievement and strongest motivation. Their accomplishments inspire us to maintain the highest standards of service and to continue creating pathways that transform dreams into reality.\n\nI extend my sincere gratitude to our students, parents, partner institutions, and well-wishers for the trust and confidence they have placed in us. We remain dedicated to supporting every student with honesty, commitment, and excellence as they pursue a brighter future through international education.\n\nThank you for choosing Excellent Education and Counseling Services Pvt. Ltd. as your trusted education partner. We look forward to helping you achieve your academic ambitions and lifelong career goals.\n\nWith warm regards and best wishes,'
);

-- ----------------------------------------------------------------------------
-- TEAM MEMBERS
-- ----------------------------------------------------------------------------
CREATE TABLE team_members (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(150) NOT NULL,
  role VARCHAR(150),
  photo VARCHAR(255),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO team_members (name, role, sort_order) VALUES
('Sarita Adhikari', 'Senior Counsellor', 1),
('Bikash Thapa', 'Test Prep Head', 2),
('Nisha Gurung', 'Visa Specialist', 3),
('Rajan Karki', 'Career Counsellor', 4);

-- ----------------------------------------------------------------------------
-- PARTNERS (university partner logos)
-- ----------------------------------------------------------------------------
CREATE TABLE partners (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(150) NOT NULL,
  logo VARCHAR(255),
  website_url VARCHAR(255),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO partners (name, sort_order) VALUES
('University A', 1), ('Global College B', 2), ('Institute C', 3), ('University D', 4), ('College E', 5);

-- ----------------------------------------------------------------------------
-- STUDY ABROAD: COUNTRIES
-- ----------------------------------------------------------------------------
CREATE TABLE countries (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100) NOT NULL,
  slug VARCHAR(100) NOT NULL UNIQUE,
  hero_image VARCHAR(255),
  tagline VARCHAR(300),
  short_description VARCHAR(300),
  why_points JSON,
  cost_items JSON,
  universities JSON,
  scholarships JSON,
  visa_steps JSON,
  gallery_images JSON,
  seo_title VARCHAR(160),
  seo_description VARCHAR(300),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB;

INSERT INTO countries (name, slug, hero_image, tagline, short_description, why_points, cost_items, universities, scholarships, visa_steps, gallery_images, sort_order) VALUES
('Australia', 'australia', 'photo-1523482580672-f109ba8cb9be',
 'World-class education, post-study work rights, and a high standard of living.',
 'World-class universities, post-study work rights, and vibrant multicultural cities.',
 JSON_ARRAY('Globally ranked universities across all major fields','Up to 4 years post-study work visa','Safe, multicultural, English-speaking environment','Part-time work rights while studying'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','AUD 1,400-2,500/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','AUD 300-500/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','AUD 150/mo','label','Transport')),
 JSON_ARRAY('University of Melbourne','University of Sydney','Monash University','UNSW Sydney'),
 JSON_ARRAY('Australia Awards Scholarship','Destination Australia Scholarship','University Merit Scholarships'),
 JSON_ARRAY('Receive offer letter from university','Pay tuition deposit and get CoE','Prepare GTE statement and documents','Lodge student visa (subclass 500) online','Attend biometrics and health check','Receive visa decision'),
 JSON_ARRAY('photo-1523482580672-f109ba8cb9be','photo-1523050854058-8df90110c9f1','photo-1522202176988-66273c2fd55f','photo-1540575467063-178a50c2df87'),
 1),
('United Kingdom', 'uk', 'photo-1513635269975-59663e0ac1ad',
 'Home to centuries-old universities and a 2-year post-study Graduate Route visa.',
 'Home to some of the world''s oldest and most prestigious universities.',
 JSON_ARRAY('Shorter degree durations (3-year bachelor''s, 1-year master''s)','2-year post-study Graduate Route visa','Globally recognised qualifications','Rich cultural and historical experience'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','GBP 700-1,200/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','GBP 200-300/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','GBP 80/mo','label','Transport')),
 JSON_ARRAY('University of Oxford','University of Manchester','King''s College London','University of Edinburgh'),
 JSON_ARRAY('Chevening Scholarship','GREAT Scholarships','University Vice-Chancellor Awards'),
 JSON_ARRAY('Receive Confirmation of Acceptance (CAS)','Prove financial funds for tuition & living','Complete online Student visa application','Book and attend biometrics appointment','Submit documents to visa center','Receive visa decision'),
 JSON_ARRAY('photo-1513635269975-59663e0ac1ad','photo-1543269865-cbf427effbad','photo-1517457373958-b7bdd4587205','photo-1524178232363-1fb2b075b655'),
 2),
('USA', 'usa', 'photo-1485738422979-f5c462d49f74',
 'The world''s largest higher-education system with unmatched research opportunities.',
 'The largest choice of courses and universities, with strong research opportunities.',
 JSON_ARRAY('Widest range of universities and specializations','Optional Practical Training (OPT) up to 3 years for STEM','Strong research and funding opportunities','Vibrant campus life across 50 states'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','USD 800-1,500/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','USD 300-450/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','USD 100/mo','label','Transport')),
 JSON_ARRAY('Harvard University','Arizona State University','University of Texas','Northeastern University'),
 JSON_ARRAY('Fulbright Scholarship','University Assistantships','Merit-based Tuition Waivers'),
 JSON_ARRAY('Receive I-20 from university','Pay SEVIS fee','Complete DS-160 visa application','Schedule and attend F-1 visa interview','Provide financial and academic documents','Receive visa decision'),
 JSON_ARRAY('photo-1485738422979-f5c462d49f74','photo-1523240795612-9a054b0db644','photo-1571260899304-425eee4c7efc','photo-1522202176988-66273c2fd55f'),
 3),
('Canada', 'canada', 'photo-1517935706615-2717063c2225',
 'Affordable tuition, welcoming immigration pathways, and an excellent quality of life.',
 'Affordable tuition, welcoming immigration policies, and high quality of life.',
 JSON_ARRAY('Post-Graduation Work Permit up to 3 years','Pathway to permanent residency','Affordable tuition compared to US/UK','Safe, welcoming, multicultural society'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','CAD 800-1,500/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','CAD 300-400/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','CAD 100/mo','label','Transport')),
 JSON_ARRAY('University of Toronto','University of British Columbia','McGill University','Conestoga College'),
 JSON_ARRAY('Vanier Canada Graduate Scholarships','Ontario Graduate Scholarship','Institution Entrance Scholarships'),
 JSON_ARRAY('Receive Letter of Acceptance (LOA)','Pay tuition deposit / GIC for funds proof','Apply for study permit online','Complete biometrics','Submit medical exam if required','Receive study permit approval'),
 JSON_ARRAY('photo-1517935706615-2717063c2225','photo-1499856871958-5b9627545d1a','photo-1540575467063-178a50c2df87','photo-1523050854058-8df90110c9f1'),
 4),
('New Zealand', 'newzealand', 'photo-1469521669194-babb45599def',
 'Safe, scenic campuses with globally recognised qualifications and welcoming post-study work options.',
 'Safe, scenic campuses with globally recognised qualifications and post-study work options.',
 JSON_ARRAY('Globally recognised, quality-assured education system','Post-Study Work Visa for up to 3 years','Safe, friendly, and welcoming environment','Part-time work rights while studying'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','NZD 900-1,500/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','NZD 300-450/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','NZD 100/mo','label','Transport')),
 JSON_ARRAY('University of Auckland','University of Otago','Victoria University of Wellington','Auckland University of Technology'),
 JSON_ARRAY('New Zealand Excellence Awards','University International Scholarships','Commonwealth Scholarships'),
 JSON_ARRAY('Receive Offer of Place from institution','Pay tuition fees and receive receipt','Prove sufficient funds for living costs','Apply for student visa online (Immigration NZ)','Complete medical and character checks','Receive visa decision'),
 JSON_ARRAY('photo-1469521669194-babb45599def','photo-1500375592092-40eb2168fd21','photo-1470071459604-3b5ec3a7fe05','photo-1506905925346-21bda4d32df4'),
 5),
('Europe', 'europe', 'photo-1499856871958-5b9627545d1a',
 'Low-cost or tuition-free education across Germany, France, Italy and more.',
 'Low-cost or tuition-free education across Germany, France, and more.',
 JSON_ARRAY('Free or low tuition at many public universities','English-taught programs widely available','Central location for exploring the continent','Strong focus on research and innovation'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','EUR 400-800/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','EUR 200-300/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','EUR 60/mo','label','Transport')),
 JSON_ARRAY('Technical University of Munich','Sorbonne University','University of Amsterdam','Politecnico di Milano'),
 JSON_ARRAY('Erasmus+ Scholarship','DAAD Scholarship (Germany)','Eiffel Excellence Scholarship (France)'),
 JSON_ARRAY('Receive admission letter','Prove blocked account / financial funds','Apply for national student visa','Attend visa appointment at embassy','Submit health insurance proof','Receive visa and travel'),
 JSON_ARRAY('photo-1499856871958-5b9627545d1a','photo-1517457373958-b7bdd4587205','photo-1524178232363-1fb2b075b655','photo-1543269865-cbf427effbad'),
 6),
('Other Countries', 'other', 'photo-1523240795612-9a054b0db644',
 'Explore emerging and cost-effective study destinations across Asia and beyond.',
 'Explore emerging study destinations across Asia and beyond.',
 JSON_ARRAY('Growing list of globally ranked universities','Lower cost of living and tuition','Emerging scholarship opportunities','Culturally rich, welcoming environments'),
 JSON_ARRAY(JSON_OBJECT('icon','fa-house','amount','USD 200-500/mo','label','Accommodation'), JSON_OBJECT('icon','fa-utensils','amount','USD 150-250/mo','label','Food'), JSON_OBJECT('icon','fa-bus','amount','USD 40/mo','label','Transport')),
 JSON_ARRAY('National University of Singapore','University of Malaya','Seoul National University','University of Tokyo'),
 JSON_ARRAY('Government-sponsored Scholarships','University Merit Awards','Country-specific Bilateral Scholarships'),
 JSON_ARRAY('Receive admission offer','Prepare financial documents','Submit student visa application','Attend interview/biometrics if required','Complete pre-departure formalities','Receive visa approval'),
 JSON_ARRAY('photo-1523240795612-9a054b0db644','photo-1571260899304-425eee4c7efc','photo-1522202176988-66273c2fd55f','photo-1485738422979-f5c462d49f74'),
 7);

-- ----------------------------------------------------------------------------
-- TEST PREPARATION PROGRAMS
-- ----------------------------------------------------------------------------
CREATE TABLE test_preparations (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(60) NOT NULL,
  slug VARCHAR(60) NOT NULL UNIQUE,
  full_name VARCHAR(200),
  overview TEXT,
  syllabus JSON,
  duration VARCHAR(60),
  fee VARCHAR(60),
  schedule JSON,
  faqs JSON,
  seo_title VARCHAR(160),
  seo_description VARCHAR(300),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB;

INSERT INTO test_preparations (name, slug, full_name, overview, syllabus, duration, fee, schedule, faqs, sort_order) VALUES
('IELTS', 'ielts', 'International English Language Testing System',
 'Our IELTS program prepares you for both Academic and General Training formats, covering all four modules with weekly mock tests and personalised feedback.',
 JSON_ARRAY('Listening Strategies','Reading Techniques','Writing Task 1 & 2','Speaking Practice','Grammar & Vocabulary','Full Mock Tests'),
 '6-8 Weeks', 'NPR 12,000',
 JSON_ARRAY(JSON_OBJECT('batch','Morning Batch','days','Sun-Fri','time','7:00 - 8:30 AM'), JSON_OBJECT('batch','Evening Batch','days','Sun-Fri','time','5:00 - 6:30 PM'), JSON_OBJECT('batch','Weekend Batch','days','Fri-Sat','time','2:00 - 5:00 PM')),
 JSON_ARRAY(JSON_OBJECT('q','What band score do I need for study abroad?','a','Most universities require 6.0-7.0 overall, though requirements vary by program and country.'), JSON_OBJECT('q','How many mock tests are included?','a','Our program includes 4 full-length mock tests with detailed band-score feedback.'), JSON_OBJECT('q','Can I retake a module if I don''t pass?','a','Yes, we offer revision sessions before your test date at no extra cost.')),
 1),
('TOEFL', 'toefl', 'Test of English as a Foreign Language',
 'Our TOEFL iBT preparation course builds academic English skills through integrated listening, reading, speaking, and writing practice sessions.',
 JSON_ARRAY('Reading Comprehension','Academic Listening','Independent & Integrated Speaking','Integrated Writing','Note-taking Skills','Timed Practice Tests'),
 '6 Weeks', 'NPR 13,000',
 JSON_ARRAY(JSON_OBJECT('batch','Morning Batch','days','Sun-Fri','time','7:00 - 8:30 AM'), JSON_OBJECT('batch','Evening Batch','days','Sun-Fri','time','5:00 - 6:30 PM')),
 JSON_ARRAY(JSON_OBJECT('q','Is TOEFL accepted for UK universities?','a','Yes, most UK universities accept TOEFL alongside IELTS.'), JSON_OBJECT('q','How is TOEFL different from IELTS?','a','TOEFL is entirely computer-based and focuses more on academic English used in North American universities.')),
 2),
('SAT', 'sat', 'Scholastic Assessment Test',
 'Our SAT program covers Evidence-Based Reading & Writing and Math sections with strategy-focused sessions and full-length timed practice tests.',
 JSON_ARRAY('Reading Comprehension','Writing & Language','Algebra & Functions','Problem Solving & Data Analysis','Advanced Math','Full-Length Practice Tests'),
 '8-10 Weeks', 'NPR 18,000',
 JSON_ARRAY(JSON_OBJECT('batch','Weekday Batch','days','Sun-Thu','time','4:00 - 6:00 PM'), JSON_OBJECT('batch','Weekend Batch','days','Fri-Sat','time','10:00 AM - 1:00 PM')),
 JSON_ARRAY(JSON_OBJECT('q','What is a good SAT score?','a','A score of 1200+ is competitive for most US universities, while top-tier schools often expect 1400+.'), JSON_OBJECT('q','Do I need a calculator for the SAT?','a','Yes, a calculator is permitted on designated Math sections; we cover approved calculator strategies in class.')),
 3),
('PTE', 'pte', 'Pearson Test of English Academic',
 'Our PTE Academic course focuses on computer-based test strategies, AI-scoring patterns, and intensive speaking and writing practice.',
 JSON_ARRAY('Speaking & Writing Integration','Reading Fill-in-the-Blanks','Listening Summarize Spoken Text','Templates & Scoring Patterns','Pronunciation Practice','Scored Mock Tests'),
 '4-6 Weeks', 'NPR 11,000',
 JSON_ARRAY(JSON_OBJECT('batch','Morning Batch','days','Sun-Fri','time','8:00 - 9:30 AM'), JSON_OBJECT('batch','Evening Batch','days','Sun-Fri','time','6:00 - 7:30 PM')),
 JSON_ARRAY(JSON_OBJECT('q','How soon are PTE results available?','a','Typically within 1-2 business days, faster than most other English tests.'), JSON_OBJECT('q','Is PTE easier than IELTS?','a','It depends on the student; PTE is fully computer-based, which suits students comfortable with typing and computer-based tests.')),
 4),
('GRE', 'gre', 'Graduate Record Examination',
 'Our GRE program covers Verbal Reasoning, Quantitative Reasoning, and Analytical Writing for graduate school admissions worldwide.',
 JSON_ARRAY('Verbal Reasoning & Vocabulary','Quantitative Reasoning','Analytical Writing','Data Interpretation','Test-Taking Strategies','Full-Length Practice Tests'),
 '8 Weeks', 'NPR 20,000',
 JSON_ARRAY(JSON_OBJECT('batch','Weekday Batch','days','Sun-Thu','time','5:00 - 7:00 PM'), JSON_OBJECT('batch','Weekend Batch','days','Fri-Sat','time','10:00 AM - 1:00 PM')),
 JSON_ARRAY(JSON_OBJECT('q','What GRE score do I need for a master''s program?','a','Competitive programs typically look for 310+ combined, though requirements vary widely by field.'), JSON_OBJECT('q','Is the GRE required for all master''s programs?','a','No, many programs are GRE-optional; we can help you check requirements for your target universities.')),
 5),
('GMAT', 'gmat', 'Graduate Management Admission Test',
 'Our GMAT program prepares you for business school admissions with focused sessions on Quant, Verbal, Data Insights, and Analytical Writing.',
 JSON_ARRAY('Quantitative Reasoning','Verbal Reasoning','Data Insights','Analytical Writing Assessment','Time Management Strategies','Full-Length Practice Tests'),
 '8-10 Weeks', 'NPR 22,000',
 JSON_ARRAY(JSON_OBJECT('batch','Weekday Batch','days','Sun-Thu','time','5:00 - 7:00 PM'), JSON_OBJECT('batch','Weekend Batch','days','Fri-Sat','time','2:00 - 5:00 PM')),
 JSON_ARRAY(JSON_OBJECT('q','What GMAT score is competitive for top MBA programs?','a','Top-tier programs typically expect 650+, while many good programs accept 550-600.'), JSON_OBJECT('q','How long should I prepare for the GMAT?','a','We recommend 8-10 weeks of consistent study alongside our structured class schedule.')),
 6);

-- ----------------------------------------------------------------------------
-- TESTIMONIALS
-- ----------------------------------------------------------------------------
CREATE TABLE testimonials (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(150) NOT NULL,
  photo VARCHAR(255),
  location VARCHAR(150),
  rating TINYINT DEFAULT 5,
  message TEXT,
  video_url VARCHAR(255),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO testimonials (name, location, rating, message, sort_order) VALUES
('Rojina Shrestha', 'Studying in Melbourne, Australia', 5, 'Excellent Education guided me from my IELTS prep all the way to my Australian student visa. Truly professional!', 1),
('Anish Bhattarai', 'Studying in Toronto, Canada', 5, 'Their counsellors helped me pick the perfect university in Canada. The visa process was smooth and stress-free.', 2),
('Prasanna KC', 'Studying in Boston, USA', 5, 'From SAT prep to my US university offer letter โ€” the whole journey felt guided and personal.', 3);

-- ----------------------------------------------------------------------------
-- GALLERY
-- ----------------------------------------------------------------------------
CREATE TABLE gallery_categories (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100) NOT NULL,
  slug VARCHAR(100) NOT NULL UNIQUE,
  sort_order INT DEFAULT 0
) ENGINE=InnoDB;

INSERT INTO gallery_categories (name, slug, sort_order) VALUES
('Office', 'office', 1), ('Students', 'students', 2), ('Events', 'events', 3),
('IELTS Classes', 'ielts-classes', 4), ('Visa Success', 'visa-success', 5), ('Videos', 'videos', 6);

CREATE TABLE gallery_items (
  id INT AUTO_INCREMENT PRIMARY KEY,
  category_id INT NOT NULL,
  title VARCHAR(150),
  image VARCHAR(255) NOT NULL,
  type ENUM('image','video') DEFAULT 'image',
  video_url VARCHAR(255),
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active',
  FOREIGN KEY (category_id) REFERENCES gallery_categories(id) ON DELETE CASCADE
) ENGINE=InnoDB;

INSERT INTO gallery_items (category_id, title, image, sort_order) VALUES
(3, 'Education Fair', 'photo-1523240795612-9a054b0db644', 1),
(2, 'Student Success', 'photo-1522202176988-66273c2fd55f', 2),
(4, 'IELTS Batch', 'photo-1543269865-cbf427effbad', 3),
(5, 'Visa Approved', 'photo-1571260899304-425eee4c7efc', 4),
(3, 'Seminar Day', 'photo-1540575467063-178a50c2df87', 5),
(1, 'Our Office', 'photo-1524178232363-1fb2b075b655', 6),
(5, 'Success Story', 'photo-1517457373958-b7bdd4587205', 7),
(1, 'Reception Desk', 'photo-1523050854058-8df90110c9f1', 8),
(2, 'Group Counselling', 'photo-1517935706615-2717063c2225', 9),
(6, 'Campus Tour Video', 'photo-1499856871958-5b9627545d1a', 10),
(4, 'Mock Test Session', 'photo-1513635269975-59663e0ac1ad', 11),
(6, 'Student Interview Video', 'photo-1485738422979-f5c462d49f74', 12);

-- ----------------------------------------------------------------------------
-- BLOG
-- ----------------------------------------------------------------------------
CREATE TABLE blog_categories (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100) NOT NULL,
  slug VARCHAR(100) NOT NULL UNIQUE
) ENGINE=InnoDB;

INSERT INTO blog_categories (name, slug) VALUES
('Study Abroad', 'study-abroad'), ('Visa News', 'visa-news'),
('Scholarships', 'scholarships'), ('Test Preparation', 'test-preparation');

CREATE TABLE blogs (
  id INT AUTO_INCREMENT PRIMARY KEY,
  category_id INT NOT NULL,
  title VARCHAR(255) NOT NULL,
  slug VARCHAR(255) NOT NULL UNIQUE,
  featured_image VARCHAR(255),
  excerpt VARCHAR(400),
  body LONGTEXT,
  author VARCHAR(100) DEFAULT 'Counselling Team',
  tags VARCHAR(255),
  seo_title VARCHAR(160),
  seo_description VARCHAR(300),
  status ENUM('published','draft') DEFAULT 'published',
  published_at DATE,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
  FOREIGN KEY (category_id) REFERENCES blog_categories(id)
) ENGINE=InnoDB;

INSERT INTO blogs (category_id, title, slug, featured_image, author, tags, body, published_at) VALUES
(1, 'Study in Australia: Everything You Need to Know', 'study-in-australia', 'photo-1523482580672-f109ba8cb9be', 'Counselling Team', 'Australia,Student Visa,University Selection',
'Australia remains one of the top destinations for Nepali students thanks to its globally ranked universities, welcoming multicultural cities, and generous post-study work rights. But choosing to study there involves more than picking a course โ€” it means understanding the entire journey from application to arrival.\n\nThe first step is choosing the right course and institution. Australia offers everything from vocational diplomas to research-intensive doctoral programs, and matching your academic background and career goals to the right pathway makes a real difference to both your visa application and your long-term outcomes.\n\nOnce you have an offer, the next milestone is the Confirmation of Enrolment (CoE) and the Genuine Temporary Entrant (GTE) statement, which is where many applications succeed or stumble. A well-prepared GTE explains your study intentions clearly and ties your course choice to your career plans back home.\n\nFinancially, you will need to show proof of funds covering tuition and living costs for at least the first year, along with health insurance (OSHC) for the duration of your stay.\n\nFinally, Australia''s Temporary Graduate visa (subclass 485) allows eligible graduates to stay and work for up to four years after finishing their degree.\n\nOur counsellors work with you from course selection through to your pre-departure briefing, helping you avoid the common pitfalls that lead to visa refusals or missed scholarship opportunities.',
'2026-07-12'),
(2, 'UK Student Visa: Step-by-Step Guide', 'uk-student-visa-guide', 'photo-1513635269975-59663e0ac1ad', 'Visa Specialist Team', 'UK,Student Visa,CAS',
'The UK''s Student visa process is well-structured, but each step needs to be completed correctly and in sequence. Missing a document or misunderstanding a requirement is the most common reason applications are delayed or refused.\n\nEverything begins with your Confirmation of Acceptance for Studies (CAS), issued by your university once you have accepted your offer and paid any required deposit.\n\nNext comes proving you have sufficient funds to cover your tuition fees and living costs, which must typically be held in your bank account for a consecutive 28-day period before you apply.\n\nYou will also need to complete a tuberculosis test if you are coming from certain countries, and pay both the visa application fee and the Immigration Health Surcharge.\n\nAfter submitting your online application, you will book a biometrics appointment at a visa application centre. Processing times are usually three to six weeks.\n\nWith the Graduate Route visa now offering two years of post-study work, the UK has become significantly more attractive for students planning to gain international work experience.',
'2026-07-08'),
(3, 'Top Scholarships for Nepali Students in 2026', 'top-scholarships-2026', 'photo-1517457373958-b7bdd4587205', 'Scholarships Desk', 'Scholarships,Funding,Study Abroad',
'Funding your international education doesn''t have to mean covering the full cost yourself. Every year, thousands of Nepali students receive partial or full scholarships to study abroad.\n\nGovernment-backed scholarships such as the Australia Awards, Chevening (UK), and Fulbright (USA) remain some of the most prestigious and fully-funded options available.\n\nUniversity-specific merit scholarships are often overlooked but can be just as valuable, offering automatic tuition discounts based on your previous academic grades.\n\nFor students considering Europe, country-specific schemes like Germany''s DAAD or France''s Eiffel Excellence Scholarship provide generous funding.\n\nApplying for scholarships takes planning โ€” most deadlines fall six to twelve months before your intended intake.\n\nOur counsellors help you build a scholarship shortlist early, so you never miss an opportunity because of timing.',
'2026-07-03'),
(4, 'IELTS vs PTE: Which Test Should You Take?', 'ielts-vs-pte', 'photo-1522202176988-66273c2fd55f', 'Test Prep Team', 'IELTS,PTE,Test Preparation',
'IELTS and PTE Academic are the two most widely accepted English proficiency tests for study abroad applications, and choosing between them often comes down to your personal test-taking style.\n\nIELTS retains a paper-based speaking component where you speak face-to-face with a certified examiner. PTE is entirely computer-delivered, including the speaking section.\n\nScoring turnaround is a major difference: PTE results are typically available within 24 to 48 hours, while IELTS can take five to seven working days.\n\nBoth tests are accepted by the vast majority of universities in Australia, the UK, Canada, and New Zealand.\n\nOur recommendation is to take a free diagnostic mock test in both formats before committing to a preparation course.\n\nWhichever test you choose, structured preparation with mock exams and personalised feedback makes the single biggest difference to your final score.',
'2026-06-28'),
(1, 'Cost of Living in Canada for International Students', 'cost-of-living-canada', 'photo-1517935706615-2717063c2225', 'Counselling Team', 'Canada,Cost of Living,Study Abroad',
'Canada is often seen as a more affordable alternative to the US and UK, but living costs still vary significantly depending on the city and province you choose to study in.\n\nToronto and Vancouver are the most expensive cities, with shared accommodation typically costing CAD 800 to 1,500 per month, while smaller cities can be far more affordable.\n\nBeyond rent, students should budget CAD 300 to 400 per month for groceries, and around CAD 100 for public transportation.\n\nInternational students are permitted to work up to 24 hours per week during academic sessions, which can meaningfully offset living costs.\n\nA Guaranteed Investment Certificate (GIC), currently around CAD 20,635, is required for most study permit applicants under the Student Direct Stream.\n\nWith careful planning, most students find that Canada offers one of the best balances of education quality, immigration pathways, and manageable living costs.',
'2026-06-20'),
(2, 'Common Visa Interview Mistakes to Avoid', 'visa-interview-mistakes', 'photo-1524178232363-1fb2b075b655', 'Visa Specialist Team', 'Visa,Interview Tips,USA',
'For countries like the USA that require an in-person visa interview, how you present yourself in those few minutes can matter as much as your paperwork.\n\nThe most common issue is memorised, rehearsed-sounding answers. Practice your key points, but answer naturally in your own words.\n\nAnother frequent mistake is being unable to clearly explain your choice of course, university, or country.\n\nWeak ties to your home country are a major red flag for officers assessing immigration intent.\n\nFinancial questions trip up many applicants who haven''t reviewed their own documents closely.\n\nOur pre-departure and interview preparation sessions include mock interviews with real feedback, so students walk in confident and ready for whatever an officer asks.',
'2026-06-15');

-- ----------------------------------------------------------------------------
-- FAQS (reusable across About and Test Prep pages, grouped by group_key)
-- ----------------------------------------------------------------------------
CREATE TABLE faqs (
  id INT AUTO_INCREMENT PRIMARY KEY,
  group_key VARCHAR(50) NOT NULL DEFAULT 'about',
  question VARCHAR(255) NOT NULL,
  answer TEXT,
  sort_order INT DEFAULT 0,
  status ENUM('active','inactive') DEFAULT 'active'
) ENGINE=InnoDB;

INSERT INTO faqs (group_key, question, answer, sort_order) VALUES
('about', 'How do I book a free counselling session?', 'Simply fill out the lead form on our homepage or contact page, and a counsellor will reach out within 24 hours.', 1),
('about', 'Do you help with scholarships?', 'Yes, we guide students through scholarship applications for eligible universities and countries.', 2),
('about', 'What documents do I need for a visa application?', 'Requirements vary by country; our visa specialists will provide a personalised checklist during your consultation.', 3);

-- ----------------------------------------------------------------------------
-- LEADS (form submissions from homepage, country pages, program pages, contact page)
-- ----------------------------------------------------------------------------
CREATE TABLE leads (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(150) NOT NULL,
  phone VARCHAR(50),
  email VARCHAR(150),
  interested_country VARCHAR(100),
  interested_course VARCHAR(100),
  message TEXT,
  source_page VARCHAR(150),
  status ENUM('new','contacted','converted','closed') DEFAULT 'new',
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB;

-- ----------------------------------------------------------------------------
-- CONTACT MESSAGES (from the Contact page general message form)
-- ----------------------------------------------------------------------------
CREATE TABLE contact_messages (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(150) NOT NULL,
  phone VARCHAR(50),
  email VARCHAR(150),
  message TEXT,
  status ENUM('new','read','replied') DEFAULT 'new',
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB;
โ† Back๐Ÿ“ฅ Rawโœ๏ธ Edit๐Ÿ”’ Chmod
โœจ File Manager Magic โœจ