Exemple #1
0
function shareGoldCoin()
{
    $key = $_POST['fid'];
    $obj = array('id' => $key, 'type' => 1, 'clickTime' => 0, 'count' => 0, 'rcv' => array());
    $tt = TT::TTWeb();
    $tt->puto($obj);
    changeUser();
}
Exemple #2
0
<?php

require_once '../config.php';
//
$pid = $_REQUEST['xn_sig_user'];
$gflg = $_REQUEST['glink'];
if ($gflg) {
    $ts = TT::TTWeb();
    $data = $ts->getbyid($gflg);
    $bids = $data['rfids'];
    if (strstr($bids, $pid)) {
    } else {
        //给玩家礼物
        $flag = $data['gift_id'];
        $fconf = ItemConfig::get($flag);
        //取礼物信息
        $tu = TT::TTUser($pid);
        //
        $bids .= ',' . $pid;
    }
    //$ts->puto($data);
}
?>
<!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" xmlns:xn="http://www.renren.com/2009/xnml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
//include FB_CURR.'/cs/check_connect_redirect.php';
?>
<link rel="stylesheet"href="<?php 
Exemple #3
0
print_r($logt->get($id));
return;
$logt = TT::get_tt('log');
$str = '$logt->num()';
echo "{$str}=";
record_time($st);
eval('print_r(  ' . $str . ');');
record_time($st, $str);
echo "\n";
$str = '$logt->get(2)';
echo "{$str}=";
record_time($st);
eval('print_r(  ' . $str . ');');
record_time($st, $str);
echo "\n";
$tw = TT::TTWeb();
$key = '12323';
$data['id'] = $key;
$data['vv'] = array('fdfd', 'dd');
$str = '$id=$tw->puto($data)';
echo "{$str}=";
record_time($st);
eval('print_r(  ' . $str . ');');
record_time($st, $str);
echo "\n";
$str = '$id=$tw->getbyid($key)';
echo "{$str}=";
record_time($st);
eval('print_r(  ' . $str . ');');
record_time($st, $str);
echo "\n";
Exemple #4
0
<html>
<head>
</head>
<body>
<?php 
require_once '../config.php';
echo 'jklsajksadjkdkkdjd';
print_r($_REQUEST);
$key = $_GET['key'];
$tt = TT::TTWeb();
$value = $tt->get($key);
$type = $value['type'];
$type = 3;
if ($type == 3 && $value['count'] > 0) {
    ?>
<div class="padding_content center">
			<div class="main_giftConfirm_cont">
									<h3>You just accepted this Pine Tree</h3>
			<div class="gift_box_holder">
				<div class="gift_box_cont">
					<div class="giftConfirm_img"><img src="http://assets.frontierville.zynga.com/production/R.0.7.005.18240/assets/assets/trees/babypine_icon.png"></div>
					<div class="giftConfirm_name"><span>Pine Tree</span></div>
				</div>
				<div class="gift_from"><h3>From</h3></div>
				<div class="from_box_cont">
										<div class="giftFrom_img"><img src="http://assets.frontierville.zynga.com/production/R.0.7.005.18240/assets/images/FV_Main_FriendBar_No_Profile_Img.png"></div>
					<div class="giftFrom_name"><span>雨农</span></div>
				</div>
			</div>
		</div>
		<div class="morePending_cont">