Exemple #1
0
				<td><?php 
echo date("F jS \\, Y", strtotime(getUserDetail(getUserID($_GET['player']), 'signup')));
?>
</td>
			</tr>
			<tr>
				<td>Approximate JLPT</td>
				<td>N<?php 
echo getUserDetail(getUserID($_GET['player']), 'jlpt');
?>
</td>
			</tr>
			<tr>
				<td style="vertical-align: middle;">Last practiced Flashcard Deck:</td>
				<td style="vertical-align: middle;"><a href="<?php 
echo getDeckFullUrl(getSkill('cvset', $pid));
?>
"><?php 
echo $cvDN;
?>
</a></td>
			</tr>
			<tr>
				<td style="vertical-align: middle;">Gold Coins</td>
				<td style="vertical-align: middle;"><?php 
echo $gc;
?>
</td>
			</tr>
			
			<!--<tr>
Exemple #2
0
</a></h4>
							<table class="table table-condensed borderless thin marg-bot-0">
								<tr>
									<td class="col-xs-3">
										<small><small><a href="http://www.JPVocab.com/player.php?player=<?php 
echo $user['username'];
?>
&report=flashcardrank">Flashcard Ranking</a>: <?php 
echo ordinal(getUserFCardRank($user['id']));
?>
</small>
									</td>
									<td>
										<small>Currently Practicing
										<a href="<?php 
echo getDeckFullUrl(getSkill('cvset', $user['id']));
?>
">
											<?php 
echo getDeckInfo(getSkill('cvset', $user['id']), 'display_name');
?>

										</a></small>
									</td>
								</tr>
								<tr><td colspan="2"><small><b><?php 
echo getStat('ttldks', $user['id']);
?>
</b> Decks owned</small></td></tr>
								<tr><td colspan="2"><small><b><?php 
echo getStat('ttlpvstyl', $user['id']);
Exemple #3
0
        $clvAudE = getSkill($sDeck . '_audioE_lv', $pid);
        $percAudE = $clvAudE == 1 ? 0 : round($clvAudE / $deckMxLv * 100, 0);
        $finAudE = $percAudE == 100 ? "success sparkley" : ($percAudE <= 25 && $percAudE != 0 ? "warning" : ($percAudE == 0 ? "danger" : ""));
        //Style it based off their progress
    }
    if ($ownsAudK == TRUE) {
        // If own this decks KanjiRE
        $clvAudK = getSkill($sDeck . '_audioK_lv', $pid);
        $percAudK = $clvAudK == 1 ? 0 : round($clvAudK / $deckMxLv * 100, 0);
        $finAudK = $percAudK == 100 ? "success sparkley" : ($percAudK <= 25 && $percAudK != 0 ? "warning" : ($percAudK == 0 ? "danger" : ""));
        //Style it based off their progress
    }
    ?>
							<tr class="text-center">
								<td class="text-left col-xs-4" style="vertical-align:middle;"><a href="<?php 
    echo getDeckFullUrl($key);
    ?>
"><?php 
    echo $key;
    ?>
</a></td><?php 
    //Easy
    if ($ownsRE == TRUE) {
        ?>
									<td class="<?php 
        echo $finRE;
        ?>
" style="vertical-align:middle;"><span class="text-default">Lv. <?php 
        echo "{$clvRE}";
        ?>
</span></td><?php