} if (!isset($_GET['charset'])) { $cs = 'UTF-8'; } else { $cs = $_GET['charset']; } $type = $_GET['type']; $num = $_GET['num']; $key = $_POST['data']; $memm = new MEMMANAGER(); $curcon = $memm->GetConFromSession($type, $num); $memm->LoadMem(); if (!$memm->is_login()) { exit("NoLogin"); } if (!$memm->MemConnect($type, $curcon)) { exit("ConnectFail"); } $thekey = str_replace("_ _rd", "'", $key[0]['key']); $thekey = str_replace("_ _rx", "\\", $thekey); if ($_GET['action'] == 'ser') { $list = $memm->MemGet(array($thekey)); if (is_array($list[0][$thekey])) { arrayRecursive($list[0][$thekey], 'htmlspecialchars', true, $cs); echo serialize($list[0][$thekey]); } else { if (gettype($list[0][$thekey]) == 'object') { echo serialize(toutf8($list[0][$thekey], $cs)); } else { echo htmlspecialchars(toutf8($list[0][$thekey], $cs)); }
echo $langs['showmo_aftit']; ?> </span><span id="sein"><input name="afs" id="afs" type="text" /><?php echo $langs['con_se']; ?> </span><input id="startaf" class="but" name="startaf" type="button" value="<?php echo $langs['showmo_afstart']; ?> "/></div> <div id="resetlayout"><a id="relayout" href="javascript:;"><?php echo $langs['showmo_relayout']; ?> </a></div> </div> <?php if (!$memm->MemConnect($monitorlist[0]['type'], $curcon)) { echo "<div id=\"confail\">" . $langs['confail'] . "</div>"; } else { if ($monitorlist[0]['type'] == 'con') { $slablist = $memm->GetSlabs($curcon['host'], $curcon['port']); $statslist = $memm->GetStats($curcon['host'], $curcon['port']); ?> <div id="drag_1" class="monitordiv"> <div class="moarg"><?php echo $langs['datamo_gloarg']; ?> </div> <table class="checktable" cellpadding="2" cellspacing="1" > <tr>