Beispiel #1
0
		if ($get->order_by()!=''){
		$values[$get->order_by()]=$cursor.' ' . $values[$get->order_by()];
		}
		
		
		$hitlink=$f->getLink($values['hits'], "",array('order_by'=>'hits',  'order'=>$order) +  $currentVars);
		$platformlink=$f->getLink($values['platform'], "",array('order_by'=>'platform',  'order'=>$order) +  $currentVars);
		$authorlink=$f->getLink($values['autor'], "",array('order_by'=>'autor',  'order'=>$order) +  $currentVars);
		$datelink=$f->getLink($values['date'], "",array('order_by'=>'date',  'order'=>$order) +  $currentVars);
		$verified=$f->getLink($values['verified'], "",array('order_by'=>'verified',  'order'=>$order) +  $currentVars);
			
		/***************
		 * navigation *
		 **************/
		$nav=new Navigation($f);
		$nav->currentSite($get->site());
		$nav->nElements($n);
		$nav->itemsPerSite(NUMBERS_PER_SIDE);
		$nav->targetUrl($sitename);									
		$nav->additionalUrlParams(array('view'=>$get->view(), 'order_by' =>$get->order_by(), 'order'=>$get->order()));			
		
		
		
		$exploits=$e->mySqlSelectByCategory($get->view(),$nav->mysqlStart(), $nav->itemsPerSite(),$orderBy,$order);			//anpassen
		/*******order*******************/
		$viewByCategory=$f->getLink($c->name(), $sitename, array("view"=> $c->id()));	
		echo "<div class=\"exploit-category\">\n";
		echo "<h4 class=\"category-title\">$viewByCategory</h4><table class=\"exploit-table\">\n";
		echo "<tr><th>$datelink</th><th>DL</th><th>$verified</th><th>Description</th><th>$hitlink</th><th>$platformlink</th><th>$authorlink</th></tr>";
		$ctr=0;
		foreach ($exploits as $e){