<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{echo: lp{m_u_center};/}</title>
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/modules.css">
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/layout.css">
<link rel="stylesheet" type="text/css" href="skin/{echo: $SYSINFO['templates'];/}/css/style.css">
<script type="text/javascript" src="skin/{echo: $SYSINFO['templates'];/}/js/changeStyle.js"></script>
<script type="text/javascript" src="skin/{echo: $SYSINFO['templates'];/}/js/userchangeStyle.js"></script>

<style type="text/css">
.red{color:red;}
</style>
</head>
<body onload="menu_style_change('shop_payment');changeMenu();">
{inc: require("shop/index_header.php");/}
	<div class="site_map">
	  {echo:lp{m_current_position};/}<A href="index.php">{echo:$SYSINFO['sys_name'];/}</A>/<a href="modules.php">{echo:lp{m_u_center};/}</a>/&nbsp;&nbsp;{echo: lp{m_payment_setting};/}
	</div>
    <div class="clear"></div>
	{inc: require("modules/left_menu.php");/}
        <div class="main_right">
        	<div class="right_top"></div>
            <div class="cont">
                <div class="cont_title">{echo: lp{m_payment_setting};/}</div>
                <hr />
			<form action="do.php?act=shop_payment" method="post" name="form_shop_pay" onsubmit="return checkForm();">
				<table width="100%" class="form_table">
					<tr class="center"><th width="100">{echo: lp{m_payment_name};/}</th><th>{echo: lp{m_payment_desc};/}</th><th width="30">{echo: lp{m_payment_enable};/}</th><th width="60">{echo: lp{m_manage};/}</th></tr>
					{sta: foreach($payment as $value)[loop]}
					<tr>
						<td class="center">{echo: $value['pay_name'];/}</td>
						<td>{echo: $value['pay_desc'];/}</td>
						<td class="center">{sta: if(isset($info[$value['pay_id']]['enabled']) && $info[$value['pay_id']]['enabled'])[exc]}<img src="skin/default/images/yes.gif" />{sta: }else[exc]}<img src="skin/default/images/no.gif" />{end:if/}</td>
						<td class="center">{sta: if(isset($info[$value['pay_id']]) && $info[$value['pay_id']])[exc]}<a href="modules.php?app=shop_payment_edit&pay_id={echo:$value['pay_id'];/}">{echo: lp{m_payment_config};/}</a><br /><a href="do.php?act=shop_payment_del&pay_id={echo:$value['pay_id'];/}" onclick="return confirm('{echo: lp{m_payment_suredel};/}');">{echo: lp{m_payment_delete};/}</a>{sta: }else[exc]}<br /><a href="modules.php?app=shop_payment_add&pay_id={echo:$value['pay_id'];/}">{echo: lp{m_payment_install};/}</a>{end:if/}</td>
					</tr>
					{end:foreach/}
				</table>
			</form>
			</div>
		    <div class="clear"></div>
			<div class="right_bottom"></div>
			<div class="back_top"><a href="#"></a></div>
		</div>
    {inc: require("shop/index_footer.php");/}
</body>
</html>