✏️ 正在编辑: commission_slab.php
路径:
/home/llpreacharge/public_html/Distributers/commission_slab.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php include'session.php'; include'connection.php'; include'../Retailers/functions.php'; $retId=$_GET['retId']; $quUsrName="SELECT * FROM retailer WHERE Userid='$retId'"; $reUsrName=mysqli_query($con,$quUsrName); $dataUsrName=mysqli_fetch_array($reUsrName); $UsrName=$dataUsrName['Name']; ?> <html> <head> <title>Commission Slab</title> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="icon" href="images/logo.png" type="image/gif" sizes="16x16"> <!-- Admin CSS File Link --> <link rel="stylesheet" href="css/style.css"> <!-- User JAVA SCRIPT File Link --> <script type="text/javascript" src="js/script.js"></script> <!-- Font Awesome Icone --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> .div1{ background:; width:98%; margin:1%; padding:10px; } .div1 input, .div1 select{ height:35px; width:200px; font-size:18px; padding:2px 10px; border-radius:5px; border:solid #6b5127 1px; overflow:hidden; margin:10px 10px 0 10px; } input[type=submit]{ background:#6b5127; color:white; cursor:pointer; transition:1s; } input[type=submit]:hover{ background:white; color:#883333; border:solid #6b5127 1px; transition:1s; } .div2{ background:#f7f7f7; width:100%; float:left; text-align:center; padding:10px 25px; overflow:auto; } .div2 table{ width:96%; text-align:center; font-size:16px; border-collapse:collapse; padding:2px 10px; margin:2%; } table th{ background:#6b5127; color:white; height:40px; border:solid white 1px; padding:2px 5px; } table td{ background:white; height:40px; border:solid black 1px; padding:2px 5px; } #inpDataList{display:none;} #commInp{width:60px; height:25px; padding:1px 4px; font-size:16px; text-align:center;} .fa-check, .fa-ban{font-size:20px;} @media(max-width:768px) { .div1{ background:; width:100%; height:auto; margin:10px 0 0 0; padding:0; text-align:center; } .div1 input, .div1 select{ width:90%; margin:10px; } .div2{ width:100%; margin:10px 0 0 0; padding:0px; text-align:center; } } </style> <link rel="stylesheet" href="css/mediaStyle.css"> </head> <body> <!--Header Divison--> <?php require'header.php'; ?> <!--Container Division--> <div class="container"> <?php include'menu.php'; $backDate=getBackDate($date,1); $datenew=date_create($backDate); $dateFormat=date_format($datenew,"d M Y"); $totalTxn=0; $quTxn="SELECT * FROM recharge WHERE Status='SUCCESS' AND Rechargedate='$backDate' AND Parentid='$userid'"; $reTxn=mysqli_query($con,$quTxn); while($dataTxn=mysqli_fetch_array($reTxn)) { $totalTxn=$totalTxn+$dataTxn['Amount']; } ?> <div class="content"> <div class="head"> <div class="title"><p>Commission Slab :-</p></div> <div class="msg"><marquee><?php include'msg.php'; ?></marquee></msg> </div><hr> <div class="data-content"> <div class="div2" id="downlinePlace"> <h3>Do More Transaction And Get More Income</h3> <table cellpadding="20" border="2"> <tr> <th>Txn Per Day</th> <td>0+</td> <td>5000+</td> <td>10000+</td> <td>25000+</td> <td>50000+</td> <td>100000+</td> </tr> <tr> <th>Commission</th> <td>2.5%</td> <td>2.75%</td> <td>3%</td> <td>3.25%</td> <td>3.5%</td> <td>3.75%</td> </tr> </table> <table cellpadding="20" border="2" style="width:500px"> <tr> <th>Txn Date</th> <th>My Total Txn</th> <th>My Commission</th> </tr> <tr> <td><?php echo $dateFormat ; ?></td> <td><?php echo $totalTxn; ?> Rs.</td> <td><?php echo $dataUsr['PackComm']; ?> %</td> </tr> </table> <table cellpadding="20" border="2"> <tr> <th>Sl.</th> <th>Operator</th> <th>Margin</th> <th>Code</th> </tr> <?php $sl=0; $quOp="SELECT * FROM operator"; $reOp=mysqli_query($con,$quOp); while($dataOp=mysqli_fetch_array($reOp)) { $sl=$sl+1; $Operator=$dataOp['Operator']; $opCode=$dataOp['OwnApiCode']; $quDisComm="SELECT * FROM CommSlab WHERE OpName='$Operator' AND Userid='$userid'"; $reDisComm=mysqli_query($con,$quDisComm); $dataDisComm=mysqli_fetch_array($reDisComm); $DisComm=$dataDisComm['Comm']; echo "<tr>"; echo "<td>".$sl."</td>"; echo "<td>".$Operator."</td>"; echo "<td>".$DisComm." %</td>"; echo "<td>".$opCode."</td>"; echo "</tr>"; } ?> </table> </div> </form> </div> </div> </div> <?php require'footer.php'; ?> </body> </html>
💾 保存文件
← 返回文件管理器