Location: PHPKode > projects > Web-Analiser > view/view_par.php
<?php
require("./set_cokie.php");
//////////////////////////////////////////////////////////////////////////
//  Script:        htmcode.php						                    //
//									                                    //
//  Source:	http://www.web-script.com			                        //
//			                                                            //
//	YOU CANNOT EDIT OR THAT SOMETHING TO CHANGE IN THE GIVEN SCRIPT		//
//                                                                      //
//  Copyright:	(c) 2002 Web-Script Company. All rights reserved.	    //
//                                      				                //
//////////////////////////////////////////////////////////////////////////


echo '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Web-Analiser PRO-Demo(Lite)</title>
	<LINK href="main.css" type=text/css rel=stylesheet>
</head>
<body >';


$micr1=microtime();
$dat1=date("U");
//echo $micr1."<br>";
require("../modules/class_view.php");	
require("../modules/const.php");


$db=new base_view();
	if ($auntif==1) $db->password=1;
$db->ba_init ();

if ( $db->password==1)
{

if (isset($_POST['select_cat']))
{ 
 
          $categ_sel=trim($_POST['select_cat']);
		  $new_categ_sel=explode("_",$categ_sel);
		  $categ_sel=doubleval($new_categ_sel[0]);
		  $sub_categ_sel=doubleval($new_categ_sel[1]);
		 // echo  $categ_sel." - ".$sub_categ_sel."<br>";
		  $db->sel_c=$categ_sel."_".$sub_categ_sel;
		  $db->add_query=" and category='".$categ_sel."' and subcategory='".$sub_categ_sel."' ";
		  $db->add_query1=" where category='".$categ_sel."' and subcategory='".$sub_categ_sel."' ";
		  if ($categ_sel==0) { $db->add_query=" ";$db->add_query1=" ";}
		  
}
else
{
  $categ_sel=0;
  $sub_categ_sel=0;
  $db->sel_c=$categ_sel."_".$sub_categ_sel;
  $db->add_query="";$db->add_query1=" ";
  
}

$dat5=$dat1+($db->time_zone*3600);

echo' <table  width="780"
cellSpacing=2 cellPadding=3 border=0>

<tr valign="top" ><td colspan="3" height="30">

<table border="0" cellpadding="0" cellspacing="0"  width="100%">
      <tr>
	  
       <td rowspan="3" valign="bottom">&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://web-script.com"><img src="../images/logo/logo36.gif" alt="http://web-script.com" border=0></a></td>
   

       <td class=version nowrap valign="bottom" >'.$db->vr_version.' 2.72 &nbsp;</td>
	   <td width="100%" height="30"  valign="bottom" align="center"   ><span  class="copy"> '; echo date('H:i, j F Y  ',$dat5); echo '</span></td>
   
       <td rowspan="3" valign="bottom" align="right" >
        <table border="0" cellpadding="0" cellspacing="0">
         <tr>';
	 
          
require("./menu222.php");	
echo'
         </tr>
        </table>
       </td>
      </tr>

      <tr>
       <td valign="bottom" colspan="2" ><img src="../images/line21.gif" width=100% height=1></td>
      </tr>

     </table>
	 </td></tr>
';


require("../menu_stats/host2.php");

echo'<tr><td>';
$db->file_q();

$db->param();
echo'</td></tr></form>';

echo '<tr><td colspan=20 width="100%"><img src="../images/line22.gif" width=100% height=1></td></tr>';
echo '<tr><td colspan=3 class="time" align="right">&nbsp Copyright (c) 2003-2006 <a  style="color: #13196D" href="http://www.web-script.com/" target="_blank">Web-Script.com</a> &nbsp  All Rights Reserved.</td></tr>';

}
else {require("../admin/admin.php");}

?>


</body>
</html>
Return current item: Web-Analiser