add.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Gh_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-gh_id" data-rule="required" data-source="gonghui/index" class="form-control selectpage" name="row[gh_id]" type="text" value="">
  6. </div>
  7. </div>
  8. <!-- <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-username" class="form-control" name="row[username]" type="text" value="">
  12. </div>
  13. </div>-->
  14. -->
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <input id="c-password" class="form-control" name="row[password]" type="text" value="">
  25. </div>
  26. </div>
  27. <!--<div class="form-group">
  28. <label class="control-label col-xs-12 col-sm-2">{:__('Salt')}:</label>
  29. <div class="col-xs-12 col-sm-8">
  30. <input id="c-salt" class="form-control" name="row[salt]" type="text" value="">
  31. </div>
  32. </div>-->
  33. <!--<div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <input id="c-email" class="form-control" name="row[email]" type="text" value="">
  37. </div>
  38. </div>-->
  39. <div class="form-group">
  40. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  41. <div class="col-xs-12 col-sm-8">
  42. <input id="c-mobile" class="form-control" name="row[mobile]" maxlength="11" type="text" value="">
  43. </div>
  44. </div>
  45. <div class="form-group">
  46. <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
  47. <div class="col-xs-12 col-sm-8">
  48. <div class="input-group">
  49. <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="">
  50. <div class="input-group-addon no-border no-padding">
  51. <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  52. <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  53. </div>
  54. <span class="msg-box n-right" for="c-avatar"></span>
  55. </div>
  56. <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="control-label col-xs-12 col-sm-2">{:__('Real_status')}:</label>
  61. <div class="col-xs-12 col-sm-8">
  62. <div class="radio">
  63. {foreach name="realStatusList" item="vo"}
  64. <label for="row[real_status]-{$key}"><input id="row[real_status]-{$key}" name="row[real_status]" type="radio" value="{$key}" {in name="key" value="-1"}checked{/in} /> {$vo}</label>
  65. {/foreach}
  66. </div>
  67. </div>
  68. </div>
  69. <div class="form-group">
  70. <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
  71. <div class="col-xs-12 col-sm-8">
  72. <select id="c-gender" data-rule="required" min="0" class="form-control selectpicker" name="row[gender]">
  73. {foreach name="genderList" item="vo"}
  74. <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
  75. {/foreach}
  76. </select>
  77. </div>
  78. </div>
  79. <div class="form-group">
  80. <label class="control-label col-xs-12 col-sm-2">{:__('Height')}:</label>
  81. <div class="col-xs-12 col-sm-8">
  82. <input id="c-height" class="form-control" name="row[height]" type="text">
  83. </div>
  84. </div>
  85. <div class="form-group">
  86. <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
  87. <div class="col-xs-12 col-sm-8">
  88. <input id="c-weight" class="form-control" name="row[weight]" type="text">
  89. </div>
  90. </div>
  91. <div class="form-group">
  92. <label class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
  93. <div class="col-xs-12 col-sm-8">
  94. <input id="c-birthday" class="form-control" name="row[birthday]" type="number">
  95. </div>
  96. </div>
  97. <div class="form-group">
  98. <label class="control-label col-xs-12 col-sm-2">{:__('Bio')}:</label>
  99. <div class="col-xs-12 col-sm-8">
  100. <input id="c-bio" class="form-control" name="row[bio]" type="text" value="">
  101. </div>
  102. </div>
  103. <div class="form-group">
  104. <label class="control-label col-xs-12 col-sm-2">{:__('Audio_bio')}:</label>
  105. <div class="col-xs-12 col-sm-8">
  106. <input id="c-audio_bio" class="form-control" name="row[audio_bio]" type="text">
  107. </div>
  108. </div>
  109. <div class="form-group">
  110. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_status')}:</label>
  111. <div class="col-xs-12 col-sm-8">
  112. <div class="radio">
  113. {foreach name="idcardStatusList" item="vo"}
  114. <label for="row[idcard_status]-{$key}"><input id="row[idcard_status]-{$key}" name="row[idcard_status]" type="radio" value="{$key}" {in name="key" value="-1"}checked{/in} /> {$vo}</label>
  115. {/foreach}
  116. </div>
  117. </div>
  118. </div>
  119. <div class="form-group">
  120. <label class="control-label col-xs-12 col-sm-2">{:__('Successions')}:</label>
  121. <div class="col-xs-12 col-sm-8">
  122. <input id="c-successions" min="0" class="form-control" name="row[successions]" type="number" value="1">
  123. </div>
  124. </div>
  125. <div class="form-group">
  126. <label class="control-label col-xs-12 col-sm-2">{:__('Maxsuccessions')}:</label>
  127. <div class="col-xs-12 col-sm-8">
  128. <input id="c-maxsuccessions" min="0" class="form-control" name="row[maxsuccessions]" type="number" value="1">
  129. </div>
  130. </div>
  131. <div class="form-group">
  132. <label class="control-label col-xs-12 col-sm-2">{:__('Prevtime')}:</label>
  133. <div class="col-xs-12 col-sm-8">
  134. <input id="c-prevtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[prevtime]" type="text" value="{:date('Y-m-d H:i:s')}">
  135. </div>
  136. </div>
  137. <div class="form-group">
  138. <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
  139. <div class="col-xs-12 col-sm-8">
  140. <input id="c-logintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:date('Y-m-d H:i:s')}">
  141. </div>
  142. </div>
  143. <div class="form-group">
  144. <label class="control-label col-xs-12 col-sm-2">{:__('Loginip')}:</label>
  145. <div class="col-xs-12 col-sm-8">
  146. <input id="c-loginip" class="form-control" name="row[loginip]" type="text" value="">
  147. </div>
  148. </div>
  149. <div class="form-group">
  150. <label class="control-label col-xs-12 col-sm-2">{:__('Loginfailure')}:</label>
  151. <div class="col-xs-12 col-sm-8">
  152. <input id="c-loginfailure" min="0" class="form-control" name="row[loginfailure]" type="number" value="0">
  153. </div>
  154. </div>
  155. <div class="form-group">
  156. <label class="control-label col-xs-12 col-sm-2">{:__('Joinip')}:</label>
  157. <div class="col-xs-12 col-sm-8">
  158. <input id="c-joinip" class="form-control" name="row[joinip]" type="text" value="">
  159. </div>
  160. </div>
  161. <div class="form-group">
  162. <label class="control-label col-xs-12 col-sm-2">{:__('Jointime')}:</label>
  163. <div class="col-xs-12 col-sm-8">
  164. <input id="c-jointime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[jointime]" type="text" value="{:date('Y-m-d H:i:s')}">
  165. </div>
  166. </div>
  167. <div class="form-group">
  168. <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
  169. <div class="col-xs-12 col-sm-8">
  170. <input id="c-token" class="form-control" name="row[token]" type="text" value="">
  171. </div>
  172. </div>
  173. <div class="form-group">
  174. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  175. <div class="col-xs-12 col-sm-8">
  176. <div class="radio">
  177. {foreach name="statusList" item="vo"}
  178. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label>
  179. {/foreach}
  180. </div>
  181. </div>
  182. </div>
  183. <div class="form-group">
  184. <label class="control-label col-xs-12 col-sm-2">{:__('Verification')}:</label>
  185. <div class="col-xs-12 col-sm-8">
  186. <input id="c-verification" class="form-control" name="row[verification]" type="text" value="">
  187. </div>
  188. </div>
  189. <div class="form-group">
  190. <label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
  191. <div class="col-xs-12 col-sm-8">
  192. <input id="c-longitude" class="form-control" name="row[longitude]" type="text" value="">
  193. </div>
  194. </div>
  195. <div class="form-group">
  196. <label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
  197. <div class="col-xs-12 col-sm-8">
  198. <input id="c-latitude" class="form-control" name="row[latitude]" type="text" value="">
  199. </div>
  200. </div>
  201. <div class="form-group">
  202. <label class="control-label col-xs-12 col-sm-2">{:__('Cityname')}:</label>
  203. <div class="col-xs-12 col-sm-8">
  204. <input id="c-cityname" class="form-control" name="row[cityname]" type="text" value="">
  205. </div>
  206. </div>
  207. <div class="form-group">
  208. <label class="control-label col-xs-12 col-sm-2">{:__('Photo_images')}:</label>
  209. <div class="col-xs-12 col-sm-8">
  210. <div class="input-group">
  211. <input id="c-photo_images" class="form-control" size="50" name="row[photo_images]" type="text">
  212. <div class="input-group-addon no-border no-padding">
  213. <span><button type="button" id="faupload-photo_images" class="btn btn-danger faupload" data-input-id="c-photo_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-photo_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  214. <span><button type="button" id="fachoose-photo_images" class="btn btn-primary fachoose" data-input-id="c-photo_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  215. </div>
  216. <span class="msg-box n-right" for="c-photo_images"></span>
  217. </div>
  218. <ul class="row list-inline faupload-preview" id="p-photo_images"></ul>
  219. </div>
  220. </div>
  221. <div class="form-group">
  222. <label class="control-label col-xs-12 col-sm-2">{:__('Education_id')}:</label>
  223. <div class="col-xs-12 col-sm-8">
  224. <input id="c-education_id" data-rule="required" data-source="education/index" class="form-control selectpage" name="row[education_id]" type="text" value="">
  225. </div>
  226. </div>
  227. <div class="form-group">
  228. <label class="control-label col-xs-12 col-sm-2">{:__('Hobby_ids')}:</label>
  229. <div class="col-xs-12 col-sm-8">
  230. <input id="c-hobby_ids" data-rule="required" data-source="hobby/index" data-multiple="true" class="form-control selectpage" name="row[hobby_ids]" type="text" value="">
  231. </div>
  232. </div>
  233. <div class="form-group">
  234. <label class="control-label col-xs-12 col-sm-2">{:__('Job_id')}:</label>
  235. <div class="col-xs-12 col-sm-8">
  236. <input id="c-job_id" data-rule="required" data-source="job/index" class="form-control selectpage" name="row[job_id]" type="text" value="">
  237. </div>
  238. </div>
  239. <div class="form-group">
  240. <label class="control-label col-xs-12 col-sm-2">{:__('Marital_id')}:</label>
  241. <div class="col-xs-12 col-sm-8">
  242. <input id="c-marital_id" data-rule="required" data-source="marital/index" class="form-control selectpage" name="row[marital_id]" type="text" value="">
  243. </div>
  244. </div>
  245. <div class="form-group">
  246. <label class="control-label col-xs-12 col-sm-2">{:__('Tag_ids')}:</label>
  247. <div class="col-xs-12 col-sm-8">
  248. <input id="c-tag_ids" data-rule="required" data-source="tag/index" data-multiple="true" class="form-control selectpage" name="row[tag_ids]" type="text" value="">
  249. </div>
  250. </div>
  251. <div class="form-group">
  252. <label class="control-label col-xs-12 col-sm-2">{:__('Wages_id')}:</label>
  253. <div class="col-xs-12 col-sm-8">
  254. <input id="c-wages_id" data-rule="required" data-source="wages/index" class="form-control selectpage" name="row[wages_id]" type="text" value="">
  255. </div>
  256. </div>
  257. <div class="form-group">
  258. <label class="control-label col-xs-12 col-sm-2">{:__('Hometown_cityid')}:</label>
  259. <div class="col-xs-12 col-sm-8">
  260. <input id="c-hometown_cityid" class="form-control" name="row[hometown_cityid]" type="number">
  261. </div>
  262. </div>
  263. <div class="form-group">
  264. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_video')}:</label>
  265. <div class="col-xs-12 col-sm-8">
  266. <select id="c-open_match_video" data-rule="required" class="form-control selectpicker" name="row[open_match_video]">
  267. {foreach name="openMatchVideoList" item="vo"}
  268. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  269. {/foreach}
  270. </select>
  271. </div>
  272. </div>
  273. <div class="form-group">
  274. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_audio')}:</label>
  275. <div class="col-xs-12 col-sm-8">
  276. <select id="c-open_match_audio" data-rule="required" class="form-control selectpicker" name="row[open_match_audio]">
  277. {foreach name="openMatchAudioList" item="vo"}
  278. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  279. {/foreach}
  280. </select>
  281. </div>
  282. </div>
  283. <div class="form-group">
  284. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_typing')}:</label>
  285. <div class="col-xs-12 col-sm-8">
  286. <select id="c-open_match_typing" data-rule="required" class="form-control selectpicker" name="row[open_match_typing]">
  287. {foreach name="openMatchTypingList" item="vo"}
  288. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  289. {/foreach}
  290. </select>
  291. </div>
  292. </div>
  293. <div class="form-group">
  294. <label class="control-label col-xs-12 col-sm-2">{:__('Free_video')}:</label>
  295. <div class="col-xs-12 col-sm-8">
  296. <select id="c-free_video" data-rule="required" class="form-control selectpicker" name="row[free_video]">
  297. {foreach name="freeVideoList" item="vo"}
  298. <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
  299. {/foreach}
  300. </select>
  301. </div>
  302. </div>
  303. <div class="form-group">
  304. <label class="control-label col-xs-12 col-sm-2">{:__('Free_audio')}:</label>
  305. <div class="col-xs-12 col-sm-8">
  306. <select id="c-free_audio" data-rule="required" class="form-control selectpicker" name="row[free_audio]">
  307. {foreach name="freeAudioList" item="vo"}
  308. <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
  309. {/foreach}
  310. </select>
  311. </div>
  312. </div>
  313. <div class="form-group">
  314. <label class="control-label col-xs-12 col-sm-2">{:__('Free_typing')}:</label>
  315. <div class="col-xs-12 col-sm-8">
  316. <select id="c-free_typing" data-rule="required" class="form-control selectpicker" name="row[free_typing]">
  317. {foreach name="freeTypingList" item="vo"}
  318. <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
  319. {/foreach}
  320. </select>
  321. </div>
  322. </div>
  323. <div class="form-group layer-footer">
  324. <label class="control-label col-xs-12 col-sm-2"></label>
  325. <div class="col-xs-12 col-sm-8">
  326. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  327. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  328. </div>
  329. </div>
  330. </form>