<{include file="head.tpl"}>
<div class="page secondary">
    <div class="page-header">
            <div class="page-header-content">
                <div class="user-login">
           			     <a href="<{URL_admin_login act="logout"}>">
           			         <div class="name" style="line-height:22px">
           			             <span class="first-name"><{$smarty.session.admin->name}></span>
           			             <span class="last-name">注销</span>
           			         </div>
           			         <div class="avatar">
           			             <{if $smarty.session.admin->avatar eq 2}><img src="/files/system/avatar/0/<{$smarty.session.admin->uid}>_s.jpg" alt="头像载入中..."/><{elseif $smarty.session.admin->avatar eq 0}><img src="images/userhead.gif" alt="头像载入中..."/><{/if}><br/>
           			         </div>
           			     </a>
           			 </div>
           			 <h1>网站设置<small></small></h1>
                <a class="back-button big page-back" href="<{URL_admin_index}>"></a>
            </div>
        </div>
		<script type="text/javascript" charset="utf-8">
			$().ready(function() {
				var elf = $('#elfinder').elfinder({
					url : '?m=admin/finder/connector',
					lang: 'zh_CN',
				}).elfinder('instance');
			});
		</script>
    <div class="page-region">
        <div class="page-region-content tiles">
           			 <form action="<{URL_admin_googlead act="submit"}>" method="post">
            				
            										<h2>组件所在目录名称</h2>
            										<div class="input-control text">
                		    		        <input type="text" placeholder="如果您是直接绑定域名到组件目录则这里留空" name="wapdirname" value="<{$wapset.wapdirname}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <h2>访问组件的域名</h2>
                		    		    <div class="input-control text">
                		    		        <input type="text" placeholder="不填写http://不填写文件夹只写域名，如:www.baidu.com" name="domain" value="<{$wapset.domain}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <h2>底部显示备案号</h2>
                		    		    <div class="input-control text">
                		    		        <input type="text" placeholder="可以留空" name="idcno" value="<{$wapset.idcno}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <h2>授权码（<a href="http://hon6.sinaapp.com" target="_blank">购买授权码</a>）</h2>
                		    		    <div class="input-control text">
                		    		        <input type="text" placeholder="点击上方网址获取授权码" name="dkey" value="<{$wapset.key}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <fieldset>
                		    		    <legend>GOOGLE广告设置</legend>
                		    		    <h3>google client</h3>
                		    		    <div class="input-control text">
                		    		        <input type="text" placeholder="输入google client" name="client" value="<{$wapset.client}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <h3>google slotname</h3>
                		    		    <div class="input-control text">
                		    		        <input type="text" placeholder="输入google slotname" name="slotname" value="<{$wapset.slotname}>">
                		    		        <button class="helper"></button>
                		    		    </div>
                		    		    <br/>
                		    		    在模版中插入&lt;{googlead}&gt;标签即可<br/>
                		    		    <br/>
                		    		    </fieldset>
                		    		    <br/>
                		    		    <div class="input-control place-right">
                		    		    		<input type="submit" value="保存"/>
																		<input type="reset" value="恢复"/>
																</div>
            								
            		</form>
        </div>
    </div>
</div>
<{include file="foot.tpl"}>
