<?php
error_reporting(0);
session_start();
include 'config/database.php';
$data = '';
if(isset($_GET['mid'])){
	$data = get_last_item_mid($_GET['mid']);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>NOTIFY API | @MYBOT</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
<body>
	<nav class="navbar navbar-light bg-light">
	    <a href='http://at-mybot.me:8000/index.php' class="navbar-brand">@MYBOT</a>
		<ul class="navbar-nav">
			<li class="nav-item">
				<a class="nav-link" href="index.php">หน้าแรก</a>
			</li>			
		</ul>
		<span class="form-inline" >
		  <a class="nav-link" href="list.php">รายชื่อกลุ่ม</a>
		</span>
	</nav>
	<div class="container">
		<ul class="list-group">
			<li class="list-group-item"><label >ตาราง</label> <label style="float: right;">ข้อมูล</label></li>
			<?php foreach ($data as $key => $data): ?>
			<?php $get_key = array_keys($data);$i=1;?>
				<?php foreach ($get_key as $name): ?>
				  <li class="list-group-item"><?php echo $i++;?>). <?php print_r($name); ?> | <b ><?php echo $data[$name]; ?></b></li>
				<?php endforeach; ?>
			<?php endforeach; ?>
		</ul>
	</div>
</body>
</html>
<?php /*
Array ( [0] => Array ( [groupline_id] => 7395 [groupline_name] => Mornitor BOT By @mybot [groupline_key] => [groupline_api_key] => C4d8502ebaf034b71beb50bdb1b0a9e9d [groupline_key_notify] => 7g62s1GZtlXyojiQG7j3NmHRHpHrRWiSi2Wx86irwiZ [groupline_noyify_version] => [groupline_notify_missing] => ON [groupline_user_key] => [groupline_user_name] => [groupline_keycode] => [**SN***LINE*API**20-01-63***] => [groupline_countdown] => 31 [groupline_alldate] => 31 [**EN***LINE*API**20-01-63***] => [groupline_buy_date] => [groupline_buy_end] => [groupline_create] => 2020-01-21 08:05:43 [groupline_text] => [groupline_status] => stop [groupline_version] => V1 [groupline_access] => padding [groupline_bot_type] => USERBOT [groupline_products] => ALL [groupline_theme] => single [groupline_mode] => 1 [groupline_duration_start] => 1 [groupline_duration_end] => 88 [groupline_date_access] => all [groupline_over_alert] => on [groupline_routing] => off [groupline_block] => OFF [groupline_encode] => 00000000 [groupline_mode_S01] => OFF [groupline_mode_S02] => OFF [groupline_mode_S03] => OFF [groupline_mode_S04] => OFF [groupline_mode_S05] => OFF [groupline_mode_S06] => OFF [groupline_mode_S07] => OFF [groupline_mode_S08] => OFF [groupline_mode_S09] => OFF [groupline_mode_S10] => OFF [groupline_mode_S11] => OFF [groupline_mode_S12] => OFF [groupline_mode_S13] => OFF [groupline_mode_S14] => OFF [groupline_mode_S15] => OFF [groupline_mode_S16] => OFF [groupline_mode_S17] => OFF [groupline_mode_S18] => OFF [groupline_mode_S19] => OFF [groupline_mode_S20] => OFF [groupline_highlight] => OFF [*******LINE*API**********] => [mode_kclub] => ON [mode_kclub_alert] => ON [mode_kclub_mode] => single [mode_kclub_comment] => [mode_kclub_block] => OFF [mode_kclub_reset] => YES [mode_arawan] => OFF [mode_arawan_reset] => YES [mode_newyeekee] => OFF [mode_newyeekee_reset] => YES ) )

/*/ ?>