assign('title','Digital Rights Management and Copy Protection Schemes');
//$smarty->caching = true;
$smarty->assign('breadcrumb','true');
$issue = array("Patent Busting Project" => "/patent/");
$smarty->assign('issue',$issue);
$content = '
';
$filename="wp.html";
$content .= implode('', file($filename));
// get title
preg_match("/(title.*>)(.*?)(<\/title)/i",$content, $title);
if ($title[2]) { $smarty->assign('title',$title[2]); }
// remove title
$tag = "title";
$content = preg_replace("/<" . $tag . ">(.|\s)*?<\/" . $tag . ">/","",$content);
if (substr($filename, -4) != "html") { $content .= "\n"; }
$content .= '
';
global $REQUEST_URI;
$smarty->assign('content',$content);
$smarty->display('generic.tpl',$REQUEST_URI);
?>