/**
  *
  *
  * @since 1.0.1
  * @update 1.0.9
  */
 static function get_payment_gateways_html()
 {
     $all = self::get_payment_gateways();
     if (is_array($all) and !empty($all)) {
         $i = 1;
         $available = array();
         foreach ($all as $key => $value) {
             if (method_exists($value, 'is_available') and $value->is_available()) {
                 if (st()->get_option('booking_modal', 'off') == 'on') {
                     $post_id = get_the_ID();
                 } else {
                     $post_id = STCart::get_first_id_items();
                 }
                 $is_payment_gateway = get_post_meta($post_id, 'is_meta_payment_gateway_' . $key, true);
                 if ($is_payment_gateway != "off") {
                     $available[] = $value;
                 }
             }
         }
         if (!empty($available)) {
             foreach ($available as $key => $value) {
                 echo "<div class='payment_gateway_item'>  ";
                 $value->html();
                 echo "</div>";
                 if ($i < count($available)) {
                     echo '<div class="st-hr text-center m20" >
                         <hr>
                         <span class="st-or">' . __('Or', ST_TEXTDOMAIN) . '</span>
                     </div>';
                 }
                 $i++;
             }
         }
     }
 }