<?php
  $smarty->assign("s_activId",isset($_SESSION['s_activId'])   ? $_SESSION['s_activId'] : "");
  $smarty->assign("s_userType",isset($_SESSION['s_userType']) ? $_SESSION['s_userType'] : "");
  mysql_close();
?>