From 0f040f6eca1d129384b324a427b3491b2d974385 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Tue, 10 Mar 2026 09:41:24 +0000 Subject: [PATCH] add qr to admin page --- includes/lang.php | 2 ++ ratings.php | 55 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/includes/lang.php b/includes/lang.php index e2da2e4..945fae8 100644 --- a/includes/lang.php +++ b/includes/lang.php @@ -29,6 +29,7 @@ $translations = [ 'service_rating' => 'Service Rating', 'branch_links' => 'Branch Links', 'copy_link' => 'Copy Link', + 'print_qr' => 'Print QR', 'link_copied' => 'Copied!', 'rating' => 'Rating', 'comment' => 'Comment', @@ -306,6 +307,7 @@ $translations = [ 'service_rating' => 'تقييم الخدمة', 'branch_links' => 'روابط الفروع', 'copy_link' => 'نسخ الرابط', + 'print_qr' => 'طباعة QR', 'link_copied' => 'تم النسخ!', 'rating' => 'التقييم', 'comment' => 'تعليق', diff --git a/ratings.php b/ratings.php index 04a4020..be6611e 100644 --- a/ratings.php +++ b/ratings.php @@ -243,9 +243,14 @@ $ratings = $stmt->fetchAll(PDO::FETCH_ASSOC);
- +
+ + +
@@ -256,6 +261,50 @@ $ratings = $stmt->fetchAll(PDO::FETCH_ASSOC);