{"id":8962,"date":"2015-02-01T14:50:00","date_gmt":"2015-02-01T06:50:00","guid":{"rendered":"http:\/\/english.rwwttf.tw\/?p=8962"},"modified":"2015-03-02T10:20:01","modified_gmt":"2015-03-02T02:20:01","slug":"%e8%8b%b1%e6%96%87%e5%96%ae%e5%ad%97%e7%99%bc%e9%9f%b3","status":"publish","type":"post","link":"https:\/\/english.rwwttf.tw\/?p=8962","title":{"rendered":"\u82f1\u6587\u55ae\u5b57\u767c\u97f3"},"content":{"rendered":"<p>\u7169\u8acb\u8f38\u5165\u82f1\u6587\u55ae\u5b57ID\u5373\u53ef\u4ee5\u4f7f\u7528\u82f1\u6587\u55ae\u5b57\u767c\u97f3\u529f\u80fd<!--more--><\/p>\n<p><?php require_once('Connections\/rwwttf_eng.php'); ?><br \/>\n<?php\nif (!function_exists(\"GetSQLValueString\")) {\nfunction GetSQLValueString($theValue, $theType, $theDefinedValue = \"\", $theNotDefinedValue = \"\") \n{\n  if (PHP_VERSION < 6) {\n    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;\n  }\n\n  $theValue = function_exists(\"mysql_real_escape_string\") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);\n\n  switch ($theType) {\n    case \"text\":\n      $theValue = ($theValue != \"\") ? \"'\" . $theValue . \"'\" : \"NULL\";\n      break;    \n    case \"long\":\n    case \"int\":\n      $theValue = ($theValue != \"\") ? intval($theValue) : \"NULL\";\n      break;\n    case \"double\":\n      $theValue = ($theValue != \"\") ? doubleval($theValue) : \"NULL\";\n      break;\n    case \"date\":\n      $theValue = ($theValue != \"\") ? \"'\" . $theValue . \"'\" : \"NULL\";\n      break;\n    case \"defined\":\n      $theValue = ($theValue != \"\") ? $theDefinedValue : $theNotDefinedValue;\n      break;\n  }\n  return $theValue;\n}\n}\n\n$maxRows_Recordset1 = 60;\n$pageNum_Recordset1 = 0;\nif (isset($_GET['pageNum_Recordset1'])) {\n  $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];\n}\n$startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;\n\n$colname_Recordset1 = \"-1\";\nif (isset($_POST['vocabulary_id'])) {\n  $colname_Recordset1 = $_POST['vocabulary_id'].'%'.'%';\n}\nmysql_select_db($database_rwwttf_eng, $rwwttf_eng);\n$query_Recordset1 = sprintf(\"SELECT * FROM rww1600205363534097 WHERE id LIKE %s ORDER BY id ASC\", GetSQLValueString($colname_Recordset1, \"text\"));\n$query_limit_Recordset1 = sprintf(\"%s LIMIT %d, %d\", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);\n$Recordset1 = mysql_query($query_limit_Recordset1, $rwwttf_eng) or die(mysql_error());\n$row_Recordset1 = mysql_fetch_assoc($Recordset1);\n\nif (isset($_GET['totalRows_Recordset1'])) {\n  $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];\n} else {\n  $all_Recordset1 = mysql_query($query_Recordset1);\n  $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);\n}\n$totalPages_Recordset1 = ceil($totalRows_Recordset1\/$maxRows_Recordset1)-1;\n?><\/p>\n<div>\n<form id=\"form1\" name=\"form1\" method=\"post\" action=\"\">\n    <label for=\"vocabulary_id\"><\/label><br \/>\n    <input type=\"text\" name=\"vocabulary_id\" id=\"vocabulary_id\" \/><br \/>\n    <input type=\"submit\" name=\"button\" id=\"button\" value=\"\u9001\u51fa\" \/><br \/>\n  <\/form>\n<\/div>\n<p><?php if ($totalRows_Recordset1 == 0) { \/\/ Show if recordset empty ?><\/p>\n<div>\u7169\u8acb\u8f38\u5165\u4f60\u8981\u67e5\u8a62\u7684\u55ae\u5b57ID\u7de8\u78bc<\/div>\n<p>  <?php } \/\/ Show if recordset empty ?><br \/>\n<?php if ($totalRows_Recordset1 > 0) { \/\/ Show if recordset not empty ?><\/p>\n<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"5\">\n<p>                   <?php $cno=0;echo\"\n\n<tr>&#8220;;\/\/\u63db\u884c\u91cd\u8907\u986f\u5f0f\u7684\u8a9e\u6cd5\/\/\u5148\u5c07\u8b8a\u6578\u6b78\u96f6?><br \/>\n            <?php  do { ?><\/p>\n<td width=\"45%\">\n<div id=\"voice_<?php echo $row_Recordset1['id']; ?>&#8220;><input type=\"button\" name=\"hello1\" value=\"\u7522\u751f\u97f3\u6a94\" onclick=\"rwwttf('<?php echo substr ($row_Recordset1['word'],0,1); ?>&#8216;,&#8217;<?php echo $row_Recordset1['word'];?>&#8216;,&#8217;<?php echo $row_Recordset1['id']; ?>&#8216;)&#8221;><\/div>\n<p><a href=\"http:\/\/dict.dreye.com\/ews\/<?php echo $row_Recordset1['word']; ?>&#8211;01&#8211;.html&#8221; target=&#8221;new&#8221;><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/english.rwwttf.tw\/wp-content\/uploads\/2015\/02\/Dr.eye_.png\" alt=\"Dr.eye\" width=\"56\" height=\"47\" \/><\/a><?php echo $row_Recordset1['id']; ?>****<?php echo $row_Recordset1['word']; ?>***<\/span><?php echo $row_Recordset1['explanation']; ?><a href=\"https:\/\/tw.dictionary.yahoo.com\/dictionary?p=<?php echo $row_Recordset1['word']; ?>&#8221; target=&#8221;new&#8221;>\u5947\u6469\u5b57\u5178<\/a><\/td>\n<p>                  <?php $cno++;if($cno%2==0){echo \"<\/tr>\n<tr>&#8220;;}\/\/\u63db\u884c\u91cd\u8907\u986f\u5f0f\u7684\u8a9e\u6cd5?><br \/>\n               <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?><?php echo\"<\/tr>\n<p>&#8220;; ?><br \/>\n          <\/table>\n<p>  <?php } \/\/ Show if recordset not empty ?><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7169\u8acb\u8f38\u5165\u82f1\u6587\u55ae\u5b57ID\u5373\u53ef\u4ee5\u4f7f\u7528\u82f1\u6587\u55ae\u5b57\u767c\u97f3\u529f\u80fd<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8962","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/posts\/8962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8962"}],"version-history":[{"count":13,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/posts\/8962\/revisions"}],"predecessor-version":[{"id":9183,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=\/wp\/v2\/posts\/8962\/revisions\/9183"}],"wp:attachment":[{"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/english.rwwttf.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}