403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.217.98
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/galaxynail.com/wadmin/views/product/price/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/galaxynail.com/wadmin/views/product/price/listproduct.php
<?=form_open('price/search/')?>

Tìm kiếm sản phẩm:
<input type="text" name="keyword" class="w150" id="keyword" value="">
Danh mục :
<select name="cid">
   <option value="0">Tất cả danh mục</option>
   <? foreach($listcat as $rs):?>
   <option value="<?=$rs->CategoryID?>">
   <?=$rs->CategoryName?>
   </option>
   <? endforeach;?>
</select>
<select name="orderby" id="orderby">
   <option value="0">Sắp xếp</option>
   <option value="1">Thứ tự HCM</option>
   <option value="5">Thứ tự HN</option>
   <option value="2">Ngày tháng</option>
   <option value="3">Giá M. Nam</option>
   <option value="4">Giá M. Bắc</option>
</select>
&nbsp;Khuyến mãi
<input type="checkbox" name="promo" id="promo" value="1" />
<input type="submit" value="Tìm kiếm" class="submit" name="bt_search">
<?=form_close()?>

<? 
	$attributes = array('class' => 'email', 'id' => 'adminform');
    echo form_open('product/delsproduct', $attributes);
?>
<input type="hidden" name="page" value="<?=(int)$this->uri->segment('4')?>">
<input type="hidden" name="catid" value="<?=(int)$this->uri->segment('3')?>">
<table width="100%" class="admindata">
   <thead>
      <tr>
         <th colspan="6"> 
            Hiện có
            <?=$num?>
            sản phẩm <span class="pages">
            <?=$pagination?>
            </span> - Xem theo chuyên mục
            <select name="cid" onchange="window.open(this.options[this.selectedIndex].value,'_self'); id_cat.options[0].selected=true">
               <option value="<?=site_url('price/listproduct/0')?>">Tất cả danh mục</option>
               <?
                    	foreach($listcat as $rs):
                            $listsub1 = $this->product->check_parentid($rs->CategoryID);
                   ?>
               <option style="font-weight: bold" value="<?=site_url('price/listproduct/'.$rs->CategoryID)?>" <? if($rs->CategoryID == $this->uri->segment(3)){echo 'selected="selected"';}?>>
               <?=$rs->CategoryName?>
               </option>
               <? if(count($listsub1)> 0){?>
               <? foreach($listsub1 as $sub):
						$listsub2 = $this->product->check_parentid($sub->CategoryID);
					?>
               <option style="padding-left: 20px" value="<?=site_url('price/listproduct/'.$sub->CategoryID)?>" <? if($sub->CategoryID == $this->uri->segment(3)){echo 'selected="selected"';}?>> |__
               <?=$sub->CategoryName?>
               </option>
               <? if(count($listsub2)> 0){?>
               <? foreach($listsub2 as $sub2):
                                    ?>
               <option style="padding-left: 40px" value="<?=site_url('price/listproduct/'.$sub2->CategoryID)?>" <? if($sub2->CategoryID == $this->uri->segment(3)){echo 'selected="selected"';}?>> |__
               <?=$sub2->CategoryName?>
               </option>
               <? 
					// level 4
					$listsub3 = $this->product->check_parentid($sub2->CategoryID);
					if(count($listsub3)> 0){
						 foreach($listsub3 as $sub3):
               ?>
               <option style="padding-left: 80px" value="<?=site_url('price/listproduct/'.$sub3->CategoryID)?>" <? if($sub3->CategoryID == $this->uri->segment(3)){echo 'selected="selected"';}?>> |__
               <?=$sub3->CategoryName?>
               </option>
               <? 
						endforeach;
					 }
					 ?>
               <?endforeach;?>
               <?}?>
               <?endforeach;?>
               <?}?>
               <?endforeach;?>
            </select>
         </th>
      </tr>
      <tr>
         <th style="text-align:center; width:40px;">Images</th>
         <th>Tên sản phẩm</th>
         <!--<th>Danh mục</th>-->
         <th style="text-align:right;">Giá M. Nam</th>
         <th width="80" style="text-align:right;">Giá M. Bắc</th>
         <th width="70" style="text-align:center;">Khuyến mãi</th>
         <th class="publish" style="width: 100px;">Chức năng</th>
      </tr>
   </thead>
   <?
		$k=1;
		$ar_pid = '';
		foreach($list as $rs):
			$ar_pid .=$rs->ProductID.',';
			$proimg = !empty($rs->ProductImg) ? '<img src="'.base_url_site().'uploads/product/40/'.$rs->ProductImg.'" />' : '' ;
    ?>
   <tr class="row<?=$k?>">
      <td style="text-align:center;"><?=$proimg?></td>
      <td><?=$rs->ProductName?></td>
      <!--<td><?//=$this->product->get_edit_cat($rs->CategoryID)->CategoryName?></td>-->
      <td style="text-align:right; padding-right:5px;"><?=format_price($rs->Price)?></td>
      <td style="text-align:right; padding-right:5px;"><?=format_price($rs->PriceHN)?></td>
      <td style="text-align:center; font-weight:bold;"><?=($rs->IsHome==1)?'<font color="#009900">Yes</font>':'<font color="#FF0000">No</font>'?></td>
      <td style="text-align:center;">
      	<?//=icon_bid('bid/add/'.$rs->ProductID)?>
         <?//=icon_chonmua('chonmua/add/'.$rs->ProductID)?>
         <?=icon_edit('price/editproduct/'.$rs->ProductID)?>
         <span id="publish<?=$rs->ProductID?>">
         <?=icon_active("'product'","'ProductID'",$rs->ProductID,$rs->IsActive)?>
         </span>
         <?//=icon_del('price/delproduct/'.$rs->ProductID.'/'.(int)$this->uri->segment(4).'/'.(int)$this->uri->segment(5))?></td>
   </tr>
   <?
	$k=1-$k;
	endforeach;
	?>
   <tfoot>
   
      <td colspan="6"><input type="submit" onclick="return verify_del();" class="submit" name="btn_submit" value="Xóa">
         <input type="hidden" name="ar_pid" value="<?=trim($ar_pid,',')?>">
         Hiện có <?=$num?> sản phẩm <span class="pages"> <?=$pagination?> </span></td>
</table>
<?=form_close()?>

Youez - 2016 - github.com/yon3zu
LinuXploit