PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/SQLite/array.php

#
PHP | 208 lines | 208 code | 0 blank | 0 comment | 0 complexity | 9ad72d268e7fc29659616258935e7116 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>无标题文档</title>
  6. <link rel="stylesheet" href="./css/reset.css" type="text/css" />
  7. <link rel="stylesheet" href="./css/prettify.css" type="text/css" />
  8. <script type="text/javascript" src="./js/prettify.js"></script>
  9. </head>
  10. <body onload="prettyPrint()">
  11. <?php
  12. $product_trans = array(
  13. "01" => array(
  14. "from"=>"ID",
  15. "to"=>"id_product",
  16. "common"=>"商品ID"
  17. ),
  18. "02" => array(
  19. "from"=>"是否在售",
  20. "to"=>"active",
  21. "common"=>"是否启用"
  22. ),
  23. "03" => array(
  24. "from"=>"商品名称",
  25. "to"=>"name(lang)",
  26. "common"=>"商品名称"
  27. ),
  28. "04" => array(
  29. "from"=>"?",
  30. "to"=>"FK to the #__Category table groups",
  31. "common"=>"所属分类"
  32. ),
  33. "05" => array(
  34. "from"=>"?",
  35. "to"=>"?",
  36. "common"=>"含税价"
  37. ),
  38. "06" => array(
  39. "from"=>"?",
  40. "to"=>"id_tax_rules_group",
  41. "common"=>"计税规则ID"
  42. ),
  43. "07" => array(
  44. "from"=>"供价",
  45. "to"=>"wholesale_price",
  46. "common"=>"批发价"
  47. ),
  48. "08" => array(
  49. "from"=>"是否在售",
  50. "to"=>"on_sale",
  51. "common"=>"是否在售"
  52. ),
  53. "09" => array(
  54. "from"=>"?",
  55. "to"=>"?",
  56. "common"=>"折扣数量"
  57. ),
  58. "10" => array(
  59. "from"=>"?",
  60. "to"=>"?",
  61. "common"=>"折扣百分比"
  62. ),
  63. "11" => array(
  64. "from"=>"?",
  65. "to"=>"?",
  66. "common"=>"优惠起始日"
  67. ),
  68. "12" => array(
  69. "from"=>"?",
  70. "to"=>"?",
  71. "common"=>"优惠结束日"
  72. ),
  73. "13" => array(
  74. "from"=>"?",
  75. "to"=>"reference",
  76. "common"=>"参考"
  77. ),
  78. "14" => array(
  79. "from"=>"?",
  80. "to"=>"supplier_reference",
  81. "common"=>"供应商参考"
  82. ),
  83. "15" => array(
  84. "from"=>"?",
  85. "to"=>"id_supplier",
  86. "common"=>"供应商"
  87. ),
  88. "16" => array(
  89. "from"=>"?",
  90. "to"=>"id_manufacturer",
  91. "common"=>"生产商"
  92. ),
  93. "17" => array(
  94. "from"=>"?",
  95. "to"=>"ean13",
  96. "common"=>"EAN13位条码"
  97. ),
  98. "18" => array(
  99. "from"=>"?",
  100. "to"=>"upc",
  101. "common"=>"UPC条码"
  102. ),
  103. "19" => array(
  104. "from"=>"?",
  105. "to"=>"ecotax",
  106. "common"=>"生态税"
  107. ),
  108. "20" => array(
  109. "from"=>"重量",
  110. "to"=>"weight",
  111. "common"=>"重量"
  112. ),
  113. "21" => array(
  114. "from"=>"?",
  115. "to"=>"quantity",
  116. "common"=>"数量"
  117. ),
  118. "22" => array(
  119. "from"=>"商品简述",
  120. "to"=>"description_short(lang)",
  121. "common"=>"简述"
  122. ),
  123. "23" => array(
  124. "from"=>"商品介绍",
  125. "to"=>"description(lang)",
  126. "common"=>"介绍"
  127. ),
  128. "24" => array(
  129. "from"=>"?",
  130. "to"=>"FK to the #__Tag table groups",
  131. "common"=>"标签"
  132. ),
  133. "25" => array(
  134. "from"=>"Meta标题",
  135. "to"=>"meta_title(lang)",
  136. "common"=>"Meta标题"),
  137. "26" => array(
  138. "from"=>"Meta关键词",
  139. "to"=>"meta_keywords(lang)",
  140. "common"=>"Meta关键词"
  141. ),
  142. "27" => array(
  143. "from"=>"Meta描述",
  144. "to"=>"meta_description(lang)",
  145. "common"=>"Meta描述"
  146. ),
  147. "28" => array(
  148. "from"=>"?",
  149. "to"=>"link_rewrite(lang)",
  150. "common"=>"URL重写"
  151. ),
  152. "29" => array(
  153. "from"=>"?",
  154. "to"=>"available_now(lang)",
  155. "common"=>"有库存时显示的字样"
  156. ),
  157. "30" => array(
  158. "from"=>"?",
  159. "to"=>"available_later(lang)",
  160. "common"=>"缺货但可订购时显示的字样"
  161. ),
  162. "31" => array(
  163. "from"=>"是否在售",
  164. "to"=>"available_for_order",
  165. "common"=>"可否订购"
  166. ),
  167. "32" => array(
  168. "from"=>"?",
  169. "to"=>"data_add",
  170. "common"=>"商品创建日期"
  171. ),
  172. "33" => array(
  173. "from"=>"?",
  174. "to"=>"show_price",
  175. "common"=>"是否显示价格"
  176. ),
  177. "34" => array(
  178. "from"=>"?",
  179. "to"=>"?",
  180. "common"=>"图片URLs"
  181. ),
  182. "35" => array(
  183. "from"=>"?",
  184. "to"=>"?",
  185. "common"=>"删除已存在的图片0/1"
  186. ),
  187. "36" => array(
  188. "from"=>"?",
  189. "to"=>"FK to the #__Feature table groups",
  190. "common"=>"功能"
  191. ),
  192. "37" => array(
  193. "from"=>"?",
  194. "to"=>"online_only",
  195. "common"=>"是否仅在线销售"
  196. ),
  197. "38" => array(
  198. "from"=>"条件",
  199. "to"=>"condition",
  200. "common"=>"条件:全新(new)/二手(used)/翻新(refurbished)"
  201. ),
  202. );
  203. echo '<pre class="prettyprint linenums">';
  204. print_r($product_trans);
  205. echo '</pre>';
  206. ?>
  207. </body>
  208. </html>