<?php
require_once('config.php');
require_once('inc/header.php');
?>
<main id="main" class="main">
  <div class="row">
    <div class="col-6 align-items-center">
      <div class="pagetitle mb-2">
        <h1><?php echo $page_title ?></h1>
      </div>
    </div>
  </div>
  <section class="section mt-4">
    <div class="row">
      <div class="col-lg-12">

        <form action="" method="post" enctype="multipart/form-data">
          <?php
          $args = array(
              'fields' => array(
                array(
                  'field_id'       => 'Custome_CSS_ALL',
                  'field_type'     => 'code',
                  'field_desc'  => 'Write css style for Mobile Device (up to 767px).',
                  'field_title'  => 'Custome CSS for All Devices',
                  'field_data' => $_POST['Custome_CSS_ALL'],
                ),
                array(
                  'field_id'       => 'Custome_CSS_MOBILE',
                  'field_type'     => 'code',
                  'field_desc'  => 'Write css style for Mobile Device (up to 767px).',
                  'field_title'  => 'Custome CSS for Mobile',
                  'field_data' => $_POST['Custome_CSS_MOBILE'],
                ),
                array(
                  'field_id'       => 'Custome_CSS_TAB',
                  'field_type'     => 'code',
                  'field_desc'  => 'Write css style for Tablet and Mobile portrait (768px to 1023px).',
                  'field_title'  => 'Custome CSS Tablet',
                  'field_data' => $_POST['Custome_CSS_TAB'],
                ),
                array(
                  'field_id'       => 'Custome_CSS_PC',
                  'field_type'     => 'code',
                  'field_desc'  => 'Write css style for Desktop or Large devices (1024px and above).',
                  'field_title'  => 'Custome CSS PC',
                  'field_data' => $_POST['Custome_CSS_PC'],
                ),
                array(
                    'field_id'     => 'update',
                    'field_type'   => 'button',
                    'btn_theme' => 'success',
                    'field_title'   => 'Save Changes',
                )
              )
          );
          AdvanceNews($args);
          ?>
          </form>

       </div>
    </div>
  </section>
</main>
<?php require_once('inc/footer.php'); ?>
