示例#1
0
<?php

require_once "utils/Router.php";
Requester::init();
if (!Requester::$user_id) {
    require_once "login.php";
} else {
    require_once "models/UserAccounts.php";
    $UserAccounts = new UserAccounts(json_decode('{"user_id": ' . Requester::$user_id . '}'));
    $UserAccounts->get();
    //print_r($UserAccounts);
    header('content-type: text/html');
    ?>
<html>
<head>
	<title>Pay XTH</title>
	<script type="text/javascript" src="/common2/lib/jQuery/jquery-1.8.2.min.js"></script>
	<style>
		#payDiv .inputLabel {
			display: inline-block;
			width: 5rem;
		} 
		
		#from, #to, #amount {
			width: 12rem;
		}
	</style>
</head>
<body>
	<div id='payDiv'>
		<h2 id='payDivTitle'></h2>