HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/tepnot/public_html/wp-content/plugins/dokan-pro/templates/coupon/header.php
<?php
/**
 *  Dahboard Coupon Header Template
 *
 *  @since 2.4
 *
 *  @package dokan
 */
?>
<header class="dokan-dashboard-header">
    <span class="left-header-content">
        <h1 class="entry-title">
            <?php _e( 'Coupon', 'dokan' ); ?>

            <?php
                if ( $is_edit_page ) {
                    echo $is_edit ? sprintf( '<small> - %s</small>', __( 'Edit Coupon', 'dokan' ) ) : sprintf( '<small> - %s</small>', __( 'Add Coupon', 'dokan' ) );
                }
            ?>

            <?php if ( ! $is_edit && current_user_can( 'dokan_add_coupon' ) ) { ?>
                <span class="left-header-content dokan-right">
                    <a href="<?php echo add_query_arg( array( 'view' => 'add_coupons' ), dokan_get_navigation_url( 'coupons' ) ); ?>" class="dokan-btn dokan-btn-theme dokan-right"><i class="fas fa-gift">&nbsp;</i> <?php _e( 'Add new Coupon', 'dokan' ); ?></a>
                </span>
            <?php } ?>
        </h1>
    </span>
    <div class="dokan-clearfix"></div>
</header><!-- .entry-header -->