| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 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 : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hocthongminh.net-bk/public_html/webadmin/components/keywords/views/ |
Upload File : |
<?php
$attributes = array('class' => 'email', 'id' => 'checknew');
echo form_open('keywords/dels', $attributes);
?>
<table class="admindata" width="100%">
<thead>
<tr>
<th colspan="5"> <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?=lang('delete');?>">
<?=lang('total');?>
<?=$num?>
<?=lang('record');?>
<span class="pages"><?=$pagination?></span>
<span style="float:right;">
<select name="is_hot" id="is_hot" onChange="window.open('<?=site?>keywords/index/'+this.value, '_self')">
<option value="0"> Chưa chọn </option>
<option value="1"> Chưa chọn </option>
</select>
</span></th>
</tr>
<script language="javascript">mkselected('is_hot','<?=$is_hot?>');</script>
<tr>
<th class="checkbox"><input type="checkbox" name="sa" id="sa" onclick="check_chose('sa', 'ar_id[]', 'checknew')" /></th>
<th>Từ khóa</th>
<th>Loại</th>
<th style="text-align:center;">Hot</th>
<th class="publish">Chức năng</th>
</tr>
</thead>
<?
$k=1;
$i=1;
foreach($list as $rs):
$title = $rs->is_hot? '<b>'.$rs->keyname.'</b>' : $rs->keyname ;
$linkto = domain.'tin-chi-tiet/'.alias($rs->keyname).'-'.$rs->kid.'.html';
?>
<tr class="row<?=$k?>">
<td><input type="checkbox" name="ar_id[]" value="<?=$rs->kid?>"></td>
<td><a href="<?=$linkto?>" target="_blank"><?=$title?></a></td>
<td><?=$rs->kind?></td>
<td style="text-align:center;"><?=($rs->is_hot)? 'Yes' : 'No';?></td>
<td align="center"><?=icon_edit('keywords/edit/'.$rs->kid)?>
<span id="publish<?=$rs->kid?>">
<?=icon_active("'keywords'","'kid'",$rs->kid,$rs->bl_active)?>
</span>
<?=icon_del('keywords/del/'.$rs->kid.'/'.(int) $start)?></td>
</tr>
<?
$k=1-$k;
$i++;
endforeach;?>
<tfoot>
<td colspan="5"><input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?=lang('delete');?>">
<?=lang('total');?>
<?=$num?>
<?=lang('record');?>
<span class="pages">
<?=$pagination?>
</span></td>
</tfoot>
</table>
<?=form_close()?>
<div id="list_cat" style="display:none"><?=json_encode($list_cat)?></div>
<script src="<?=skin?>js/jquery.showname.js" type="text/javascript"></script>
<script language="javascript">
$(document).ready(function(e){
var list_cat = $('#list_cat').html();
$('.cat').showname({data:list_cat});
});
</script>