Location: PHPKode > projects > NmnNewsletter > NmnNewsletter1.0.8/includes/common.libs.php
<?php

	function getUnsubHref($idUser){			
		$encrypted = md5($idUser.ENC_KEY);			
		return "".SITE_URL.APPLICATION_PATH."unsubscribe.php?id=".$idUser."&key=".$encrypted;
	}

	function getSubscribeHref($idUser){
		$encrypted = sha1($idUser.ENC_KEY);	
		return "".SITE_URL.APPLICATION_PATH."confirmSubscription.php?usrid=".$idUser."&key=".$encrypted;
	}


?>
Return current item: NmnNewsletter