cari

Rumah  >  Soal Jawab  >  teks badan

Bolehkah sesiapa membantu saya menukar HTML kepada PHP?

Adakah sesiapa yang boleh menukar html berikut kepada php, atau terus membiarkan kod php dipaparkan sebagai gaya html sambil mengekalkan yang lain tidak berubah? Terima kasih banyak! ! ! L````

& lt; html & gt; "viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<title>Pesanan Pembayaran</title>


<link rel="stylesheet " href ="css/style.css" type="text/css"/>

<script type="text/javascript" src="js/jquery-1.8.2.min.js" > ;< ;/skrip>

</kepala>

<badan>

<!--kepala bintang-->#headff style="<:#headff"<:#headff ;

<a href="javascript:history.go(-1);">

<div class="_left"><img src="images/left.png">< / div><span>Pesanan Pembayaran</span></a>

</header>

<!--Tamat pengepala-->

<!--Bintang kandungan ;

<div class="contaniner fixed-cont">

<div class="pay_img"><img src="images/pay.jpg"></div>

  <div class="payTime">

  <li><span>Baki masa 14:56</span></li>

  ;<.<<. kuat></li>

<li>Nombor pesanan: 487237899083627829</li>

</div>

    

    <!--支付 bintang-->

<div class="pay">

<div class="show">>

< <img src="images/weixin.png" >微信支付<input name="Fruit" type="radio" value="" diperiksa/><span></span></label> ; </li>

    <li><label><img src="images/zhifubao.png" >支付宝支付<input name="Buah" type="radio" value="" /> ;<span></span></label> </li>

     <li><label><img src="images/yue.png" >余额支付<input name="Fruit" type="radio" value="" /> ;<span></span></label> </li>

     <li class="center"><a href="#" onClick="showHideCode()">查看更多支付方式↓</a><<

</div>

<div class="showList" id = "showdiv" style="display:none;">

<li><label><img src="images/ yinhang.png" >银阴阴<input name="Fruit" type="radio" value="" /><span></span></label> </li>

            <li><label><img src="images/weixin.png" >添加更多<input name="Fruit" type="/radio" value="" ><span></span></label> </li>

            

           <li style="background:none" ></li>

</div>

;

    <!--支付 tamat--> . lt ;div class="payBottom">

    <li class="textfr">确认支付:</li>

        <li class="textfl"><span><span> span></li>

     </div>

</a>

</div>

<!--Bertanding-->

                                                                                                                                    togol();

}

</skrip>

&

; gt;

`` `







* Kod berikut hanyalah contoh kod yang disediakan untuk kemudahan peniaga untuk menguji Peniaga boleh mengikut keperluan laman web mereka sendiri, mengikut keperluan teknikal Penulisan dokumen tidak semestinya memerlukan penggunaan kod ini.

*/

?>


<?php

include("../includes/common.php");

?>

;!DOIC</html

/W3C//Tajuk DTD><?php echo $conf['web_name']?> - Ujian dalam talian</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf- 8">

" <meta name="viewport" content="width=device-width, initial-scale=1">

" <link href="//cdn.bootcss .com/bootstrap/3.3 .5/css/bootstrap.min.css" rel="stylesheet"/>

<link rel="stylesheet" href="https://css.letvcdn.com/lc04_yinyue/ 201612/19/20/ 00/bootstrap.min.css">

<skrip src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> ;


<link rel="icon" href="/favicon.ico" type="image/x-icon">

<script src="//cdn.bootcss.com/bootstrap/3.3. 5/js/bootstrap. min.js"></script>

<div class="container" style="padding-top:70px;">

<div class="col-xs -12 col-sm- 10 col-lg-8 center-block" style="float: none;">

  <div class="panel panel-primary">

  <div class="panel -body">

F & lt; nama borang = tindakan alipaymen = kaedah epayapi.php = sasaran pos = "_ kosong" & gt;

& lt; kelas div = "input-ditemui" & gt;

& lt; span C Lass = "Input-found-Addon" ><span class="glyphicon glyphicon-barcode"></span></span>

               <saiz input="30" name="WIDout_trade_no" value="<?php echo date("YmdHis").mt_rand(100,999); ?>"  class="form-control" placeholder="商户订单号" /> gt;

              < span class="input-group-addon"><span class="glyphicon glyphicon-shopping-cart"></span></span>

              <saiz input="30" name=" WIDsubject" value="测试商品" class="form-control" placeholder="商品名称" diperlukan="required" />               

            </div>

            <br/>

            <div class="input-group"> -group-addon"><span class= "glyphicon glyphicon-yen"></span></span>

              <input size="30" name="WIDtotal_fee" value="0.01" class="form-control" placeholder="款款款金额" diperlukan="diperlukan"/>                   

            </div>                  

<br/> 

<center>

<div class="btn-group btn-group-justified" role="group" aria-label="...">

  <div class="btn-group " role="group">

    <button type="radio" name="type" value="alipay" class="btn btn-primary">支付宝</button>

  </div> ;

  <div class="btn-group" role="group">

    <button type="radio" name="type" value="qqpay" class="btn btn-success"> QQ</button>

  </div>

  <div class="btn-group" role="group">

    <button type="radio" name="type" value="wxpay" class="btn btn-info">微信</button>

  </div>

</div>

<p style="text-align:center"><br>© 技术支持 <a href="/"><?php echo $conf['web_name']?></a>!</p></div>

</center> </div>

          </form>

        </div>

      </div>      

    </div>

  </div>

</body>

</html>

```


🎜
小Q小Q1958 hari yang lalu1381

membalas semua(1)saya akan balas

  • 靖哥哥

    靖哥哥2019-07-09 17:42:49

    php boleh menyimpan html terus, anda hanya perlu menukar akhiran fail kepada .php

    balas
    0
  • Batalbalas