Setting

返回"; } break; } ?>
参考字典 Refrence Dictionary"; echo ""; echo ""; foreach($all as $dict){ echo ""; echo ""; echo ""; } echo "
选择名称语言简介下载
{$dict["shortname"]}{$dict["language"]}{$dict["name"]}管理
"; echo "

系统字典System Dictionary

"; break; case "local": //语言文件 if(isset($_GET["lang"])){ $_local=json_decode(file_get_contents("../public/lang/{$_GET["lang"]}.json")); } else{ $_local=json_decode(file_get_contents("../public/lang/default.json")); } echo $_local->gui->pcd_studio; echo ""; foreach($_local as $x=>$value){ echo "
"; $counter=count($value); echo "
{$x}({$counter})
"; echo ""; echo "
"; } break; case "userdict"://用户字典管理 if(isset($_GET["page"])){ $iCurrPage=$_GET["page"]; } else{ $iCurrPage=0; } $iOnePage=300; $db_file = _FILE_DB_WBW_; PDO_Connect("sqlite:$db_file"); $query = "select count(word_index) as co from user_index where user_id={$UID}"; $allWord = PDO_FetchOne($query); $iCountWords=$allWord; if($iCountWords==0){ echo "
您的用户字典中没有单词。
"; } 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}"; ?> Type=
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; if($word["creator"]==$UID){ echo ""; } else{ echo ""; } echo ""; echo ""; echo ""; } ?>
拼写类型语法意思语基状态引用
{$word["pali"]}{$word["type"]}{$word["gramma"]}{$word["mean"]}{$word["parent"]}原创引用{$word["ref_counter"]}...
quote($USER_NAME); echo $query; $allWord = PDO_FetchOne($query); $iCountWords=$allWord; if($iCountWords==0){ echo "
您的术语字典中没有单词。
"; } else{ echo "
您的术语字典中已经有{$iCountWords}个单词。
"; $iPages=ceil($iCountWords/$iOnePage); if($iCurrPage>$iPages){ $iCurrPage=$iPages; } $begin=$iCurrPage*$iOnePage; $query = "select * from term where owner= ".$PDO->quote($USER_NAME); $allWords = PDO_FetchAll($query); ?>
第一页"; $prevPage=$iCurrPage-1; echo "上一页"; } echo "第页"; echo "共{$iPages}页"; if($iCurrPage<$iPages-1){ echo "下一页"; echo "最后一页"; } else{ echo "下一页 | 最后一页"; } ?>
"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } ?>
序号拼写意思第二个意思注解引用
{$word["id"]}{$word["word"]}{$word["meaning"]}{$word["other_meaning"]}
{$_local->gui->account}"; echo "{$_local->gui->username}:$username
"; echo "{$_local->gui->nick_name}:$nickname
"; echo "{$_local->gui->e_mail}:$email
"; echo "{$_local->gui->change_password}
"; echo "{$_local->gui->logout}"; break; case "album": $db_file = _FILE_DB_RESRES_INDEX_; PDO_Connect("sqlite:$db_file"); if(isset($_GET["id"])){ if(isset($_GET["power"])){ /*权限管理*/ $query = "select * from 'album' where id='{$_GET["id"]}'"; $album_info = PDO_FetchAll($query); if(count($album_info)>0){ $query = "select * from 'album_power' where album_id='{$album_info[0]["id"]}'"; $Fetch = PDO_FetchAll($query); echo "

专辑权限管理

"; echo "
{$album_info[0]["title"]}-{$album_info[0]["author"]}
"; echo "
"; ?> "; $sn++; } echo ""; echo ""; } } else{ $query = "select * from 'album' where id='{$_GET["id"]}'"; $Fetch = PDO_FetchAll($query); if(count($Fetch)>0){ echo "

{$Fetch[0]["title"]}

"; echo ""; foreach($Fetch[0] as $x=>$value){ echo "
{$x}
"; } echo ""; echo ""; } } } else{ echo "

My Album

"; $query = "select * from 'album' where owner='{$UID}'"; $Fetch = PDO_FetchAll($query); ?>
序号用户密码权限
{$sn} {$oneline["user_id"]}
"; } echo "
BookTitleAuthor语言媒体
{$album["book"]} {$album["title"]} {$album["author"]} {$album["language"]} {$album["type"]} 详情 导出
"; } break; } ?>