Example #1
0
		public function _enable() {
			$ret=new stdClass();
			$ret->success=true;
			$r= new JTTeam($_SESSION['login_user_id']);
			$r->select( $_GET['id'] );
			$r->data['enable'] = $_GET['enable'];
			$r->update();
			die( json_encode($ret) );
		}
<?php

include_once 'config.php';
include_once INC_PATH . 'headleader.php';
require_once INC_PATH . 'aunav.php';
//	include_once 'dist/character_data.php';
$get_character = isset($_GET['character']) ? $_GET['character'] : 1;
$team = new JTTeam();
$team->select($get_character);
?>
<title>康和期貨團隊 - <?php 
echo $team->data['name'] . "  " . $team->data['job'];
?>
 | <?php 
echo $webTitle;
?>
</title>

<?php 
// -------------------------------
// SEO
// CSS
// Script in the HEAD
// -------------------------------
include_once INC_PATH . 'head.php';
?>


<?php 
//app
include_once INC_PATH . 'social.php';