mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
user favourites
This commit is contained in:
parent
93b2a8617a
commit
7734c6cf04
27 changed files with 248 additions and 29 deletions
|
@ -81,7 +81,9 @@
|
|||
}
|
||||
?>
|
||||
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_COOKIE['user-'.sha1($key)] == 1) echo ' l-unit--starred'; ?>" uniq-id="user-<?=sha1($key)?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<?if($_COOKIE['user-'.sha1($key)] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['USER'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="user"
|
||||
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>"
|
||||
sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<?if($_SESSION['favourites']['USER'][$key] == 1) echo '1'; else echo '0'; ?>">
|
||||
<div class="l-unit-toolbar clearfix">
|
||||
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
||||
<input id="check<?php echo $i ?>" class="ch-toggle" type="checkbox" name="user[]" value="<?=$key?>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue