예제 #1
0
			}else {
				$verified='false';	
			}			
			
			
			$e->verified($verified);
			$e->dbh($dbh);

			$upload=new Upload($vars->url_upload(),$_FILES['pc_upload']);
			$upload->uploaddir('upload');		
			$newfile=$upload->upload();
			if($newfile!="" && $fileSet){					
				unlink($e->file());
			}
			$e->file($upload->upload());
			$e->mysqlUpdate();
			echo "<h4>{$vars->catname()} ge&auml;ndert :)</h4>";
		}else {
		;
		}
		/**Formular erzeugen***/


		$edit=new Getvars();
		$edit->requireVar('edit');
		
		if ($edit->validateVars()){
			$e=new pExploit();
			$e->dbh($dbh);
			$e->mysqlSelect($edit->edit());