Index: temp/trunk/html/admin/design/template.php
===================================================================
--- temp/trunk/html/admin/design/template.php	(revision 10510)
+++ temp/trunk/html/admin/design/template.php	(revision 10512)
@@ -290,4 +290,16 @@
 	$taget_css_path = $tpl_path . $arrTemplate[0]['template_code'] . "/css/";
 	$save_tpl_path = $tpl_path;
+
+	// ²èÁü¥Ñ¥¹¤ò½ñ¤­´¹¤¨
+	
+	readfile($save_tpl_path . "top.tpl");
+	
+	'<!--{$smarty.const.URL_DIR}-->img/';
+	require_once(HTML_PATH . "../data/module/SearchReplace.php");
+	
+	// phpspot.net¤È¤¤¤¦Ê¸»úÎó¤òphpspot.org¤ËÃÖ´¹¤¹¤ë 
+	$fs = new File_SearchReplace('<!--{$smarty.const.URL_DIR}-->img/', "phpspot.org", "", "$tpl_path . $arrTemplate[0]['template_code']", true); 
+	$fs->doSearch(); 
+	
 	
 	// TOP¤òÊÑ¹¹¤·¤¿¾ì¹ç¤Ë¤ÏÁ´²èÌÌÊÑ¹¹
@@ -303,5 +315,5 @@
 		// ¥Ö¥í¥Ã¥¯¥Ç¡¼¥¿¤Î¥³¥Ô¡¼
 		lfFolderCopy($taget_inc_path."bloc/", $inc_path . "bloc/");
-		
+
 		// ¥Ø¥Ã¥À¡¼,¥Õ¥Ã¥¿¡¼¥³¥Ô¡¼
 		copy($taget_inc_path . "header.tpl", $inc_path . "header.tpl");
@@ -333,4 +345,5 @@
 	$mess = "";
 	$mess = sfCopyDir(HTML_PATH."img/", USER_TEMPLATE_PATH.$template_code."/img/", $mess);
+	
 	// ¥Õ¥¡¥¤¥ë¤Î°µ½Ì
 	$tar = new Archive_Tar($dl_file, TRUE);
