RewriteEngine on

RewriteRule ^login$ index.php?type=login [L]
RewriteRule ^logout$ index.php?type=logout [L]
RewriteRule ^userRegistration$ index.php?type=userRegistration [L]
RewriteRule ^orgRegistration$ index.php?type=orgRegistration [L]
RewriteRule ^registrateUser$ index.php?type=registrateUser [L]
RewriteRule ^registrateOrg$ index.php?type=registrateOrg [L]
RewriteRule ^orgApproval-([0-9]+)$ index.php?type=orgApproval&id=$1 [L]
RewriteRule ^orgApproval$ index.php?type=orgApproval [L]
RewriteRule ^addEvent$ index.php?type=addEvent [L]
RewriteRule ^emailNotification$ index.php?type=emailNotification [L]
RewriteRule ^searchEvents$ index.php?type=searchEvents [L]
RewriteRule ^viewEvent-([0-9]+)$ index.php?type=viewEvent&id=$1 [L]
RewriteRule ^viewEvents-([0-9]+)$ index.php?type=viewEvents&page=$1 [L]
RewriteRule ^viewOrg-([0-9]+)$ index.php?type=viewOrg&id=$1 [L]
RewriteRule ^buyTicket-([0-9]+)$ index.php?type=buyTicket&id=$1 [L]
