diff --git a/src/warden-server/contrib/wardenweb/show_HostnameServiceTypeActivity.php b/src/warden-server/contrib/wardenweb/show_HostnameServiceTypeActivity.php index 7f8956fed9aa681ed41d6c6ed70709a392ef94d1..26dbd04b728b44c69c7bb25416de0d629b1c2811 100644 --- a/src/warden-server/contrib/wardenweb/show_HostnameServiceTypeActivity.php +++ b/src/warden-server/contrib/wardenweb/show_HostnameServiceTypeActivity.php @@ -155,7 +155,13 @@ if( IsSet($_POST["btnSubmit"]) and !empty($where)) { </tr><tr> -<td></td> +<td> +<? +# if( IsSet($_POST["btnSubmit"]) and !empty($where)) { +# print("<iframe src=\"graph_HostnameServiceTypeActivityStats_html.php?per=day&where=".base64_encode($where)."\" style=\"width:100%; height:500\"></iframe>"); +# } +?> +</td> <td width=50%> <? diff --git a/src/warden-server/contrib/wardenweb/show_SourceActivity.php b/src/warden-server/contrib/wardenweb/show_SourceActivity.php index 33063fe0095e787eff0c0adf9394ac29f3873fbb..14d279f04caa109ae528947cb46a1c3e0355cdd3 100644 --- a/src/warden-server/contrib/wardenweb/show_SourceActivity.php +++ b/src/warden-server/contrib/wardenweb/show_SourceActivity.php @@ -55,7 +55,7 @@ $form->display(); if( IsSet($_POST["btnSubmit"])) { if( ! empty($_POST['source'])) { - $where = "source='".$_POST['source']."'"; + $where = "source like'".$_POST['source']."'"; //$where = "source like '".$_POST['source']."%'"; $q = "SELECT * FROM events WHERE $where ORDER BY detected DESC LIMIT ".$_POST['limit']; $res = mysql_query($q, $db); diff --git a/src/warden-server/contrib/wardenweb/stats.php b/src/warden-server/contrib/wardenweb/stats.php index 210f9bf34f4912acf3da68a3feadf4458d26cbd0..361baf5386a65f50c4152461fefa6a716a5a6d42 100644 --- a/src/warden-server/contrib/wardenweb/stats.php +++ b/src/warden-server/contrib/wardenweb/stats.php @@ -56,7 +56,7 @@ if(isset($_GET['c'])) <tr> <td colspan=2> -<iframe src="table_HostnameServiceType.html" style="width:100%; height:600"></iframe> +<iframe src="table_HostnameServiceType.html" style="width:100%; height:800"></iframe> </td> </tr>