| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/chatme24.com/wwwroot/_frameworks/administration/default/ |
Upload File : |
{header}
<script>
$(function() {
$('#sortable tbody').sortable({
containment: 'parent',
tolerance: 'pointer',
opacity: 0.5,
axis: 'y',
cancel: '#no_sortable',
cursor: 'move',
items: 'tr[id != no_sortable]',
helper: fixHelperModified,
update: function(e, ui){
ui.item.attr('class', 'color_set');
ui.item.children('.decor_l').attr('class', 'decor_set_l');
ui.item.children('.decor_r').attr('class', 'decor_set_r');
}
});
$('#all').change(function(){
choiceChkbox($(this), $('[id ^= chk_]'))
});
});
var fixHelperModified = function(e, tr) {
var $originals = tr.children();
var $helper = tr.clone();
$helper.children().each(function(index)
{
$(this).width($originals.eq(index).width());
$(this).parent().css({'border-collapse' : 'collapse'});
});
return $helper;
};
</script>
<div class="block_narrow">
<ul class="lmenu_lgreen">
<li class="active"><a href="{url_main}administration/3dchat_rooms.php">{l_menu_3dchat_rooms}</a></li>
<li><a href="{url_main}administration/3dchat_edit.php">{l_menu_3dchat_rooms_edit}</a></li>
</ul>
</div>
<div class="block_main">
<h2>{l_title_current}</h2>
<p>{page}</p>
<ul style = "padding: 0px 20px;">
<!-- begin_item --><li style="list-style-type: disc;">{name}</li><!-- end_item -->
</ul>
<div class="bl_form">
<!-- begin_rooms -->
<form action="{url_page}" method="POST">
<input type="hidden" name="cmd" value="update">
<table class="tb_fields" id="sortable" style="width:100%;">
<thead>
<tr id="no_sortable" >
<th class="decor_l"> </th>
<th class="right"><input style="margin:0px; width: 20px;" type="checkbox" id="all"></th>
<th style="text-align: center; width:30px; padding-left: 10px; padding-right: 10px;">{l_table_status}</th>
<th style="width:120px; text-align:center;">{l_action}</th>
<th style="width:30px; text-align: center;">{l_id}</th>
<th class="last" style="padding-left: 5px;">{l_table_name}</th>
<th class="decor_r"> </th>
</tr>
</thead>
<!-- begin_room_item -->
<tr class="color" style="cursor:move;">
<td id ="decor_l" class="decor_l"> </td>
<td class="right" style="margin:0px; width: 20px;">
<input style="margin:0px 0px 0px 10px; padding:0px; width: 20px;" type="checkbox" id="chk_{room_key}">
</td>
<td style="text-align: center; width:30px; padding-left: 0px;">
<input type="checkbox" name="rooms_status[{room_key}]" {checked} style="margin:0px 0px 0px 10px; padding:0px; width: 20px;">
</td>
<td style="text-align: center;">
<a href="{url_main}administration/3dchat_rooms.php?cmd=delete&item={room_key}" onclick="if (confirm('{l_are_you_sure}')) return true; else return false;">{l_delete}</a> |
<a href="{url_main}administration/3dchat_edit.php?action=edit_room&id={room_key}">{l_edit}</a>
</td>
<td style="text-align: center;">
{id}
</td>
<td class="last" style="text-align: left; padding-left: 5px;">
<input type="hidden" name="order[]" value="{room_key}">{name_block}
{name}
</td>
<td id ="decor_r" class="decor_r"> </td>
</tr>
<!-- end_room_item -->
</table>
<div class="wrap_button fl_right">
<button class="button submit" type="submit">{l_save}</button>
<div class="button_submit_instruction">{l_or_use_ctrl_s}</div>
</div>
</form>
<div class="wrap_button fl_left">
<button class="button submit" onclick="if (confirm('{l_are_you_sure}')) actionChecked('{url_page}'); return false;" type="submit">{l_delete}</button>
</div>
<!-- end_rooms -->
<!-- begin_no_rooms -->
<div align="center">{l_no_result}</div>
<!-- end_no_rooms -->
</div>
<div class="empty"></div>
</div>
{footer}