How do I create a dynamic link for a block? I have two dynamic links that I want to put in a block, e.g. http://domain.com/series/naruto/addreview ("series" is the content type, and "naruto" is the node title), http://domain.com/node/add/album/1 ("1" is the node ID).

I want to change the URL depending on what node is being viewed. How can I do it?
You can get the node id from the url, since all nodes are displayed at node/[nid]. So if you in your block do

$nid = arg(1);
$node = node_load($nid);


You will get the node which has the title and the nid that you can use in your links. You would need to check that the block is on a node page as well by doing:

if (arg(0) == 'node')