<div>
    <?php if (isset($_GET['settings-updated'])) { ?>
        <div id="message" class="updated">
            <p><strong><?php _e('Settings saved', 'appchar') ?></strong></p>
        </div>
    <?php } ?>
    <div class="wrap">
        <form method="post" action="options.php">
            <?php settings_fields('notification-settings-group'); ?>
            <?php do_settings_sections('appchar-notification-setting-page'); ?>
            <?php submit_button(); ?>
        </form>
		
        <span class="description">
            <?php echo "
            <strong>".__('Order Details:','appchar')." </strong><br/>
            <code>{phone}</code> = ".__('Buyer\'s Phone Number','appchar')."   ,
            <code>{email}</code> = ".__('Buyer\'s Email','appchar')."   ,
            <code>{order_id}</code> = ".__('Order Id','appchar')."   ,
            <code>{status}</code> = ".__('Order Status','appchar')."<br/>
            <code>{price}</code> = ".__('Order Price','appchar')."   ,
            <code>{all_items}</code> = ".__('Order Items','appchar')."  ,
            <code>{all_items_qty}</code> = ".__('Order Items with Quantity','appchar')." ,
            <code>{count_items}</code> = ".__('Number of Order Items','appchar')."  <br/>
            <code>{payment_method}</code> = ".__('Payment Method','appchar')."  ,
            <code>{shipping_method}</code> = ".__('Shipping Method','appchar')."  ,
            <code>{description}</code> = ".__('Buyers Description','appchar')."  ,
            <code>{transaction_id}</code> = ".__('Transaction Id','appchar')."<br/><br/>

            <strong>".__('Billing Details:','appchar')."</strong><br/>
            <code>{b_first_name}</code> = ".__('Billing First Name','appchar')."   ,
            <code>{b_last_name}</code> = ".__('Billing Last Name','appchar')."   ,
            <code>{b_company}</code> = ".__('Billing Company','appchar')."   <br/>
            <code>{b_country}</code> = ".__('Billing Country','appchar')."   ,
            <code>{b_state}</code> = ".__('Billing Region/State','appchar')."   ,
            <code>{b_city}</code> = ".__('Billing City','appchar')."   ,
            <code>{b_address_1}</code> = ".__('Billing Address 1','appchar')."   ,
            <code>{b_address_2}</code> = ".__('Billing Address 2','appchar')."   ,
            <code>{b_postcode}</code> = ".__('Billing Postcode','appchar')."<br/><br/>


            <strong>".__('Shipping Details:','appchar')."</strong><br/>
            <code>{sh_first_name}</code> = ".__('Shipping First Name','appchar')."   ,
            <code>{sh_last_name}</code> = ".__('Shipping Last Name','appchar')."   ,
            <code>{sh_company}</code> = ".__('Shipping Company','appchar')."   <br/>
            <code>{sh_country}</code> = ".__('Shipping Country','appchar')."   ,
            <code>{sh_state}</code> = ".__('Shipping Region/State','appchar')."   ,
            <code>{sh_city}</code> = ".__('Shipping City','appchar')."   ,
            <code>{sh_address_1}</code> = ".__('Shipping Address 1','appchar')."   ,
            <code>{sh_address_2}</code> = ".__('Shipping address 2','appchar')."   ,
            <code>{sh_postcode}</code> = ".__('Shipping Postcode','appchar')."<br/><br/>
            ";?>
        </span>
    </div>
</div>
<br class="clear">

<script>
  var ttl = document.getElementById("ttl").value;
  var span = document.getElementById("ttl_day");
  var hour = (ttl / 3600);
  var day = (hour / 24);
  span.innerHTML = __("Day","appchar") + day ;
  function showDay() {
    var ttl = document.getElementById("ttl").value;
    var span = document.getElementById("ttl_day");
    var hour = (ttl / 3600);
    var day = (hour / 24);
    span.innerHTML = __("Day","appchar") + day ;
  }
</script>
