Пример #1
0
        #Function for delete row
        del_row($connection, $table, $_GET['id']);
        break;
    case 'edit':
        #Function for edit form
        print_update_page($connection, $table, $_GET['id']);
        exit;
    case 'update':
        #Function for update row
        update_row($connection, $table);
        break;
    default:
        break;
}
#Function for print table
print_costs($connection, $from, $step, $url);
?>


		<div class="page_list">

			<?php 
#Вывод списка страниц
print_pages_list($connection, $table, $step, $url);
?>

		</div>

	</div>
	
	<div class="table_header hidden_table_header">
Пример #2
0
        #Function for delete row
        $mysqli->del_row($connection, $table, $user, $_GET['id']);
        break;
    case 'edit':
        #Function for edit form
        print_update_page($connection, $table, $user, $_GET['id']);
        exit;
    case 'update':
        #Function for update row
        $mysqli->update_row($connection, $table, $user);
        break;
    default:
        break;
}
#Function for print table
$check->check_no_empty(print_costs($connection, $user, $from, $step, $url));
?>


		<div class="page_list">

			<?php 
#Вывод списка страниц
print_pages_list($connection, $table, $user, $step, $url);
?>

		</div>

	</div>
	
	<div class="table_header hidden_table_header">