| 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 : |
<div class="box-white"><?=$title?></div>
<div class="box-content">
<?=form_open('product/search/')?>
Tìm kiếm sản phẩm: <input type="text" name="keyword" class="field 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>
<!--Sắp xếp theo : -->
<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>
Khuyến mãi
<input type="checkbox" name="promo" id="promo" value="1" />
<input type="submit" value="Tìm kiếm" name="bt_search">
<?=form_close()?>
<? $attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open('product/delsproduct', $attributes);?>
<input type="hidden" name="page" value="<?=(int)$this->uri->segment('3')?>">
<table width="100%" class="admindata">
<thead>
<tr>
<th colspan="11">
<input type="submit" onclick="return verify_del();" name="btn_submit" value="Xóa">
Hiện có <?=$num?> sản phẩm <span class="pages"><?=$pagination?></span>
<!--<div style="float: right;"><a href="<?//=site_url('product/addproduct')?>">Thêm mới</a> </div>-->
<!--<div style="float: right;"><a href="<?//=site_url().$export?>">Export</a> </div>-->
</th>
</tr>
<tr>
<th width="51" class="checkbox"><input type="checkbox" name="sa" id="sa" onclick="check_chose('sa', 'ar_id[]', 'checknew')" /></th>
<th width="47">ID</th>
<th>Pro. Code</th>
<th style="text-align:center;">Hình ảnh</th>
<th>Tên sản phẩm</th>
<th style="text-align:right;">Giá M. Nam</th>
<th style="text-align:right;">Giá M. Bắc</th>
<th width="7%" style="text-align:center;">Khuyến mãi</th>
<th width="37"><input type="submit" value="Lưu" class="submit" name="btn_submit"></th>
<th width="50" class="publish"><input type="submit" value="OrderHN" class="submit" name="btn_submitHN"></th>
<th width="172" class="publish">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 align="center"><input type="checkbox" name="ar_id[]" value="<?=$rs->ProductID?>"></td>
<td><?=$rs->ProductID?></td>
<td><?=$rs->ProductCode?></td>
<td style="text-align:center;"><?=$proimg?></td>
<td><?=$rs->ProductName?></td>
<td style="text-align:right; padding-right:10px;"><?=format_price($rs->Price)?></td>
<td style="text-align:right; padding-right:10px;"><?=format_price($rs->PriceHN)?></td>
<td style="text-align:center;"><?=($rs->IsHome==1)?'<font color="#009900">Yes</font>':'<font color="#FF0000">No</font>'?></td>
<td style="text-align:center;"><input type="text" name="Order<?=$rs->ProductID?>" style="width: 30px;text-align: center;" value="<?=$rs->Ordering?>"></td>
<td style="text-align:center;"><input type="text" name="OrderHN<?=$rs->ProductID?>" style="width: 30px;text-align: center;" value="<?=$rs->OrderHN?>"></td>
<td align="center">
<?=icon_edit('product/editproduct/'.$rs->ProductID)?>
<span id="publish<?=$rs->ProductID?>"><?=icon_active("'product'","'ProductID'",$rs->ProductID,$rs->IsActive)?></span>
<?=icon_del('product/delproduct/'.$rs->ProductID.'/'.(int)$this->uri->segment(4))?>
</td>
</tr>
<?
$k=1-$k;
endforeach;
?>
<tfoot>
<tr>
<td colspan="9">
<input type="submit" onclick="return verify_del();" 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>
<td width="11">
<td width="11"></tfoot>
</table>
<?=form_close()?>
<div>
</div>