<?php /*a:7:{s:26:"./template/user\index.html";i:1663211189;s:29:"./template/common\common.html";i:1663207974;s:26:"./template/common\top.html";i:1663035631;s:27:"./template/common\menu.html";i:1663208173;s:32:"./template/common\user_left.html";i:1663210419;s:27:"./template/common\foot.html";i:1663059053;s:29:"./template/common\bottom.html";i:1655692342;}*/ ?>
<?php 
$F=F();
$WEB=web_system();
$USER_ID=request()->session('USER_ID');
//$reset_table_id=table_id('tq_admin');//给表重置id
 ?>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="keywords" content="<?php if($info['seo_keywords']==''): ?><?php echo htmlentities($WEB['seo_keywords']); else: ?><?php echo htmlentities($info['seo_keywords']); ?><?php endif; ?>" />
<meta name="description" content="<?php if($info['seo_description']==''): ?><?php echo htmlentities($WEB['seo_description']); else: ?><?php echo htmlentities($info['seo_description']); ?><?php endif; ?>" />
<title><?php if($info['seo_title']==''): ?><?php echo htmlentities($WEB['seo_title']); else: ?><?php echo htmlentities($info['seo_title']); ?><?php endif; ?></title>

<link rel="Shortcut Icon" type="image/x-icon" href="/template/common/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/template/common/css/reset.css"/>
<link rel="stylesheet" href="/template/common/css/iconfont.css">
<link rel="stylesheet" href="/template/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="/template/common/css/swiper.min7.css"/>
<link rel="stylesheet" type="text/css" href="/template/common/css/hover.css"/>
<link rel="stylesheet" href="/template/common/css/animate.css">
<link rel="stylesheet" href="/template/common/css/aos.css">
<link rel="stylesheet" type="text/css" href="/template/common/css/stardots.css"/>
<link rel="stylesheet" type="text/css" href="/template/common/css/bubble.css"/>
<link rel="stylesheet" type="text/css" href="/template/common/css/style.css"/>
<script type="text/javascript" src="/template/common/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="/template/common/js/html5shiv.js"></script>
<script type="text/javascript" src="/template/common/js/swiper.min7.js"></script>
<script type="text/javascript" src="/template/common/js/swiper.animate.min.js"></script>
<script type="text/javascript" src="/template/common/js/prefixfree.min.js"></script>

<link rel="stylesheet" href="/template/common/css/mCustomScrollbar.css">
<script type="text/javascript" src="/template/common/js/mCustomScrollbar.js"></script>

</head>
<body>
<!-- header -->
<header class="header_box">
	<input id="hamburger" class="hamburger" type="checkbox">
	<label for="hamburger" class="menu"><i></i></label>
	<div class="menu_bg"></div>
	<div class="header_top">
		<div class="center_box flex_box">
			<div class="header_tl fl"><?php echo htmlentities($WEB['content1']); ?></div>
			<div class="header_dlzc fr">
				
				<?php if($USER_ID==''): ?>
				<!-- 未登录 -->
				<div class="header_un_dlzc">
					<div class="header_dlzc_state flex_box">
						<ul class="flex_box">
							<li><a href="/login.html">登录</a></li>
							<li><a href="/reg.html">注册</a></li>
						</ul>
					</div>
				</div>
				<!-- /未登录 -->
				<?php else: ?>
				<!-- 已登录 -->
				<div class="header_dlzc_ed">
					<div class="header_dlzc_state flex_box">
						<i class="iconfont icon-weidenglutouxiang"></i>
						<ul class="flex_box">
							<li><a href="/user.html">个人中心</a></li>
							<li><a href="<?php echo url('index/User/out'); ?>">退出登录</a></li>
						</ul>
					</div>
				</div>
				<!-- /已登录 -->
				<?php endif; ?>
				
			</div>
		</div>
	</div>
	<div class="header_bot">
		<div class="center_box flex_box">
			<a class="logo fl" href="/"><img src="/template/common/img/logo.png" alt="中国（内蒙古）知识产权保护中心"></a>
			<nav class="nav_box fr">
				<ul class="flex_box">
					<li <?php if(is_home()==1): ?>class="active"<?php endif; ?>>
						<a class="flex_box" href="/"><span>首页</span></a>
					</li>
					
					<?php $_result=menu();if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
					<li <?php if(is_this($v['id'])==1): ?>class="active"<?php endif; ?>>
						<a class="flex_box" href="<?php echo htmlentities($v['url']); ?>" <?php echo htmlentities($v['is_new']); ?>><span><?php echo htmlentities($v['catename']); ?></span></a>
						<div class="subnav">
							<ol>
								
								<?php $_result=menu_cate($v['id']);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$c): $mod = ($i % 2 );++$i;?>
								<li><a href="<?php echo htmlentities($c['url']); ?>" <?php echo htmlentities($c['is_new']); ?>><?php echo htmlentities($c['catename']); ?></a></li>
								<?php endforeach; endif; else: echo "" ;endif; ?>
								
							</ol>
						</div>
					</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>

				</ul>
			</nav>
		</div>
	</div>
</header>
<div class="header_height"></div>
<!-- /header -->


<div class="user_box">
	<!-- banner -->
	<div class="inner_banner">
		<img class="wow scaleBox" data-wow-duration="4s" src="/template/common/img/zlxz_banner.jpg">
	</div>
	<!-- /banner -->
	
	<!-- 主体 -->
	<main class="main_box">
		<div class="user_bg pd_b80">
			
			<!-- 个人中心 -->
			<div class="grzx_box1 center_box flex_box">
				<div class="grzx_l">
	<div class="grzx_head">
		<i class="iconfont icon-weidenglutouxiang"></i>
		<p class="grzx_name mg_t15"><?php echo htmlentities($info['name']); ?></p>
	</div>
	<div class="grzx_nav mg_t40">
		<ul>
			<li class="<?php if($NOW==1): ?>active<?php endif; ?>">
				<a class="flex_box pd_tb20" href="/user.html">
					<span class="grzx_icon icon_svg_img flex_box">
						<svg t="1660140065291" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1816" width="200" height="200"><path d="M511.706311 64.021106c-247.27171 0-447.724091 200.453405-447.724091 447.724091s200.453405 447.724091 447.724091 447.724091 447.724091-200.453405 447.724091-447.724091S758.976998 64.021106 511.706311 64.021106zM257.851673 799.552112c15.745612-126.195144 123.393331-223.846184 253.854639-223.846184s238.109026 97.650017 253.854639 223.846184c-67.652819 59.718103-156.520823 95.957469-253.854639 95.957469S325.504492 859.269191 257.851673 799.552112zM383.78485 383.823736c0-70.64906 57.272401-127.921461 127.921461-127.921461s127.921461 57.272401 127.921461 127.921461-57.272401 127.921461-127.921461 127.921461S383.78485 454.472795 383.78485 383.823736zM818.766732 741.968625c-27.566846-94.65173-97.698113-171.166381-188.29448-207.430306 44.530193-35.139312 73.115228-89.586364 73.115228-150.71356 0-105.97359-85.908602-191.882192-191.882192-191.882192S319.824119 277.851169 319.824119 383.823736c0 61.127196 28.586059 115.575272 73.115228 150.71356-90.596368 36.263925-160.727635 112.778576-188.29448 207.430306-48.161906-64.133669-76.702939-143.844106-76.702939-230.222405 0-211.94718 171.817204-383.76336 383.76336-383.76336s383.76336 171.817204 383.76336 383.76336C895.469672 598.123496 866.928638 677.834956 818.766732 741.968625z" p-id="1817"></path></svg>
					</span>
					<i class="grzx_w">个人资料</i>
				</a>
			</li>
			<li class="<?php if($NOW==2): ?>active<?php endif; ?>">
				<a class="flex_box pd_tb20" href="/password.html">
					<span class="grzx_icon icon_svg_img flex_box">
						<svg t="1660140081807" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1955" width="200" height="200"><path d="M934.784072 770.687714c-4.919033 103.121636-90.146113 185.509041-194.157002 185.509041l-3.523243 0L284.933471 956.196755l-3.51915 0c-104.013959 0-189.285041-82.387405-194.19998-185.509041l-0.213871 0 0-9.457396L87.00047 262.372639l0-1.654686 0-9.411347 0.213871 0c4.91494-103.161544 90.186022-185.549973 194.19998-185.549973l359.013677 0 0 0.044002 27.604708 0-83.829244 70.850651L563.088562 136.651286l-41.425482 0-90.403986 0L281.414321 136.651286c-68.183915 0-123.728976 55.67809-123.728976 124.06769l0 23.833825 0 1.824555 0 124.658138L157.685345 733.079164l0 0.252757 0 27.898397c0 68.394716 55.54506 124.068713 123.728976 124.068713l149.844773 0 0 0 159.51911 0 0 0 149.848866 0c68.180845 0 123.724883-55.672974 123.724883-124.068713l0-25.65224 0-0.765433L864.351953 610.914824 864.351953 410.949536l70.685899-69.666686L935.037852 761.230318l0 9.457396L934.784072 770.687714 934.784072 770.687714zM690.674379 459.501322l-51.260477 54.102199c-17.004279 17.388019-60.044538 61.019749-73.65144 75.43711-13.657045 14.500249-24.976858 26.412556-33.9226 35.783994-8.948813 9.372461-14.332427 14.754029-15.986089 16.072047-4.327562 3.985778-9.203616 8.184403-14.759145 12.676717-5.510504 4.453429-11.275811 8.015557-17.253966 10.68434-5.978155 3.140527-14.71412 6.872524-26.248827 11.449773-11.533684 4.452405-23.574928 8.775874-36.211736 13.020548-12.592806 4.238534-24.550139 7.885598-35.830043 11.022031-11.320836 3.051499-19.759019 5.132904-25.314549 6.062066-11.489682 1.316995-19.162432-0.506537-23.023366-5.381567-3.855818-4.879124-4.91494-13.18837-3.220345-24.678052 0.890276-6.27696 2.883677-15.309684 6.108115-27.098171 3.176342-11.827373 6.613628-24.081465 10.216689-36.759205 3.647063-12.681834 7.166213-24.424272 10.556427-35.108612 3.437286-10.68434 6.191003-18.063401 8.353248-22.049179 2.543939-6.192026 5.430686-11.916401 8.651031-17.045211 3.180436-5.132904 7.757684-10.813277 13.740956-17.045211 2.539846-2.673899 8.522094-9.03477 17.934464-19.038612 9.367345-10.05296 48.720631-50.076512 62.794162-64.790632l46.728254-48.805566 51.901067-54.102199L703.608969 195.334827l120.758318 122.501008L690.674379 459.501322 690.674379 459.501322zM907.223367 231.248781c-6.360871 6.659677-12.085246 12.468986-17.130146 17.472953-5.048993 5.004991-9.457396 9.457396-13.18837 13.314237-4.239558 4.452405-8.185426 8.353248-11.916401 11.658528L744.822626 151.240563c6.404873-6.108115 13.953803-13.44215 22.729677-22.050202 8.775874-8.606005 16.110933-15.394618 21.920242-20.398586 7.502881-6.101975 15.181771-10.386558 23.192212-12.885472 7.29515-2.291183 14.46034-3.394307 21.542642-3.349281l1.948375 0c3.89982 0.168846 7.761778 0.546446 11.492752 1.182942-0.083911-0.040932-0.257873 0-0.341784-0.040932 0.083911 0 0.25685 0 0.341784 0.040932 16.155958 3.010567 33.072233 11.70253 47.448662 25.612331 7.971555 7.761778 14.45727 16.408715 19.162432 25.313525 6.957459 13.144368 10.261715 26.885324 9.626241 39.433104 0 1.52575 0.128937 3.096525 0.128937 4.666276 0 7.250124-1.356904 14.456247-4.02978 21.666462C917.316236 217.637786 913.031653 224.595244 907.223367 231.248781L907.223367 231.248781zM907.223367 231.248781" p-id="1956"></path></svg>
					</span>
					<i class="grzx_w">修改密码</i>
				</a>
			</li>
		</ul>
	</div>
</div>

				<div class="grzx_r">
					<div class="r_title2 pd_b15">
						<h1 class="r_title_h">个人资料</h1>
					</div>
					<div class="grzx_con">
						<div class="grzx_form grzl_form pd_t20">
							
							<form name="form_2" id="form_2" onsubmit="return form_reg(2);">
							<ul>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">用户名：</span>
									<div class="grzx_inp">
										<input type="text" value="<?php echo htmlentities($info['name']); ?>" disabled>
									</div>
								</li>
								
								<?php if($info['type']==2): ?>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">企业全称：</span>
									<div class="grzx_inp">
										<input type="text" name="qyname" value="<?php echo htmlentities($info['qyname']); ?>">
									</div>
								</li>
								<?php endif; ?>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">联系人姓名：</span>
									<div class="grzx_inp">
										<input type="text" name="lxr" value="<?php echo htmlentities($info['lxr']); ?>">
									</div>
								</li>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">联系人电话：</span>
									<div class="grzx_inp">
										<input type="text" value="<?php echo htmlentities($info['phone']); ?>" disabled>
									</div>
								</li>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">联系人邮箱：</span>
									<div class="grzx_inp">
										<input type="text" name="mail" value="<?php echo htmlentities($info['mail']); ?>">
									</div>
								</li>
								
								<?php if($info['type']==2): ?>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">企业地址：</span>
									<div class="grzx_inp">
										<input type="text" name="qydz" value="<?php echo htmlentities($info['qydz']); ?>" placeholder="请输入详细地址">
									</div>
								</li>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">组织机构代码：</span>
									<div class="grzx_inp">
										<input type="text" name="jgdm" value="<?php echo htmlentities($info['jgdm']); ?>" placeholder="请输入组织机构代码">
									</div>
								</li>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">统一社会信用代码：</span>
									<div class="grzx_inp">
										<input type="text" name="xydm" value="<?php echo htmlentities($info['xydm']); ?>" placeholder="请输入统一社会信用代码">
									</div>
								</li>
								<li class="grzx_item flex_box mg_t20">
									<span class="grzx_name">法人名称：</span>
									<div class="grzx_inp">
										<input type="text" name="frmc" value="<?php echo htmlentities($info['frmc']); ?>" placeholder="请输入法人名称">
									</div>
								</li>
								<?php endif; ?>
								<li class="grzx_item dlzc_btns mg_t50">
									<a class="dlzc_btn dlzc_btn1" href="javascript:form_reg(2);">保存</a>
								</li>
								
							</ul>
							</form>
						</div>
					</div>
				</div>
			</div>
			<!-- /个人中心 -->
			
		</div>
		
		
	</main>
	<!-- /主体 -->
</div><!-- /user_box -->

<script>
function form_reg(a){
	var post_data=$("#form_"+a+"").serialize();
	post_data.Ajax=1;
	$.ajax({
		url:"<?php echo url('index/User/update'); ?>",
		type: 'post',
		dataType: 'json',
		async:false,
		data:post_data,
		success:function(data){
			//console.log(data);
			if(data.type=='ok'){ 
				alert(data.msg);
				window.location.reload();
				return false;
			}else if(data.type==1001){
				window.location.href ='/login.html';
			}else{
				alert(data.msg);
			}

		}
	})
	return false
}
</script>

<!-- 侧边固定栏 -->
<aside class="fix_bar">
	<ul>
		<li>
			<a class="fix_ss flex_box" href="<?php echo htmlentities($WEB['r1']); ?>" target="_blank">
				<span class="fix_icon flex_box"><img src="/template/common/img/fix_bar_icon1.png" alt=""></span>
				<p class="fix_w">维权小常识</p>
			</a>
		</li>
		<li>
			<a class="fix_ss flex_box" href="<?php echo htmlentities($WEB['r2']); ?>" target="_blank">
				<span class="fix_icon flex_box"><img src="/template/common/img/fix_bar_icon2.png" alt=""></span>
				<p class="fix_w">预审知多少</p>
			</a>
		</li>
		<li>
			<a class="fix_ss flex_box" href="<?php echo htmlentities($WEB['r3']); ?>" target="_blank">
				<span class="fix_icon flex_box"><img src="/template/common/img/fix_bar_icon3.png" alt=""></span>
				<p class="fix_w">远程教育</p>
			</a>
		</li>
		<li class="as_totop">
			<span class="fix_ss flex_box">
				<span class="fix_icon flex_box"><img src="/template/common/img/fix_bar_icon4.png" alt=""></span>
				<p class="fix_w">返回顶部</p>
			</span>
		</li>
	</ul>
</aside>
<!-- /侧边固定栏 -->

<!-- 页脚 -->
<footer class="footer_box">
	<div class="footer_top footer_fri pd_tb30">
		<div class="center_box flex_box">
			<span class="footer_name">友情链接：</span>
			<div class="footer_wrapper">
				<ul>
					
					<?php $_result=ads_list(2,99);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
					<li><a href="<?php echo htmlentities($v['url']); ?>" <?php echo htmlentities($v['is_new']); ?>><?php echo htmlentities($v['title']); ?></a></li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					
				</ul>
			</div>
		</div>
	</div>
	<div class="footer_bot pd_tb40">
		<div class="center_box">
			<div class="footer_l fl">
				<div class="footer_info">
					<span><?php echo hang($WEB['foot_content']); ?></span>
				</div>
				<div class="footer_icp">
					<a href="<?php echo htmlentities($WEB['content3']); ?>" target="_blank"><img src="/template/common/img/gonganbeian.png" alt=""> <?php echo htmlentities($WEB['content2']); ?></a>|
					<a href="<?php echo htmlentities($WEB['beianurl']); ?>" target="_blank"><?php echo htmlentities($WEB['beian']); ?></a>
				</div>
			</div>
			<div class="footer_r fr">
				<div class="footer_qr">
					<ul>
						<li>
							<span class="footer_img"><img src="<?php echo htmlentities($WEB['foot_ewm1']); ?>" alt=""></span>
							<p class="footer_w">便民利企小程序</p>
						</li>
						<li>
							<span class="footer_img"><img src="<?php echo htmlentities($WEB['foot_ewm2']); ?>" alt=""></span>
							<p class="footer_w">远程教育</p>
						</li>
						<li>
							<span class="footer_img"><img src="<?php echo htmlentities($WEB['foot_ewm3']); ?>" alt=""></span>
							<p class="footer_w">微信公众号</p>
						</li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="footer_canvas waves"></div>
</footer>
<!-- /页脚 -->


<!--[if lte IE 9]> 
<script type="text/javascript" src="/template/common/js/jquery-animate-css-rotate-scale.js"></script>
<script type="text/javascript" src="/template/common/js/IE9.js"></script>
<![endif]-->
<script type="text/javascript" src="/template/common/js/footercanvas.js"></script>
<script type="text/javascript" src="/template/common/js/wow.js"></script>
<script type="text/javascript" src="/template/common/js/aos.js"></script>
<script>
	AOS.init({
		easing: 'ease-out-back',
		duration: 1000
	});
	
</script>
<script type="text/javascript" src="/template/common/js/common.js"></script>
</body>
</html>