Kann mir jemand helfen, HTML in PHP zu konvertieren? Vielen Dank.
小Q
小Q 2019-07-06 17:36:36
0
1
1402

Gibt es jemanden, der den folgenden HTML-Code in PHP konvertieren oder den PHP-Code direkt im HTML-Stil anzeigen lassen kann, während der Rest unverändert bleibt? Vielen Dank! ! ! L````

& lt; html


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

<title>Zahlungsauftrag</title>


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

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

</head>

<body>

<!--head star-->

<header style="color:#fff"> ;

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

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

</header>

<!--Header Ende-->

<!--Content Star-- > ;

<div class="contaniner Fixed-cont">

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

  <div class="payTime">

  <li><span>Verbleibende Zeit 14:56</span></li>

   <li><strong>¥56,00< / strong></li>

<li>Bestellnummer: 487237899083627829</li>

</div>

    

    <!--支付 star-->

<div class="pay">

<div class="show">

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

    <li><label><img src="images/zhifubao.png" >支付宝支付<input name="Fruit" 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></li>

</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>

</div> 

    <!--支付 end--> 

    

    

</div>


    

<div class="book-recovery-bot2" id="footer">

<a href="#">< ;div class="payBottom">

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

        <li class="textfl"><span>¥56,00</ span></li>

    </div>

</a>

</div>

<!--Content-->

                                                                                                      toggle();

}

</script>

</body>

</html>

`` ````

<?php

/* *

* Der folgende Code ist nur ein Beispielcode Um es den Händlern zu erleichtern, Tests durchzuführen, können Händler entsprechend den technischen Anforderungen Dokumente schreiben, die nicht unbedingt die Verwendung dieses Codes erfordern.

*/

?>


<?php

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

?>



<!DOCTYPE html PUBLIC "-/ /W3C//DTD title><?php echo $conf['web_name']?> - Online-Test</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">

<script 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; form name = alipaid action = epayapi.php method = post target = "_ blank" & gt;

& lt; div class = "input-found" & gt;

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

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

               </div>

            <br/>

            <div class="input-group">

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

              <input size="30" name=" WIDsubject" value="required" class="form-control" placeholder="required" />               

            </div>

            <br/>

          <div class="input-group">

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

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

            </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
小Q

Antworte allen(1)
靖哥哥

php可以直接存放html的,你只需要把文件后缀改成.php就行了

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage