묻고답하기
자바 스크립트 어디에 넣어야 할지 모르겠어요 ㅜㅡㅜ
2012.10.23 21:52
<?php
$pages = Array(
'1' => Array('id' => '1', 'alias' => 'home', 'file' => '1.php'),
'2' => Array('id' => '2', 'alias' => 'about', 'file' => '2.php'),
'3' => Array('id' => '3', 'alias' => 'articles', 'file' => '3.php'),
'4' => Array('id' => '4', 'alias' => 'contacts', 'file' => '4.php'),
'6' => Array('id' => '6', 'alias' => 'sitemap', 'file' => '6.php')
);
$forms = Array(
);
$base_dir = dirname(__FILE__);
$base_url = '/';
include dirname(__FILE__).'/inc.functions.php';
$home_page = '1';
$page_id = parse_uri();
$user_key = "czygyjRqBofroJZMJN2s238z";
$user_hash = "ed67d48424f8496945edb4dd267cb987";
$blog_callback = "http://www.zyrobuilder.com/engine/blog.callback.php";
$preview = false;
if (isset($_POST["wb_form_id"])) include dirname(__FILE__).'/wb_scripts/wb_email_send.php';
ob_start();
if (isset($_REQUEST['view']) && $_REQUEST['view'] == 'news')
include dirname(__FILE__).'/news.php';
else if (isset($_REQUEST['view']) && $_REQUEST['view'] == 'blog')
include dirname(__FILE__).'/blog.php';
else
include dirname(__FILE__).'/'.$pages[$page_id]['file'];
ob_end_flush();
?>
이렇게 index.php
에 나와있는데
<script src="http://static.dudamobile.com/DM_redirect.js" type="text/javascript"></script>
<script type="text/javascript">DM_redirect("/script'>http://mobile.dudamobile.com/site/vatasoft_comze_1");</script>
이 코드를
index.html
에 넣어야 한다고 되있는데
index.html이 없고 index.php
밖에 없네요
어디에 넣어야 하나요?