v2.5.2
Giriş yap

Modal Hakkında

emmir2
333 defa görüntülendi

 <?php 
                        $query = $db->query("SELECT * FROM banka_hesaplari", PDO::FETCH_ASSOC);
                        if($query->rowCount()){
                          foreach($query as $row){
                       ?>
        <!-- Modal Baslangic -->
         <div class="modal fade" id="<?=$row['sef']?>" tabindex="-1" role="dialog" aria-labelledby="satinAlModalCenterTitle" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">

                        <!-- Modal Govde -->

                        <div class="alert alert-danger" role="alert" id="mesaj" align="center" style="display: none">
                            <p id="mesaj-input"></p>
                        </div>


                        <div class="stepwizard col-md-12" style="overflow: hidden;width: 100%;">
                            <div class="stepwizard-row setup-panel">
                                <div class="stepwizard-step">
                                    <a href="#step-1" type="button" class="btn btn-circle btn-default btn-primary" id="basadon">1</a>
                                    <p>Kullanıcı Bilgileri</p>
                                </div>
                                <div class="stepwizard-step">
                                    <a href="#step-2" type="button" class="btn btn-default btn-circle">2</a>
                                    <p>Ödeme Bilgileri</p>
                                </div>
                            </div>
                        </div>

                        <form role="form" method="post">
                                    
                            <div class="row setup-content" id="step-1" style="">
                                <div class="col-xs-12 col-md-offset-3">
                                    <div class="col-md-6">
                                        <h3 id="bankaisim" style="text-align: center !important"><?=$row['baslik']?></h3>
                                        <br>
                                        <p style="position:fixed; color: red; font-size: 18px; margin-top: -20px; margin-left: 21px;"><strong>NOT: LUTFEN HAVALE/EFT AÇIKLAMASINI
                                                BOŞ BIRAKIN!!</strong></p>
                                        <br>
                                        <br>
                                        <div class="form-group">
                                            <label class="control-label">Ödeme Tutarı:</label>
                                            <input maxlength="100" type="number" name="miktar" class="form-control" placeholder="5₺">
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label">İsim:</label>
                                            <input maxlength="100" type="text"  name="ad" class="form-control" placeholder="" value="<?=$kullanici['ad']?>">
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label">Soyisim:</label>
                                            <input maxlength="100" type="text" name="soyad" value="<?=$kullanici['soyad']?>" class="form-control" placeholder="">
                                            <input maxlength="100" type="hidden" name="banka" class="form-control" value="<?=$row['baslik']?>">
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label" id="telefon_label" style="display: block;">Telefon:</label>
                                            <input type="number" id="telefon" name="telefon" class="form-control" placeholder="05********" value="<?=$kullanici['telefon']?>" oninput="maxLengthCheck(this)" maxlength="12" style="display: block;">
                                        </div>
                                        <button class="btn btn-primary nextBtn btn-lg center-block" id="dogrula" type="button">Devam</button>
                                        <br clear="all"><br clear="all">
                                    </div>
                                </div>
                            </div>
                            <div class="row setup-content" id="step-2" style="display: none;">
                                <div class="col-xs-12 col-md-offset-3">
                                    <div class="col-md-6" id="col">
                                        <h3 style="text-align: center !important">Ödeme Bilgileri</h3>
                                        <h4 id="remain"></h4>
                                        <div class="form-group">
                                            <label class="control-label">Banka:</label>
                                            <input maxlength="200" type="text" value="<?=$row['baslik']?>" required="required" class="form-control" id="bisim" disabled="disabled">
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label">IBAN:</label>
                                            <input type="hidden" name="iban" >
                                            <input maxlength="200" type="text" required="required" class="form-control" id="biban" value="<?=$row['iban']?>" disabled="disabled">
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label">Hesap Sahibi:</label>
                                            <input maxlength="200" type="text" required="required" class="form-control" value="<?=$row['sahib']?>" disabled="disabled">
                                        </div>
                                        <button class="btn btn-success nextBtn btn-lg center-block" type="submit" onclick="basariliform()">Ödemeyi Yaptım</button>
                                    </div>
                                </div>
                            </div>
                        </form>


                        <!-- Modal Govde -->

                    </div>
                    <div class="modal-footer">

                    </div>
                </div>
            </div>
        </div>
    <?php } } ?>
    
    
    
    <?php 
                        $query = $db->query("SELECT * FROM banka_hesaplari", PDO::FETCH_ASSOC);
                        if($query->rowCount()){
                          foreach($query as $row){
                       ?>
          <div class="col-md-3">
              <label class="btn paymentMethod col-md-3">
                <a href="" data-toggle="modal" data-target="#<?=$row['sef']?>">
                  <div class="method" style="background-image: url(upload/<?=$row['img']?>);" ></div>
                  <input type="radio"> 
                  </a>
              </label>
          </div>
                <?php } } ?>
  1. form düzgün geliyor ama diğerleri gelmiyor ne yaptıysam olmadı
emmir2
1046 gün önce

wizard id si aynı olduğu için diğer popupları göstermiyormuş bende uğraşmadım popup içinden wizard sistemini kaldırdım :D