diff --git a/.github/workflows/laksala_pramuditha.yml b/.github/workflows/laksala_pramuditha.yml new file mode 100644 index 0000000..ef2da30 --- /dev/null +++ b/.github/workflows/laksala_pramuditha.yml @@ -0,0 +1,66 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy PHP app to Azure Web App - pramuditha + +on: + push: + branches: + - laksala + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + + - name: Check if composer.json exists + id: check_files + uses: andstor/file-existence-action@v1 + with: + files: 'composer.json' + + - name: Run composer install if composer.json exists + if: steps.check_files.outputs.files_exists == 'true' + run: composer validate --no-check-publish && composer install --prefer-dist --no-progress + + - name: Zip artifact for deployment + run: zip release.zip ./* -r + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v3 + with: + name: php-app + path: release.zip + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v3 + with: + name: php-app + + - name: Unzip artifact for deployment + run: unzip release.zip + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'pramuditha' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_D2E1496B33A84E97A29E2F65F30CEC80 }} + package: . diff --git a/agms/about.php b/agms/about.php index 5915741..94cec98 100644 --- a/agms/about.php +++ b/agms/about.php @@ -2,7 +2,7 @@ session_start(); error_reporting(0); -include('includes/dbconnection.php'); +include('hi/dbconnection.php'); ?> @@ -37,7 +37,7 @@ function hideURLbar() { - +
@@ -67,35 +67,32 @@ function hideURLbar() { ?>

-

Welcome To Our Gallery

+

Welcome Laksala


-

Art Gallery +

Laksala

Shipping
-

velit sagittis vehicula. Duis posuere - ex in mollis iaculis. Suspendisse tincidunt +

We provide efficient shipping services to get your orders to you quickly. You can choose from a range of shipping options during checkout to suit your preferences

Support
-

velit sagittis vehicula. Duis posuere - ex in mollis iaculis. Suspendisse tincidunt +

Your satisfaction is our top priority, and our dedicated support team is available 24/7 to assist you with any questions or concerns you may have. Feel free to reach out to us anytime; we're here to help

Return
-

velit sagittis vehicula. Duis posuere - ex in mollis iaculis. Suspendisse tincidunt +

We understand that sometimes products may not meet your expectations. Our hassle-free return policy allows you to return items within 30 days of purchase for a full refund or exchange

@@ -104,7 +101,7 @@ function hideURLbar() { - + diff --git a/agms/admin/assets/morris.js-0.4.3/spec/vendor/chai-1.3.0.js b/agms/admin/assets/morris.js-0.4.3/spec/vendor/chai-1.3.0.js index 040abee..e5abd8f 100644 --- a/agms/admin/assets/morris.js-0.4.3/spec/vendor/chai-1.3.0.js +++ b/agms/admin/assets/morris.js-0.4.3/spec/vendor/chai-1.3.0.js @@ -2020,7 +2020,7 @@ /** * ### .include(haystack, needle, [message]) * - * Asserts that `haystack` includes `needle`. Works + * Asserts that `haystack` hi `needle`. Works * for strings and arrays. * * assert.include('foobar', 'bar', 'foobar contains string "bar"'); diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd97018.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd97018.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd97018.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665711.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665711.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665711.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665716.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665716.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665716.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665724.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665724.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665724.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665743.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665743.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665743.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665807.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665807.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665807.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665892.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665892.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665892.jpg differ diff --git a/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665901.jpg b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665901.jpg new file mode 100644 index 0000000..ac9de60 Binary files /dev/null and b/agms/admin/images/0720c205d4ed1facd00735fa1bd970181697665901.jpg differ diff --git a/agms/admin/images/088ccf5cd57e5cf2eda1a6cad62d2d881697665557.jpg b/agms/admin/images/088ccf5cd57e5cf2eda1a6cad62d2d881697665557.jpg new file mode 100644 index 0000000..59985ab Binary files /dev/null and b/agms/admin/images/088ccf5cd57e5cf2eda1a6cad62d2d881697665557.jpg differ diff --git a/agms/admin/images/0f910dc69b4bcb83580234bbcca7f638.jpg b/agms/admin/images/0f910dc69b4bcb83580234bbcca7f638.jpg new file mode 100644 index 0000000..1ba1b9f Binary files /dev/null and b/agms/admin/images/0f910dc69b4bcb83580234bbcca7f638.jpg differ diff --git a/agms/admin/images/13654e0a86aae9462a764fdfe000e33c1697666549.jpg b/agms/admin/images/13654e0a86aae9462a764fdfe000e33c1697666549.jpg new file mode 100644 index 0000000..e7051f8 Binary files /dev/null and b/agms/admin/images/13654e0a86aae9462a764fdfe000e33c1697666549.jpg differ diff --git a/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666869.jpg b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666869.jpg new file mode 100644 index 0000000..ad68a5f Binary files /dev/null and b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666869.jpg differ diff --git a/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666876.jpg b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666876.jpg new file mode 100644 index 0000000..ad68a5f Binary files /dev/null and b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666876.jpg differ diff --git a/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666883.jpg b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666883.jpg new file mode 100644 index 0000000..ad68a5f Binary files /dev/null and b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666883.jpg differ diff --git a/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666891.jpg b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666891.jpg new file mode 100644 index 0000000..ad68a5f Binary files /dev/null and b/agms/admin/images/1a633ffffc0a6147ad4669257b33cf701697666891.jpg differ diff --git a/agms/admin/images/39a7f606964daa8b91f67bdca0fbc1051697666086.jpg b/agms/admin/images/39a7f606964daa8b91f67bdca0fbc1051697666086.jpg new file mode 100644 index 0000000..90ad04a Binary files /dev/null and b/agms/admin/images/39a7f606964daa8b91f67bdca0fbc1051697666086.jpg differ diff --git a/agms/admin/images/51bb6ea9185d5f478182045498f0e2be.jpg b/agms/admin/images/51bb6ea9185d5f478182045498f0e2be.jpg new file mode 100644 index 0000000..face3a1 Binary files /dev/null and b/agms/admin/images/51bb6ea9185d5f478182045498f0e2be.jpg differ diff --git a/agms/admin/images/979a72ca28ecde8a783e7b69f0c314ab1697666318.jpg b/agms/admin/images/979a72ca28ecde8a783e7b69f0c314ab1697666318.jpg new file mode 100644 index 0000000..05d77fc Binary files /dev/null and b/agms/admin/images/979a72ca28ecde8a783e7b69f0c314ab1697666318.jpg differ diff --git a/agms/admin/images/a480d4657aad1da0a8859968907917661697666161.jpg b/agms/admin/images/a480d4657aad1da0a8859968907917661697666161.jpg new file mode 100644 index 0000000..37d2591 Binary files /dev/null and b/agms/admin/images/a480d4657aad1da0a8859968907917661697666161.jpg differ diff --git a/agms/admin/images/a480d4657aad1da0a8859968907917661697666169.jpg b/agms/admin/images/a480d4657aad1da0a8859968907917661697666169.jpg new file mode 100644 index 0000000..37d2591 Binary files /dev/null and b/agms/admin/images/a480d4657aad1da0a8859968907917661697666169.jpg differ diff --git a/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697664772.jpg b/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697664772.jpg new file mode 100644 index 0000000..b9f8785 Binary files /dev/null and b/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697664772.jpg differ diff --git a/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697665378.jpg b/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697665378.jpg new file mode 100644 index 0000000..b9f8785 Binary files /dev/null and b/agms/admin/images/afecc37bfadd475b4172b83095a43d2b1697665378.jpg differ diff --git a/agms/admin/images/backgroung-img.jpg b/agms/admin/images/backgroung-img.jpg index ad3ab0c..715fdcd 100644 Binary files a/agms/admin/images/backgroung-img.jpg and b/agms/admin/images/backgroung-img.jpg differ diff --git a/agms/admin/images/bee1ec733253812f492f4a81fa32f88d1697574711.jpg b/agms/admin/images/bee1ec733253812f492f4a81fa32f88d1697574711.jpg new file mode 100644 index 0000000..00913c4 Binary files /dev/null and b/agms/admin/images/bee1ec733253812f492f4a81fa32f88d1697574711.jpg differ diff --git a/agms/admin/images/bf64539b203adfd7111dcaede67e6b5d.jpg b/agms/admin/images/bf64539b203adfd7111dcaede67e6b5d.jpg new file mode 100644 index 0000000..bb4d588 Binary files /dev/null and b/agms/admin/images/bf64539b203adfd7111dcaede67e6b5d.jpg differ diff --git a/agms/admin/images/f24252bcbfadc57b670e9bfa20b0e826.jpg b/agms/admin/images/f24252bcbfadc57b670e9bfa20b0e826.jpg new file mode 100644 index 0000000..38a2e0a Binary files /dev/null and b/agms/admin/images/f24252bcbfadc57b670e9bfa20b0e826.jpg differ diff --git a/agms/admin/includes/dbconnection.php b/agms/admin/includes/dbconnection.php index 337d79a..3345cab 100644 --- a/agms/admin/includes/dbconnection.php +++ b/agms/admin/includes/dbconnection.php @@ -1,7 +1,7 @@ +?> \ No newline at end of file diff --git a/agms/admin/includes/header.php b/agms/admin/includes/header.php index 7b13438..7995dec 100644 --- a/agms/admin/includes/header.php +++ b/agms/admin/includes/header.php @@ -1,7 +1,7 @@
@@ -15,7 +15,7 @@ ?> - + diff --git a/agms/admin/js/bootstrap.js b/agms/admin/js/bootstrap.js index 2c64257..b7502a3 100644 --- a/agms/admin/js/bootstrap.js +++ b/agms/admin/js/bootstrap.js @@ -1271,7 +1271,7 @@ if (!jQuery) { throw new Error("Bootstrap requires jQuery") } var width = $tip[0].offsetWidth var height = $tip[0].offsetHeight - // manually read margins because getBoundingClientRect includes difference + // manually read margins because getBoundingClientRect hi difference var marginTop = parseInt($tip.css('margin-top'), 10) var marginLeft = parseInt($tip.css('margin-left'), 10) diff --git a/agms/admin/js/moment.js b/agms/admin/js/moment.js index 9428c66..b04e9d0 100644 --- a/agms/admin/js/moment.js +++ b/agms/admin/js/moment.js @@ -658,7 +658,7 @@ var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 // any word (or two) characters or numbers including two/three word month in arabic. -// includes scottish gaelic two word and hyphenated months +// hi scottish gaelic two word and hyphenated months var matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i; diff --git a/agms/admin/login.php b/agms/admin/login.php index b5666f6..03d6df3 100644 --- a/agms/admin/login.php +++ b/agms/admin/login.php @@ -35,13 +35,20 @@ +
- +

Laksala ADMINISTRATOR

- + diff --git a/agms/css/underpanel.jpg b/agms/css/underpanel.jpg new file mode 100644 index 0000000..fea591a Binary files /dev/null and b/agms/css/underpanel.jpg differ diff --git a/agms/images/b1.jpg b/agms/images/b1.jpg index fa0c2d0..f9062e6 100644 Binary files a/agms/images/b1.jpg and b/agms/images/b1.jpg differ diff --git a/agms/images/b2.jpg b/agms/images/b2.jpg index 8f1c8d9..1036a0e 100644 Binary files a/agms/images/b2.jpg and b/agms/images/b2.jpg differ diff --git a/agms/images/b3.jpg b/agms/images/b3.jpg index 9b43ce8..b3465bd 100644 Binary files a/agms/images/b3.jpg and b/agms/images/b3.jpg differ diff --git a/agms/images/cc1.jpg b/agms/images/cc1.jpg index 77893fa..02c2418 100644 Binary files a/agms/images/cc1.jpg and b/agms/images/cc1.jpg differ diff --git a/agms/images/handicrafts_board_logo.jpg b/agms/images/handicrafts_board_logo.jpg new file mode 100644 index 0000000..f1ac6f0 Binary files /dev/null and b/agms/images/handicrafts_board_logo.jpg differ diff --git a/agms/includes/dbconnection.php b/agms/includes/dbconnection.php deleted file mode 100644 index 337d79a..0000000 --- a/agms/includes/dbconnection.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/agms/includes/footer.php b/agms/includes/footer.php deleted file mode 100644 index f89ce94..0000000 --- a/agms/includes/footer.php +++ /dev/null @@ -1,8 +0,0 @@ - -
-
-

- COPYRIGHT © 2023 LAKSALA. ALL RIGHT RESERVED. -

-
-
\ No newline at end of file diff --git a/agms/includes/header.php b/agms/includes/header.php deleted file mode 100644 index 9254f9e..0000000 --- a/agms/includes/header.php +++ /dev/null @@ -1,110 +0,0 @@ - -
-
-
- -
    -
  • - -

    -
  • -
  • - -

    -
  • -
  • -
  • -
-
-
-
-
-
-

Laksala

-
-
-
- -
- - - - - \ No newline at end of file diff --git a/agms/index.php b/agms/index.php index 9e40434..6ef45dc 100644 --- a/agms/index.php +++ b/agms/index.php @@ -1,7 +1,7 @@ @@ -38,7 +38,7 @@ function hideURLbar() { - +
    @@ -46,9 +46,9 @@ function hideURLbar() {
    -
    Pick The Best Art For
    Your Choice
    +
    Exploring the Treasures of Laksala: Sri Lanka's Premier Handicraft Store
    Your Choice
    -

    Selecting the finest art is about finding what speaks to you. It's the art that resonates, evokes emotions, and enhances your space.

    +

    Exploring the Treasures of Laksala: Sri Lanka's Premier Handicraft Store" is an invitation to uncover the cultural richness and artistry of Sri Lanka through Laksala, where traditional craftsmanship and local talents converge to offer a diverse array of unique handicrafts and souvenirs.

    Read More @@ -61,9 +61,9 @@ function hideURLbar() {
    -
    Sort Art And Painting
    For Your Choice
    +
    A Showcase of Sri Lankan Culture and Craftsmanship
    For Your Choice
    -

    Art and painting sorting is the methodical organization of artworks using different criteria, allowing us to categorize, appreciate,
    and navigate the rich tapestry of artistic expression.

    +

    A Showcase of Sri Lankan Culture and Craftsmanship" is a tribute to the profound cultural heritage of Sri Lanka, exemplified by the remarkable handcrafted treasures available at Laksala. This title encapsulates the essence of the store as a platform for preserving and promoting the nation's artistic traditions.

    Read More @@ -76,9 +76,9 @@ function hideURLbar() {
    -
    Best Art And Painting
    For Your Choice
    +
    Discover Sri Lanka's Precious Treasures
    For Your Choice
    -

    Experience the finest in art and painting - a world where creativity knows no bounds, where colors and emotions converge to create captivating masterpieces.

    +

    Discover Sri Lanka's Precious Treasures" offers a captivating journey into the world of Ceylon sapphires, exquisite gemstones, and finely crafted jewelry, showcasing the country's esteemed legacy in the realm of precious treasures. Unearth the beauty and significance of these gems, deeply rooted in Sri Lanka's culture and history.

    Read More @@ -147,33 +147,46 @@ function hideURLbar() {
    -
    -

    New Arrivals

    -
    -
      - +

      New Arrivals

      +
      +
        + -
      • - -
        -  - -
        - Enquiry -
        -
        -
      • - -
      -
      -
    + $cnt = 1; + while ($row = mysqli_fetch_array($ret)) { + ?> +
  • +
    +  + +
    + Enquiry +
    +
    +
  • + +
+
+
+ @@ -198,7 +211,7 @@ function hideURLbar() { - + @@ -253,7 +266,7 @@ function hideURLbar() { animationSpeed: 3000, autoPlay:true, autoPlaySpeed: 2000, - pauseOnHover: true, + pauseOnHover: false, enableResponsiveBreakpoints: true, responsiveBreakpoints: { portrait: { diff --git a/agms/js/jquery-ui.js b/agms/js/jquery-ui.js index 2f83e5a..460ca0d 100644 --- a/agms/js/jquery-ui.js +++ b/agms/js/jquery-ui.js @@ -1330,7 +1330,7 @@ $.widget("ui.draggable", $.ui.mouse, { po.top += this.scrollParent.scrollTop(); } - if((this.offsetParent[0] == document.body) //This needs to be actually done for all browsers, since pageX/pageY includes this information + if((this.offsetParent[0] == document.body) //This needs to be actually done for all browsers, since pageX/pageY hi this information || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == 'html' && $.ui.ie)) //Ugly IE fix po = { top: 0, left: 0 }; @@ -3978,7 +3978,7 @@ $.widget("ui.sortable", $.ui.mouse, { po.top += this.scrollParent.scrollTop(); } - if((this.offsetParent[0] == document.body) //This needs to be actually done for all browsers, since pageX/pageY includes this information + if((this.offsetParent[0] == document.body) //This needs to be actually done for all browsers, since pageX/pageY hi this information || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == 'html' && $.ui.ie)) //Ugly IE fix po = { top: 0, left: 0 }; diff --git a/agms/js/minicart.js b/agms/js/minicart.js index d1c0059..166b27f 100644 --- a/agms/js/minicart.js +++ b/agms/js/minicart.js @@ -1200,7 +1200,7 @@ var parse = exports.parse = function(str, options){ if (0 == js.trim().indexOf('include')) { var name = js.trim().slice(7).trim(); - if (!filename) throw new Error('filename option is required for includes'); + if (!filename) throw new Error('filename option is required for hi'); var path = resolveInclude(name, filename); include = read(path, 'utf8'); include = exports.parse(include, { filename: path, _with: false, open: open, close: close, compileDebug: compileDebug }); diff --git a/agms/product.php b/agms/product.php index 43988a2..b8aea0c 100644 --- a/agms/product.php +++ b/agms/product.php @@ -2,7 +2,7 @@ session_start(); error_reporting(0); -include('includes/dbconnection.php'); +include('hi/dbconnection.php'); ?> @@ -40,7 +40,7 @@ function hideURLbar() { - +
@@ -149,7 +149,7 @@ function hideURLbar() {
- + diff --git a/agms/search.php b/agms/search.php index 6721970..b5950a2 100644 --- a/agms/search.php +++ b/agms/search.php @@ -2,7 +2,7 @@ session_start(); error_reporting(0); -include('includes/dbconnection.php'); +include('hi/dbconnection.php'); ?> @@ -40,7 +40,7 @@ function hideURLbar() { - +
@@ -150,7 +150,7 @@ function hideURLbar() { - + diff --git a/agms/single-product.php b/agms/single-product.php index e70edf0..637a7a5 100644 --- a/agms/single-product.php +++ b/agms/single-product.php @@ -1,7 +1,7 @@ @@ -39,7 +39,7 @@ function hideURLbar() { - +
@@ -169,7 +169,7 @@ function hideURLbar() { - +