{lib(mytemp.php)}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=gbk" />
<title>{cfg:(sys,site_name)}</title>
<link rel="shortcut icon" href="favicon.ico" />
<meta name="keywords" content="{cfg:(sys,site_keywords)}">
<meta name="description" content="{cfg:(sys,site_description)}">
<link rel="stylesheet" type="text/css" href="../img/css.css"/>
<script src="{$web_url}/plus/js/init.php?act=init_js"></script>
<script src="{$web_url}/images/js/common.js"></script>
<script src="{$web_url}/images/js/form.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<script src="{$web_url}/images/js/job.js"></script>
<script src="{$web_url}/images/js/dialog.js"></script>
<style>
.me_box1{float:left;width:160px;text-align:left;padding:0px 0px 0px 0px;overflow:hidden;border:1px #C0C0C0 solid;margin:10px 5px 0px 5px;color:#636768}
.me_box1 .x_pic1{width:160px;padding:0px}
.me_box1 .x_pic1 img{width:160px;height:135px;}
.me_box1 .x_tit1{font-weight:bold;color:#333333}
.me_box1 li{float:left;width:150px;padding:5px 0px 3px 10px}
.me_box1 .x_1{background:#E8E8E8}
img{border:0px}
</style>
<script>
function me_selvip(msgid){
	var obj_x=document.getElementById("winpay");
	if(!obj_x){
		dialog_init("pay","选择支付方式","500px","250px");
	}
	window.open("{$web_url}/index.php?app=paymethod&type=2&id="+msgid,"frmpay");
	div_show("winpay");
}
</script>
</head>
<body>
{include(header.html)}
<div class="sp_h10">&nbsp;</div>
<div class="cssx_left1">
	{include(search_left.html)}
</div>
<div class="cssx_right">
	<div class="cssx_path"><span style="float:left"><img src="../img/pic_3.jpg"></span><span style="float:left;padding:2px 0px 0px 15px">实用工具 -> 我的模板</span></div>
	{if(count($arr_site)<1)}
	<div style="float:left;width:500px;height:80px;padding-top:20px">您还没有自己的个性模板，<a href="?app=temp" style="color:#ff8800">去模板商城看看吧</a></div>
	{/if}
	{foreach($arr_site as $item)}
	<div class="me_box1">
		<li class="x_pic1" style="padding:0px"><a href="{$web_url}/index.php?app=companyview&site_id={$item['site_id']}" target="_blank"><img src="{$item['pic']}"></a></li>
		<li class="x_tit1">{$item["temp_title"]}</li>
		<li>有效期至：{$item['site_endtime']}</li>
		<li class="x_1">{if($item['site_issel']==1)}<a href="{format_url_query(array('act'=>'cancel','site_id'=>$item['site_id']))}" style="color:#ff8800;font-weight:bold">当前默认</a>{else}<a href="{format_url_query(array('act'=>'set','site_id'=>$item['site_id']))}">设为默认</a>{/if}&nbsp;&nbsp;&nbsp;<a href="?app=tempcfg&site_id={$item['site_id']}">配置</a>&nbsp;&nbsp;&nbsp;<a href="{$web_url}/index.php?app=companyview&site_id={$item['site_id']}" target="_blank">预览</a></li>
	</div>
	{/foreach}
	<div class="pPage">
	{$page_split_page}
	</div>
</div>
{include(footer.html)}
</body>
</html>