global $theme;
$theme_path = drupal_get_path('theme', $theme);
echo $theme_path ;
---------------------- sites/all/themes/mytheme
global $theme_path;
echo $theme_path;
---------------------- sites/all/themes/mytheme
可写在template.php 页面,也可写在page 模板页面。
drupal_add_js 不可以写在page模板页面。