<?php /* Smarty version Smarty-3.0.6, created on 2020-03-30 16:38:12
         compiled from "I:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/threeall\book.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7397442875e81aff4689c41-55200564%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '61561fdce990a43fef99697167a2c9cb28e52dc8' => 
    array (
      0 => 'I:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/threeall\\book.tpl',
      1 => 1585557483,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7397442875e81aff4689c41-55200564',
  '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;?>
<?php echo $_smarty_tpl->getVariable('web_config')->value['poweredby'];?>
</title>
<link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap theme -->
<link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/bootstrap-theme.min.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/black.css" rel="stylesheet">
<script language="javascript" src="./js/jquery.min.js" ></script>
<script language="javascript" src="./js/common.js"></script>
<script language="javascript" src="./js/gv32menu.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>
<style type="text/css">
#tableresume tr{ height:28px;}
</style>
</head>
<body>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/header.tpl", $_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="container" style="margin-top:10px;">
      <div class="url-header" >
		<ol class="breadcrumb">
		  <?php echo $_smarty_tpl->getVariable('now_address')->value;?>

		</ol>
      </div>

<div class="maincss">
<?php if ($_smarty_tpl->getVariable('getads')->value[1]['relurl']!=''){?>
<div class="mainrightad">
<?php echo $_smarty_tpl->getVariable('getads')->value[1]['relurl'];?>

</div><?php }?>

<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;?>
/index.php?load=book&act=addinfo" method="post" onsubmit="return submitFun(this)">
<table width="660" border="0" cellspacing="0" cellpadding="0" id="tableresume">

  <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;" class="reg_inp"><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;" class="reg_inp"></td>
  </tr>
  <tr>
    <td align="right"><strong>联系邮箱：</strong></td><td  align="left" ><input name="boo_email" id="boo_email" value=""  style="width:230px;" class="reg_inp"></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;" class="reg_inp"><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" class="reg_inp"></textarea></td>
  </tr>
  
  
  <tr>
    <td colspan="2" align="center"><input type="image" src="./images/submitgv32.jpg" width="75"  height="32"   name="submit" id="submit" /></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 HuCart.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 HuCart.COM ADD --></td></tr></table></td>
  </tr>
</table>

</form>

</ul>
</div>
 

</div>
</div>

</div>

 
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/footer.tpl", $_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>
