{template header}
<style>
.tfile {
filter: alpha(opacity=0);
opacity: 0;
font-size: 16px;

float: left;

overflow:hidden;
cursor: pointer;
}

</style>
<script src="<?php echo SITE_URL; ?>public/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo SITE_URL; ?>js/ajaxfileupload.min.js" type="text/javascript"></script>
<script>
function UploadShareImg(g_id){
	
	$.ajaxFileUpload({
		url:"<?php echo SITE_URL; ?>index.php?app=system&ac=do&ts=UploadTagImg&f=uploadShareImg_"+g_id,
		secureuri:false,
		dataType:'text',
		fileElementId:'uploadShareImg_'+g_id,
		success:function(result){
			var img_src = "<?php echo SITE_URL; ?>"+result;
			$("#"+g_id+"_img").attr("src",result);
			$("#"+g_id).attr("value",img_src);
			}
		}
	)}
function sumb(){
	var selecttype=document.getElementById("selecttype").value;
	var selectvalue=document.getElementById("selectvalue").value;
	window.location='{SITE_URL}index.php?app=sharetag&ac=admin&mg=goods_tags&ts=list&selecttype='+selecttype+"&selectvalue="+selectvalue;
}

function redirect(url) {
		window.location.replace(url);
	}
</script>
<div id="loading"></div>
<!--main-->
<div class="midder">
{template mobile_menu}
<form method="POST" action="index.php?app=system&ac=do&ts=mobile_options">
<table  cellpadding="0" cellspacing="0">

<tr><th width="100">App名称：</th><td><input class="input-text" style="width:300px;" name="name" value="{$strOption[name]}" /></td></tr>

<tr><th width="100">授权码：</th><td><input class="input-text" style="width:300px;" name="appkey" value="{$strOption[appkey]}" />(<span style="color:#F00">授权完成后向客服索取！</span>)</td></tr>

<tr ><th width="100">顶部LOGO：</th><td style="line-height:50px;">

<div style="float:left;">
<img id="logo_img" width="118px" height="40px" src="<!--{if !$strOption[logo]}-->{SITE_URL}images/logo-app.png<!--{else}-->{$strOption[logo]}<!--{/if}-->"/>
</div>

<div style="width:60px; height:30px; float:left; margin-top:10px;">
<input   style="z-index:1; float:left;cursor:pointer; " value="上   传" type="button">
<input class="tfile PUB_PIC_FILE" style="width:60px; height:30px;z-index:0; margin-top:-25px; margin-left:3px; cursor:pointer; "  name="uploadShareImg_logo" type="file" id="uploadShareImg_logo" onchange="return UploadShareImg('logo');">
</div>
<div style="float:left;">
<span style="color:#F00">&nbsp;&nbsp;&nbsp;&nbsp;*Logo大小为118×40px,PNG格式</span>
</div>

<input type="hidden" name="logo" id="logo" value="<!--{if !$strOption[logo]}-->{SITE_URL}images/logo-app.png<!--{else}-->{$strOption[logo]}<!--{/if}-->" />
</td></tr>

<tr><th>关于内容：</th><td><textarea style="width:300px;height:50px;font-size:12px;" name="about">{$strOption[about]}</textarea> (显示在手机关于模块内容。)</td></tr>

<tr><th>首页下载链接安卓：</th><td><input class="input-text" style="width:300px;" name="andriod_down" value="{$strOption[andriod_down]}" /> </td></tr>

<tr><th>首页下载链接IOS：</th><td><input class="input-text" style="width:300px;" name="ios_down" value="{$strOption[ios_down]}" /> </td></tr>

<tr><td></td><td><input class="btn btn_submit" type="submit" value="提 交" /></td></tr>
</table>
</form>
</div>

{template footer}