X7ROOT File Manager
PHP:
7.2.34
OS:
Linux
User:
cp648411
Root
/
home2
/
cp648411
/
public_html
/
kainumber.com
/
theme
ðĪ Upload
ð New File
ð New Folder
Close
Editing: category_number.php
<!-- /.āđāļāļāļĢāđāļŠāļ§āļĒ --> <!--<div style="margin-bottom:15px;" class="category_number"> <div class="head_bg_right2" style=""> āđāļāļāļĢāđāļŠāļ§āļĒ<p class="head_right2_all"><a href="../phonenumber/beautiful.php">āļāļđāļāļąāđāļāļŦāļĄāļ >></a></p></div> <div class="row" style="padding-top:10px;margin-bottom:10px;"> <?php /* $list_d = array('table'=>'today_phone','where'=>'type = 88 AND date = "'.date("Y-m-d").'" '); $view_d = $view_db->view($list_d); $result_d = $view_db->q_re($view_d); while($row_d = $view_db->q_ro($result_d)) { $list = array('table'=>'phonenumber','where'=>'id = "'.$row_d['id'].'"'); $view = $view_db->view($list); $row = $view_db->q($view); ?> <div class="col-md-4" style="margin-bottom:10px;"> <div class="box_ber"> <table width="100%" border="1" class="tb_ber"> <tr> <td colspan="4" style="font-size:20px;font-weight:bold;background-color:#372459;color:#FFF;" align="center"> <?php echo $Phone_class->phonenumber($row['phonenumber'])?> </td> </tr> <?php //$element = $Phone_class->element_text_img($row['element_id']);?> <!-- <tr> <td> āļāļēāļāļļ<?php //echo $element['name']?></td> <td><img src="../redbag/element/<?php// echo $element['img']?>" width="20" height="20"></td> <td>āļāļĨāļĢāļ§āļĄ</td> <td>(<?php //echo $row['sum_number']?>)</td> </tr> <tr> <td colspan="3" style="padding-left:15px;">āļāļĨāļąāļāļāļ§āļēāļĄāļĢāļąāļāđāļĄāđāļŠāļīāđāļāļŠāļļāļ</td> <td><img src="../image/ais.webp" width="38" height="19"></td> </tr>--> <tr> <?php if($row['statusprice'] == 1) { $price = $row['price']; } else { $price = 'xxxx'; } ?> <td colspan="3" class="tb_ber_price"><?php echo $price;?> āļāļēāļ</td> <?php if($row['statusprice'] == 1) { ?> <td class="tb_ber_next" id="carts_<?php echo $row["id"]; ?>"> <?php if (in_array($row["id"],$_SESSION["cart"])) { ?><span onclick="cancelcard(<?php echo $row["id"]; ?>)" style="cursor:pointer" title="cancel to Cart" ><img src="../image/White_check.svg.webp" width="18"/></span> <?php } else { ?><span onclick="addcard(<?php echo $row["id"]; ?>)" style="cursor:pointer" title="Add to Cart">āļŠāļąāđāļāļāļ·āđāļ</span><?php } ?> </td> <?php } else { ?> <td class="tb_ber_next" style="cursor:pointer" title="Add to Cart" data-toggle="modal" data-target="#basicModal"> āļŠāļąāđāļāļāļ·āđāļ </td> <?php } ?> </tr> </table> </div> </div> <?php }*/ ?> </div> </div>--> <!-- /.āđāļāļāļĢāđāļŠāļ§āļĒ --> <?php $list_hc = array('table'=>'category','where'=>'status = 1 ORDER BY id ASC'); $view_hc = $view_db->view($list_hc); $result_hc = $view_db->q_re($view_hc); while($row_hc = $view_db->q_ro($result_hc)) { ?> <!-- /.āđāļāļāļĢāđāļŦāļĄāļ§āļāļŦāļĄāļđāđ --> <div style="margin-bottom:15px;"> <div class="head_bg_right2" style=""> āđāļāļāļĢāđāđāļŠāļĢāļīāļĄ<?php echo $row_hc['name']?> <p class="head_right2_all"><a href="#" onclick="search_submit('cat','<?php echo $row_hc['id'];?>')">āļāļđāļāļąāđāļāļŦāļĄāļ >></a></p></div> <div class="row" style="padding-top:10px;margin-bottom:10px;"> <?php $list_d = array('table'=>'today_phone','where'=>'type = "'.$row_hc['id'].'" AND date = "'.date("Y-m-d").'" '); $view_d = $view_db->view($list_d); $result_d = $view_db->q_re($view_d); while($row_d = $view_db->q_ro($result_d)) { $list = array('table'=>'phonenumber','where'=>'id = "'.$row_d['id'].'"'); $view = $view_db->view($list); $row = $view_db->q($view); ?> <?php $element = $Phone_class->element_text_img($row['element_id']);?> <div class="col-md-4 col-sm-6 col-xs-6" style="margin-bottom:10px;"> <div class="box_ber"> <a href='../reading/detail.php?phonenumber=<?php echo $row['phonenumber']?>' style="color:#FFF;text-decoration:none;" target="_blank"> <table width="100%" border="1" class="tb_ber"> <tr> <td colspan="4" style="font-size:20px;font-weight:bold;background-color:#372459;" align="center"><?php echo $Phone_class->phonenumber($row['phonenumber'])?></td> </tr> <tr> <td> āļāļēāļāļļ<?php echo $element['name']?></td> <td><img src="../redbag/element/<?php echo $element['img']?>" width="18" height="20"></td> <td>āļāļĨāļĢāļ§āļĄ</td> <td>(<?php echo $row['sum_number']?>)</td> </tr> <tr> <td colspan="3" style="padding-left:15px;"><?php //echo $Phone_class->total_short($row['sum_number'])?> <?php $short_number = $Phone_class->catshort_number($row_hc['id'],$row['phonenumber']); echo $short_number; ?> </td> <td><img src="../redbag/mobilenetwork/<?php echo $Phone_class->mobilenetwork_img($row['mobilenetwork']);?>" width="38" height="19"></td> </tr> <tr> <?php if($row['statusprice'] == 1) { $price = $row['price']; } else { $price = 'xxxx'; } ?> <td colspan="3" class="tb_ber_price"><?php echo $price;?> āļāļēāļ</td> <?php /* if($row['statusprice'] == 1) { ?> <td class="tb_ber_next" onclick="addcard(<?php echo $row["id"]; ?>)" style="cursor:pointer" title="Add to Cart"> <span id="carts_<?php echo $row["id"]; ?>"> <?php if (in_array($row["id"],$_SESSION["cart"])) { ?> <img src="../image/White_check.svg.webp" width="20"/><?php } else { ?>āļŠāļąāđāļāļāļ·āđāļ<?php } ?> </span> </td> <?php } else { ?> <td class="tb_ber_next" style="cursor:pointer" title="Add to Cart" data-toggle="modal" data-target="#basicModal"> āļŠāļąāđāļāļāļ·āđāļ </td> <?php }*/ ?> <td colspan="3" class="tb_ber_next" style="cursor:pointer" title="āļĢāļēāļĒāļĨāļ°āđāļāļĩāļĒāļ" > >> </td> </table> </a> </div> </div> <?php } ?> </div> </div> <!-- /.āđāļāļāļĢāđāļŦāļĄāļ§āļāļŦāļĄāļđāđ --> <?php } ?>
Save
Cancel