单词本
gui->add;?> gui->recycle_bin;?>
您的用户字典中没有单词。
"; } else{ echo "
search:
"; $iPages=ceil($iCountWords/$iOnePage); if($iCurrPage>$iPages){ $iCurrPage=$iPages; } $begin=$iCurrPage*$iOnePage; $query = "select word_index from user_index where user_id={$UID} order by id DESC limit {$begin},{$iOnePage} "; $allWord = PDO_FetchAll($query); $strQuery="('"; foreach($allWord as $one){ $strQuery .= $one["word_index"]."','"; } $strQuery = substr($strQuery,0,strlen($strQuery)-2); $strQuery .= ")"; $query = "select * from dict where id in {$strQuery} order by time DESC"; $allWords = PDO_FetchAll($query); ?>
第一页"; $prevPage=$iCurrPage-1; echo "上一页"; } echo "第页"; echo "共{$iPages}页"; if($iCurrPage<$iPages-1){ echo "下一页"; echo "最后一页"; } else{ echo "下一页 | 最后一页"; } echo "总计{$iCountWords}"; ?>
拼写
类型
语法
意思
语基
状态
引用
'; echo "
"; echo "
{$word["pali"]}
"; echo "
{$word["type"]}
"; echo "
{$word["gramma"]}
"; echo "
{$word["mean"]}
"; echo "
{$word["parent"]}
"; if($word["creator"]==$UID){ echo "
原创
"; } else{ echo "
引用
"; } echo "
{$word["ref_counter"]}
"; echo "
...
"; echo "
"; } } ?>