https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/laciasmara.com/public_html/shop/application/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/laciasmara.com/public_html/shop/application/views/all-brands.php
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<style>
  /* Container Styling */
  .brand-container {
    padding: 60px 120px;
    background-color: white;
  }

  /* Heading Styling */
  .brand-heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
  }

  /* Grid Styling */
  .brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-content: center;
  }

  /* Individual Brand Item */
  .brand-item {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    background-color: #fff;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  }

  .brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .brand-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 4px;
  }

  .brand-link {
    text-decoration: none;
    color: #333;
  }

  .brand-link:hover {
    color: #7A4397;
  }

  @media (max-width: 768px) {
    .brand-container {
      padding: 20px;
      background-color: #f9f9f9;
    }

    .brand-grid {
      grid-template-columns: repeat(2, 1fr);
      /* 2 items per row */
      gap: 15px;
    }

    .brand-item {
      padding: 8px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      /* Lighter shadow for smaller items */
    }

    .brand-heading {
      font-size: 20px;
      margin-bottom: 24px;

    }
  }
</style>
<div id="main" class="brand-container">
  <div class="container">
    <h3 class="brand-heading">
      <?= $this->session->userdata('site_lang') == 'english' ? 'All Brands' : 'Semua Merek'; ?>
    </h3>

    <div class="brand-grid">
      <?php foreach ($brands as $brand) : ?>
        <div class="brand-item">
          <a href="<?= base_url('brand/' . $brand->alias); ?>" class="brand-link">
            <img
              src="<?= base_url('uploads/brand/' . $brand->logo); ?>"
              alt="<?= $brand->brand; ?>"
              title="<?= $brand->brand; ?>"
              class="brand-logo">
          </a>
        </div>
      <?php endforeach; ?>
    </div>
  </div>
</div>

https://t.me/RX1948 - 2025