Example #1
0
	<?php

	$sitename=pathinfo(__FILE__);
	$sitename=$sitename['basename'];
	
	$f=new Formgen();
	$get=new Getvars();
	$get->requireVar('view');
	$get->assignVar('back');
	$get->assignVar('forward');
	$get->assignVar('site');
	$get->assignVar('type');
	if($get->validateVars()){
		$e= new pExploit();
		$e->dbh($dbh);
		$n=$e->mysqlCountByPlatform($get->view());															//anpassen
		

		/***************
		 * navigation *
		 **************/
		$nav=new Navigation($f);
		$nav->currentSite($get->site());
		$nav->nElements($n);
		$nav->itemsPerSite(15);
		$nav->targetUrl($sitename);									
		$nav->additionalUrlParams(array('view'=>$get->view()));
		//-----lsExploits--------------------------------------------------------------------------------------------------------------------------------------------------------------
		$e= new pExploit();
		$e->dbh($dbh);
		//$c=new pCategory();