<?php /* Smarty version Smarty-3.0.6, created on 2013-10-17 06:58:17
         compiled from "C:/AppServ/www/www/templates/www/default\book_tpl.html" */ ?>
<?php /*%%SmartyHeaderCode:11338525f8a89148d42-64368697%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9a3f18e260760e1bbdb27ed5332dd2956992ca09' => 
    array (
      0 => 'C:/AppServ/www/www/templates/www/default\\book_tpl.html',
      1 => 1381826220,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11338525f8a89148d42-64368697',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "- //W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->getVariable('webtitle')->value;?>
 - Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/<?php echo $_smarty_tpl->getVariable('tpl_path')->value;?>
/css/main.css" />
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/jquery-1.7.2.js" ></script>
<script language="javascript" src="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/js/common.js"></script>
<script language="javascript">
	var webroot_url = '<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
';
	function submitFun()
	{
		var idboo_name 		= document.getElementById('boo_name');
		var idboo_phone 	= document.getElementById('boo_phone');
		var idboo_email		= document.getElementById('boo_email');
		var idboo_description 	= document.getElementById('boo_description');

		patn = /^([a-zA-Z0-9_.- ])+@([a-zA-Z0-9_- ])+(\.[a-zA-Z0-9_- ])+/;
		
		if(idboo_name.value=='')
		{
			alert('提示：\n\n联系人不能为空，请输入！');
			idboo_name.focus();
			return false;
		}else if(idboo_phone.value=='')
		{
			alert('提示：\n\n联系电话不能为空，请输入！');
			idboo_phone.focus();
			return false;
		}else if(idboo_email.value=='')
		{
			alert('提示：\n\n邮箱不能为空，请输入！');
			idboo_email.focus();
			return false;
		}else if(!patn.test(idboo_email.value))
		{
			alert ("提示：\n\n电子邮件格式不正确，请输入正确的电子邮件地址！！");
			idboo_email.focus (); 
			return false; 
		}else if(idboo_description.value=='')
		{
			alert('提示：\n\n备注不能为空，请输入！');
			idboo_description.focus();
			return false;
		}

	}
</script>
</head>
<body>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/header_tpl.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/webaddress_tpl.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<div class="maincss">
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/proleft_tpl.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<div class="mainrightad">
<?php echo $_smarty_tpl->getVariable('getads')->value[1]['relurl'];?>

</div>

<div class="mainright_art">

<div class="mainrighttitle_art">商品在线预订</div>

<div class="list_art">
<ul class="list_pro_ul">

<form action="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/?load=book&act=addinfo" method="post" onsubmit="return submitFun(this)">
<table width="660" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td  align="right" width="158" ><strong>联系人：</strong></td><td width="563"  align="left" ><input name="boo_name" id="boo_name" value=""  style="width:230px;"><input name="pro_id" id="pro_id" value="<?php echo $_smarty_tpl->getVariable('proinfo')->value['pro_id'];?>
"  style="width:230px;" type="hidden"></td>
  </tr>


  <tr>
    <td align="right"><strong>联系电话：</strong></td><td  align="left" ><input name="boo_phone" id="boo_phone" value=""  style="width:230px;"></td>
  </tr>
  <tr>
    <td align="right"><strong>联系邮箱：</strong></td><td  align="left" ><input name="boo_email" id="boo_email" value=""  style="width:230px;"></td>
  </tr>
  <tr>
    <td align="right" width="158" ><strong>申请商品名称：</strong></td><td  align="left" ><input name="boo_product" id="boo_product" value="<?php echo $_smarty_tpl->getVariable('proinfo')->value['pro_name'];?>
" disabled="disabled"  style="width:230px;"><input name="boo_product" id="boo_product" value="<?php echo $_smarty_tpl->getVariable('proinfo')->value['pro_name'];?>
"  type="hidden" ></td>
  </tr>

  
  <tr>
    <td align="right"><strong>说明/备注：</strong></td><td  align="left" ><textarea name="boo_description" id="boo_description" rows="8" cols="40"></textarea></td>
  </tr>
  
  
  <tr>
    <td colspan="2" align="center"><input type="submit" name="submit" id="submit" value=" 提 交 "></td>
  </tr>
    <tr>
    <td colspan="2" width="100%">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" width="100%"><table width="100%" align="left"><tr><td><span style="font-weight:bolder">分享到：</span></td><td><!- - Baidu Button BEGIN GV32.COM ADD  - - >
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_qzone">QQ空间</a>
        <a class="bds_tsina">新浪微博</a>
        <a class="bds_tqq">腾讯微博</a>
        <a class="bds_renren">人人网</a>
        <span class="bds_more">更多</span>    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!- - Baidu Button END GV32.COM ADD - - ></td></tr></table></td>
  </tr>
</table>

</form>

</ul>
</div>
<div class="list_art"><?php echo $_smarty_tpl->getVariable('PageStr')->value;?>
</div>

<div class="mainrightad">
<?php echo $_smarty_tpl->getVariable('getads')->value[9]['relurl'];?>

</div>

</div>
</div>

</div>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/footer_tpl.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</body>
</html>
