Can anyone help me convert HTML to PHP? Thank you very much.
小Q
小Q 2019-07-06 17:36:36
0
1
1389

Is there anyone who can convert the following html into php, or directly let the php code display as the html style, leaving everything else unchanged? Many thanks! ! !



##```

<html>


##<head>

<meta charset="utf-8">

<meta name="viewport" content="initial-scale=1.0, maximum-scale =1.0, user-scalable=no" />

<title>Payment Order</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>Payment Order< /span></a>

</header>

<!--Header end-->

<!--Content star -->

<div class="contaniner fixed-cont">

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

<div class="payTime">

<li><span>Remaining time 14:56< /span > li>

</div>

    

    <!--支付 star-->

<div class="pay">

<div class="show">

<li><label><img src="images/weixin.png" >微信支付<input name="Fruit" type="radio" value="" checked/><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>

<!--Contentend-->


#<script type="text/javascript"> ;

function showHideCode(){

$("#showdiv").toggle();

}

</script>


##</body>

</html>

```







```

<?php

/* *

* The following code is only a sample code provided to facilitate merchant testing. Merchants can write according to the technical documentation according to the needs of their own websites, but they do not have to use this code.

*/

?>

<?php

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

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3 .org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

## echo $conf['web_name']?> - Online test</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" > .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;">

                                                                                                                                       =epayapi.php method=post target="_blank">

                                                                                                                         ><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="测试商品" class="form-control" placeholder="商品名称" required="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="款款金额" required="required"/>                   

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

reply all(1)
靖哥哥

php can store html directly, you just need to change the file suffix to .php

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template