<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo ($page_seo["title"]); ?></title>
<meta name="keywords" content="<?php echo ($page_seo["keywords"]); ?>" />
<meta name="description" content="<?php echo ($page_seo["description"]); ?>" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/ftxia/style.css" />
<script type="text/javascript" src="__STATIC__/js/jquery/jquery.js"></script>
<meta property="qc:admins" content="51720634412164111776375" />

<link rel="stylesheet" type="text/css" href="__STATIC__/css/ftxia/user.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/ftxia/goods.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/ftxia/table_form.css" />
</head>
<body>

<div id="toolbar">
	<div class="toolbar juan_content">

		<ul class="juan_login">
		 <?php if(!empty($visitor)): ?><li><a href="<?php echo U('user/index');?>"><b><?php echo ($visitor["username"]); ?></b></a> <?php echo L('welcome');?>,</li><li><a href="<?php echo U('score/index');?>" class="set"><?php echo L('my_gift');?></a></li><li><a href="<?php echo U('user/logout');?>"><?php echo L('logout');?></a></li>
		 <?php else: ?>
		 <li><?php echo L('please');?><a href="<?php echo U('user/login');?>" id="jky_top_login"><b><?php echo L('login');?></b></a></li><li><a href="<?php echo U('user/register');?>"><?php echo L('register');?></a></li><?php endif; ?>
		</ul>
		<ul class="juan_menu">
			<?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'top','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li>
				<a href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a>
				</li><?php endforeach; endif; else: echo "" ;endif; ?>
			<li class="barmenu collect">
				<div class="menu-hd collect_to">
					<a href="javascript:;">收藏<?php echo C('ftx_site_name');?></a><b></b>
				</div>
				<div class="menu-client collect_client">
					<dl>
						<dd>
							<div class="add_col">
								<a href="javascript:;"><i></i>添加到收藏夹</a> <span>或者(Ctrl+D)</span>
							</div>
						</dd>
						<dd>
							<div class="add_desktop">
								<a target="_blank" href="<?php echo U('index/shortcut');?>"><i></i>桌面快捷方式</a>
							</div>
						</dd>
						<dd><div class="add_qq"><a href="javascript:;"><i></i>添加到QQ书签</a></div></dd>
					</dl>
				</div>
			</li>
			<li class="barmenu share">
				<div class="menu-hd share_to">
					<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
					<span class="bds_more">分享到</span><b></b>
					</div>
					<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1&amp;uid=662237" ></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=" + Math.ceil(new Date()/3600000)
					</script>
				</div>
			</li>
		</ul>
	</div>
</div>


<div class="header">
	<div class="header_in">
		<div class="header_top">
			<div class="logo"><h1><a title="<?php echo C('ftx_site_name');?>" href="__ROOT__"><img src="__STATIC__/css/ftxia/image/logo.png"></a></h1></div>
			<div class="search">
				<form method="get" action="__ROOT__/index.php" name="searchform" id="searchform">
				<input type="hidden" name="m" value="index">
				<input type="hidden" name="a" value="so">
				<input type="text" class="text"  value="输入您想要的9.9宝贝" def-val="输入您想要的9.9宝贝" id="key" name="k"/>
				<input type="submit" class="button" value="搜 索" />
				</form>
			</div>
		</div>
	</div>
</div>
<div class="header_bt">
	<div class="main">
		<div class="main_in">
			<ul class="navigation">
				<li class="entrance"><a href="<?php echo C('ftx_kefu_html');?>" target="_blank">在线客服</a></li>
				<li class="entrance"><a class="minor hezuo" href="<?php echo U('goods/goods_add');?>" >商家合作</a></li>
				<li class="entrance"><a class="minor chaxun" href="javascript:" >报名查询</a></li>
				<li <?php if($nav_curr == 'index'): ?>class="current"<?php endif; ?>><a href="__ROOT__/index.htm"><?php echo L('index_page');?></a></li>
				<?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'main','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li class="split <?php if($nav_curr == $val['alias']): ?>current<?php endif; ?>"><a href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
	</div>
</div>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
<div class="mains">
    <div class="contain register_con">
        <div class="left_con fl">
			<ul class="left_nav">
				<li class="cur"><a href="<?php echo U('goods/goods_add');?>">报名新宝贝</a></li>
				<li><a href="<?php echo U('goods/mygoods');?>">已报名宝贝</a></li>
			</ul>
		</div>	

        <div class="right_con fr">
            <div class="re_content">
                <h3 class="title">商家报名发布商品 :</h3>

                <form action="<?php echo U('goods/goods_add');?>" method="post" name="form" class="GoodsAddform">
                    <ul>
						
													
				<li><label>商品IID：</label>
				
                	<input type="text" name="iid" id="iid" class="txt price" size="20" ></li>    
					
					<li><label>商品名称：</label>
				<input type="text" name="taobao_title" id="taobao_title" class="txt txt02" size="60" ></li> 
				<li><label>卖家旺旺：</label>
                	<input type="text" name="nick" id="nick" class="txt price" size="20" value="<?php echo ($info["nick"]); ?>">
                </li>
				

                        <li class="j_class">
                        <label class="fenlei">所属分类：</label>
							<select class="J_cate_select mr10" id="J_cate_select" data-pid="0" data-uri="<?php echo U('item/ajax_getchilds', array('type'=>0));?>" data-selected=""></select>
							<input type="hidden" name="cate_id" id="J_cate_id" value="" />
							<p class="s1" id="fenlei_error" style="display:none;"></p>
							<p class="tips" id="fenlei">分类必须与宝贝类型一致，会直接影响您的宝贝所在的分类。</p>
                        </li>
                        
                        <li>
                            <label>图片链接：</label>						
							
					<input type="text" name="img_link" id="img_link" class="txt price" size="50" >

                            <p class="s1" id="pic_error" style="display:none;"></p>
                            <p class="tips"> <span class="red">(一定要去除图片地址后面的"_310x310.jpg"否则宝贝图片无法显示。)</span>
                            </p>
                        </li></li>
						
                        <li><label>宝贝库存：</label><input type="text" id="good_inventory" name="inventory" class="txt good_inventory" value="" maxlength="5">
                            <p class="s1" id="good_inventorys" style="display:none;"></p>
                            <p class="tips">库存不能低于200件</p>
                        </li>
						

						<li><label>原来价格：</label><input type="text" id="price" class="txt price" name="price" value="">
                            <p class="s1" id="prices" style="display:none"></p>
                            <p class="tips"></p>
                        </li>

                        <li><label>报名价格：</label><input type="text" id="good_price" class="txt good_price" name="good_price" value="">
                            <p class="s1" id="good_prices" style="display:none"></p>
                            <p class="tips"></p>
                        </li>
												<li><label>开始时间：</label><input type="text" id="coupon_start_time" class="txt price date" name="coupon_start_time" value=""></li>
                        <li><label>结束时间：</label><input type="text" id="coupon_end_time" class="txt good_price date" name="coupon_end_time" value=""></li>
                        <li>
                            <label>推荐理由：</label>
                            <textarea id="intro" name="intro" maxlength="140">请务必以客观的角度评价您的宝贝，否则会影响到您宝贝的审核。</textarea>
                            <p class="s1" id="intros" style="display:none;"></p>
                        </li>


						<li class="j_class">
                        <label class="fenlei">商品来源：</label>
                        <select name="shop_type" id="shop_type">
							<?php if(is_array($orig_list)): $i = 0; $__LIST__ = $orig_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><option value="<?php echo ($val["type"]); ?>"><?php echo ($val["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
                        <p class="s1" id="shop_types"></p>
                        </li>
                        <li>
							<input type="button" tabindex="5" value="提 交" id="smt" class="smt submit">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
        <!-- end of right_con -->
    </div>
    <!-- end of contain -->
</div>

<!--主部结束-->
<div class="footer">
	<div class="footer_in">
		<?php echo R('advert/index', array(1), 'Widget');?>
		<?php echo R('advert/index', array(2), 'Widget');?>
		<a href="http://www.miaoshanet.com/"><img src="__STATIC__/css/ftxia/image/foot_89.gif" style=" float:left; margin:30px 40px 0 50px;" /></a>
		<?php echo R('advert/index', array(3), 'Widget');?>
		<?php echo R('advert/index', array(4), 'Widget');?>
	</div>
	<p class="f_miibeian">Copyright @ 2010-2013 <?php echo C('ftx_site_url');?> all Rights Reserved <a href="<?php echo C('ftx_site_url');?>" target="_blank"><?php echo C('ftx_site_name');?></a> (<a href="http://www.miibeian.gov.cn" class="tdu clr6" target="_blank"><?php echo C('ftx_site_icp');?></a>) <?php echo C('ftx_statistics_code');?>  </p> 
</div>
<div style="" id="goTopBtn"><a class="b_img" title="回到顶部"></a></div>
<script>
var FTXIAER = {
    root: "__ROOT__",
    uid: "<?php echo $visitor['id'];?>", 
	chaxunurl: "<?php echo U('ajax/check_item');?>",
    url: {}
};
var lang = {};
<?php $_result=L('js_lang');if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>lang.<?php echo ($key); ?> = "<?php echo ($val); ?>";<?php endforeach; endif; else: echo "" ;endif; ?>
</script>
<?php $tag_load_class = new loadTag;$data = $tag_load_class->js(array('type'=>'js','href'=>'__STATIC__/js/jquery/plugins/jquery.tools.min.js,__STATIC__/js/jquery/plugins/jquery.masonry.js,__STATIC__/js/jquery/plugins/formvalidator.js,__STATIC__/js/fileuploader.js,__STATIC__/js/ftxia.js,__STATIC__/js/front.js,__STATIC__/js/dialog.js,__STATIC__/js/item.js,__STATIC__/js/user.js,__STATIC__/js/comm.js','cache'=>'0','return'=>'data',));?>

<!-- 淘点金 BEGIN -->
<script type="text/javascript">
(function(win,doc){
var s = doc.createElement("script"), h = doc.getElementsByTagName("head")[0];
if (!win.alimamatk_show) {
s.charset = "gbk";
s.async = true;
s.src = "http://a.alimama.cn/tkapi.js";
h.insertBefore(s, h.firstChild);
}
var o = {
pid: "<?php echo C('ftx_header_html');?>",
appkey: "",
unid: ""
}
win.alimamatk_onload = win.alimamatk_onload || [];
win.alimamatk_onload.push(o);
})(window,document);
</script>
<!-- 淘点金 END -->

<script src="__STATIC__/js/select.js"></script>
<script src="__STATIC__/js/goods.js"></script>
<script type="text/javascript">
$('.J_cate_select').cate_select('请选择');
</script>
 <script language="javascript" type="text/javascript">
	                        Calendar.setup({
	                            inputField     :    "coupon_start_time",
	                            ifFormat       :    "%Y-%m-%d %H:%M",
	                            showsTime      :    'true',
	                            timeFormat     :    "24"
	                        });
</script>
<script language="javascript" type="text/javascript">
	                        Calendar.setup({
	                            inputField     :    "coupon_end_time",
	                            ifFormat       :    "%Y-%m-%d %H:%M",
	                            showsTime      :    'true',
	                            timeFormat     :    "24"
	                        });
</script>
</body>
</html>