| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/admin-panel/pages/manage-reactions/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/admin-panel/pages/manage-reactions/list.phtml |
<tr id="list-<?php echo($wo['reaction_id']) ?>">
<td><?php echo($wo['reaction_id']) ?></td>
<td id="sub_name_<?php echo($wo['reaction_id']) ?>"><?php echo($wo['reaction_name']) ?></td>
<td><div class="mange-react-emoji"><?php
if (preg_match("/<[^<]+>/",$wo['reaction_wowonder_icon'],$m)) {
echo($wo['reaction_wowonder_icon']);
}
else{ ?>
<div class="reaction"><img src="<?php echo($wo['reaction_wowonder_icon']) ?>"></div>
<?php } ?></div></td>
<td><?php echo ($wo['reaction_status'] == 1) ? '<span class="label label-success">Active</span>': '<span class="label label-danger">Disabled</span>';?></td>
<td>
<button class="btn bg-success admn_table_btn"onclick="EditReaction('<?php echo($wo['reaction_id']) ?>')">Edit</button>
<?php if ($wo['reaction_status'] == 1) { ?>
<button class="btn bg-danger admn_table_btn" onclick="ReactionStatus(this,'<?php echo($wo['reaction_id']) ?>')">Disable</button>
<?php }else{ ?>
<button class="btn bg-success admn_table_btn" onclick="ReactionStatus(this,'<?php echo($wo['reaction_id']) ?>')">Enable</button>
<?php }
if ($wo['reaction_id'] > 6) {?>
<button class="btn bg-danger admn_table_btn" onclick="DeleteReaction(this,'<?php echo($wo['reaction_id']) ?>','hide')">Delete</button>
<?php } ?>
</td>
</tr>