<?php header('Content-Type: text/html; charset=utf-8'); include_once("../include/check_login.php"); //if($user_ok == false){header('location: restricted.php?refPage=buy');} include_once("../stats.php"); include_once("../words.php"); $t = $_GET['t']; if(!isset($_GET['t'])){header("location: unlock.php");} if(isset($_GET['d']) && $_GET['d'] != NULL){ $d = getDeckRow(getDeckIDFromURL($_GET['d'])); $affiliIdStr = getDeckInfo($d['short_name'], 'affiliates_str'); $affiliIdArr = explode(",",$affiliIdStr, -1); $dAffilUrl = getAffilInfo($affiliIdArr[0], 'url'); }else if(!isset($_GET['d']) OR $_GET['d'] == NULL OR empty($_GET['d'])){ $d = "no deck set"; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"><!-- Super important! Tells googlebot that this site is responsive!--> <meta name="robots" content="NOODP"> <title>Japanese Flashcards | <?= ($_GET['d'] != '' ? $_GET['d'] : $t);?></title> <meta name="description" content="If you're looking for Japanese <?php echo $t; if($d!="no deck set"){echo " $d";}?> Vocabulary, then this free Japanese site is for you! We've done all the work for you!"> <meta name="keywords" content="Japanese Vocabulary, Japanese flashcards online, Online Japanese Flashcards, Free Flashcards, Flash cards" /> <meta name="author" content="Benjamin Cann"> <meta property="og:title" content="Online Japanese Flashcards Flashcard -JPVocab.com" /> <meta property="og:type" content="website" /> <meta property="og:url" content="http://www.JPVocab.com/Japanese-Vocabulary/deck.php?t=<?php echo $_GET['t'];?>&d=<?php echo $_GET['d'];?>" />
" target="_blank">My Review for this</a><?php } else { ?> <?php } ?> </div> <div class="amazonLink"> <a href="<?php echo getAffilInfo($affiliIdArr[$i], 'url'); ?> " target="_blank"><img border="0" src="../img/<?php echo getAffilInfo($affiliIdArr[$i], 'pic'); ?> " ></br><?php echo getAffilInfo($affiliIdArr[$i], 'display'); ?> </a> </div> </li><?php } ?> </ul> </div><!--end #AmazonItem-wrap--> </div><!--end #middle-wrap.buyCol--> </section> <!--********************************************************************* WHAT ITEMS DO OTHER BUYERS ALREADY HAVE BEFORE BUYING THIS ITEM *************************************************************************--> <!--<section> <div id="mWrap2" class="middle-wrap buyCol">